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