Instructions to use Undi95/Miqu-MS-70B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Undi95/Miqu-MS-70B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Undi95/Miqu-MS-70B-GGUF", dtype="auto") - llama-cpp-python
How to use Undi95/Miqu-MS-70B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Undi95/Miqu-MS-70B-GGUF", filename="Miqu-MS-70B.q4_0.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 Undi95/Miqu-MS-70B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Undi95/Miqu-MS-70B-GGUF:Q4_0 # Run inference directly in the terminal: llama-cli -hf Undi95/Miqu-MS-70B-GGUF:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Undi95/Miqu-MS-70B-GGUF:Q4_0 # Run inference directly in the terminal: llama-cli -hf Undi95/Miqu-MS-70B-GGUF:Q4_0
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 Undi95/Miqu-MS-70B-GGUF:Q4_0 # Run inference directly in the terminal: ./llama-cli -hf Undi95/Miqu-MS-70B-GGUF:Q4_0
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 Undi95/Miqu-MS-70B-GGUF:Q4_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Undi95/Miqu-MS-70B-GGUF:Q4_0
Use Docker
docker model run hf.co/Undi95/Miqu-MS-70B-GGUF:Q4_0
- LM Studio
- Jan
- Ollama
How to use Undi95/Miqu-MS-70B-GGUF with Ollama:
ollama run hf.co/Undi95/Miqu-MS-70B-GGUF:Q4_0
- Unsloth Studio new
How to use Undi95/Miqu-MS-70B-GGUF 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 Undi95/Miqu-MS-70B-GGUF 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 Undi95/Miqu-MS-70B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Undi95/Miqu-MS-70B-GGUF to start chatting
- Docker Model Runner
How to use Undi95/Miqu-MS-70B-GGUF with Docker Model Runner:
docker model run hf.co/Undi95/Miqu-MS-70B-GGUF:Q4_0
- Lemonade
How to use Undi95/Miqu-MS-70B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Undi95/Miqu-MS-70B-GGUF:Q4_0
Run and chat with the model
lemonade run user.Miqu-MS-70B-GGUF-Q4_0
List all available models
lemonade list
Miqu-MS-70B
This is a merge of pre-trained language models created using mergekit.
The new MODEL STOCK merge method was used, see below for more information!
Feedback on this model is greatly appreciated! I hope this new merge method will be able to fill some hole Miqu have.
Prompt format
Since it was made with model using different prompt format, the following should work.
Alpaca
### Instruction:
{system prompt}
### Input:
{prompt}
### Response:
{output}
Mistral
[INST] {prompt} [/INST]
Vicuna
SYSTEM: <ANY SYSTEM CONTEXT>
USER:
ASSISTANT:
Merge Details
Merge Method
This model was merged using the Model Stock merge method using 152334H/miqu-1-70b-sf as a base.
Models Merged
The following models were included in the merge:
Configuration
The following YAML configuration was used to produce this model:
models:
- model: NeverSleep/MiquMaid-v2-70B
- model: sophosympatheia/Midnight-Miqu-70B-v1.0
- model: migtissera/Tess-70B-v1.6
- model: 152334H/miqu-1-70b-sf
merge_method: model_stock
base_model: 152334H/miqu-1-70b-sf
dtype: bfloat16
Support
If you want to support me, you can here.
- Downloads last month
- 11
4-bit