|
--- |
|
language: |
|
- ru |
|
library_name: allennlp |
|
pipeline_tag: token-classification |
|
--- |
|
|
|
# XLM-RoBERTa Base CoBaLD parser |
|
|
|
This version of parser is based on XLM-R Base encoder. The encoder weights were initialized from `xlm-roberta-base` model. |
|
|
|
## Usage |
|
|
|
1. Clone https://github.com/CobaldAnnotation/CobaldParser, go to the repo directory and install requirements. |
|
2. Download the `model.tag.gz` file. You can do it manually of via: |
|
``` |
|
git clone https://huggingface.co/CoBaLD/xlm-roberta-base-cobald-parser-ru |
|
``` |
|
3. 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 |
|
``` |
|
4. Now see the results in OUTPUT.conllu. |