Downloads · 30 days
9
31% of all-time downloads
holgt/umt5-xxl-burn
umt5-xxl-burn is a machine learning model from holgt. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
UMT5-XXL encoder weights converted to Burn's native .bpk format.
Downloads · 30 days
9
31% of all-time downloads
All-time downloads
29
Public
Repo size
11.4 GB
Likes
0
Public
Click a slice to open those files.
.bpk11.4 GB · 100%
From the Hugging Face model README
UMT5-XXL encoder weights converted to Burn's native .bpk format.
UMT5 (Unified Multilingual T5) is a multilingual encoder-decoder model trained on the mC4 corpus. This repository contains only the encoder portion, which is commonly used for text encoding in video generation models like LongCat and WanVideo.
Original weights from Kijai/WanVideo_comfy (umt5-xxl-enc-bf16.safetensors).
use burn::backend::candle::{Candle, CandleDevice};
use half::bf16;
use umt5_burn::{UMT5Config, UMT5Encoder};
type Backend = Candle<bf16, i64>;
fn main() {
let device = CandleDevice::Metal(0); // or Cpu
let config = UMT5Config::xxl();
let mut encoder: UMT5Encoder<Backend> = config.init(&device);
encoder.load_weights("umt5-xxl-enc-bf16.bpk").unwrap();
// Use encoder...
}
umt5-xxl-enc-bf16.bpk - Burn native format weights (recommended for Burn)config.json - Model configurationSame as the original UMT5 model - Apache 2.0.
If you use this model, please cite the original UMT5 paper:
@article{xue2022byt5,
title={ByT5: Towards a token-free future with pre-trained byte-to-byte models},
author={Xue, Linting and others},
journal={Transactions of the Association for Computational Linguistics},
year={2022}
}