Instructions to use kamel-usp/jbcs2025_Tucano-2b4-Instruct-tucano_classification_lora-C4-full_context-r16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kamel-usp/jbcs2025_Tucano-2b4-Instruct-tucano_classification_lora-C4-full_context-r16 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("TucanoBR/Tucano-2b4-Instruct") model = PeftModel.from_pretrained(base_model, "kamel-usp/jbcs2025_Tucano-2b4-Instruct-tucano_classification_lora-C4-full_context-r16") - Notebooks
- Google Colab
- Kaggle
jbcs2025_Tucano-2b4-Instruct-tucano_classification_lora-C4-full_context-r16 / special_tokens_map.json
Download special_tokens_map.json from kamel-usp/jbcs2025_Tucano-2b4-Instruct-tucano_classification_lora-C4-full_context-r16: direct link, hf CLI and curl.
- Browser
- Download file 538 Bytes
-
https://huggingface.co/kamel-usp/jbcs2025_Tucano-2b4-Instruct-tucano_classification_lora-C4-full_context-r16/resolve/99f1e75c68c52c9ee5dd4fe3fa43ae6b9bcd8c7d/special_tokens_map.json
- Command line
-
hf download hf://kamel-usp/jbcs2025_Tucano-2b4-Instruct-tucano_classification_lora-C4-full_context-r16@99f1e75c68c52c9ee5dd4fe3fa43ae6b9bcd8c7d/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/kamel-usp/jbcs2025_Tucano-2b4-Instruct-tucano_classification_lora-C4-full_context-r16/resolve/99f1e75c68c52c9ee5dd4fe3fa43ae6b9bcd8c7d/special_tokens_map.json
538 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<instruction>", | |
| "</instruction>" | |
| ], | |
| "bos_token": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": "<|finetune_right_pad_id|>", | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |