ONNX Model Zoo

tmqRhoebie/roberta-base-CoLA

By tmqRhoebie · ↓ 0 · ♥ 0 · Updated 2025-10-14

What's in this repo

This page lists the files in tmqRhoebie/roberta-base-CoLA, including model.onnx.

  • 1 ONNX models (.onnx files)
  • 9 files, including 5 .json, 1 .md, 1 .txt, 1 .onnx
  • Last updated 2025-10-14

ONNX files

File Size Download
onnx/model.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

roberta-base-CoLA

This repository contains a fine-tuned RoBERTa base model on the CoLA dataset.

Model Details

  • Architecture: RoBERTa-base
  • Task: Linguistic Acceptability (CoLA)
  • Framework: PyTorch / ONNX
  • Files:
    • config.json
    • tokenizer.json
    • vocab.json
    • onnx/ (ONNX model)
    • etc.

Usage Example

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)

Author

Uploaded by tmqRhoebie.

Model info

onnx roberta region:us
↓ 0 ♥ 0

Created: 2025-10-13

Updated: 2025-10-14

View on Hugging Face

Files (9)

.gitattributes
README.md
config.json
merges.txt
onnx/model.onnx ONNX
special_tokens_map.json
tokenizer.json
tokenizer_config.json
vocab.json

Related models