tay-yozhik/NaturalText
Viewer • Updated • 2M • 17
How to use tay-yozhik/NaturalRoBERTa with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="tay-yozhik/NaturalRoBERTa") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("tay-yozhik/NaturalRoBERTa")
model = AutoModelForMaskedLM.from_pretrained("tay-yozhik/NaturalRoBERTa")This is a pre-trained model of type RoBERTa. NaturalRoBERTa is built on a dataset obtained from open sources: three news sub-corpuses Taiga (Lenta.ru, Interfax, N+1) and Russian Wikipedia texts.
This model was evaluated on RussianSuperGLUE tests:
| Task | Result | Metrics |
|---|---|---|
| LiDiRus | 0,0 | Matthews Correlation Coefficient |
| RCB | 0,217 / 0,484 | F1 / Accuracy |
| PARus | 0,498 | Accuracy |
| TERRa | 0,487 | Accuracy |
| RUSSE | 0,587 | Accuracy |
| RWSD | 0,669 | Accuracy |