Instructions to use KlemGunn0519/Mighty_Mountain_Ski_Resort with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use KlemGunn0519/Mighty_Mountain_Ski_Resort with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("./gemma-2-2b") model = PeftModel.from_pretrained(base_model, "KlemGunn0519/Mighty_Mountain_Ski_Resort") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -40,4 +40,20 @@ prompt = "### Instruction\\nWhat are daily lift ticket prices?\\n\\n### Response
|
|
| 40 |
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
|
| 41 |
|
| 42 |
outputs = model.generate(**inputs, max_new_tokens=200)
|
| 43 |
-
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
|
| 41 |
|
| 42 |
outputs = model.generate(**inputs, max_new_tokens=200)
|
| 43 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
You should see:
|
| 48 |
+
|
| 49 |
+
Daily lift tickets range from $89–129 depending on day of the week...
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
📦 Files
|
| 53 |
+
|
| 54 |
+
adapter_model.safetensors: Trained LoRA weights
|
| 55 |
+
adapter_config.json: PEFT configuration
|
| 56 |
+
Tokenizer files for compatibility
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
Made with ❤️ for the Hugging Face community.
|