Instructions to use Arman123/TinyLlama-1.1B-Chat-RU with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Arman123/TinyLlama-1.1B-Chat-RU 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, "Arman123/TinyLlama-1.1B-Chat-RU") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from Arman123/TinyLlama-1.1B-Chat-RU: direct link, hf CLI and curl.
- Browser
- Download file 124 Bytes
-
https://huggingface.co/Arman123/TinyLlama-1.1B-Chat-RU/resolve/main/generation_config.json
- Command line
-
hf download hf://Arman123/TinyLlama-1.1B-Chat-RU/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Arman123/TinyLlama-1.1B-Chat-RU/resolve/main/generation_config.json
124 Bytes
| { | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "max_length": 2048, | |
| "pad_token_id": 0, | |
| "transformers_version": "4.36.2" | |
| } | |