Instructions to use SpeciesFileGroup/ento-model-parse 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 SpeciesFileGroup/ento-model-parse 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 SpeciesFileGroup/ento-model-parse:Q4_K_M # Run inference directly in the terminal: llama cli -hf SpeciesFileGroup/ento-model-parse:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf SpeciesFileGroup/ento-model-parse:Q4_K_M # Run inference directly in the terminal: llama cli -hf SpeciesFileGroup/ento-model-parse:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf SpeciesFileGroup/ento-model-parse:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf SpeciesFileGroup/ento-model-parse:Q4_K_M
Use Docker
docker model run hf.co/SpeciesFileGroup/ento-model-parse:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use SpeciesFileGroup/ento-model-parse with Ollama:
ollama run hf.co/SpeciesFileGroup/ento-model-parse:Q4_K_M
- Unsloth Desktop
- Pi
How to use SpeciesFileGroup/ento-model-parse with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SpeciesFileGroup/ento-model-parse: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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "SpeciesFileGroup/ento-model-parse:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use SpeciesFileGroup/ento-model-parse with Docker Model Runner:
docker model run hf.co/SpeciesFileGroup/ento-model-parse:Q4_K_M
- Lemonade
How to use SpeciesFileGroup/ento-model-parse with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SpeciesFileGroup/ento-model-parse:Q4_K_M
Run and chat with the model
lemonade run user.ento-model-parse-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use SpeciesFileGroup/ento-model-parse with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SpeciesFileGroup/ento-model-parse: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:9931/v1 hermes config set model.default SpeciesFileGroup/ento-model-parse:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use SpeciesFileGroup/ento-model-parse with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf SpeciesFileGroup/ento-model-parse: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:9931/v1 \ --custom-model-id "SpeciesFileGroup/ento-model-parse: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"
Commit ·
dbd6f57
1
Parent(s): 4c99959
add Go web tool
Browse filesFiles changed (4)
- .gitignoreAdded+1
- INSTRUCTIONS.md+6-6
- tool/go.modAdded+3
- tool/main.goAdded+234
1tool/labels12 unmodified lines131415161718192019 unmodified lines4041424344454663 unmodified lines1101111121131141151161 unmodified line11811912012112212312412512612712812913012 unmodified lines| File | Size | Use when ||------|------|----------|| `insect-parser-q4_k_m.gguf` | 3.2 GB | Your computer has **8 GB RAM** (most laptops) || `insect-parser-q5_k_m.gguf` | 3.4 GB | Your computer has **16 GB RAM or more** (slightly better quality) |Not sure how much RAM you have?- **Mac:** Apple menu → About This Mac → look for "Memory"19 unmodified lines1. In LM Studio, click **My Models** in the left sidebar2. Click **"Load model from file"** (or drag the `.gguf` file into the window)3. Navigate to the `insect-parser-q4_k_m.gguf` file you copied in Step 14. Wait for the model to load (progress bar at the bottom)### Configure the system prompt63 unmodified linesOpen a terminal, navigate to the project folder, and run:```bashollama create insect-parser -f Modelfile```You only need to do this once.1 unmodified line### Parse a label```bashollama run insect-parser "U.S.A., Texas: Austin, 15.iv.2021, J. Doe"```Or pipe a text file:```bashcat my_label.txt | ollama run insect-parser```---12 unmodified lines131415161718192019 unmodified lines4041424344454663 unmodified lines1101111121131141151161 unmodified line11811912012112212312412512612712812913012 unmodified lines| File | Size | Use when ||------|------|----------|| `ento-label-parser-q4_k_m.gguf` | 3.2 GB | Your computer has **8 GB RAM** (most laptops) || `ento-label-parser-q5_k_m.gguf` | 3.4 GB | Your computer has **16 GB RAM or more** (slightly better quality) |Not sure how much RAM you have?- **Mac:** Apple menu → About This Mac → look for "Memory"19 unmodified lines1. In LM Studio, click **My Models** in the left sidebar2. Click **"Load model from file"** (or drag the `.gguf` file into the window)3. Navigate to the `ento-label-parser-q4_k_m.gguf` file you copied in Step 14. Wait for the model to load (progress bar at the bottom)### Configure the system prompt63 unmodified linesOpen a terminal, navigate to the project folder, and run:```bashollama create ento-label-parser -f Modelfile```You only need to do this once.1 unmodified line### Parse a label```bashollama run ento-label-parser "U.S.A., Texas: Austin, 15.iv.2021, J. Doe"```Or pipe a text file:```bashcat my_label.txt | ollama run ento-label-parser```---
123module labels
go 1.25.1123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234package main
import ( "bytes" "encoding/json" "fmt" "io" "log" "net/http" "strings")
const ollamaURL = "http://localhost:11434/api/chat"const model = "ento-label-parser"
type ollamaRequest struct { Model string `json:"model"` Stream bool `json:"stream"` Messages []ollamaMessage `json:"messages"`}
type ollamaMessage struct { Role string `json:"role"` Content string `json:"content"`}
type ollamaResponse struct { Message struct { Content string `json:"content"` } `json:"message"`}
type labelResult struct { Verbatim string `json:"verbatim"` Parsed json.RawMessage `json:"parsed,omitempty"` Error string `json:"error,omitempty"`}
func parseLabel(label string) labelResult { result := labelResult{Verbatim: label}
reqBody, _ := json.Marshal(ollamaRequest{ Model: model, Stream: false, Messages: []ollamaMessage{ {Role: "user", Content: label}, }, })
resp, err := http.Post(ollamaURL, "application/json", bytes.NewReader(reqBody)) if err != nil { result.Error = fmt.Sprintf("failed to call ollama: %v", err) return result } defer resp.Body.Close()
body, err := io.ReadAll(resp.Body) if err != nil { result.Error = fmt.Sprintf("failed to read response: %v", err) return result }
var ollamaResp ollamaResponse if err := json.Unmarshal(body, &ollamaResp); err != nil { result.Error = fmt.Sprintf("failed to parse ollama response: %v", err) return result }
content := strings.TrimSpace(ollamaResp.Message.Content) var parsed json.RawMessage if err := json.Unmarshal([]byte(content), &parsed); err != nil { result.Error = fmt.Sprintf("model returned invalid JSON: %v\nraw content: %s", err, content) return result }
result.Parsed = parsed return result}
func handleParse(w http.ResponseWriter, r *http.Request) { if r.Method != http.MethodPost { http.Error(w, "method not allowed", http.StatusMethodNotAllowed) return }
if err := r.ParseForm(); err != nil { http.Error(w, "bad request", http.StatusBadRequest) return }
raw := r.FormValue("labels") lines := strings.Split(raw, "\n")
var results []labelResult for _, line := range lines { line = strings.TrimSpace(line) if line == "" { continue } results = append(results, parseLabel(line)) }
w.Header().Set("Content-Type", "application/json") enc := json.NewEncoder(w) enc.SetIndent("", " ") enc.Encode(results)}
const indexHTML = `<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Label Parser</title><style> body { font-family: sans-serif; max-width: 900px; margin: 2rem auto; padding: 0 1rem; background: #f5f5f5; } h1 { color: #333; } textarea { width: 100%; height: 180px; font-family: monospace; font-size: 14px; padding: 0.5rem; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; } button { margin-top: 0.75rem; padding: 0.5rem 1.5rem; font-size: 15px; background: #2563eb; color: white; border: none; border-radius: 4px; cursor: pointer; } button:hover { background: #1d4ed8; } button:disabled { background: #93c5fd; cursor: default; } #progress { margin-top: 0.75rem; font-size: 13px; color: #555; min-height: 1.2em; } #meta { margin-top: 0.75rem; display: none; background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 0.6rem 1rem; font-size: 13px; } #meta table { border-collapse: collapse; } #meta td { padding: 2px 1.2rem 2px 0; } #meta td:first-child { color: #888; } #meta td.ok { color: #16a34a; font-weight: bold; } #meta td.fail { color: #dc2626; font-weight: bold; } #output { margin-top: 1rem; background: #1e1e1e; color: #d4d4d4; padding: 1rem; border-radius: 6px; font-family: monospace; font-size: 13px; white-space: pre-wrap; word-break: break-all; min-height: 3rem; } label { font-weight: bold; display: block; margin-bottom: 0.4rem; } p.hint { color: #666; font-size: 13px; margin-top: 0.25rem; }</style></head><body><h1>Entomology Label Parser</h1><form id="form"> <label for="labels">Labels (one per line):</label> <textarea id="labels" name="labels" placeholder="Kazakhstan, Akmola Region: Kokshetau Mountains near Terisakkan River, 23.VI-12.VIII.1957, Emeljanov"></textarea> <p class="hint">Each non-empty line is sent separately to the model.</p> <button type="submit" id="btn">Parse</button></form><div id="progress"></div><div id="meta"></div><div id="output">Results will appear here.</div><script>function fmt(ms) { if (ms < 1000) return ms.toFixed(0) + ' ms'; return (ms / 1000).toFixed(2) + ' s';}
function avg(arr) { return arr.length ? arr.reduce((a,b) => a+b, 0) / arr.length : null;}
function renderMeta(total, successes, failures, okTimes, failTimes, totalMs, done) { const meta = document.getElementById('meta'); meta.style.display = 'block'; const avgOk = avg(okTimes); const avgFail = avg(failTimes); meta.innerHTML = '<table>' + '<tr><td>labels</td><td>' + total + '</td></tr>' + '<tr><td>successes</td><td class="ok">' + successes + '</td></tr>' + '<tr><td>failures</td><td class="' + (failures ? 'fail' : 'ok') + '">' + failures + '</td></tr>' + (avgOk !== null ? '<tr><td>avg time (success)</td><td>' + fmt(avgOk) + '</td></tr>' : '') + (avgFail !== null ? '<tr><td>avg time (failure)</td><td>' + fmt(avgFail) + '</td></tr>' : '') + (done ? '<tr><td>total time</td><td>' + fmt(totalMs) + '</td></tr>' : '') + '</table>';}
document.getElementById('form').addEventListener('submit', async e => { e.preventDefault(); const btn = document.getElementById('btn'); const out = document.getElementById('output'); const prog = document.getElementById('progress'); const meta = document.getElementById('meta'); btn.disabled = true; out.textContent = ''; prog.textContent = ''; meta.style.display = 'none';
const lines = document.getElementById('labels').value .split('\n').map(l => l.trim()).filter(l => l !== ''); const total = lines.length; if (total === 0) { prog.textContent = 'No labels entered.'; btn.disabled = false; return; }
const results = []; const okTimes = [], failTimes = []; let successes = 0, failures = 0; const globalStart = performance.now(); try { for (let i = 0; i < total; i++) { prog.textContent = 'Parsing ' + (i + 1) + ' of ' + total + '\u2026'; const fd = new URLSearchParams(); fd.append('labels', lines[i]); const t0 = performance.now(); const resp = await fetch('/parse', { method: 'POST', body: fd }); const json = await resp.json(); const elapsed = performance.now() - t0; for (const r of json) { results.push(r); if (r.error) { failures++; failTimes.push(elapsed); } else { successes++; okTimes.push(elapsed); } } out.textContent = JSON.stringify(results, null, 2); renderMeta(total, successes, failures, okTimes, failTimes, performance.now() - globalStart, false); } prog.textContent = 'Done \u2014 ' + total + ' label' + (total !== 1 ? 's' : '') + ' parsed.'; renderMeta(total, successes, failures, okTimes, failTimes, performance.now() - globalStart, true); } catch (err) { prog.textContent = 'Error: ' + err; } finally { btn.disabled = false; }});</script></body></html>`
func handleIndex(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "text/html; charset=utf-8") fmt.Fprint(w, indexHTML)}
func main() { http.HandleFunc("/", handleIndex) http.HandleFunc("/parse", handleParse) log.Println("listening on http://localhost:8080") log.Fatal(http.ListenAndServe(":8080", nil))}.gitignoreAdded+1
INSTRUCTIONS.md+6-6
tool/go.modAdded+3
tool/main.goAdded+234