Instructions to use demohong/8673e8d6-92cb-4d14-bbc7-1e4e60eb7f8f with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use demohong/8673e8d6-92cb-4d14-bbc7-1e4e60eb7f8f 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, "demohong/8673e8d6-92cb-4d14-bbc7-1e4e60eb7f8f") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from demohong/8673e8d6-92cb-4d14-bbc7-1e4e60eb7f8f: direct link, hf CLI and curl.
- Browser
- Download file 557 Bytes
-
https://huggingface.co/demohong/8673e8d6-92cb-4d14-bbc7-1e4e60eb7f8f/resolve/7a20b5cbae3a8996bcbfffd8e69676ee33ffa023/special_tokens_map.json
- Command line
-
hf download hf://demohong/8673e8d6-92cb-4d14-bbc7-1e4e60eb7f8f@7a20b5cbae3a8996bcbfffd8e69676ee33ffa023/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/demohong/8673e8d6-92cb-4d14-bbc7-1e4e60eb7f8f/resolve/7a20b5cbae3a8996bcbfffd8e69676ee33ffa023/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 | |
| } | |
| } | |