Instructions to use monsterapi/opt1.3B_codeinstruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use monsterapi/opt1.3B_codeinstruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-hf") model = PeftModel.from_pretrained(base_model, "monsterapi/opt1.3B_codeinstruct") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from monsterapi/opt1.3B_codeinstruct: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/monsterapi/opt1.3B_codeinstruct/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://monsterapi/opt1.3B_codeinstruct/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/monsterapi/opt1.3B_codeinstruct/resolve/main/special_tokens_map.json
435 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": "<unk>", | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |