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);
Downloads last month
3
Inference API
Unable to determine this model's library. Check the docs .