Instructions to use gabriellarson/Lucy-128k-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gabriellarson/Lucy-128k-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="gabriellarson/Lucy-128k-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("gabriellarson/Lucy-128k-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use gabriellarson/Lucy-128k-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 gabriellarson/Lucy-128k-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf gabriellarson/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 serve -hf gabriellarson/Lucy-128k-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf gabriellarson/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 gabriellarson/Lucy-128k-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf gabriellarson/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 gabriellarson/Lucy-128k-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf gabriellarson/Lucy-128k-GGUF:Q4_K_M
Use Docker
docker model run hf.co/gabriellarson/Lucy-128k-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use gabriellarson/Lucy-128k-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gabriellarson/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": "gabriellarson/Lucy-128k-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/gabriellarson/Lucy-128k-GGUF:Q4_K_M
- SGLang
How to use gabriellarson/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 "gabriellarson/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": "gabriellarson/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 "gabriellarson/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": "gabriellarson/Lucy-128k-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use gabriellarson/Lucy-128k-GGUF with Ollama:
ollama run hf.co/gabriellarson/Lucy-128k-GGUF:Q4_K_M
- Unsloth Studio
How to use gabriellarson/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 gabriellarson/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 gabriellarson/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 gabriellarson/Lucy-128k-GGUF to start chatting
- Pi
How to use gabriellarson/Lucy-128k-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf gabriellarson/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": "gabriellarson/Lucy-128k-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use gabriellarson/Lucy-128k-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf gabriellarson/Lucy-128k-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "gabriellarson/Lucy-128k-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use gabriellarson/Lucy-128k-GGUF with Docker Model Runner:
docker model run hf.co/gabriellarson/Lucy-128k-GGUF:Q4_K_M
- Lemonade
How to use gabriellarson/Lucy-128k-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull gabriellarson/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
- Hermes Agent
How to use gabriellarson/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 serve -hf gabriellarson/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 gabriellarson/Lucy-128k-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
Upload folder using huggingface_hub
Browse files- .gitattributes +11 -0
- Lucy-128k-IQ3_M.gguf +3 -0
- Lucy-128k-IQ3_S.gguf +3 -0
- Lucy-128k-IQ3_XS.gguf +3 -0
- Lucy-128k-IQ4_NL.gguf +3 -0
- Lucy-128k-IQ4_XS.gguf +3 -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_K_M.gguf +3 -0
- Lucy-128k-Q4_K_S.gguf +3 -0
- Lucy-128k-Q5_K_S.gguf +3 -0
.gitattributes
CHANGED
|
@@ -47,3 +47,14 @@ Lucy-128k-Q2_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
|
| 47 |
Lucy-128k-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
Lucy-128k-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
Lucy-128k-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
Lucy-128k-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
Lucy-128k-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
Lucy-128k-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
Lucy-128k-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
Lucy-128k-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
Lucy-128k-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
Lucy-128k-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
Lucy-128k-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
Lucy-128k-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
Lucy-128k-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
Lucy-128k-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
Lucy-128k-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
Lucy-128k-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
Lucy-128k-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
Lucy-128k-IQ3_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:940d84a4430a41071c1ad81654a518543f4cf0561d9ad149ee397566a9499333
|
| 3 |
+
size 895662528
|
Lucy-128k-IQ3_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f764cc13f23ab30dd324e30365a4399f9c46a95ab910306dd8f129083db4ca3
|
| 3 |
+
size 867252672
|
Lucy-128k-IQ3_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3be04fe3e32d9bd8af8de43e2e87cca8d1de339a9b90a251155273b6ef766625
|
| 3 |
+
size 834222528
|
Lucy-128k-IQ4_NL.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3549eb52e40cdf281c0731add64758256bb61064e7bea122352f3cfc6b79539
|
| 3 |
+
size 1054423488
|
Lucy-128k-IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a26ef45bf61cf904e4518b2ecef98ea5a2c445ccfb08a16996e77a650ab55fd
|
| 3 |
+
size 1010383296
|
Lucy-128k-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00529a6068bdfb21b6c58c856c148f6b9ac7cbef72d0bb81f4a9dc7f1fe0a8a2
|
| 3 |
+
size 1003502016
|
Lucy-128k-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0affd89d6e3a8b1353091ce442fef97173f5732551f41f4c68bcfc71c464ac84
|
| 3 |
+
size 939538880
|
Lucy-128k-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:124f0a3c3aeede5613f795109e3973bd4838678394f23bf91e746a1c570dd2fc
|
| 3 |
+
size 867252672
|
Lucy-128k-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95ac51d6b8ecff180d5ddb39524c5a158392b9f8c434499c9d424e247a772dfd
|
| 3 |
+
size 1107409344
|
Lucy-128k-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:939cad8eeb4f9efeee518a983231a0f4df2abd2ce4b149671ef7c5a3b15fca0e
|
| 3 |
+
size 1060190656
|
Lucy-128k-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:429046fa5478fe45a68782bf6b302113f8913a969be6460eb28ad3d526f61777
|
| 3 |
+
size 1230584256
|