Instructions to use hassan7272/tinyllama-lora-eval with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use hassan7272/tinyllama-lora-eval with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0") model = PeftModel.from_pretrained(base_model, "hassan7272/tinyllama-lora-eval") - Transformers
How to use hassan7272/tinyllama-lora-eval with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hassan7272/tinyllama-lora-eval", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from hassan7272/tinyllama-lora-eval: direct link, hf CLI and curl.
- Browser
- Download file 3.62 MB
-
https://huggingface.co/hassan7272/tinyllama-lora-eval/resolve/main/tokenizer.json
- Command line
-
hf download hf://hassan7272/tinyllama-lora-eval/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/hassan7272/tinyllama-lora-eval/resolve/main/tokenizer.json
3.62 MB
File too large to display, you can check the raw version instead.