Files
gpt2-mirror/README.md

57 lines
1.7 KiB
Markdown
Raw Normal View History

---
license: mit
tags:
- mirror
- xai
- text-generation
- gpt2
- language-model
---
# GPT-2 (OpenAI / HuggingFace) — xaitalk mirror
This is a **bit-identical mirror** of the canonical artifact from OpenAI / HuggingFace.
The mirror exists only as a resilience fallback for the
[xaitalk](https://github.com/xaitalk/xaitalk) library — the upstream remains
authoritative. All credit and licensing for the model belong to the original
authors.
## Attribution
| Field | Value |
|---|---|
| **Original authors** | OpenAI / HuggingFace |
| **Upstream (authoritative)** | https://huggingface.co/openai-community/gpt2 |
| **Source repo** | https://github.com/openai/gpt-2 |
| **Paper** | https://openai.com/research/better-language-models (Radford et al. 2019) |
| **License** | `mit` (inherited from upstream — please respect upstream's terms) |
| **Mirror file** | `pytorch_model.bin` |
| **SHA-256** | `7c5d3f4b8b76583b422fcb9189ad6c89d5d97a094541ce8932dce3ecabde1421` |
| **Size** | 548,118,077 bytes (522.7 MB) |
## How xaitalk loads this file
```python
from xaitalk.hub import ensure_model
weights_path = ensure_model("gpt2")
# Tries the canonical upstream first; falls back to this xaitalk mirror
# automatically if upstream is unreachable.
```
## Why mirror?
xaitalk's research-grade reproducibility claim relies on every weight file
being recoverable years from now. We mirror artifacts ≤ 2.5 GB under
`xaitalk/*-mirror` so the pipeline survives upstream URL changes, repo
renames, or deletions. Bit-level parity with the canonical is asserted in
CI via `python -m xaitalk.hub verify-mirrors`.
## Citation
If you use this model, **please cite the original paper** (not the mirror):
```
https://openai.com/research/better-language-models (Radford et al. 2019)
```