Downloads · 30 days
12
15% of all-time downloads
aayushale00/romax-card-designer-local
romax-card-designer-local is a text generation model from aayushale00. Use it when you need the model to write or continue text. It is set up for llama.cpp. The card lists the license as apache-2.0.
Romax Card Designer Local is a fine-tuned SmolLM2 135M specialist model for generating compact membership-card design intent as structured JSON.
Downloads · 30 days
12
15% of all-time downloads
All-time downloads
80
Public
Repo size
105 MB
Likes
0
Public
Click a slice to open those files.
.gguf105 MB · 100%
From the Hugging Face model README
Romax Card Designer Local is a fine-tuned SmolLM2 135M specialist model for generating compact membership-card design intent as structured JSON.
It is designed for the Romax Pass AI application. The model chooses design intent such as mood, orientation, brand asset treatment, field choice, and color usage. The application owns rendering, QR safety, brand locks, field limits, PNG export, and wallet-ready JSON.
| File | Purpose |
|---|---|
card-designer-q4_k_m.gguf | Quantized local model for llama.cpp |
local-concept.schema.json | JSON Schema expected by the app/local server |
model-comparison-data.json | Compact benchmark summary |
HuggingFaceTB/SmolLM2-135M-InstructUse this model as an OpenAI-compatible local endpoint for Romax Pass AI:
llama-server \
-m card-designer-q4_k_m.gguf \
--alias card-designer-local \
--host 127.0.0.1 \
--port 8080 \
-c 512 \
-t 4 \
-np 1
Then configure the app:
AI_PROVIDER=local
LOCAL_LLM_BASE_URL=http://127.0.0.1:8080/v1
LOCAL_LLM_MODEL=card-designer-local
LOCAL_LLM_CONCEPT_COUNT=4
LOCAL_LLM_MAX_TOKENS=430
The model should return one compact JSON object:
{
"id": "local-premium-2",
"name": "Premium Wallet Pass",
"description": "A brand-immersive card concept.",
"mood": "premium",
"requiredFields": ["name", "memberId", "tier", "qrCode"],
"designTokens": {
"primaryColor": "#7c3f24",
"secondaryColor": "#f0c987",
"textColor": "#ffffff",
"orientation": "portrait",
"backgroundMode": "gradient",
"colorUsage": "full",
"brandAssetSource": "logo",
"brandAssetTreatment": "background-emblem",
"brandAssetIntensity": "medium",
"usesLogo": true,
"usesQr": true,
"usesPhoto": false,
"usesDecorativeArt": false
}
}
The app validates output against local-concept.schema.json and repairs hard
brand constraints before rendering.
HuggingFaceTB/SmolLM2-135M-InstructMeasured local V6 Q4 benchmark highlights:
| Metric | Value |
|---|---|
| Request success rate | 100% |
| Average evaluator score | 73.8% |
| Brand color preservation | 100% |
| Locked-field preservation | 100% |
| Exact optional-field match | 25% |
| Categorical design accuracy | 57.3% |
In a product-path benchmark, GPT-5.4 mini generated eight concepts in 8.86s. The local model generated four concepts sequentially under a strict ARM64 Docker constraint and the deterministic app filled four fallback concepts; that path completed in 130.69s.
Source code, training data, training scripts, and documentation are available in the project repository.