Instructions to use pp-beta/newmodel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use pp-beta/newmodel with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Nous-Hermes-2-Mistral-7B-DPO") model = PeftModel.from_pretrained(base_model, "pp-beta/newmodel") - Notebooks
- Google Colab
- Kaggle
Download mymodel/special_tokens_map.json from pp-beta/newmodel: direct link, hf CLI and curl.
- Browser
- Download file 557 Bytes
-
https://huggingface.co/pp-beta/newmodel/resolve/main/mymodel/special_tokens_map.json
- Command line
-
hf download hf://pp-beta/newmodel/mymodel/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/pp-beta/newmodel/resolve/main/mymodel/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 | |
| } | |
| } | |