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
File size: 538 Bytes
99f1e75 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | {
"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
}
}
|