Instructions to use kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C4-full_context-r8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C4-full_context-r8 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Llama-3.1-8B") model = PeftModel.from_pretrained(base_model, "kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C4-full_context-r8") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C4-full_context-r8: direct link, hf CLI and curl.
- Browser
- Download file 345 Bytes
-
https://huggingface.co/kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C4-full_context-r8/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C4-full_context-r8/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/kamel-usp/jbcs2025_Llama-3.1-8B-llama31_classification_lora-C4-full_context-r8/resolve/main/special_tokens_map.json
345 Bytes
| { | |
| "bos_token": { | |
| "content": "<|begin_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|end_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": "<|finetune_right_pad_id|>" | |
| } | |