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