Views
No views yet

wikitext103-50m_final.pttorch.compile| Task | GPT-1 Paper | This Checkpoint | Delta |
|---|---|---|---|
| RTE | 56.0 | 62.1 | +6.1 |
| MRPC | 82.3 | 82.1 | -0.2 |
| STS-B | 82.0 | 79.7 | -2.3 |
| SST-2 | 91.3 | 86.9 | -4.4 |
| CoLA | 45.4 | 11.8 | -33.6 |
model.py included in this model repo or the GitHub repository.1import torch
2from model import GPT
3
4ckpt = torch.load("wikitext103-50m_final.pt", map_location="cpu", weights_only=True)
5model = GPT(ckpt["config"])
6model.load_state_dict(ckpt["model"])
7model.eval()tokenizer.json.