glp-llama1b-d6-chat-wildchat - GLP fine-tune for Llama-3.2 chat activations
2 min readupdated
This model is a chat-adapted version of the GLP (Generative Latent Prior) activation diffusion model for layer 7 of Llama-3.2-1B-Instruct. It was trained on public dialogues from the WildChat dataset with the addition of 20 percent FineWeb data, reducing the false positive rate on user utterances from 76-94 percent down to a fraction of a percent. The release is useful for researchers studying language model safety, hidden state monitoring, and activation distribution analysis in dialogue scenarios.
Key features
- Base: Fine-tuned checkpoint of generative-latent-prior/glp-llama1b-d6 on WildChat data.
- Low FPR: Reduced false alarm rate on Alpaca and UltraChat benchmarks down to 0.2-0.8 percent.
- Compatibility: Full support for the standard upstream repository pipeline generative_latent_prior.
- Ready-to-use script: Includes a standalone runner for prompt evaluation and log-likelihood calculation.
What you can do
- Chat analysis: Evaluate model activation likelihood during dialogues with users using the run_glp.py script.
- State monitoring: Use layer 7 to check whether hidden representations exceed normal distribution bounds.
- Batch processing: Check large datasets via JSONL files to audit response safety.
- Integration: Embed GLP checking into Llama-3.2-based text generation monitoring pipelines.
Example
from glp.denoiser import load_glp
glp = load_glp("anshulsc/glp-llama1b-d6-chat-wildchat", device="cuda:0", checkpoint="final")
Read more
DetailsMetrics and training:
• Validation MSE: WildChat improved from 1.3120 to 1.0548
• Data: 655,782 chats after length filtering
• Requirements: PyTorch, CUDA support, and libraries from requirements.txt










Comments