ONNX Model Zoo

sondalex/SocialBERT-social

By sondalex · ↓ 2 · ♥ 0 · Updated 2024-10-27

What's in this repo

This page lists the files in sondalex/SocialBERT-social, including model.onnx, model_quantized.onnx.

  • 2 ONNX models (.onnx files)
  • 12 files, including 6 .json, 2 .onnx, 1 .md, 1 .txt
  • Last updated 2024-10-27

ONNX files

File Size Download
onnx/model.onnx — Download
onnx/model_quantized.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

Introduction

This model is a conversion to ONNX format of https://huggingface.co/ESGBERT/SocialBERT-social

It is compatible with Transformers.js

Usage (Transformers.js)

import { pipeline } from "@huggingface/transformers";

const pipe = await pipeline(
  "text-classification",
  "sondalex/SocialBERT-social",
);

const sentences = [
  "The CEO has announced a major restructuring of the company's leadership team.",
];

const output = await pipe(sentences);

console.log(output);

Model info

onnx roberta en license:apache-2.0 region:us
↓ 2 ♥ 0

Created: 2024-10-27

Updated: 2024-10-27

View on Hugging Face

Files (12)

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

Related models