Update README.md
Browse files
README.md
CHANGED
|
@@ -17,9 +17,9 @@ widget:
|
|
| 17 |
|
| 18 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 19 |
|
| 20 |
-
This model is designed to classify encyclopedia articles into
|
| 21 |
It is a fine-tuned version of the bert-base-multilingual-cased model.
|
| 22 |
-
It has been trained on the French *Encyclopédie ou dictionnaire raisonné des sciences des arts et des métiers par une société de gens de lettres (1751-1772)* edited by Diderot and d'Alembert (provided by the [ARTFL Encyclopédie Project](https://artfl-project.uchicago.edu)).
|
| 23 |
|
| 24 |
|
| 25 |
|
|
@@ -47,13 +47,8 @@ The tagset is as follows:
|
|
| 47 |
## Dataset
|
| 48 |
|
| 49 |
|
| 50 |
-
The model was trained using a set of
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
The spans/entities were labeled by the project team along with using pre-labelling with early models to speed up the labelling process.
|
| 54 |
-
A train/val/test split was used.
|
| 55 |
-
Validation and test sets are composed of 200 paragraphs each: 100 classified as 'Géographie' and 100 from another knowledge domain.
|
| 56 |
-
The datasets have the following breakdown of tokens and spans/entities.
|
| 57 |
|
| 58 |
| | Train | Validation | Test|
|
| 59 |
|---|:---:|:---:|:---:|
|
|
@@ -62,6 +57,29 @@ The datasets have the following breakdown of tokens and spans/entities.
|
|
| 62 |
| Misc | 197 | 35 | 41 |
|
| 63 |
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
## How to Get Started with the Model
|
| 67 |
|
|
|
|
| 17 |
|
| 18 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 19 |
|
| 20 |
+
This model is designed to classify geographic encyclopedia articles into place, person, or misc.
|
| 21 |
It is a fine-tuned version of the bert-base-multilingual-cased model.
|
| 22 |
+
It has been trained on a manually annotated subset of the French *Encyclopédie ou dictionnaire raisonné des sciences des arts et des métiers par une société de gens de lettres (1751-1772)* edited by Diderot and d'Alembert (provided by the [ARTFL Encyclopédie Project](https://artfl-project.uchicago.edu)).
|
| 23 |
|
| 24 |
|
| 25 |
|
|
|
|
| 47 |
## Dataset
|
| 48 |
|
| 49 |
|
| 50 |
+
The model was trained using a set of 1423 entries (only first paragraphs) classified as 'Geography' (using this model: https://huggingface.co/GEODE/bert-base-multilingual-cased-edda-domain-classification). First paragraphs
|
| 51 |
+
The datasets have the following distribution of entries among datasets and classes:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
| | Train | Validation | Test|
|
| 54 |
|---|:---:|:---:|:---:|
|
|
|
|
| 57 |
| Misc | 197 | 35 | 41 |
|
| 58 |
|
| 59 |
|
| 60 |
+
## Evaluation
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
* Overall weighted-average model performances
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
| | Precision | Recall | F-score |
|
| 67 |
+
|---|:---:|:---:|:---:|
|
| 68 |
+
| | 0.95 | 0.95 | 0.95 |
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
* Model performances (Test set)
|
| 73 |
+
|
| 74 |
+
| | Precision | Recall | F-score | Support |
|
| 75 |
+
|---|:---:|:---:|:---:|:---:|
|
| 76 |
+
| Place | 0.97 | 0.97 | 0.97 | 147 |
|
| 77 |
+
| Person | 0.92 | 0.92 | 0.92 | 26 |
|
| 78 |
+
| Misc | 0.90 | 0.90 | 0.90 | 41 |
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
|
| 83 |
|
| 84 |
## How to Get Started with the Model
|
| 85 |
|