Instructions to use tensorblock/mistral-7b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/mistral-7b-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/mistral-7b-GGUF", device_map="auto") - llama-cpp-python
How to use tensorblock/mistral-7b-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/mistral-7b-GGUF", filename="mistral-7b-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/mistral-7b-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 tensorblock/mistral-7b-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/mistral-7b-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/mistral-7b-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/mistral-7b-GGUF: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 tensorblock/mistral-7b-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/mistral-7b-GGUF: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 tensorblock/mistral-7b-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/mistral-7b-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/mistral-7b-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/mistral-7b-GGUF with Ollama:
ollama run hf.co/tensorblock/mistral-7b-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/mistral-7b-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 tensorblock/mistral-7b-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 tensorblock/mistral-7b-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/mistral-7b-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tensorblock/mistral-7b-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/mistral-7b-GGUF:Q2_K
- Lemonade
How to use tensorblock/mistral-7b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/mistral-7b-GGUF:Q2_K
Run and chat with the model
lemonade run user.mistral-7b-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- mistral-7b-Q3_K_L.gguf +0 -3
- mistral-7b-Q3_K_S.gguf +0 -3
- mistral-7b-Q4_0.gguf +0 -3
- mistral-7b-Q4_K_M.gguf +0 -3
- mistral-7b-Q4_K_S.gguf +0 -3
- mistral-7b-Q5_0.gguf +0 -3
- mistral-7b-Q5_K_M.gguf +0 -3
- mistral-7b-Q5_K_S.gguf +0 -3
- mistral-7b-Q6_K.gguf +0 -3
- mistral-7b-Q8_0.gguf +0 -3
mistral-7b-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b59cdfcc6db68e5f5cbd56fef406f9732381617e0f04129c3861535b61478230
|
| 3 |
-
size 3822025024
|
|
|
|
|
|
|
|
|
|
|
|
mistral-7b-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:63a822e229ea59421b40d3fcb020b5d747a05d57087a3bb7136d787318a8e81d
|
| 3 |
-
size 3164567872
|
|
|
|
|
|
|
|
|
|
|
|
mistral-7b-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e76e41bf335932037956bee26198f595f2eed0b4e2f303a50e11a04e0bb5d609
|
| 3 |
-
size 4108917056
|
|
|
|
|
|
|
|
|
|
|
|
mistral-7b-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:075ac7e4870dbc716e2669df0bae4067585cc22c20432ba2a300574297024a26
|
| 3 |
-
size 4368439616
|
|
|
|
|
|
|
|
|
|
|
|
mistral-7b-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a24bfb8014888629d3c92586b72940de23c1f895ff4f816af97c9698d81254f8
|
| 3 |
-
size 4140374336
|
|
|
|
|
|
|
|
|
|
|
|
mistral-7b-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:cfebfd6af77a02ee61a11ece40b138bfc45fe0274fa378611b408aea37b53a77
|
| 3 |
-
size 4997716288
|
|
|
|
|
|
|
|
|
|
|
|
mistral-7b-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:58db7782b5191947287add98b0383105bf805a2173f0f3e6211fb3e24d63c0a8
|
| 3 |
-
size 5131409728
|
|
|
|
|
|
|
|
|
|
|
|
mistral-7b-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:773953f07eb8d23b3e94052e03e583cceb70edbc15c1b4527e7c97b1c8a0815f
|
| 3 |
-
size 4997716288
|
|
|
|
|
|
|
|
|
|
|
|
mistral-7b-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:13cdb35da2a8751f1009d6659bf939d2ac87d01cef4b0612c1d5b7f7c9fb4216
|
| 3 |
-
size 5942065472
|
|
|
|
|
|
|
|
|
|
|
|
mistral-7b-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:db99520201dd9e22f2c4b502e94b2979a4425c19bc4d41590cfe3fc9954c7c0d
|
| 3 |
-
size 7695857984
|
|
|
|
|
|
|
|
|
|
|
|