Instructions to use Akshint47/Nano_R1_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use Akshint47/Nano_R1_Model with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("<base-model-id>") model.load_adapter("Akshint47/Nano_R1_Model", set_active=True) - Transformers
How to use Akshint47/Nano_R1_Model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Akshint47/Nano_R1_Model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Download generation_config.json from Akshint47/Nano_R1_Model: direct link, hf CLI and curl.
- Browser
- Download file 266 Bytes
-
https://huggingface.co/Akshint47/Nano_R1_Model/resolve/main/generation_config.json
- Command line
-
hf download hf://Akshint47/Nano_R1_Model/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Akshint47/Nano_R1_Model/resolve/main/generation_config.json
266 Bytes
| { | |
| "bos_token_id": 151643, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 151645, | |
| 151643 | |
| ], | |
| "max_length": 32768, | |
| "pad_token_id": 151654, | |
| "repetition_penalty": 1.05, | |
| "temperature": 0.7, | |
| "top_k": 20, | |
| "top_p": 0.8, | |
| "transformers_version": "4.48.3" | |
| } | |