Instructions to use Bakhteyar/Balochi-Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Bakhteyar/Balochi-Model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Bakhteyar/Balochi-Model") model = AutoModelForSeq2SeqLM.from_pretrained("Bakhteyar/Balochi-Model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from Bakhteyar/Balochi-Model: direct link, hf CLI and curl.
- Browser
- Download file 287 Bytes
-
https://huggingface.co/Bakhteyar/Balochi-Model/resolve/main/generation_config.json
- Command line
-
hf download hf://Bakhteyar/Balochi-Model/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Bakhteyar/Balochi-Model/resolve/main/generation_config.json
287 Bytes
| { | |
| "bad_words_ids": [ | |
| [ | |
| 64109 | |
| ] | |
| ], | |
| "bos_token_id": 0, | |
| "decoder_start_token_id": 64109, | |
| "eos_token_id": 0, | |
| "forced_eos_token_id": 0, | |
| "max_length": 512, | |
| "num_beams": 4, | |
| "pad_token_id": 64109, | |
| "renormalize_logits": true, | |
| "transformers_version": "5.0.0" | |
| } | |