postelein-en-parser / README.md
Amala3's picture
Update model card
23d8e63 verified
|
Raw History Blame Contribute Delete
1.83 kB
metadata
language:
  - en
tags:
  - postelein
  - textlens
  - conllu
  - dependency-parsing
extra_gated_prompt: >-
  The POSTELEIN models are available on request. Please tell us who you are and
  what you would like to use them for.
extra_gated_fields:
  Name: text
  Affiliation: text
  Intended use: text
extra_gated_button_content: Request access

POSTELEIN English: parser

Dependency parsing (diaparser, biaffine), for English. One of five models in the POSTELEIN annotation pipeline (GCND+ project), which produces CoNLL-U with lemmas, UPOS, XPOS, morphological features and dependencies. All models are listed in POSTELEIN collection; the full pipeline code is in Amala3/postelein-pipeline.

Place in the pipeline

  1. tokenization and sentence splitting (Stanza)
  2. dependency parsing: HEAD, DEPREL (parser)
  3. UPOS and a provisional lemma (upos)
  4. lemmas, overwriting step 3's (lemma)
  5. XPOS and morphological features (features)
  6. XPOS, overwriting step 5's (xpos)

Files

The model file go to final_models/EN/dep_parsing/EN_WrittenandSpoken in the pipeline's model folder. This is a diaparser model (a pickled PyTorch file; load only from a source you trust), run with a modified diaparser: python -m diaparser.cmds.biaffine_dependency predict --path <this file> --data in.conllu --pred out.conllu.

The POSTELEIN tagger for TextLens downloads all five models of a language automatically (POSTELEIN_MODELS=hf:Amala3, with an HF_TOKEN of an account that has access).

Training data and evaluation

FILL-IN: training data, evaluation scores, and how to cite.