Downloads · 30 days
4
3% of all-time downloads
wskal/cola-xlm-roberta-large
cola-xlm-roberta-large is a machine learning model from wskal. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
language: en license: mit libraryname: transformers tags: - cola - grammatical-acceptability - xlm-roberta basemodel: xlm-roberta-large datasets: - glue metrics: - matthewscorrelation pipelinetag: text-classification ---
Downloads · 30 days
4
3% of all-time downloads
All-time downloads
118
Public
Parameters
560M
6.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 99%
From the Hugging Face model README
XLM-RoBERTa Large fine-tuned on CoLA (Corpus of Linguistic Acceptability) for binary grammatical acceptability classification.
from transformers import AutoModelForSequenceClassification, AutoTokenizer
import torch
model = AutoModelForSequenceClassification.from_pretrained("wskal/cola-xlm-roberta-large")
tokenizer = AutoTokenizer.from_pretrained("wskal/cola-xlm-roberta-large")
model.eval()