Instructions to use acl-srw-2024/llama-3-8b-instruct-4bit-SCB with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use acl-srw-2024/llama-3-8b-instruct-4bit-SCB with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/llama-3-8b-Instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "acl-srw-2024/llama-3-8b-instruct-4bit-SCB") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from acl-srw-2024/llama-3-8b-instruct-4bit-SCB: direct link, hf CLI and curl.
- Browser
- Download file 459 Bytes
-
https://huggingface.co/acl-srw-2024/llama-3-8b-instruct-4bit-SCB/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://acl-srw-2024/llama-3-8b-instruct-4bit-SCB/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/acl-srw-2024/llama-3-8b-instruct-4bit-SCB/resolve/main/special_tokens_map.json
459 Bytes
| { | |
| "bos_token": { | |
| "content": "<|begin_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|eot_id|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|reserved_special_token_250|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |