Instructions to use FirstLast/tinyllama-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use FirstLast/tinyllama-finetuned with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v0.4") model = PeftModel.from_pretrained(base_model, "FirstLast/tinyllama-finetuned") - Notebooks
- Google Colab
- Kaggle
| { | |
| "<|im_end|>": 32002, | |
| "<|im_start|>": 32001, | |
| "[PAD]": 32000 | |
| } | |