Instructions to use MatanP/LLAMA_fine_tuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use MatanP/LLAMA_fine_tuned with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "MatanP/LLAMA_fine_tuned") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from MatanP/LLAMA_fine_tuned: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/MatanP/LLAMA_fine_tuned/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://MatanP/LLAMA_fine_tuned/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/MatanP/LLAMA_fine_tuned/resolve/main/special_tokens_map.json
461 Bytes
| { | |
| "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": "</s>", | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |