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 viagit clone https://huggingface.co/CoBaLD/distilbert-cobald-parser
. - Run
allennlp predict
with the following arguments on the conllu file you want to annotate with CoBaLD:
allennlp predict <PATH_TO_model.tar.gz> <INPUT_CONLLU_FILE> \
--output-file <OUTPUT_CONLLU_FILE> \
--include-package src \
--predictor morpho_syntax_semantic_predictor \
--use-dataset-reader
- Now see the results in output conllu file you specified.
- Downloads last month
- 0