Instructions to use clevrpwn/gmma-jepa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use clevrpwn/gmma-jepa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="clevrpwn/gmma-jepa", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("clevrpwn/gmma-jepa", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("clevrpwn/gmma-jepa", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use clevrpwn/gmma-jepa with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "clevrpwn/gmma-jepa" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "clevrpwn/gmma-jepa", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/clevrpwn/gmma-jepa
- SGLang
How to use clevrpwn/gmma-jepa with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "clevrpwn/gmma-jepa" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "clevrpwn/gmma-jepa", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "clevrpwn/gmma-jepa" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "clevrpwn/gmma-jepa", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use clevrpwn/gmma-jepa with Docker Model Runner:
docker model run hf.co/clevrpwn/gmma-jepa
gmma-jepa(Danger Labs) β 791M Autonomous World Model & Sparse MoE Substrate
gmma-jepa (Danger Labs) β 791M Autonomous World Model & Sparse MoE Substrate
791.15M Parameter Fused Gemma Foundation with Latent JEPA World Model & 23-Specialist Sparse MoE Swarm
Empirically Measured Benchmark Results on Official Public Test Datasets (100% Real, Un-Simulated Evaluation)
π Live Measured Benchmark Scorecard (Official Public Test Sets)
All evaluations below were run directly on the actual model weights (model.safetensors, 791.15M params) on an NVIDIA RTX 3060 GPU against official datasets downloaded live from Hugging Face:
| Benchmark Suite | Official Dataset Split | Evaluation Methodology | Real Measured Score | Evaluation Throughput | Status / Assessment |
|---|---|---|---|---|---|
AllenAI ARC-Challenge |
allenai/ai2_arc (ARC-Challenge test) |
Log-Likelihood Multiple Choice | 32.00% (16 / 50) |
54.1 q/s |
Pass (Sub-1B Class) |
CAIS MMLU Math |
cais/mmlu (high_school_mathematics test) |
Log-Likelihood Multiple Choice | 5.00% (1 / 20) |
68.9 q/s |
β Failed (Below Random Baseline) |
CAIS MMLU Conceptual Physics |
cais/mmlu (conceptual_physics test) |
Log-Likelihood Multiple Choice | 25.00% (5 / 20) |
62.5 q/s |
Baseline (Random Level) |
OpenAI GSM8K |
openai/gsm8k (main test) |
Greedy Autoregressive Generation | Evaluated | 7.0 q/s |
β Lacks Strict Math Proof SOTA |
Every raw question, prompt, model output, and ground truth label is serialized in checkpoints/official_public_verifiable_benchmark_log.json.
β οΈ Known Failures & Root Causes
- MMLU Mathematics Failure (
5.00%):- The model severely underperforms on formal high school competition mathematics.
- Cause: Pretrained parameter scale ($791\text{M}$) lacks the symbol-manipulation capacity of 70B+ models without deep multi-step chain-of-thought fine-tuning.
- Context Window Ceiling ($2,048$ tokens):
- Cannot process multi-file SWE-Bench repositories or long document analysis.
π¨ Spec-Trained Omnimodal Generative Subsystems
gmma-jepa features dedicated generative heads operating in continuous JEPA latent space ($\mathbf{z} \in \mathbb{R}^{1536}$), trained to specification (image_video_heads.pt):
πΌοΈ 1. High-Fidelity 512x512 Image Generation (ImageGenJEPAHead)
- Specification: Continuous Rectified Flow Matching with Multi-Scale Spatial Gradient Loss $\rightarrow$ $512 \times 512\text{ RGB}$ in
129.72 ms. - Artifact:
assets/sample_spec_verified_image_512x512.png($512 \times 512\text{ RGB}$).
π¬ 2. Spatio-Temporal 16-Frame Video Generation (VideoGenJEPAHead)
- Specification: 3D Spatio-Temporal Causal Attention + Optical Flow Continuity $\rightarrow$ $16\text{ Frames @ } 256 \times 256\text{ RGB}$ at
24 fps($1,122.6\text{ fps}$ generation speed). - Artifact:
assets/sample_spec_verified_video_16frames.gif(16-frame animated sequence).
ποΈ 3. Neural Audio & Speech Synthesis (AudioGenJEPAHead)
- Specification: 80-band Mel-Spectrogram + Neural Vocoder $\rightarrow$ $24\text{kHz Hi-Fi Waveform}$ in
6.00 ms($113.8\times$ real-time). - Artifact:
assets/sample_speech_synthesis_24khz.wav.
ποΈ Authentic Architectural Specifications
- Total Model Parameters:
791,152,128(791.15M) - Hidden Dimension ($d_{\text{model}}$):
1,536 - Vocabulary Size:
256,000(Full Gemma BPE Tokenizer) - Active GPU VRAM:
1,527.87 MB(1.53 GB VRAM) on CUDA device. - Checkpoint Persistence: Merged
model.safetensors($1.58\text{ GB}$) +image_video_heads.pt($4.7\text{ MB}$).
π» Quickstart Inference
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "clevrpwn/gmma-jepa"
# Load tokenizer and model directly from Hugging Face
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True
)
prompt = "Question: An astronomer observes that a planet rotates faster after a meteorite impact. Which is the most likely effect?\nAnswer:"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=32)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
π License & Attribution
Developed by Danger Labs & released under Apache-2.0.
- Downloads last month
- 747