Instructions to use bradhutchings/Mmojo-Server with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use bradhutchings/Mmojo-Server with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="bradhutchings/Mmojo-Server", filename="models/Google-Gemma-12B-Instruct-v3-q8_0.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use bradhutchings/Mmojo-Server with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf bradhutchings/Mmojo-Server:Q8_0 # Run inference directly in the terminal: llama-cli -hf bradhutchings/Mmojo-Server:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf bradhutchings/Mmojo-Server:Q8_0 # Run inference directly in the terminal: llama-cli -hf bradhutchings/Mmojo-Server:Q8_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 bradhutchings/Mmojo-Server:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf bradhutchings/Mmojo-Server:Q8_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 bradhutchings/Mmojo-Server:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf bradhutchings/Mmojo-Server:Q8_0
Use Docker
docker model run hf.co/bradhutchings/Mmojo-Server:Q8_0
- LM Studio
- Jan
- Ollama
How to use bradhutchings/Mmojo-Server with Ollama:
ollama run hf.co/bradhutchings/Mmojo-Server:Q8_0
- Unsloth Studio
How to use bradhutchings/Mmojo-Server 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 bradhutchings/Mmojo-Server 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 bradhutchings/Mmojo-Server to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for bradhutchings/Mmojo-Server to start chatting
- Docker Model Runner
How to use bradhutchings/Mmojo-Server with Docker Model Runner:
docker model run hf.co/bradhutchings/Mmojo-Server:Q8_0
- Lemonade
How to use bradhutchings/Mmojo-Server with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bradhutchings/Mmojo-Server:Q8_0
Run and chat with the model
lemonade run user.Mmojo-Server-Q8_0
List all available models
lemonade list
macOS builds.
Browse files- Second first-pass of having macOS builds ready to deploy.
-Brad
deploy/Mmojo-RPC-Server-macos-aarch64-compatible-met.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b66c0f0a6d042b2814130c1f65ea81f9f6046c2df3366753c3196ba0933e6a2
|
| 3 |
+
size 769691
|
deploy/Mmojo-RPC-Server-macos-aarch64-performant-met.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:203a1e56ed28b26233e05b0c316f50568edbccb01519e31eb0535b24be2a744e
|
| 3 |
+
size 787756
|
deploy/Mmojo-Server-macos-aarch64-compatible-met.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09a29a89191757cf37e4093c29aa89e4ae979cd9238fb4c55a4eebf48a127259
|
| 3 |
+
size 5877550
|
deploy/Mmojo-Server-macos-aarch64-performant-met.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de91441961bbf4253e0227e819f5194a026dd247220d243777928cca9b1da2a0
|
| 3 |
+
size 5896076
|