Instructions to use swapnil7777/nigga_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use swapnil7777/nigga_model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("swapnil7777/nigga_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Download tokenizer_config.json from swapnil7777/nigga_model: direct link, hf CLI and curl.
- Browser
- Download file 1.45 kB
-
https://huggingface.co/swapnil7777/nigga_model/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://swapnil7777/nigga_model/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/swapnil7777/nigga_model/resolve/main/tokenizer_config.json
1.45 kB
| { | |
| "add_bos_token": true, | |
| "add_eos_token": false, | |
| "add_prefix_space": null, | |
| "added_tokens_decoder": { | |
| "100000": { | |
| "content": "<|begin▁of▁sentence|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100001": { | |
| "content": "<|end▁of▁sentence|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100002": { | |
| "content": "<|PAD_TOKEN|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "bos_token": "<|begin▁of▁sentence|>", | |
| "chat_template": "{% for message in messages %}{% if (message['role'] == 'system')%}{{ '' }}{% elif (message['role'] == 'user')%}{{ '### Problem: ' + message['content'] + '\n' }}{% elif (message['role'] == 'assistant')%}{{ '### Solution: ' + message['content'] + '\n' }}{% endif %}{% if loop.last and message['role'] == 'user' and add_generation_prompt %}{{ '### Solution: ' }}{% endif %}{% endfor %}", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|end▁of▁sentence|>", | |
| "legacy": true, | |
| "model_max_length": 4096, | |
| "pad_token": "<|PAD_TOKEN|>", | |
| "padding_side": "left", | |
| "sp_model_kwargs": {}, | |
| "tokenizer_class": "LlamaTokenizer", | |
| "unk_token": null, | |
| "use_default_system_prompt": false | |
| } | |