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/added_tokens.json from pp-beta/newmodel: direct link, hf CLI and curl.
- Browser
- Download file 51 Bytes
-
https://huggingface.co/pp-beta/newmodel/resolve/main/mymodel/added_tokens.json
- Command line
-
hf download hf://pp-beta/newmodel/mymodel/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/pp-beta/newmodel/resolve/main/mymodel/added_tokens.json
51 Bytes
| { | |
| "<|im_end|>": 32000, | |
| "<|im_start|>": 32001 | |
| } | |