Instructions to use tensorblock/BioMistral-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/BioMistral-7B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/BioMistral-7B-GGUF", filename="BioMistral-7B-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/BioMistral-7B-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/BioMistral-7B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/BioMistral-7B-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/BioMistral-7B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/BioMistral-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/BioMistral-7B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/BioMistral-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/BioMistral-7B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/BioMistral-7B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/BioMistral-7B-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/BioMistral-7B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/BioMistral-7B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/BioMistral-7B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/BioMistral-7B-GGUF:Q2_K
- Ollama
How to use tensorblock/BioMistral-7B-GGUF with Ollama:
ollama run hf.co/tensorblock/BioMistral-7B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/BioMistral-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/BioMistral-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/BioMistral-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/BioMistral-7B-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/BioMistral-7B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/BioMistral-7B-GGUF:Q2_K
- Lemonade
How to use tensorblock/BioMistral-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/BioMistral-7B-GGUF:Q2_K
Run and chat with the model
lemonade run user.BioMistral-7B-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- BioMistral-7B-Q3_K_L.gguf +0 -3
- BioMistral-7B-Q3_K_S.gguf +0 -3
- BioMistral-7B-Q4_0.gguf +0 -3
- BioMistral-7B-Q4_K_M.gguf +0 -3
- BioMistral-7B-Q4_K_S.gguf +0 -3
- BioMistral-7B-Q5_0.gguf +0 -3
- BioMistral-7B-Q5_K_M.gguf +0 -3
- BioMistral-7B-Q5_K_S.gguf +0 -3
- BioMistral-7B-Q6_K.gguf +0 -3
- BioMistral-7B-Q8_0.gguf +0 -3
BioMistral-7B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e373fb613ea2f511d19813ddc7054cd92d33ca8c83ac101a8572a12eb7537c5f
|
| 3 |
-
size 3822025312
|
|
|
|
|
|
|
|
|
|
|
|
BioMistral-7B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5fc597ad078a991db4c264e0954f971fb1d3b2e9e368575bc8bd2152c6d2963d
|
| 3 |
-
size 3164568160
|
|
|
|
|
|
|
|
|
|
|
|
BioMistral-7B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b2696296ae76dd69189094cd45533113829de6a4a9006defd53e1a89bf400e4e
|
| 3 |
-
size 4108917344
|
|
|
|
|
|
|
|
|
|
|
|
BioMistral-7B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2677df8c52793cd270b45e765d75d042092cae39ffdaa23cf54f8451dd102376
|
| 3 |
-
size 4368439904
|
|
|
|
|
|
|
|
|
|
|
|
BioMistral-7B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:405926d5aadc1c70b8eb87c91feb2815cd4ce6856869f53c290ba9470850739e
|
| 3 |
-
size 4140374624
|
|
|
|
|
|
|
|
|
|
|
|
BioMistral-7B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:25bfb17ef3c3f7f1c26e736404ed72a08c98be8ba52e3d62be17cb6576ed1b1e
|
| 3 |
-
size 4997716576
|
|
|
|
|
|
|
|
|
|
|
|
BioMistral-7B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:21f312c34ce662747ed83afa7101d2c22d741d1d8e48e37857d34709767f42bb
|
| 3 |
-
size 5131410016
|
|
|
|
|
|
|
|
|
|
|
|
BioMistral-7B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:37f7a0b1586bfc73a29a12ee80225a521ed5cfa03b1119e9ce11214d8de39894
|
| 3 |
-
size 4997716576
|
|
|
|
|
|
|
|
|
|
|
|
BioMistral-7B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1154b2037dea5a7d31636a65fdd0697830c1301bb38eefe4af51c7b4f810c6a0
|
| 3 |
-
size 5942065760
|
|
|
|
|
|
|
|
|
|
|
|
BioMistral-7B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:672e2d1ef7e112de8d7b311c63b549ee860297ef666faa13bfc1f3eb1f7f4fe5
|
| 3 |
-
size 7695858272
|
|
|
|
|
|
|
|
|
|
|
|