Text Generation
Transformers
GGUF
English
mistral
Not-For-All-Audiences
8-bit precision
bitsandbytes
Instructions to use lemonilia/Limamono-Mistral-7B-v0.50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lemonilia/Limamono-Mistral-7B-v0.50 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="lemonilia/Limamono-Mistral-7B-v0.50")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("lemonilia/Limamono-Mistral-7B-v0.50") model = AutoModelForCausalLM.from_pretrained("lemonilia/Limamono-Mistral-7B-v0.50", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use lemonilia/Limamono-Mistral-7B-v0.50 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf lemonilia/Limamono-Mistral-7B-v0.50:Q2_K # Run inference directly in the terminal: llama cli -hf lemonilia/Limamono-Mistral-7B-v0.50:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf lemonilia/Limamono-Mistral-7B-v0.50:Q2_K # Run inference directly in the terminal: llama cli -hf lemonilia/Limamono-Mistral-7B-v0.50:Q2_K
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 lemonilia/Limamono-Mistral-7B-v0.50:Q2_K # Run inference directly in the terminal: ./llama-cli -hf lemonilia/Limamono-Mistral-7B-v0.50:Q2_K
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 lemonilia/Limamono-Mistral-7B-v0.50:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf lemonilia/Limamono-Mistral-7B-v0.50:Q2_K
Use Docker
docker model run hf.co/lemonilia/Limamono-Mistral-7B-v0.50:Q2_K
- LM Studio
- Jan
- vLLM
How to use lemonilia/Limamono-Mistral-7B-v0.50 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lemonilia/Limamono-Mistral-7B-v0.50" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lemonilia/Limamono-Mistral-7B-v0.50", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/lemonilia/Limamono-Mistral-7B-v0.50:Q2_K
- SGLang
How to use lemonilia/Limamono-Mistral-7B-v0.50 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "lemonilia/Limamono-Mistral-7B-v0.50" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lemonilia/Limamono-Mistral-7B-v0.50", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "lemonilia/Limamono-Mistral-7B-v0.50" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lemonilia/Limamono-Mistral-7B-v0.50", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use lemonilia/Limamono-Mistral-7B-v0.50 with Ollama:
ollama run hf.co/lemonilia/Limamono-Mistral-7B-v0.50:Q2_K
- Unsloth Desktop
- Docker Model Runner
How to use lemonilia/Limamono-Mistral-7B-v0.50 with Docker Model Runner:
docker model run hf.co/lemonilia/Limamono-Mistral-7B-v0.50:Q2_K
- Lemonade
How to use lemonilia/Limamono-Mistral-7B-v0.50 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lemonilia/Limamono-Mistral-7B-v0.50:Q2_K
Run and chat with the model
lemonade run user.Limamono-Mistral-7B-v0.50-Q2_K
List all available models
lemonade list
- Atomic Chat
Upload 2 files
Browse files
SillyTavern Settings/Limamono_context.json
CHANGED
|
@@ -1,18 +1,11 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"macro": true,
|
| 11 |
-
"names_force_groups": false,
|
| 12 |
-
"last_output_sequence": "\n### Response: (length = long)",
|
| 13 |
-
"activation_regex": "",
|
| 14 |
-
"system_sequence_prefix": "",
|
| 15 |
-
"system_sequence_suffix": "\n### Instruction:",
|
| 16 |
-
"first_output_sequence": "",
|
| 17 |
"name": "Limamono"
|
| 18 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"story_string": "{{system}}\n{{char}}\n{{description}}\n{{#if persona}}- {{user}}'s persona: {{persona}}{{/if}}\n\n{{#if scenario}}\nScenario: {{scenario}}{{/if}}",
|
| 3 |
+
"example_separator": "",
|
| 4 |
+
"chat_start": "",
|
| 5 |
+
"use_stop_strings": false,
|
| 6 |
+
"always_force_name2": true,
|
| 7 |
+
"trim_sentences": false,
|
| 8 |
+
"include_newline": false,
|
| 9 |
+
"single_line": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"name": "Limamono"
|
| 11 |
}
|
SillyTavern Settings/Limamono_instruct.json
CHANGED
|
@@ -1,11 +1,18 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"name": "Limamono"
|
| 11 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"wrap": true,
|
| 3 |
+
"names": true,
|
| 4 |
+
"system_prompt": "Below is an instruction that describes background information for a chat. Write appropriate responses for both the instruction and user input.",
|
| 5 |
+
"system_sequence": "<<SYSTEM>>",
|
| 6 |
+
"stop_sequence": "###",
|
| 7 |
+
"input_sequence": "\n### Input: (length = tiny)",
|
| 8 |
+
"output_sequence": "\n### Response:",
|
| 9 |
+
"separator_sequence": "",
|
| 10 |
+
"macro": true,
|
| 11 |
+
"names_force_groups": false,
|
| 12 |
+
"last_output_sequence": "\n### Response: (length = long)",
|
| 13 |
+
"activation_regex": "",
|
| 14 |
+
"system_sequence_prefix": "",
|
| 15 |
+
"system_sequence_suffix": "\n### Instruction:",
|
| 16 |
+
"first_output_sequence": "",
|
| 17 |
"name": "Limamono"
|
| 18 |
}
|