ONNX 模型库
返回模型

说明文档

简介

此模型是 https://huggingface.co/ESGBERT/EnvironmentalBERT-environmental 的 ONNX 格式转换版本。

它与 Transformers.js 兼容。

使用方法 (Transformers.js)

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

const pipe = await pipeline(
  "text-classification",
  "sondalex/EnvironmentalBERT-environmental ",
);

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

const output = await pipe(sentences);

console.log(output);

sondalex/EnvironmentalBERT-environmental

作者 sondalex

↓ 1 ♥ 0

创建时间: 2024-10-27 13:46:53+00:00

更新时间: 2024-10-27 13:49:01+00:00

在 Hugging Face 上查看

文件 (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