Instructions to use mtcicero26/fiberbrowser-copilot-7b-v5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mtcicero26/fiberbrowser-copilot-7b-v5 with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("mtcicero26/fiberbrowser-copilot-7b-v5") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use mtcicero26/fiberbrowser-copilot-7b-v5 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "mtcicero26/fiberbrowser-copilot-7b-v5"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "mtcicero26/fiberbrowser-copilot-7b-v5" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use mtcicero26/fiberbrowser-copilot-7b-v5 with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "mtcicero26/fiberbrowser-copilot-7b-v5"
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 mtcicero26/fiberbrowser-copilot-7b-v5
Run Hermes
hermes
- MLX LM
How to use mtcicero26/fiberbrowser-copilot-7b-v5 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "mtcicero26/fiberbrowser-copilot-7b-v5"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "mtcicero26/fiberbrowser-copilot-7b-v5" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mtcicero26/fiberbrowser-copilot-7b-v5", "messages": [ {"role": "user", "content": "Hello"} ] }'
Copilot 7B (balanced) v5
LoRA-fine-tuned (and fp16) Qwen/Qwen2.5-Coder-7B-Instruct for the FiberBrowser Copilot — a local genome-browser planner that turns natural-language analysis requests into structured JSON action plans.
Tier: balanced (7.0B params, fp16). Recommended for Macs with 32+ GB unified memory (16 GB minimum).
Use
This is a Copilot tier — a single mlx_lm.server instance loads it and the FiberBrowser frontend talks to it via OpenAI-compatible chat completions. The browser handles the system prompt, viewport context, dataset metadata, and previous-turn history; the model emits a JSON action plan inside <think>...</think> tags.
# Install
pip install mlx-lm fiberbrowser # or your preferred install
# Serve
python -m mlx_lm server --model mtcicero26/fiberbrowser-copilot-7b-v5 --port 8080
# Point the browser at it
FIBERBROWSER_COPILOT_BACKEND=mlx \
FIBERBROWSER_COPILOT_MLX_URL=http://127.0.0.1:8080/v1/chat/completions \
python browser.py
Or simply: python browser.py --copilot mlx — the launcher auto-detects RAM, downloads the right tier, starts the server, and shuts it down with the browser.
Training
Supervised fine-tuning via LoRA distillation:
- Teacher: Claude (Anthropic) generated structured (request → plan) demonstrations.
- Dataset: 319 hand-curated and LLM-distilled examples across 24 workflow categories — navigation, peak detection, clustering, footprint analysis, motif overlaps, primer design, contact maps, annotations, capture regions, multi-step composites, and edge cases.
- Method: LoRA, rank 16, top 16 layers, 900 iters, lr 1e-4, batch size 1, grad checkpointing. Final val loss
0.016. - Hardware: Apple Silicon Mac (MLX framework).
Output protocol:
<think>
{reasoning about which actions to chain}
</think>
{"summary": "...", "actions": [{"type": "...", ...}], "warnings": []}
The browser validates every plan through the same Python validator that produced the training data — any action with malformed coordinates, unsafe API paths, or unknown gene names is dropped before execution.
Action vocabulary
11 action types in the trained vocabulary:
navigate_gene,navigate_region— viewportscan_peaks,set_peaks_locked,select_peak_at— peakscluster_selected_peaks,cluster_peak_at_gene_tss— clusteringadd_region_label_rule— colormap rules (TSS-relative form for strand-aware coords)query_motif_overlaps— motif intersectionsapi_call— escape hatch to any safe/api/...route (settings, render, sort, filter, footprint analyze, primer design, etc.)respond_to_user— terminator for the agentic loop
Known limitations
- Trained on synthetic + Claude-distilled demonstrations; real organic-usage data is being collected via opt-in session logging in the browser.
- Multi-step plans of >5 actions sometimes drop tail actions; can be partially mitigated with multi-turn conversation context.
- Tool-call (agentic) form is supported by the underlying base model but the LoRA was trained on single-shot plans, not tool-call traces — agentic accuracy may be lower.
Other tiers
| tier | base | size | min RAM | repo |
|---|---|---|---|---|
| tiny | Qwen2.5-Coder-1.5B-Instruct | 1.5B | 8 GB | mtcicero26/fiberbrowser-copilot-1.5b-v1 |
| light | Qwen2.5-Coder-3B-Instruct | 3B | 12 GB | mtcicero26/fiberbrowser-copilot-3b-v1 |
| balanced | Qwen2.5-Coder-7B-Instruct | 7B | 16 GB | mtcicero26/fiberbrowser-copilot-7b-v1 |
| balanced (q4) | Qwen2.5-Coder-7B-Instruct | 7B int4 | 8 GB | mtcicero26/fiberbrowser-copilot-7b-v1-q4 |
Citation
If this model is useful in your work, please cite the FiberBrowser repository.
License
Apache 2.0 (matching the Qwen2.5-Coder base model license).
- Downloads last month
- 18
Quantized