Instructions to use sergioalves/7b2f350b-655d-4b14-a9cf-b02a524b10f6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sergioalves/7b2f350b-655d-4b14-a9cf-b02a524b10f6 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Hermes-2-Pro-Mistral-7B") model = PeftModel.from_pretrained(base_model, "sergioalves/7b2f350b-655d-4b14-a9cf-b02a524b10f6") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from sergioalves/7b2f350b-655d-4b14-a9cf-b02a524b10f6: direct link, hf CLI and curl.
- Browser
- Download file 557 Bytes
-
https://huggingface.co/sergioalves/7b2f350b-655d-4b14-a9cf-b02a524b10f6/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://sergioalves/7b2f350b-655d-4b14-a9cf-b02a524b10f6/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/sergioalves/7b2f350b-655d-4b14-a9cf-b02a524b10f6/resolve/main/special_tokens_map.json
557 Bytes
| { | |
| "bos_token": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |