Views
No views yet
texture-frames-de, a German
frame-semantic parser. Given a sentence with a marked trigger, it predicts which
of 1,027 frames the trigger evokes.deepset/gbert-large
on the SALSA 2.0 corpus
and uses marker-token pooling: the trigger is wrapped in entity markers
(… <t> kündigte </t> …) and the frame representation is the concatenation of the
two marker tokens' hidden states (not [CLS]), focusing the classifier on the
predicate. A single forward pass — no beam search.This is one of three stages. Use it through the package rather than alone; the pipeline handles trigger detection and argument extraction around it.
pip install git+https://github.com/texturejc/texture-frames-de1from texture_frames_de import FrameParser
2parser = FrameParser() # downloads this + the args head on first use
3for ann in parser.parse("Die Polizei verhaftete den Verdächtigen am Bahnhof ."):
4 print(ann.frame, "|", ann.trigger)
5# Arrest | verhaftetesimplemma lemmatization), so a confident
non-candidate can still win while golds outside the top candidate are recovered.| File | What |
|---|---|
frame2_model.pt | model state_dict (backbone + marker-pooling classifier) |
frame2id.json | {frame name → id} label map + base_model |
| tokenizer files | gbert-large tokenizer with the <t> / </t> markers added |
FrameMarkerModel) is defined in the package; loading is handled
by texture_frames_de.weights.load_frame.| Metric | Value |
|---|---|
| Frame accuracy | 0.9045 (candidate bias 4.0) |
| Candidate-coverage ceiling | 0.984 |
| Speed | ~16 ms/example (single forward pass) |
texture-frames frame head — different
corpus, label space (1,027 vs 1,221), and splits. Read as a strong standalone
German result.deepset/gbert-large, 5 epochs, AdamW lr 1e-5, warmup 0.06, weight decay 0.01,
batch 16, max length 320, bf16. Data: SALSA 2.0, 80/10/10 split by sentence id
(train 30,089 / dev 3,787 / test 3,729 frame instances). See the
repo for the training notebook.1@software{texture_frames_de,
2 author = {Carney, James},
3 title = {texture-frames-de: a German frame-semantic parser (gbert / SALSA)},
4 url = {https://github.com/texturejc/texture-frames-de},
5 year = {2026}
6}frame-semantic-transformer and its encoder
rearchitecture texture-frames;
thanks to the SALSA and TIGER projects and to deepset for gbert-large.