Downloads · 30 days
10
6% of all-time downloads
ghotriw/deberta-v3-small-biaffine-dep-pos-en-ewt
deberta-v3-small-biaffine-dep-pos-en-ewt is a machine learning model from ghotriw. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Biaffine dependency parser + joint UPOS tagger trained on Universal Dependencies English Web Treebank (EWT).
Downloads · 30 days
10
6% of all-time downloads
All-time downloads
169
Public
Repo size
2 GB
Likes
0
Public
Click a slice to open those files.
.onnx864 MB · 98%
From the Hugging Face model README
Biaffine dependency parser + joint UPOS tagger trained on Universal Dependencies English Web Treebank (EWT).
Encoder: microsoft/deberta-v3-small (frozen weights not included — loaded from HuggingFace at runtime)
Custom head: biaffine_head.safetensors — word projection, arc/rel/POS MLPs and biaffine layers
Labels: 53 DEPREL labels · 19 UPOS tags
Score convention: s_arc[dep, head], s_rel[dep, head, rel]
| Split | LAS | UPOS | UCM | LCM |
|---|---|---|---|---|
| dev | 93.17% | 97.92% | 74.81% | 65.22% |
| test | 93.25% | 97.86% | 75.45% | 66.73% |
model.onnx — fp32 model (Recommended for CPU inference).
model.fp16.onnx — fp16 model (For GPU or environments with native fp16 support, ~~275 MB).
Inputs: subwords [B, W, 20] int64. Outputs: s_arc [B,W,W], s_rel [B,W,W,R], s_pos [B,W,P].
# download only inference artifacts
hf download ghotriw/deberta-v3-small-biaffine-dep-pos-en-ewt \
model.fp16.onnx model.onnx vocabs.json tokenizer.json \
--local-dir ./model
vocabs.json — DEPREL and UPOS vocabularies (str→int dicts).
The model expects a word-level subword grid [B, W, fix_len=20] (int64),
where each word is independently tokenised with the encoder's sentencepiece tokeniser
and padded/truncated to 20 subword slots. Position 0 is a synthetic ROOT word
whose only subword is [CLS] (id 1).
config.json contains rel_vocab (str→int) and pos_vocab (str→int).
Index 0 is the <pad> / ROOT slot and should be ignored in evaluation.