Instructions to use calebboud/vibescript with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use calebboud/vibescript 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 calebboud/vibescript:Q4_K_M # Run inference directly in the terminal: llama cli -hf calebboud/vibescript:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf calebboud/vibescript:Q4_K_M # Run inference directly in the terminal: llama cli -hf calebboud/vibescript: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 calebboud/vibescript:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf calebboud/vibescript: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 calebboud/vibescript:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf calebboud/vibescript:Q4_K_M
Use Docker
docker model run hf.co/calebboud/vibescript:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use calebboud/vibescript with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "calebboud/vibescript" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "calebboud/vibescript", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/calebboud/vibescript:Q4_K_M
- Ollama
How to use calebboud/vibescript with Ollama:
ollama run hf.co/calebboud/vibescript:Q4_K_M
- Unsloth Desktop
- Pi
How to use calebboud/vibescript with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf calebboud/vibescript:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "calebboud/vibescript:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use calebboud/vibescript with Docker Model Runner:
docker model run hf.co/calebboud/vibescript:Q4_K_M
- Lemonade
How to use calebboud/vibescript with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull calebboud/vibescript:Q4_K_M
Run and chat with the model
lemonade run user.vibescript-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use calebboud/vibescript with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf calebboud/vibescript: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 calebboud/vibescript:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use calebboud/vibescript with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf calebboud/vibescript: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 "calebboud/vibescript: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"
Add README with usage instructions
Browse files
README.md
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: Qwen/Qwen3-1.7B
|
| 4 |
+
tags:
|
| 5 |
+
- vibescript
|
| 6 |
+
- code-compression
|
| 7 |
+
- lora
|
| 8 |
+
- gguf
|
| 9 |
+
- qwen3
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
+
pipeline_tag: text-generation
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# VibeScript - Code to DSL Converter
|
| 16 |
+
|
| 17 |
+
**vibecoder-discern** converts natural language and code into VibeScript - a compact symbolic DSL for expressing programming concepts.
|
| 18 |
+
|
| 19 |
+
## What is VibeScript?
|
| 20 |
+
|
| 21 |
+
VibeScript compresses verbose code into symbolic notation:
|
| 22 |
+
|
| 23 |
+
| Code | VibeScript |
|
| 24 |
+
|------|------------|
|
| 25 |
+
| `function add(a, b) { return a + b; }` | `Ω> add!(a, b)` |
|
| 26 |
+
| `const users = await db.query(...)` | `δ.m.p.query()` |
|
| 27 |
+
| `app.get('/api/users', ...)` | `θ.m.route(θ.e, ζ.x)` |
|
| 28 |
+
| `if (error) { throw new Error(...) }` | `~system~γ#error!` |
|
| 29 |
+
|
| 30 |
+
## Model Variants
|
| 31 |
+
|
| 32 |
+
| Path | Format | Size | Use Case |
|
| 33 |
+
|------|--------|------|----------|
|
| 34 |
+
| `/lora-adapter/` | LoRA | ~13MB | Merge with your own Qwen3-1.7B |
|
| 35 |
+
| `/merged-model/` | HuggingFace | ~3.4GB | Ready-to-use transformers |
|
| 36 |
+
| `/gguf/` | GGUF Q4_K_M | ~1.1GB | llama.cpp / Ollama |
|
| 37 |
+
|
| 38 |
+
## Quick Start
|
| 39 |
+
|
| 40 |
+
### llama.cpp (GGUF)
|
| 41 |
+
|
| 42 |
+
```bash
|
| 43 |
+
# Download
|
| 44 |
+
wget https://huggingface.co/calebboud/vibescript/resolve/main/gguf/vibecoder-discern-1.7B-Q4_K_M.gguf
|
| 45 |
+
|
| 46 |
+
# Run
|
| 47 |
+
llama-cli -m vibecoder-discern-1.7B-Q4_K_M.gguf \
|
| 48 |
+
-p "Convert this to vibescript: function multiply(x, y) { return x * y; }" \
|
| 49 |
+
-n 100 --temp 0.7
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
### Transformers (Merged Model)
|
| 53 |
+
|
| 54 |
+
```python
|
| 55 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 56 |
+
|
| 57 |
+
model = AutoModelForCausalLM.from_pretrained("calebboud/vibescript", subfolder="merged-model")
|
| 58 |
+
tokenizer = AutoTokenizer.from_pretrained("calebboud/vibescript", subfolder="merged-model")
|
| 59 |
+
|
| 60 |
+
prompt = "Convert this to vibescript: console.log('Hello World')"
|
| 61 |
+
inputs = tokenizer(prompt, return_tensors="pt")
|
| 62 |
+
outputs = model.generate(**inputs, max_new_tokens=50)
|
| 63 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
### LoRA Adapter (Merge Yourself)
|
| 67 |
+
|
| 68 |
+
```python
|
| 69 |
+
from peft import PeftModel
|
| 70 |
+
from transformers import AutoModelForCausalLM
|
| 71 |
+
|
| 72 |
+
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-1.7B")
|
| 73 |
+
model = PeftModel.from_pretrained(base, "calebboud/vibescript", subfolder="lora-adapter")
|
| 74 |
+
merged = model.merge_and_unload()
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
## Training Details
|
| 78 |
+
|
| 79 |
+
- **Base Model:** Qwen/Qwen3-1.7B
|
| 80 |
+
- **Method:** LoRA (r=8, alpha=16)
|
| 81 |
+
- **Target Modules:** q_proj, k_proj, v_proj, o_proj
|
| 82 |
+
- **Dataset:** 885 code → vibescript examples
|
| 83 |
+
- **Task:** CAUSAL_LM
|
| 84 |
+
|
| 85 |
+
## VibeScript Symbols
|
| 86 |
+
|
| 87 |
+
| Symbol | Meaning |
|
| 88 |
+
|--------|---------|
|
| 89 |
+
| `Ω>` | Function definition |
|
| 90 |
+
| `Σ` | Route/scaffold |
|
| 91 |
+
| `δ` | Database operations |
|
| 92 |
+
| `θ` | HTTP/API |
|
| 93 |
+
| `γ` | Error handling |
|
| 94 |
+
| `ζ` | Structure/scaffold |
|
| 95 |
+
| `α` | Analysis |
|
| 96 |
+
| `ε` | Dependencies |
|
| 97 |
+
|
| 98 |
+
## Coming Soon
|
| 99 |
+
|
| 100 |
+
- **vibecoder-expand**: VibeScript → Code (reverse direction)
|
| 101 |
+
|
| 102 |
+
## License
|
| 103 |
+
|
| 104 |
+
Apache 2.0
|