Transformers
Safetensors
GGUF
English
mistral
text-generation-inference
unsloth
trl
sft
conversational
Instructions to use bennizone/leo-mistral_HA-Requests with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bennizone/leo-mistral_HA-Requests with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("bennizone/leo-mistral_HA-Requests", dtype="auto") - llama-cpp-python
How to use bennizone/leo-mistral_HA-Requests with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="bennizone/leo-mistral_HA-Requests", filename="leo-mistral_HA-Requests-unsloth.Q4_K_M.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use bennizone/leo-mistral_HA-Requests with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf bennizone/leo-mistral_HA-Requests:Q4_K_M # Run inference directly in the terminal: llama-cli -hf bennizone/leo-mistral_HA-Requests:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf bennizone/leo-mistral_HA-Requests:Q4_K_M # Run inference directly in the terminal: llama-cli -hf bennizone/leo-mistral_HA-Requests:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf bennizone/leo-mistral_HA-Requests:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf bennizone/leo-mistral_HA-Requests:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf bennizone/leo-mistral_HA-Requests:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf bennizone/leo-mistral_HA-Requests:Q4_K_M
Use Docker
docker model run hf.co/bennizone/leo-mistral_HA-Requests:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use bennizone/leo-mistral_HA-Requests with Ollama:
ollama run hf.co/bennizone/leo-mistral_HA-Requests:Q4_K_M
- Unsloth Studio new
How to use bennizone/leo-mistral_HA-Requests 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 bennizone/leo-mistral_HA-Requests 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 bennizone/leo-mistral_HA-Requests to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for bennizone/leo-mistral_HA-Requests to start chatting
- Docker Model Runner
How to use bennizone/leo-mistral_HA-Requests with Docker Model Runner:
docker model run hf.co/bennizone/leo-mistral_HA-Requests:Q4_K_M
- Lemonade
How to use bennizone/leo-mistral_HA-Requests with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bennizone/leo-mistral_HA-Requests:Q4_K_M
Run and chat with the model
lemonade run user.leo-mistral_HA-Requests-Q4_K_M
List all available models
lemonade list
Upload tokenizer
Browse files- special_tokens_map.json +6 -0
- tokenizer.json +0 -0
- tokenizer_config.json +39 -0
special_tokens_map.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"eos_token": "<|im_end|>",
|
| 4 |
+
"pad_token": "<unk>",
|
| 5 |
+
"unk_token": "<unk>"
|
| 6 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"0": {
|
| 6 |
+
"content": "<unk>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"1": {
|
| 14 |
+
"content": "<s>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"2": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"bos_token": "<s>",
|
| 31 |
+
"chat_template": "{% for message in messages %}{% if message['from'] == 'human' %}{{'<|im_start|>user\n' + message['value'] + '<|im_end|>\n'}}{% elif message['from'] == 'gpt' %}{{'<|im_start|>assistant\n' + message['value'] + '<|im_end|>\n' }}{% else %}{{ '<|im_start|>system\n' + message['value'] + '<|im_end|>\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
| 32 |
+
"clean_up_tokenization_spaces": false,
|
| 33 |
+
"eos_token": "<|im_end|>",
|
| 34 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 35 |
+
"pad_token": "<unk>",
|
| 36 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 37 |
+
"unk_token": "<unk>",
|
| 38 |
+
"use_default_system_prompt": false
|
| 39 |
+
}
|