Instructions to use kobesar/fingpt-sentiment_llama2-13b_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kobesar/fingpt-sentiment_llama2-13b_lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Llama-2-13b-hf") model = PeftModel.from_pretrained(base_model, "kobesar/fingpt-sentiment_llama2-13b_lora") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from kobesar/fingpt-sentiment_llama2-13b_lora: direct link, hf CLI and curl.
- Browser
- Download file 434 Bytes
-
https://huggingface.co/kobesar/fingpt-sentiment_llama2-13b_lora/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://kobesar/fingpt-sentiment_llama2-13b_lora/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/kobesar/fingpt-sentiment_llama2-13b_lora/resolve/main/special_tokens_map.json
434 Bytes
| { | |
| "bos_token": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": "</s>", | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |