FatouSow commited on
Commit
f80556d
·
verified ·
1 Parent(s): 79d2545

Update README.md

Browse files

# Model description

*Relex* is a fine-tuned CamemBERT model trained to classify the relation expressed by a connective in context. Given a connective tagged by the tokens [MARKER] and [/MARKER], Relex predicts the relation of this connective.

- *Training data*: French newspapers and Wikiconflit comments, automatically annotated in connectives

- *Special tokens*: Connectives are wrapped between [MARKER] and [/MARKER] tokens in the training data. These tags signal to the model which word it should focus its attention on for the relation mapping.

- *Context Window*: The special tokens must appear within the first 256 tokens of the input. Because these signals are the anchor for the classification, ensuring they are not truncated is crucial for accurate predictions.

- *Predictions*: Relex predicts among 19 discourse relations (SDRT) .

- *Example*:
- *Input*: [MARKER] Peu avant de [/MARKER] mourir, Mio a promis à son mari qu'elle reviendrait à la saison des pluies.
- *Prediction*: Narration

Files changed (1) hide show
  1. README.md +33 -3
README.md CHANGED
@@ -1,3 +1,33 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - fr
5
+ base_model:
6
+ - almanach/camembert-base
7
+ pipeline_tag: text-classification
8
+ library_name: transformers
9
+ tags:
10
+ - discourse relation
11
+ - discourse connective
12
+ - camembert
13
+ - nlp
14
+ model-index:
15
+ - name: Relex
16
+ results:
17
+ - task:
18
+ type: text-classification
19
+ metrics:
20
+ - name: macro-F1
21
+ type: f1
22
+ value: 0.59
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.63
26
+ - name: Precision
27
+ type: precision
28
+ value: 0.62
29
+ - name: Recall
30
+ type: recall
31
+ value: 0.62
32
+
33
+ ---