Downloads · 30 days
13
22% of all-time downloads
frameprotocol/frame-intent-english
frame-intent-english is a text generation model from frameprotocol. Use it when you need the model to write or continue text. The card lists the license as mit.
This model converts natural language into structured intent JSON:
Downloads · 30 days
13
22% of all-time downloads
All-time downloads
60
Public
Repo size
136 MB
Likes
0
Public
Click a slice to open those files.
.gguf136 MB · 100%
From the Hugging Face model README
This model converts natural language into structured intent JSON:
{ "intent": "string", "params": { "key": "value" } }
Example:
Input:
send bob hello
Output:
{ "intent": "message.send", "params": { "to": "bob", "text": "hello" } }
Note: this is not perfect for a reason, frames runtime will fix it entirely over time
Requirements: llama.cpp built (llama-cli binary available)
Example:
git clone https://huggingface.co/frameprotocol/frame-intent-english
/path/to/llama-cli \
-m model.gguf \
-p "send bob 5 dollars" \
-n 100 \
--temp 0.0
Expected output (approx):
{"intent":"payment.send","params":{"to":"bob","text":"5"}}
Run with validation (this repo):
python infer.py "send bob 5 dollars"
Expected output:
{"intent":"payment.send","params":{"to":"bob"}}
Notes:
flowchart LR
A[Natural language input] --> B[GGUF model\nllama-cli]
B --> C[Raw JSON output]
C --> D[Validation\ninfer.py]
D --> E[Cleaned intent JSON]