alphaXiv / attention-is-not-all-you-need-models

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: January 12 2026

Introduction of attention-is-not-all-you-need-models

Model Details of attention-is-not-all-you-need-models

Attention Is Not All You Need - Model Checkpoints

This repository contains the best model checkpoints from the reproduction of "Attention Is Not What You Need" paper.

Models Included
Wikitext-2 Language Modeling
  • Transformer Models : L128/L256 with N6/N12 layers
  • Grassmann Models : L128/L256 with N6/N12 layers
SNLI Natural Language Inference
  • Transformer Model : Classification head trained from scratch
  • Grassmann Model : Classification head trained from scratch
Results Summary
Wikitext-2 (Best Validation PPL)
  • Best Transformer : L=256, N=12 → 168.68 PPL
  • Best Grassmann : L=128, N=12 → 244.61 PPL
  • Gap : 45.0% (Grassmann underperforms)
SNLI (Test Accuracy)
  • Grassmann : 71.25% accuracy
  • Transformer : 66.71% accuracy
  • Gap : +4.54% (Grassmann outperforms!)
Repository Structure
├── grassmann_snli/
│   ├── checkpoints/best.pt
│   ├── snli_test_results.json
│   └── snli_validation_results.json
├── grassmann_wikitext_L128_N6/
│   ├── checkpoints/best.pt
│   ├── results.json
│   └── wikitext_validation_results.json
├── grassmann_wikitext_L128_N12/
│   ├── checkpoints/best.pt
│   ├── results.json
│   └── wikitext_validation_results.json
├── grassmann_wikitext_L256_N6/
│   ├── checkpoints/best.pt
│   ├── results.json
│   └── wikitext_validation_results.json
├── grassmann_wikitext_L256_N12/
│   ├── checkpoints/best.pt
│   ├── results.json
│   └── wikitext_validation_results.json
├── transformer_snli/
│   ├── checkpoints/best.pt
│   ├── snli_test_results.json
│   └── snli_validation_results.json
├── transformer_wikitext_L128_N6/
│   ├── checkpoints/best.pt
│   ├── results.json
│   └── wikitext_validation_results.json
├── transformer_wikitext_L128_N12/
│   ├── checkpoints/best.pt
│   ├── results.json
│   └── wikitext_validation_results.json
├── transformer_wikitext_L256_N6/
│   ├── checkpoints/best.pt
│   ├── results.json
│   └── wikitext_validation_results.json
└── transformer_wikitext_L256_N12/
    ├── checkpoints/best.pt
    ├── results.json
    └── wikitext_validation_results.json
Loading Models
import torch

# Load a checkpoint
checkpoint = torch.load("grassmann_wikitext_L256_N12/checkpoints/best.pt")

# Access model state
model_state = checkpoint['model_state_dict']
epoch = checkpoint['epoch']
val_loss = checkpoint['val_loss']

print(f"Epoch: {epoch}, Val Loss: {val_loss}")
Citation

If you use these models, please cite the original paper reproduction:

@misc{attn-is-not-all-you-need-reproduction,
  title={Reproduction of "Attention Is Not What You Need"},
  author={alphaXiv},
  year={2026},
  url={https://github.com/alphaXiv/paper-implementations}
}
Hardware

All models trained on:

  • GPU : NVIDIA H100 SXM5 80GB
  • Platform : Lambda Labs, Lambda Stack 22.04
License

MIT License

Runs of alphaXiv attention-is-not-all-you-need-models on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About attention-is-not-all-you-need-models huggingface.co Model

More attention-is-not-all-you-need-models license Visit here:

https://choosealicense.com/licenses/mit

attention-is-not-all-you-need-models huggingface.co

attention-is-not-all-you-need-models huggingface.co is an AI model on huggingface.co that provides attention-is-not-all-you-need-models's model effect (), which can be used instantly with this alphaXiv attention-is-not-all-you-need-models model. huggingface.co supports a free trial of the attention-is-not-all-you-need-models model, and also provides paid use of the attention-is-not-all-you-need-models. Support call attention-is-not-all-you-need-models model through api, including Node.js, Python, http.

attention-is-not-all-you-need-models huggingface.co Url

https://huggingface.co/alphaXiv/attention-is-not-all-you-need-models

alphaXiv attention-is-not-all-you-need-models online free

attention-is-not-all-you-need-models huggingface.co is an online trial and call api platform, which integrates attention-is-not-all-you-need-models's modeling effects, including api services, and provides a free online trial of attention-is-not-all-you-need-models, you can try attention-is-not-all-you-need-models online for free by clicking the link below.

alphaXiv attention-is-not-all-you-need-models online free url in huggingface.co:

https://huggingface.co/alphaXiv/attention-is-not-all-you-need-models

attention-is-not-all-you-need-models install

attention-is-not-all-you-need-models is an open source model from GitHub that offers a free installation service, and any user can find attention-is-not-all-you-need-models on GitHub to install. At the same time, huggingface.co provides the effect of attention-is-not-all-you-need-models install, users can directly use attention-is-not-all-you-need-models installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

attention-is-not-all-you-need-models install url in huggingface.co:

https://huggingface.co/alphaXiv/attention-is-not-all-you-need-models

Url of attention-is-not-all-you-need-models

attention-is-not-all-you-need-models huggingface.co Url

Provider of attention-is-not-all-you-need-models huggingface.co

alphaXiv
ORGANIZATIONS

Other API from alphaXiv