Downloads · 30 days
70
30% of all-time downloads
Chaman1234/Sparse-AST-BWM-3M-32
Sparse-AST-BWM-3M-32 is a text generation model from Chaman1234. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Ultra-lightweight 4.18M Sparse-AST model designed for low-latency syntax drafting and basic Blender Python token prediction.
Downloads · 30 days
70
30% of all-time downloads
All-time downloads
237
Public
Parameters
3.1M
12.6 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors12.6 MB · 100%
From the Hugging Face model README
Ultra-lightweight 4.18M Sparse-AST model designed for low-latency syntax drafting and basic Blender Python token prediction.
model.safetensors)e.weight tied to h_out.weight, preserved via SafeTensors metadata)bpy, mathutils, bmesh, numpy, gpu)64 tokens4,096 tokens via 1D linear positional interpolation in from_pretrained(..., target_context=4096).[!NOTE] This model was trained natively with a 64-token context window. For longer sequences, positional interpolation is applied at inference time.
Evaluated on the standardized Blender 3D Math & Python Curriculum suite:
| Metric | Measured Result |
|---|---|
| Curriculum Cross-Entropy Loss | 16.2013 |
| Perplexity | 10867358.11 |
| Evaluation Latency | 2.1s |
This SafeTensors distribution underwent full CPU verification against the original PyTorch checkpoint:
0.0 (Exact 0.0 bitwise equality)from model import SparseAST
model = SparseAST.from_pretrained('.')
from generate import generate
prompt = 'import mathutils\nfrom mathutils import Vector\nv = Vector(('
output = generate(model, prompt, max_new_tokens=30)
print(output)