Instructions to use Nike-Hanmatheekuna/llama3-8b-sft-qlora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Nike-Hanmatheekuna/llama3-8b-sft-qlora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B") model = PeftModel.from_pretrained(base_model, "Nike-Hanmatheekuna/llama3-8b-sft-qlora") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from Nike-Hanmatheekuna/llama3-8b-sft-qlora: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/Nike-Hanmatheekuna/llama3-8b-sft-qlora/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://Nike-Hanmatheekuna/llama3-8b-sft-qlora/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/Nike-Hanmatheekuna/llama3-8b-sft-qlora/resolve/main/special_tokens_map.json
335 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": "<|end_of_text|>" | |
| } | |