Update README.md
Browse files
README.md
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
---
|
2 |
license: cc-by-4.0
|
3 |
---
|
|
|
4 |
---
|
5 |
-
|
6 |
-
|
7 |
- conll2002
|
8 |
- Babelscape/wikineural
|
9 |
-
|
10 |
## Introduction
|
11 |
[NER-fine-tuned-BETO] is a NER model that was fine-tuned from BETO on the 2002 Conll and the WikiNEuRal spanish datasets.
|
12 |
Model was trained on the Conll 2002 train dataset (~8320 sentences) and a bootstrapped dataset of WikiNEuRal, where we re-evaluate the dataset and only keep the sentences where all the labels matched the predictions made.
|
@@ -23,10 +24,12 @@ ORG |Organization
|
|
23 |
LOC |Location
|
24 |
|
25 |
Alongside the IOB formatting, this is:
|
26 |
-
|
27 |
-
|
|
|
28 |
## How to use NER-fine-tuned-BETO with HuggingFace
|
29 |
-
|
|
|
30 |
```python
|
31 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
32 |
|
@@ -48,7 +51,7 @@ nlp('Ignacio se fue de viaje por Buenos aires')
|
|
48 |
'end': 40}]
|
49 |
|
50 |
```
|
51 |
-
## Model
|
52 |
Overall
|
53 |
| precision | recall | f1-score |
|
54 |
|-----------|--------|----------|
|
|
|
1 |
---
|
2 |
license: cc-by-4.0
|
3 |
---
|
4 |
+
# NER-fine-tuned-BETO: model fine-tuned from BETO for NER task.
|
5 |
---
|
6 |
+
Language: es
|
7 |
+
Datasets:
|
8 |
- conll2002
|
9 |
- Babelscape/wikineural
|
10 |
+
|
11 |
## Introduction
|
12 |
[NER-fine-tuned-BETO] is a NER model that was fine-tuned from BETO on the 2002 Conll and the WikiNEuRal spanish datasets.
|
13 |
Model was trained on the Conll 2002 train dataset (~8320 sentences) and a bootstrapped dataset of WikiNEuRal, where we re-evaluate the dataset and only keep the sentences where all the labels matched the predictions made.
|
|
|
24 |
LOC |Location
|
25 |
|
26 |
Alongside the IOB formatting, this is:
|
27 |
+
- B-LABEL if the word is at the beggining of the entity.
|
28 |
+
- I-LABEL if the word is part of the entity name, but not the first word.
|
29 |
+
|
30 |
## How to use NER-fine-tuned-BETO with HuggingFace
|
31 |
+
Load the model and its tokenizer :
|
32 |
+
|
33 |
```python
|
34 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
35 |
|
|
|
51 |
'end': 40}]
|
52 |
|
53 |
```
|
54 |
+
## Model Performance
|
55 |
Overall
|
56 |
| precision | recall | f1-score |
|
57 |
|-----------|--------|----------|
|