File size: 729 Bytes
4c0ef22
 
 
 
 
 
 
66ac4b1
4c0ef22
 
 
 
 
 
b8b53b3
4c0ef22
b8b53b3
4c0ef22
b8b53b3
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
language:
- en
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
```
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.