Tencent-Hunyuan/GradLoc
Implementation of GradLoc from the Tencent Hunyuan blog "Stabilizing RLVR via Token-level Gradient Diagnosis and Layerwise Clipping".
This tool helps machine learning engineers and researchers diagnose why their Reinforcement Learning from Vision and Language (RLVR) models sometimes fail during training. It takes the RLVR model's training process as input and outputs a precise identification of which specific data "tokens" are causing instability by creating problematic gradient spikes. This allows practitioners to understand and fix the root causes of training collapse.
Use this if you are a machine learning engineer or researcher experiencing unexplained training failures or instability in your RLVR models and need a way to pinpoint the exact data inputs responsible for these issues.
Not ideal if you are working with machine learning models outside of the RLVR domain or if you are not comfortable applying code patches to an existing framework.
Stars
89
Forks
12
Language
Python
License
—
Category
Last pushed
Feb 16, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/transformers/Tencent-Hunyuan/GradLoc"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
jncraton/languagemodels
Explore large language models in 512MB of RAM
microsoft/unilm
Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities
haizelabs/verdict
Inference-time scaling for LLMs-as-a-judge.
albertan017/LLM4Decompile
Reverse Engineering: Decompiling Binary Code with Large Language Models
bytedance/Sa2VA
Official Repo For Pixel-LLM Codebase