Instructions to use electron271/graig-experiment-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use electron271/graig-experiment-2 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="electron271/graig-experiment-2", filename="model-F16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use electron271/graig-experiment-2 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 electron271/graig-experiment-2:Q4_K_M # Run inference directly in the terminal: llama cli -hf electron271/graig-experiment-2:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf electron271/graig-experiment-2:Q4_K_M # Run inference directly in the terminal: llama cli -hf electron271/graig-experiment-2: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 electron271/graig-experiment-2:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf electron271/graig-experiment-2: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 electron271/graig-experiment-2:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf electron271/graig-experiment-2:Q4_K_M
Use Docker
docker model run hf.co/electron271/graig-experiment-2:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use electron271/graig-experiment-2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "electron271/graig-experiment-2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "electron271/graig-experiment-2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/electron271/graig-experiment-2:Q4_K_M
- Ollama
How to use electron271/graig-experiment-2 with Ollama:
ollama run hf.co/electron271/graig-experiment-2:Q4_K_M
- Unsloth Studio
How to use electron271/graig-experiment-2 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 electron271/graig-experiment-2 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 electron271/graig-experiment-2 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for electron271/graig-experiment-2 to start chatting
- Pi
How to use electron271/graig-experiment-2 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf electron271/graig-experiment-2: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": "electron271/graig-experiment-2:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use electron271/graig-experiment-2 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf electron271/graig-experiment-2: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 electron271/graig-experiment-2:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use electron271/graig-experiment-2 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf electron271/graig-experiment-2: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 "electron271/graig-experiment-2: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 electron271/graig-experiment-2 with Docker Model Runner:
docker model run hf.co/electron271/graig-experiment-2:Q4_K_M
- Lemonade
How to use electron271/graig-experiment-2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull electron271/graig-experiment-2:Q4_K_M
Run and chat with the model
lemonade run user.graig-experiment-2-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- model-F16.gguf +3 -0
- model-Q2_K.gguf +3 -0
- model-Q3_K_M.gguf +3 -0
- model-Q3_K_S.gguf +3 -0
- model-Q4_0.gguf +3 -0
- model-Q4_1.gguf +3 -0
- model-Q4_K_M.gguf +3 -0
- model-Q4_K_S.gguf +3 -0
- model-Q5_K_M.gguf +3 -0
- model-Q5_K_S.gguf +3 -0
- model-Q6_K.gguf +3 -0
- model-Q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,15 @@ saved_model/**/* 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 |
tokenizer.json 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 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
model-F16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
model-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
model-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
model-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
model-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
model-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
model-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
model-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
model-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
model-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
model-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
model-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
model-F16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b2fde6956b5f6424ea9f7a4830cc6b3540941c0e69f4aa2101aee8d07b97ac2
|
| 3 |
+
size 8051284480
|
model-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8113b30855953e7284e6ca1b446e336231e83e1aa842c4ed35cf00a1928a0c79
|
| 3 |
+
size 1669498880
|
model-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c5a1ee2ea1c17ce0f1f42bf6c098e538aafe14bf3191855786bfd29ef755a73
|
| 3 |
+
size 2075617280
|
model-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff0503f82ed43b12908f7d7c311427649cc590bf98e87909661e2e180029e8bb
|
| 3 |
+
size 1886996480
|
model-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b46382cdb028976f4e59f4a26fda6735e20374a0ba623e26c900d0178d5b0a31
|
| 3 |
+
size 2369546240
|
model-Q4_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5165fe99c6cdd4c14c038988f85ba026c3d43860c9535153080593fcf98fe4f
|
| 3 |
+
size 2596628480
|
model-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:024d9620fb5652f34c1a95509b1ddb89625373f5054d793cb42095716dab43a7
|
| 3 |
+
size 2497280000
|
model-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aeb5ec654e6a38e965d087ca60844abcc6c3b51bf8e65be34686447620ecbfab
|
| 3 |
+
size 2383308800
|
model-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6905fa34430cfe37327864a112248f9d546a4894fa9eae069ff6227ae6d214f
|
| 3 |
+
size 2889512960
|
model-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df6b72ca30d87ca5994deee9ca76f0ae3d472a27397d78c05f16d5b18eb450a2
|
| 3 |
+
size 2823710720
|
model-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7883ada50c2996af8455ef3f481ebdf8c2ddeca35ea119273f19e75700b65533
|
| 3 |
+
size 3306260480
|
model-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3cab9ae244d0c64b1517f1ff05430924d16aea82c4b3ec65dfdf6af90361db84
|
| 3 |
+
size 4280404480
|