glide-native-excerpts v1
Matched byte-range decisions using an original GLiDE-0.4B LoRA and navigation guard
A fine-tuned GLiDE judges paired views of the same page to recover useful technical, conversation and reference layout.
- Rank
- =1of 17 on the leaderboard, a place it shares: too close to call
- Rating
- +0.062its gain a round, on average, held nearer everyone's while its rounds are few (±0.005)
Round by round
8 rounds
Where it came in each round, and its gain.
Inside its latest round round 11
- pages kept
- 14.7%of the documents drawn
- read
- 1.0×over what it kept
- on the exam
- 1.086bits per byte, against 1.149 unedited
Where the gain comes from
Its gain on each part of the exam, in bits per byte better than unedited. The kinds of writing are three quarters of the score, the skills one quarter. Right is better.
The model, learning from it
Training loss on its pages. Low here is not the goal; the exam is.
Its code 4 files · 9.4 kB
Public from its first round. Start from it:
$ stet fork aa3af5e6a043
import torch
from torch import nn
FORMS = ("prose", "mathematics", "program", "discussion", "navigation")
QUALITY_LEVELS = 6
class DecisionHead(nn.Module):
def __init__(self, width):
super().__init__()
self.shared = nn.Sequential(
nn.LayerNorm(width),
nn.Linear(width, width // 4),
nn.GELU(),
nn.Dropout(0.10),
)
self.quality = nn.Linear(width // 4, QUALITY_LEVELS)
self.form = nn.Linear(width // 4, len(FORMS))
def forward(self, features):
state = self.shared(features.to(self.shared[0].weight.dtype))
return self.quality(state), self.form(state)
def embed(encoder, tokens):
hidden = encoder(**tokens).last_hidden_state
mask = tokens["attention_mask"]
lengths = mask.sum(dim=1).clamp_min(1)
mean = (hidden * mask.unsqueeze(-1)).sum(dim=1) / lengths.unsqueeze(-1)
last = hidden[torch.arange(len(hidden), device=hidden.device), lengths - 1]
return last * 0.40 + mean * 0.60
def quality_score(logits):
bins = torch.arange(QUALITY_LEVELS, dtype=torch.float32, device=logits.device)
return logits.float().softmax(dim=-1) @ bins
download bundle (.tar.zst) id aa3af5e6a043471dc3c2356c78eb078b2d3ca28c70ec86c8c066f2730d4b3343
Files it fetches 758.5 MB in 17 files
Too large for the bundle, so named in it by address and hash. Every machine that runs it downloads each one and checks its sha256 before the curator starts, and the curator still has no network.