Update README.md
Browse files
README.md
CHANGED
|
@@ -14,9 +14,10 @@ Language(s): Multilingual (primarily English)
|
|
| 14 |
|
| 15 |
Finetuned from: FacebookAI/xlm-roberta-base
|
| 16 |
|
| 17 |
-
Model Sources
|
| 18 |
|
|
|
|
| 19 |
|
|
|
|
| 20 |
pipe = pipeline(
|
| 21 |
"text-classification",
|
| 22 |
model="JeloH/cyberbully_ft_distilbert_distilbert_base_uncased",
|
|
@@ -24,3 +25,4 @@ pipe = pipeline(
|
|
| 24 |
# device=0 # enable if GPU available
|
| 25 |
)
|
| 26 |
|
|
|
|
|
|
| 14 |
|
| 15 |
Finetuned from: FacebookAI/xlm-roberta-base
|
| 16 |
|
|
|
|
| 17 |
|
| 18 |
+
Here is how to use this model in PyTorch:
|
| 19 |
|
| 20 |
+
```python
|
| 21 |
pipe = pipeline(
|
| 22 |
"text-classification",
|
| 23 |
model="JeloH/cyberbully_ft_distilbert_distilbert_base_uncased",
|
|
|
|
| 25 |
# device=0 # enable if GPU available
|
| 26 |
)
|
| 27 |
|
| 28 |
+
''''
|