npedrazzini commited on
Commit
7697944
1 Parent(s): 395db8a

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +63 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ datasets:
4
+ - npedrazzini/hist_suicide_incident
5
+ language:
6
+ - en
7
+ metrics:
8
+ - accuracy
9
+ pipeline_tag: text-classification
10
+ tags:
11
+ - roberta-based
12
+ - historical newspaper
13
+ - late modern english
14
+ - text classification
15
+ ---
16
+
17
+ # HistoroBERTa-SuicideIncidentClassifier
18
+
19
+ A binary classifier based on the RoBERTa-base architecture, fine-tuned on historical British newspaper articles to discern whether news reports discuss (confirmed or speculated) suicide cases, investigations, or court cases related to suicides. It effectively differentiates between texts where "suicide" or "suicidal" is used literally in the context of actual incidents and those where these terms appear figuratively or in broader, non-specific discussions (e.g., mention of number of suicides in the context of vital statistics, philosophical discussions around the morality of suicide at an abstract level, etc.).
20
+
21
+ - **Developed by:** Nilo Pedrazzini, Daniel CS Wilson
22
+ - **Language(s) (NLP):** Late Modern English (1780-1920)
23
+ - **License:** MIT
24
+ - **Parent Model:** [roberta-base](https://huggingface.co/FacebookAI/roberta-base)
25
+
26
+ # Uses
27
+
28
+ The classifier can be used to obtain larger datasets reporting on concrete cases of suicide in historical digitized newspapers to carry out larger-scale analyses on the language used in the reports.
29
+
30
+ # Bias, Risks, and Limitations
31
+
32
+ The classifier was trained on digitized newspaper data containing many OCR errors and, while text segmentation was meant to capture individual news articles, each labeled item in the training dataset very often spans multiple articles. This will necessarily have introduced bias in the model because of the extra content unrelated to reporting on suicide.
33
+
34
+ # Training Details
35
+
36
+ This model was released upon comparison with other runs, based on accuracy on the evaluation set. Models fine-tuned based on RoBERTa were also compared to those fine-tuned on [bert_1760_1900](https://huggingface.co/Livingwithmachines/bert_1760_1900).
37
+
38
+ In the following report, the model in this repository corresponds to the one labeled roberta-7, specifically the output of epoch 4, which returned the highest accuracy (>0.96).
39
+
40
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/6342a31d5b97f509388807f3/KXqMD4Pchpmkee5CMFFYb.png" style="width: 50%;" />
41
+
42
+ ## Training Data
43
+
44
+ https://huggingface.co/datasets/npedrazzini/hist_suicide_incident
45
+
46
+ # Model Card Authors
47
+
48
+ Nilo Pedrazzini
49
+
50
+ # Model Card Contact
51
+
52
+ npedrazzini@turing.ac.uk
53
+
54
+ # How to Get Started with the Model
55
+
56
+ Use the code below to get started with the model.
57
+
58
+ <details>
59
+ <summary> Click to expand </summary>
60
+
61
+ COMING SOON
62
+
63
+ </details>