Update README.md
Browse files
README.md
CHANGED
@@ -39,6 +39,21 @@ Online hate speech is a dangerous phenomenon that can (and should) be promptly c
|
|
39 |
|
40 |
This model is the fine-tuned version of the [XLM-RoBERTa-base](https://huggingface.co/xlm-roberta-base) model.
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
## Citation
|
44 |
Please use the following BibTeX entry if you use this model in your project:
|
|
|
39 |
|
40 |
This model is the fine-tuned version of the [XLM-RoBERTa-base](https://huggingface.co/xlm-roberta-base) model.
|
41 |
|
42 |
+
| Model | Download |
|
43 |
+
| ------ | -------------------------|
|
44 |
+
| `hate-ita` | [Link](https://huggingface.co/MilaNLProc/hate-ita) |
|
45 |
+
| `hate-ita-xlm-r-base` | [Link](https://huggingface.co/MilaNLProc/hate-ita-xlm-r-base) |
|
46 |
+
| `hate-ita-xlm-r-large` | [Link](https://huggingface.co/MilaNLProc/hate-ita-xlm-r-large) |
|
47 |
+
|
48 |
+
|
49 |
+
## Usage
|
50 |
+
|
51 |
+
```python
|
52 |
+
from transformers import pipeline
|
53 |
+
classifier = pipeline("text-classification",model='MilaNLProc/hate-ita-xlm-r-base',top_k=2)
|
54 |
+
prediction = classifier("ti odio")
|
55 |
+
print(prediction)
|
56 |
+
```
|
57 |
|
58 |
## Citation
|
59 |
Please use the following BibTeX entry if you use this model in your project:
|