初始化项目,由ModelHub XC社区提供模型
Model: xaitalk/gpt2-mirror Source: Original Platform
This commit is contained in:
56
README.md
Normal file
56
README.md
Normal file
@@ -0,0 +1,56 @@
|
||||
---
|
||||
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)
|
||||
```
|
||||
Reference in New Issue
Block a user