Instructions to use Likich/open-coding-mistral7b-single_code-qlora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Likich/open-coding-mistral7b-single_code-qlora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2") model = PeftModel.from_pretrained(base_model, "Likich/open-coding-mistral7b-single_code-qlora") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from Likich/open-coding-mistral7b-single_code-qlora: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/Likich/open-coding-mistral7b-single_code-qlora/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://Likich/open-coding-mistral7b-single_code-qlora/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/Likich/open-coding-mistral7b-single_code-qlora/resolve/main/special_tokens_map.json
437 Bytes
| { | |
| "bos_token": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": "</s>", | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |