Downloads · 30 days
5
1% of all-time downloads
edorazio/gemma-3-270m-it-dynamicplp
gemma-3-270m-it-dynamicplp is a text generation model from edorazio. Use it when you need the model to write or continue text. It is set up for transformers.js. The card lists the license as gemma.
Fine-tuned Gemma 3 270M IT for in-browser e-commerce user profiling. Designed to run client-side in DynamicPLP via Transformers.js + WebGPU.
Downloads · 30 days
5
1% of all-time downloads
All-time downloads
365
Public
Repo size
4.5 GB
Likes
0
Public
Click a slice to open those files.
.onnx4.5 GB · 99%
From the Hugging Face model README
Fine-tuned Gemma 3 270M IT for in-browser e-commerce user profiling. Designed to run client-side in DynamicPLP via Transformers.js + WebGPU.
Analyzes shoe-browsing interaction logs and assigns preference weights across 3 dimensions:
rosso, blu, nero, beige, ...casual, classic, elegant, minimal, sporty, urbanflat, high_heel, hiking_boot, mans_shoe, running, womans_bootOutput format (6 lines, Italian):
COLOR colore=peso, colore=peso
STYLE stile=peso, stile=peso
CATEGORY categoria=peso, categoria=peso
CONFIDENCE 0.0-1.0
INTENT exploring|deciding|focused
MESSAGE <1-2 Italian sentences>
mlx-community/gemma-4-e4b-it-4bit (Gemma 4 E4B with thinking enabled)| Metric | Value |
|---|---|
| Format compliance | 100% |
| Invalid labels | 2.5% |
| Color cosine sim vs teacher | 0.72 |
| Style cosine sim vs teacher | 0.77 |
| Category cosine sim vs teacher | 0.78 |
| Intent accuracy (deciding) | 100% |
| Confidence MAE | 0.061 |
| Gen speed (MLX bf16) | 0.58s/ex |
Known limitation: training data was 91% deciding intent. Student collapses minority intents (exploring, focused → 0% recall). Reordering quality (weights) unaffected; intent only impacts trigger cooldown in DynamicPLP.
| File | Size | Use |
|---|---|---|
onnx/model.onnx | 1.6 GB | fp32 reference |
onnx/model_fp16.onnx | 1.3 GB | CPU fallback |
onnx/model_q4.onnx | 800 MB | fp32 activations + 4-bit weights |
onnx/model_q4f16.onnx | 481 MB | WebGPU primary |
import { pipeline } from '@huggingface/transformers';
const pipe = await pipeline(
'text-generation',
'edorazio/gemma-3-270m-it-dynamicplp',
{ dtype: 'q4f16', device: 'webgpu' }
);
Gemma Terms of Use. See https://ai.google.dev/gemma/terms