Instructions to use Menlo/Lucy-128k-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Menlo/Lucy-128k-gguf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Menlo/Lucy-128k-gguf") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Menlo/Lucy-128k-gguf", dtype="auto") - llama-cpp-python
How to use Menlo/Lucy-128k-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Menlo/Lucy-128k-gguf", filename="lucy_128k-Q3_K_L.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Menlo/Lucy-128k-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Menlo/Lucy-128k-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Menlo/Lucy-128k-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Menlo/Lucy-128k-gguf:Q4_K_M # Run inference directly in the terminal: llama-cli -hf Menlo/Lucy-128k-gguf:Q4_K_M
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 Menlo/Lucy-128k-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Menlo/Lucy-128k-gguf:Q4_K_M
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 Menlo/Lucy-128k-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Menlo/Lucy-128k-gguf:Q4_K_M
Use Docker
docker model run hf.co/Menlo/Lucy-128k-gguf:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Menlo/Lucy-128k-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Menlo/Lucy-128k-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": "Menlo/Lucy-128k-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Menlo/Lucy-128k-gguf:Q4_K_M
- SGLang
How to use Menlo/Lucy-128k-gguf with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Menlo/Lucy-128k-gguf" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Menlo/Lucy-128k-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Menlo/Lucy-128k-gguf" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Menlo/Lucy-128k-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Menlo/Lucy-128k-gguf with Ollama:
ollama run hf.co/Menlo/Lucy-128k-gguf:Q4_K_M
- Unsloth Studio
How to use Menlo/Lucy-128k-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 Menlo/Lucy-128k-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 Menlo/Lucy-128k-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Menlo/Lucy-128k-gguf to start chatting
- Pi
How to use Menlo/Lucy-128k-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Menlo/Lucy-128k-gguf:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Menlo/Lucy-128k-gguf:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Menlo/Lucy-128k-gguf with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Menlo/Lucy-128k-gguf:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default Menlo/Lucy-128k-gguf:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use Menlo/Lucy-128k-gguf with Docker Model Runner:
docker model run hf.co/Menlo/Lucy-128k-gguf:Q4_K_M
- Lemonade
How to use Menlo/Lucy-128k-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Menlo/Lucy-128k-gguf:Q4_K_M
Run and chat with the model
lemonade run user.Lucy-128k-gguf-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +13 -0
- lucy_128k-Q3_K_L.gguf +3 -0
- lucy_128k-Q3_K_M.gguf +3 -0
- lucy_128k-Q3_K_S.gguf +3 -0
- lucy_128k-Q4_0.gguf +3 -0
- lucy_128k-Q4_1.gguf +3 -0
- lucy_128k-Q4_K_M.gguf +3 -0
- lucy_128k-Q4_K_S.gguf +3 -0
- lucy_128k-Q5_0.gguf +3 -0
- lucy_128k-Q5_1.gguf +3 -0
- lucy_128k-Q5_K_M.gguf +3 -0
- lucy_128k-Q5_K_S.gguf +3 -0
- lucy_128k-Q6_K.gguf +3 -0
- lucy_128k-Q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,16 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
lucy_128k-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
lucy_128k-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
lucy_128k-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
lucy_128k-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
lucy_128k-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
lucy_128k-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
lucy_128k-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
lucy_128k-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
lucy_128k-Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
lucy_128k-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
lucy_128k-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
lucy_128k-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
lucy_128k-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
lucy_128k-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aee86ada61137081dcdc4e8ec131c54be6c1b17eb79f65e282a8e044d19be165
|
| 3 |
+
size 1003502848
|
lucy_128k-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2db05d455b3fe48880bd9f3f67dfbadbba7174313d0ee5d325401904adeae09b
|
| 3 |
+
size 939539712
|
lucy_128k-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc3622b400abfc2f39f296a19e9e571dc4952918401a6a8e84c00e308c9956d6
|
| 3 |
+
size 867253504
|
lucy_128k-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1acbda87424507cf4ec20a3489469a5baf71bf0c152b063d377ea40f9acf50d8
|
| 3 |
+
size 1054424320
|
lucy_128k-Q4_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cceddb038c28934d5dd58bfcd454cf9498761663eb71a6dbb2c64241275155b6
|
| 3 |
+
size 1142504704
|
lucy_128k-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf959f8c3855a6104b53f835fc0d93e6756c80d524cc92dadef5bb886d3e18ed
|
| 3 |
+
size 1107410176
|
lucy_128k-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d6ec369c6fcc009aaaa40fdf59e974579a4cae0a0d58d4467042653120ea6d3
|
| 3 |
+
size 1060191488
|
lucy_128k-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ace602ea2eb5efcfe0933826b1daf9ebd231736267bfe30621581a8cc51c1c0f
|
| 3 |
+
size 1230585088
|
lucy_128k-Q5_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5a8bccdbd58883e8710a79c5bb3ba230f9a447e4e80eef04e43e74fae624b3b
|
| 3 |
+
size 1318665472
|
lucy_128k-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2242b371432508e50ae65b2b6cf55dd766166d90d7742f4d8048afb743bcc0e2
|
| 3 |
+
size 1257880832
|
lucy_128k-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05191e0287add196067daaeb13732db978a7e292dabaf5db50e571a3184af51f
|
| 3 |
+
size 1230585088
|
lucy_128k-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac72e2f4225becf7c3d382fa357a5d6fe8386e04a51dd4f2c6e84d1faee1424a
|
| 3 |
+
size 1417755904
|
lucy_128k-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55d28ecf761da3c5b73b69a053d57bdd1fdb1f4903ac7070b7800aa9d6dda601
|
| 3 |
+
size 1834427648
|