ONNX Model Zoo

tsukumijima/chinese-roberta-wwm-ext-large-onnx

By tsukumijima · ↓ 5 · ♥ 0 · Updated 2025-02-18

What's in this repo

This page lists the files in tsukumijima/chinese-roberta-wwm-ext-large-onnx, including model.onnx, model_fp16.onnx.

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

ONNX files

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

Style-Bert-VITS2 の ONNX 推論コード向けに ONNX 形式へ変換した hfl/chinese-roberta-wwm-ext-large です。
変換コードは https://github.com/tsukumijima/Style-Bert-VITS2/blob/master/convert_bert_onnx.py にあります。

[!NOTE] モデルの軽量化のため、BERT の隠れ層 (hidden states) のうち、Style-Bert-VITS2 で用いる最後から3番目の隠れ層のみを言語特徴量として抽出する ONNX モデルとして変換しています。
そのため、事実上 Style-Bert-VITS2 の ONNX 推論以外での使い道はないと思います。

Model info

onnx bert zh base_model:hfl/chinese-roberta-wwm-ext-large base_model:quantized:hfl/chinese-roberta-wwm-ext-large license:apache-2.0 region:us
↓ 5 ♥ 0

Created: 2024-09-22

Updated: 2025-02-18

View on Hugging Face

Files (10)

.gitattributes
README.md
added_tokens.json
config.json
model.onnx ONNX
model_fp16.onnx ONNX
special_tokens_map.json
tokenizer.json
tokenizer_config.json
vocab.txt

Related models