Downloads · 30 days
4
19% of all-time downloads
MEBestawy/apollo-11-transcript-unmasker
apollo-11-transcript-unmasker is a fill-mask model from MEBestawy. Use it when you need the model to fill a missing word. The card lists the license as cc0-1.0.
Character-level transformer trained to reconstruct masked Apollo 11 air-to-ground dialogue. Input: masked text (e.g. Hoton, pollo 11.) Output: reconstructed text in packed form (e.g. {Hoton, pollo 11.|Houston, Apollo…
Downloads · 30 days
4
19% of all-time downloads
All-time downloads
21
Public
Repo size
45.3 MB
Likes
1
Public
Click a slice to open those files.
.pt45.3 MB · 100%
From the Hugging Face model README
Character-level transformer trained to reconstruct masked Apollo 11 air-to-ground dialogue.
Input: masked text (e.g. Ho**ton, *pollo 11.)
Output: reconstructed text in packed form (e.g. {Ho**ton, *pollo 11.|Houston, Apollo 11.})
Trained on masked variants of the cleaned Apollo 11 transcript:
{masked|text}. Loss is applied only to the response (characters after |).Small causal character-level transformer (~3.7M parameters):
| Setting | Value |
|---|---|
| Vocab | 256 (ASCII) |
Model dim (d_model) | 256 |
| Attention heads | 8 |
| Transformer blocks | 4 |
| Max sequence length | 2048 |
| Positional encoding | Learned absolute |
| Activation | GELU |
| Normalization | LayerNorm (pre-norm blocks) |
| Output | Tied embedding projection → next-character logits |
Block layout:
x → LayerNorm → Multi-Head Self-Attention → residual → LayerNorm → FeedForward (4× expand) → residual
Attention is causal (each position only sees past tokens), so the model can be trained in parallel and used autoregressively at inference.
Best checkpoint after 8 epochs / 10,000 steps:
| Metric | Value |
|---|---|
| Train loss | 0.69 |
| Test loss | 0.98 |
| Test char accuracy (response tokens) | ~72% |
Loss is computed on response tokens only (after |). The curve shows train and test loss over training iterations.
| File | Description |
|---|---|
model.pt | Best checkpoint (model state dict + training metrics) |
config.json | Architecture and training metadata |
loss_curve.png | Iteration vs train/test loss |
This is a custom PyTorch model (not a Hugging Face transformers checkpoint). You need the model code from the training repo to load it.
import torch
from model import build_model
model = build_model()
state = torch.load("model.pt", map_location="cpu")
model.load_state_dict(state["model"])
model.eval()
Prompt format: wrap masked input as {masked| and generate until }.
Example:
Input: Hoton, *pollo 11. Prompt: {Hoton, *pollo 11.| Output: {Ho**ton, *pollo 11.|Houston, Apollo 11.}