Instructions to use samim2024/Mistral-7b-4bit-Finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use samim2024/Mistral-7b-4bit-Finetuned with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("samim2024/Mistral-7b-4bit-Finetuned", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use samim2024/Mistral-7b-4bit-Finetuned with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for samim2024/Mistral-7b-4bit-Finetuned to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for samim2024/Mistral-7b-4bit-Finetuned to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for samim2024/Mistral-7b-4bit-Finetuned to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="samim2024/Mistral-7b-4bit-Finetuned", max_seq_length=2048, )
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- tokenizer.json +0 -0
- tokenizer_config.json +2 -1
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
CHANGED
|
@@ -6175,10 +6175,11 @@
|
|
| 6175 |
"bos_token": "<s>",
|
| 6176 |
"clean_up_tokenization_spaces": false,
|
| 6177 |
"eos_token": "</s>",
|
|
|
|
| 6178 |
"legacy": false,
|
| 6179 |
"model_max_length": 32768,
|
| 6180 |
"pad_token": "[control_768]",
|
| 6181 |
-
"padding_side": "
|
| 6182 |
"sp_model_kwargs": {},
|
| 6183 |
"spaces_between_special_tokens": false,
|
| 6184 |
"tokenizer_class": "LlamaTokenizer",
|
|
|
|
| 6175 |
"bos_token": "<s>",
|
| 6176 |
"clean_up_tokenization_spaces": false,
|
| 6177 |
"eos_token": "</s>",
|
| 6178 |
+
"extra_special_tokens": {},
|
| 6179 |
"legacy": false,
|
| 6180 |
"model_max_length": 32768,
|
| 6181 |
"pad_token": "[control_768]",
|
| 6182 |
+
"padding_side": "right",
|
| 6183 |
"sp_model_kwargs": {},
|
| 6184 |
"spaces_between_special_tokens": false,
|
| 6185 |
"tokenizer_class": "LlamaTokenizer",
|