Downloads · 30 days
6
21% of all-time downloads
tmqRhoebie/roberta-base-CoLA
roberta-base-CoLA is a machine learning model from tmqRhoebie. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains a fine-tuned RoBERTa base model on the CoLA dataset.
Downloads · 30 days
6
21% of all-time downloads
All-time downloads
28
Public
Repo size
499 MB
Likes
0
Public
Click a slice to open those files.
.onnx499 MB · 99%
From the Hugging Face model README
This repository contains a fine-tuned RoBERTa base model on the CoLA dataset.
config.jsontokenizer.jsonvocab.jsononnx/ (ONNX model)from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("tmqRhoebie/roberta-base-CoLA")
model = AutoModel.from_pretrained("tmqRhoebie/roberta-base-CoLA")
text = "The cat sat on the mat."
inputs = tokenizer(text, return_tensors="pt")
outputs = model(**inputs)
print(outputs.last_hidden_state)
Uploaded by tmqRhoebie.