Update README.md
Browse files
README.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
| 2 |
tags:
|
| 3 |
- text-classification
|
| 4 |
library_name: transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
# RuBERT Model for Logical Question Classification
|
|
@@ -12,10 +21,18 @@ This model classifies questions as logically correct or incorrect.
|
|
| 12 |
|
| 13 |
0 - logically incorrect
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
### Example inference
|
| 16 |
|
| 17 |
```python
|
| 18 |
from transformers import pipeline
|
| 19 |
classifier = pipeline('text-classification', model='I77/question_classifier')
|
| 20 |
print(classifier('Этот вопрос логичен?'))
|
| 21 |
-
```
|
|
|
|
| 2 |
tags:
|
| 3 |
- text-classification
|
| 4 |
library_name: transformers
|
| 5 |
+
datasets:
|
| 6 |
+
- I77/valid_invalid_questions
|
| 7 |
+
language:
|
| 8 |
+
- ru
|
| 9 |
+
metrics:
|
| 10 |
+
- accuracy
|
| 11 |
+
- f1
|
| 12 |
+
base_model:
|
| 13 |
+
- DeepPavlov/rubert-base-cased
|
| 14 |
---
|
| 15 |
|
| 16 |
# RuBERT Model for Logical Question Classification
|
|
|
|
| 21 |
|
| 22 |
0 - logically incorrect
|
| 23 |
|
| 24 |
+
# Metrics on validation
|
| 25 |
+
|
| 26 |
+
Accuracy: 0.9500
|
| 27 |
+
Precision: 1.0000
|
| 28 |
+
Recall: 0.9000
|
| 29 |
+
F1-score: 0.9474
|
| 30 |
+
|
| 31 |
+
|
| 32 |
### Example inference
|
| 33 |
|
| 34 |
```python
|
| 35 |
from transformers import pipeline
|
| 36 |
classifier = pipeline('text-classification', model='I77/question_classifier')
|
| 37 |
print(classifier('Этот вопрос логичен?'))
|
| 38 |
+
```
|