Distilbert CoBaLD parser
This version of parser is based on distilbert encoder. The encoder weights were initialized from distilbert-base-uncased
model.
Usage
- Clone https://github.com/CobaldAnnotation/CobaldParser, go to the repo directory and install requirements.
- Download the
model.tag.gz
file. You can do it manually of via:
git clone https://huggingface.co./CoBaLD/distilbert-cobald-parser
- Run
predict.sh
script to inference the model against an input conllu file you want to annotate with CoBaLD:
./predict.sh PATH_TO_MODEL.tar.gz INPUT.conllu OUTPUT.conllu
- Now see the results in OUTPUT.conllu.
Inference API (serverless) does not yet support allennlp models for this pipeline type.