Views
No views yet
sentence-transformers/all-MiniLM-L6-v2.yat_minilm.py downloads the base model, loads the Phase-2 Yat checkpoints, and replaces every BERT feed_forward_chunk.0.0058470.098501 -> 0.001715| Task | Baseline | Yat-swapped |
|---|---|---|
| STSBenchmark | 0.820325 | 0.816818 |
| STS12 | 0.723690 | 0.720878 |
| STS16 | 0.789895 | 0.789110 |
1from yat_minilm import load_model
2
3model = load_model("azettaai/minilm-l6-yat-ffn-swap")
4emb = model.encode(["hello world", "yat swapped minilm"])
5print(emb.shape)phase2/block0.safetensors ... phase2/block5.safetensors: final Yat FFN replacements.phase1/: random/on-shell warm-start checkpoints.scripts/: Kaggle scripts used to train and evaluate the model.yat_minilm.py: loader and patching code.