ONNX Model Zoo

skytnt/midi-model-tv2o-medium

By skytnt · ↓ 1K · ♥ 24 · Updated 2024-10-31

What's in this repo

This page lists the files in skytnt/midi-model-tv2o-medium, including model_base.onnx, model_token.onnx.

  • 2 ONNX models (.onnx files)
  • 18 files, including 10 .0, 2 .json, 2 .onnx, 1 .md, 1 .safetensors, 1 .bin
  • Repository size ~1.8 GB
  • Last updated 2024-10-31

ONNX files

File Size Download
onnx/model_base.onnx 784 MB Download
onnx/model_token.onnx 111 MB 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

Model Card for midi-model-tv2o-medium

Midi event transformer for music generation.

Model Updates

  • new tv2o-medium model: "tvo" means MidiTokenizerV2 optimised.

Model Details

Model Description

  • Developed by: SkyTNT
  • Trained by: SkyTNT
  • Model type: Transformer
  • License: apache-2.0

Model Sources

  • Repository: https://github.com/SkyTNT/midi-model
  • Demo: https://huggingface.co/spaces/skytnt/midi-composer

Training Details

Training Data

Training Hyperparameters
  • config: tv2o-medium
  • max-len: 2048 then 4096
  • lr: 1e-4 then 2e-4
  • weight-decay: 0.01
  • batch: 2x2x2
  • bfloat16 precision
Loss
  • val loss: 0.2159

Files

  • model.ckpt: latest model checkpoint
  • onnx/*.onnx: onnx format model

Model info

transformers
transformers pytorch tensorboard onnx safetensors midi_model music midi music generation midi generation dataset:projectlosangeles/Los-Angeles-MIDI-Dataset dataset:projectlosangeles/Monster-MIDI-Dataset
↓ 1K ♥ 24

Created: 2024-09-29

Updated: 2024-10-31

View on Hugging Face

Files (18)

.gitattributes
README.md
config.json
generation_config.json
logs/version_0/events.out.tfevents.1727438892.autodl-container-14ba49b3e1-5960be9d.1410.0
logs/version_1/events.out.tfevents.1727446966.autodl-container-14ba49b3e1-5960be9d.8721.0
logs/version_2/events.out.tfevents.1727455013.autodl-container-14ba49b3e1-5960be9d.11379.0
logs/version_3/events.out.tfevents.1727487870.autodl-container-14ba49b3e1-5960be9d.19440.0
logs/version_4/events.out.tfevents.1727492956.autodl-container-14ba49b3e1-5960be9d.1026.0
logs/version_5/events.out.tfevents.1727511849.autodl-container-14ba49b3e1-5960be9d.6787.0
logs/version_6/events.out.tfevents.1727559621.autodl-container-14ba49b3e1-5960be9d.21247.0
logs/version_7/events.out.tfevents.1727561353.autodl-container-14ba49b3e1-5960be9d.1073.0
logs/version_8/events.out.tfevents.1727576759.autodl-container-14ba49b3e1-5960be9d.5180.0
logs/version_9/events.out.tfevents.1727610496.autodl-container-14ba49b3e1-5960be9d.13841.0
model.safetensors
onnx/model_base.onnx 784 MB ONNX
onnx/model_token.onnx 111 MB ONNX
pytorch_model.bin

Related models