Instructions to use Kal1510/LLMRecoveryLLama with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Kal1510/LLMRecoveryLLama with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/kaggle/input/llama-2/pytorch/7b-chat-hf/1") model = PeftModel.from_pretrained(base_model, "Kal1510/LLMRecoveryLLama") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from Kal1510/LLMRecoveryLLama: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/Kal1510/LLMRecoveryLLama/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://Kal1510/LLMRecoveryLLama/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/Kal1510/LLMRecoveryLLama/resolve/main/special_tokens_map.json
437 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 | |
| } | |
| } | |