ONNX Model Zoo

siouni/YuE-s1-7B-anneal-en-cot-onnx-q4

By siouni · ↓ 0 · ♥ 0 · Updated 2025-02-11

What's in this repo

This page lists the files in siouni/YuE-s1-7B-anneal-en-cot-onnx-q4, including model.onnx.

  • 1 ONNX models (.onnx files)
  • 10 files, including 5 .json, 1 .md, 1 .onnx, 1 .data, 1 .model
  • Last updated 2025-02-11

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


license: apache-2.0 base_model:

  • m-a-p/YuE-s1-7B-anneal-en-cot tags:
  • yue
  • music

YuEの4bit量子化+onnx形式への変換モデルです。

ベースモデル
m-a-p/YuE-s1-7B-anneal-en-cot
上記のモデルを4bit量子化とonnx形式へ変換したモデルです。
性能劣化がありますのでご注意ください。

githubにて、このモデルを使用したツールを作成中です。
YuE-q4onnx-win

変換方法

Generate models using Model Builder
https://onnxruntime.ai/docs/genai/howto/build-model.html
適当なフォルダに仮想環境を作り、onnxruntime(optimum)とonnxruntime-genaiをインストールします。
私はwindows11+python 3.10で実行しました。
また、pwshを使用していますので、コマンドプロンプトの場合は適当に読み替えてください。

python -m venv venv
venv\Scripts\activate
# linuxなら↓
venv/Script/activate

pip install optimum[onnxruntime]
pip install --pre onnxruntime-genai

python -m onnxruntime_genai.models.builder -m m-a-p/YuE-s1-7B-anneal-en-cot -o ./onnx_models/YuE-s1-7B-anneal-en-cot-onnx-q4 -p int4 -e cuda -c ./models/
curl https://huggingface.co/m-a-p/YuE-s1-7B-anneal-en-cot/resolve/main/config.json?download=true > ./onnx_models/YuE-s1-7B-anneal-en-cot-onnx-q4/config.json

Model info

onnx llama yue music base_model:m-a-p/YuE-s1-7B-anneal-en-cot base_model:quantized:m-a-p/YuE-s1-7B-anneal-en-cot license:apache-2.0 region:us
↓ 0 ♥ 0

Created: 2025-02-11

Updated: 2025-02-11

View on Hugging Face

Files (10)

.gitattributes
README.md
config.json
genai_config.json
model.onnx ONNX
model.onnx.data
special_tokens_map.json
tokenizer.json
tokenizer.model
tokenizer_config.json

Related models