Instructions to use Narednra/QAtinyllama2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Narednra/QAtinyllama2 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, "Narednra/QAtinyllama2") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from Narednra/QAtinyllama2: direct link, hf CLI and curl.
- Browser
- Download file 1.84 MB
-
https://huggingface.co/Narednra/QAtinyllama2/resolve/main/tokenizer.json
- Command line
-
hf download hf://Narednra/QAtinyllama2/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Narednra/QAtinyllama2/resolve/main/tokenizer.json
1.84 MB
File too large to display, you can check the raw version instead.