Text Classification
Transformers
Safetensors
French
English
bert
afcp
automatic_classifiers_for_peace
hatespeech
text-embeddings-inference
Instructions to use datavaluepeople/Intimidating-speech-Sahel-FR-EN with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use datavaluepeople/Intimidating-speech-Sahel-FR-EN with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="datavaluepeople/Intimidating-speech-Sahel-FR-EN")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("datavaluepeople/Intimidating-speech-Sahel-FR-EN") model = AutoModelForSequenceClassification.from_pretrained("datavaluepeople/Intimidating-speech-Sahel-FR-EN") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse filesUpdate README.md with summary info on model.
Still to do: Add detailed information
README.md
CHANGED
|
@@ -1,12 +1,24 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
# Model Card for Model ID
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
|
|
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
## Model Details
|
|
@@ -15,27 +27,17 @@ tags: []
|
|
| 15 |
|
| 16 |
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
- **
|
| 21 |
-
- **
|
| 22 |
-
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
-
- **Model type:** [More Information Needed]
|
| 24 |
-
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
-
- **License:** [More Information Needed]
|
| 26 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
-
|
| 28 |
-
### Model Sources [optional]
|
| 29 |
-
|
| 30 |
-
<!-- Provide the basic links for the model. -->
|
| 31 |
-
|
| 32 |
-
- **Repository:** [More Information Needed]
|
| 33 |
-
- **Paper [optional]:** [More Information Needed]
|
| 34 |
-
- **Demo [optional]:** [More Information Needed]
|
| 35 |
|
| 36 |
## Uses
|
| 37 |
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
### Direct Use
|
| 41 |
|
|
@@ -43,12 +45,6 @@ This is the model card of a 🤗 transformers model that has been pushed on the
|
|
| 43 |
|
| 44 |
[More Information Needed]
|
| 45 |
|
| 46 |
-
### Downstream Use [optional]
|
| 47 |
-
|
| 48 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
-
|
| 50 |
-
[More Information Needed]
|
| 51 |
-
|
| 52 |
### Out-of-Scope Use
|
| 53 |
|
| 54 |
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- afcp
|
| 5 |
+
- automatic_classifiers_for_peace
|
| 6 |
+
- hatespeech
|
| 7 |
+
license: agpl-3.0
|
| 8 |
+
language:
|
| 9 |
+
- fr
|
| 10 |
+
- en
|
| 11 |
+
base_model:
|
| 12 |
+
- google-bert/bert-base-multilingual-uncased
|
| 13 |
+
pipeline_tag: text-classification
|
| 14 |
---
|
| 15 |
|
| 16 |
# Model Card for Model ID
|
| 17 |
|
| 18 |
+
This model classifies text - specifically social media posts - on if they contain intimidating speech.
|
| 19 |
+
It has been fine-tuned on a small sample (n=8442) of facebook comments, which are only slightly imbalanced (n_intimidating=3115, n_not_intimidating=5327).
|
| 20 |
+
These comments were placed under facebook posts originating from 3 countries in the Sahel region (Burkina Faso, Niger, Mali).
|
| 21 |
+
The language in the dataset is predominantly French and English, with some code-switching between the two languages. It is also slang-heavy as it is social media data.
|
| 22 |
|
| 23 |
|
| 24 |
## Model Details
|
|
|
|
| 27 |
|
| 28 |
<!-- Provide a longer summary of what this model is. -->
|
| 29 |
|
| 30 |
+
- **Developed by:** [datavaluepeople](https://datavaluepeople.com) in conjunction with [How to Build UP](https://howtobuildup.org/) for a project to find and counteract intimidating speech which
|
| 31 |
+
- **Language(s) (NLP):** French, English
|
| 32 |
+
- **License:** agpl-3.0
|
| 33 |
+
- **Finetuned from model:** [google-bert/bert-base-multilingual-uncased](https://huggingface.co/google-bert/bert-base-multilingual-uncased)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
## Uses
|
| 36 |
|
| 37 |
+
This model is intended for use by (digital) peacebuilders and anyone working towards depolarising the digital public sphere.
|
| 38 |
+
We have used it in conjunction with [Phoenix](https://howtobuildup.org/phoenix/), an ethical, open source, non-commercial platform designed to enable peacebuilders and mediators to conduct ethical and participatory social media listening in order to inform conflict transformation work.
|
| 39 |
+
There is a lot of social media data, and this allows peacebuilders to quickly find instances of comments that discourage the dialogue to continue through intimidation of the other participants.
|
| 40 |
+
The peacebuilder can then use this to inform programming, as well as conduct targeted interventions to mitigate that intimidation.
|
| 41 |
|
| 42 |
### Direct Use
|
| 43 |
|
|
|
|
| 45 |
|
| 46 |
[More Information Needed]
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
### Out-of-Scope Use
|
| 49 |
|
| 50 |
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|