Instructions to use tensorblock/MedMistral-instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/MedMistral-instruct-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/MedMistral-instruct-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/MedMistral-instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/MedMistral-instruct-GGUF", filename="MedMistral-instruct-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/MedMistral-instruct-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/MedMistral-instruct-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/MedMistral-instruct-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/MedMistral-instruct-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/MedMistral-instruct-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/MedMistral-instruct-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/MedMistral-instruct-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/MedMistral-instruct-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/MedMistral-instruct-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/MedMistral-instruct-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/MedMistral-instruct-GGUF with Ollama:
ollama run hf.co/tensorblock/MedMistral-instruct-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/MedMistral-instruct-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/MedMistral-instruct-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/MedMistral-instruct-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/MedMistral-instruct-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/MedMistral-instruct-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/MedMistral-instruct-GGUF:Q2_K
- Lemonade
How to use tensorblock/MedMistral-instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/MedMistral-instruct-GGUF:Q2_K
Run and chat with the model
lemonade run user.MedMistral-instruct-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- MedMistral-instruct-Q3_K_L.gguf +0 -3
- MedMistral-instruct-Q3_K_M.gguf +0 -3
- MedMistral-instruct-Q3_K_S.gguf +0 -3
- MedMistral-instruct-Q4_0.gguf +0 -3
- MedMistral-instruct-Q4_K_M.gguf +0 -3
- MedMistral-instruct-Q4_K_S.gguf +0 -3
- MedMistral-instruct-Q5_0.gguf +0 -3
- MedMistral-instruct-Q5_K_M.gguf +0 -3
- MedMistral-instruct-Q5_K_S.gguf +0 -3
- MedMistral-instruct-Q6_K.gguf +0 -3
- MedMistral-instruct-Q8_0.gguf +0 -3
MedMistral-instruct-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3e8e57d8b54de73b7d6b0a286df9227ec5609723b8bfe075217c8530edf63b11
|
| 3 |
-
size 3822024768
|
|
|
|
|
|
|
|
|
|
|
|
MedMistral-instruct-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:af48369dda3346018d11b8b2b3891f43255f164053525835696ed1dc3f7e41ab
|
| 3 |
-
size 3518986304
|
|
|
|
|
|
|
|
|
|
|
|
MedMistral-instruct-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1ff0b4072aa5271f55cec486dc2687187b648294748d2be73b91e48aae68abe9
|
| 3 |
-
size 3164567616
|
|
|
|
|
|
|
|
|
|
|
|
MedMistral-instruct-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:79cc709c7b5b3db0fe152bb129541332d493cb626f5707f2c883f05561e3f962
|
| 3 |
-
size 4108916800
|
|
|
|
|
|
|
|
|
|
|
|
MedMistral-instruct-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:61a01461c65f1107ec30dd648861650eb7e9c05f7184ffe5752184ab7e8c766e
|
| 3 |
-
size 4368439360
|
|
|
|
|
|
|
|
|
|
|
|
MedMistral-instruct-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a0362a364daf029ef6edf169487b94bfc5d4f0aed550080a673d9ff72e38fb19
|
| 3 |
-
size 4140374080
|
|
|
|
|
|
|
|
|
|
|
|
MedMistral-instruct-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:69c6fd90a45cf9f4ca498fafc5da137ed5b773fb140c65e7454196afb23f3f91
|
| 3 |
-
size 4997716032
|
|
|
|
|
|
|
|
|
|
|
|
MedMistral-instruct-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c9015535a28a9ae8911418ccc7fd111a3318042f7602211277c08814b6b053ba
|
| 3 |
-
size 5131409472
|
|
|
|
|
|
|
|
|
|
|
|
MedMistral-instruct-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:86913c0dc467bd16cd276b1a3077f758f35a12aba9eea8d11168e8d4aafce845
|
| 3 |
-
size 4997716032
|
|
|
|
|
|
|
|
|
|
|
|
MedMistral-instruct-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6ecace682d758643c1c9f31da94efd6306de105abd74b183343dc833d25c335e
|
| 3 |
-
size 5942065216
|
|
|
|
|
|
|
|
|
|
|
|
MedMistral-instruct-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:27c6895dc6917e459e6640401b54f1faf1e6ef327eb4c48adda6c4207767357a
|
| 3 |
-
size 7695857728
|
|
|
|
|
|
|
|
|
|
|
|