ONNX Model Zoo

pszemraj/deberta-v3-xsmall-CoLA

By pszemraj · ↓ 1 · ♥ 0 · Updated 2025-12-29

What's in this repo

This page lists the files in pszemraj/deberta-v3-xsmall-CoLA, including model.onnx.

  • 1 ONNX models (.onnx files)
  • 18 files, including 9 .json, 2 .bin, 1 .md, 1 .onnx, 1 .safetensors, 1 .txt
  • Last updated 2025-12-29

ONNX files

File Size Download
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

deberta-v3-xsmall-CoLA

This model is a fine-tuned version of microsoft/deberta-v3-xsmall on the GLUE COLA dataset. It achieves the following results on the evaluation set:

  • Loss: 0.4237
  • Matthews Correlation: 0.5895

Model description

Trying to find a decent optimum between accuracy/quality and inference speed.

{
    "epoch": 3.0,
    "eval_loss": 0.423,
    "eval_matthews_correlation": 0.589,
    "eval_runtime": 5.0422,
    "eval_samples": 1043,
    "eval_samples_per_second": 206.853,
    "eval_steps_per_second": 51.763
}

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 6e-05
  • train_batch_size: 32
  • eval_batch_size: 4
  • seed: 16105
  • distributed_type: multi-GPU
  • gradient_accumulation_steps: 4
  • total_train_batch_size: 128
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: cosine
  • lr_scheduler_warmup_ratio: 0.03
  • num_epochs: 3.0
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss Matthews Correlation
0.3945 1.0 67 0.4323 0.5778
0.3214 2.0 134 0.4237 0.5895
0.3059 3.0 201 0.4636 0.5795

Framework versions

  • Transformers 4.27.0.dev0
  • Pytorch 1.13.1+cu117
  • Datasets 2.8.0
  • Tokenizers 0.13.1

Model info

text-classification transformers
transformers pytorch onnx safetensors deberta-v2 text-classification generated_from_trainer en dataset:glue base_model:microsoft/deberta-v3-xsmall base_model:quantized:microsoft/deberta-v3-xsmall license:mit
↓ 1 ♥ 0

Created: 2023-01-26

Updated: 2025-12-29

View on Hugging Face

Files (18)

.gitattributes
.gitignore
README.md
added_tokens.json
all_results.json
config.json
eval_results.json
model.onnx ONNX
model.safetensors
predict_results_cola.txt
pytorch_model.bin
special_tokens_map.json
spm.model
tokenizer.json
tokenizer_config.json
train_results.json
trainer_state.json
training_args.bin

Related models