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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Undi95/Miqu-MS-70B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Undi95/Miqu-MS-70B-GGUF 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 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 serve -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 Desktop
- 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
- Atomic Chat
File size: 1,803 Bytes
fb89efd 6004e47 fb89efd 6004e47 fb89efd 6004e47 fb89efd 6004e47 fb89efd 6004e47 fb89efd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | ---
base_model:
- migtissera/Tess-70B-v1.6
- 152334H/miqu-1-70b-sf
- NeverSleep/MiquMaid-v2-70B
- sophosympatheia/Midnight-Miqu-70B-v1.0
library_name: transformers
tags:
- mergekit
- merge
---
# Miqu-MS-70B
This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/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](https://arxiv.org/abs/2403.19522) merge method using [152334H/miqu-1-70b-sf](https://huggingface.co/152334H/miqu-1-70b-sf) as a base.
### Models Merged
The following models were included in the merge:
* [migtissera/Tess-70B-v1.6](https://huggingface.co/migtissera/Tess-70B-v1.6)
* [NeverSleep/MiquMaid-v2-70B](https://huggingface.co/NeverSleep/MiquMaid-v2-70B)
* [sophosympatheia/Midnight-Miqu-70B-v1.0](https://huggingface.co/sophosympatheia/Midnight-Miqu-70B-v1.0)
### Configuration
The following YAML configuration was used to produce this model:
```yaml
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](https://ko-fi.com/undiai). |