tay-yozhik/SyntheticTexts
Viewer • Updated • 2M • 10
How to use tay-yozhik/SyntheticRoBERTa with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="tay-yozhik/SyntheticRoBERTa") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("tay-yozhik/SyntheticRoBERTa")
model = AutoModelForMaskedLM.from_pretrained("tay-yozhik/SyntheticRoBERTa", device_map="auto")This is a pre-trained model of type RoBERTa. SyntheticRoBERTa is built on a dataset of texts in Russian, which were generated according to the rules written in context-free grammar.
This model was evaluated on RussianSuperGLUE tests:
| Task | Result | Metrics |
|---|---|---|
| LiDiRus | 0,0 | Matthews Correlation Coefficient |
| RCB | 0,091 / 0,158 | F1 / Accuracy |
| PARus | 0,502 | Accuracy |
| TERRa | 0,487 | Accuracy |
| RUSSE | 0,587 | Accuracy |
| RWSD | 0,331 | Accuracy |