Run this model with HF Jobs
Run utkarshUY/CharacterPlex-LoRA-v1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/utkarshUY/CharacterPlex-LoRA-v1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/utkarshUY/CharacterPlex-LoRA-v1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use utkarshUY/CharacterPlex-LoRA-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Moshi
How to use utkarshUY/CharacterPlex-LoRA-v1 with Moshi:
# pip install moshi # Run the interactive web server python -m moshi.server --hf-repo "utkarshUY/CharacterPlex-LoRA-v1" # Then open https://localhost:8998 in your browser
# pip install moshi import torch from moshi.models import loaders # Load checkpoint info from HuggingFace checkpoint = loaders.CheckpointInfo.from_hf_repo("utkarshUY/CharacterPlex-LoRA-v1") # Load the Mimi audio codec mimi = checkpoint.get_mimi(device="cuda") mimi.set_num_codebooks(8) # Encode audio (24kHz, mono) wav = torch.randn(1, 1, 24000 * 10) # [batch, channels, samples] with torch.no_grad(): codes = mimi.encode(wav.cuda()) decoded = mimi.decode(codes) - Notebooks
- Google Colab
- Kaggle
Download export_verify.json from utkarshUY/CharacterPlex-LoRA-v1: direct link, hf CLI and curl.
- Browser
- Download file 5.01 kB
-
https://huggingface.co/utkarshUY/CharacterPlex-LoRA-v1/resolve/main/export_verify.json
- Command line
-
hf download hf://utkarshUY/CharacterPlex-LoRA-v1/export_verify.json
-
curl -L -o export_verify.json https://huggingface.co/utkarshUY/CharacterPlex-LoRA-v1/resolve/main/export_verify.json
5.01 kB
Invalid JSON:Unexpected token 'I', ..."ean_abs": Infinity,
"... is not valid JSON
| { | |
| "run": "/scratch4weeks/hg288ju/speech-systems/stage0/fullrun/run", | |
| "step": 2500, | |
| "snapshot": "/scratch4weeks/hg288ju/speech-systems/stage0/fullrun/run/trainable/step-0002500.pt", | |
| "merged": "/scratch4weeks/hg288ju/speech-systems/stage0/fullrun/run/milestones/step-0002500/merged.safetensors", | |
| "items": 8, | |
| "items_with_notes_switch": 7, | |
| "thresholds": { | |
| "rel_mean_abs_max": 0.1, | |
| "argmax_agree_min": { | |
| "text": 0.98, | |
| "audio": 0.95 | |
| }, | |
| "argmax_noise_factor": 1.5, | |
| "argmax_noise_slack": 0.005, | |
| "changed_kept_min": 0.9, | |
| "max_abs_vs_lora_max": 0.5, | |
| "loss_gap_lost_max": 0.1 | |
| }, | |
| "weights": { | |
| "tensors_changed": 253, | |
| "share_elements_unchanged": 0.15660787127009726, | |
| "merged_minus_base_norm": 52.705427708402084, | |
| "fp32_delta_norm": 52.67277079294058, | |
| "lora_modules": 365 | |
| }, | |
| "losses": { | |
| "lora_bf16": 3.669584184885025, | |
| "base": 4.416798979043961, | |
| "merged_bf16": 3.6698571741580963, | |
| "lora_fp32": 3.6699277758598328, | |
| "merged_fp32": 3.6699274629354477 | |
| }, | |
| "loss_gap_lost": { | |
| "merged_bf16": 0.0003653424359438247, | |
| "lora_fp32": 0.0004598289240170693, | |
| "merged_fp32": 0.00045941013629027783 | |
| }, | |
| "results": { | |
| "base": { | |
| "vs_lora_bf16": { | |
| "text": { | |
| "positions": 24000, | |
| "max_abs": 24.46875, | |
| "mean_abs": 1.8976404520670573, | |
| "argmax_agree": 0.5818333333333333, | |
| "lora_mean_abs": 0.0, | |
| "lora_max": 0.0, | |
| "rel_mean_abs": Infinity, | |
| "argmax_changed_by_lora": 0.0, | |
| "changed_kept": 1.0 | |
| }, | |
| "audio": { | |
| "positions": 191944, | |
| "max_abs": 30.3515625, | |
| "mean_abs": 1.313200053628923, | |
| "argmax_agree": 0.40356041345392407, | |
| "lora_mean_abs": 0.0, | |
| "lora_max": 0.0, | |
| "rel_mean_abs": Infinity, | |
| "argmax_changed_by_lora": 0.0, | |
| "changed_kept": 1.0 | |
| } | |
| } | |
| }, | |
| "merged_bf16": { | |
| "vs_lora_bf16": { | |
| "text": { | |
| "positions": 24000, | |
| "max_abs": 2.97265625, | |
| "mean_abs": 0.032811070442199705, | |
| "argmax_agree": 0.99125, | |
| "lora_mean_abs": 1.8976404520670573, | |
| "lora_max": 24.46875, | |
| "rel_mean_abs": 0.017290456896858063, | |
| "argmax_changed_by_lora": 0.4181666666666667, | |
| "changed_kept": 0.9851534475886807 | |
| }, | |
| "audio": { | |
| "positions": 191944, | |
| "max_abs": 4.75, | |
| "mean_abs": 0.03827459306470084, | |
| "argmax_agree": 0.9699599883299296, | |
| "lora_mean_abs": 1.313200053628923, | |
| "lora_max": 30.3515625, | |
| "rel_mean_abs": 0.029146048965602817, | |
| "argmax_changed_by_lora": 0.596439586546076, | |
| "changed_kept": 0.9571377409746425 | |
| } | |
| } | |
| }, | |
| "lora_fp32": { | |
| "vs_lora_bf16": { | |
| "text": { | |
| "positions": 24000, | |
| "max_abs": 2.8722922801971436, | |
| "mean_abs": 0.03253316084543864, | |
| "argmax_agree": 0.9900416666666667, | |
| "lora_mean_abs": 1.8976404520670573, | |
| "lora_max": 24.46875, | |
| "rel_mean_abs": 0.017144006816465676, | |
| "argmax_changed_by_lora": 0.4181666666666667, | |
| "changed_kept": 0.9836588282184137 | |
| }, | |
| "audio": { | |
| "positions": 191944, | |
| "max_abs": 3.397425651550293, | |
| "mean_abs": 0.033705845593819846, | |
| "argmax_agree": 0.9694546326011754, | |
| "lora_mean_abs": 1.313200053628923, | |
| "lora_max": 30.3515625, | |
| "rel_mean_abs": 0.025666954170978324, | |
| "argmax_changed_by_lora": 0.596439586546076, | |
| "changed_kept": 0.9567009949075409 | |
| } | |
| } | |
| }, | |
| "merged_fp32": { | |
| "vs_lora_bf16": { | |
| "text": { | |
| "positions": 24000, | |
| "max_abs": 2.8723509311676025, | |
| "mean_abs": 0.03253253078460693, | |
| "argmax_agree": 0.9900416666666667, | |
| "lora_mean_abs": 1.8976404520670573, | |
| "lora_max": 24.46875, | |
| "rel_mean_abs": 0.01714367479317274, | |
| "argmax_changed_by_lora": 0.4181666666666667, | |
| "changed_kept": 0.9836588282184137 | |
| }, | |
| "audio": { | |
| "positions": 191944, | |
| "max_abs": 3.3975114822387695, | |
| "mean_abs": 0.033705519342046866, | |
| "argmax_agree": 0.9694598424540491, | |
| "lora_mean_abs": 1.313200053628923, | |
| "lora_max": 30.3515625, | |
| "rel_mean_abs": 0.02566670573071054, | |
| "argmax_changed_by_lora": 0.596439586546076, | |
| "changed_kept": 0.9567097298288829 | |
| } | |
| }, | |
| "vs_lora_fp32": { | |
| "text": { | |
| "positions": 24000, | |
| "max_abs": 0.0020443201065063477, | |
| "mean_abs": 1.1749383217344682e-05, | |
| "argmax_agree": 1.0, | |
| "lora_mean_abs": 1.8893033142089843, | |
| "lora_max": 24.330167770385742, | |
| "rel_mean_abs": 6.218897267040431e-06, | |
| "argmax_changed_by_lora": 0.417625, | |
| "changed_kept": 1.0 | |
| }, | |
| "audio": { | |
| "positions": 191944, | |
| "max_abs": 0.0018652677536010742, | |
| "mean_abs": 1.0491411879740058e-05, | |
| "argmax_agree": 0.9999843704413788, | |
| "lora_mean_abs": 1.313153287058986, | |
| "lora_max": 30.25995635986328, | |
| "rel_mean_abs": 7.98947996637714e-06, | |
| "argmax_changed_by_lora": 0.5955070228816738, | |
| "changed_kept": 0.9999737541993281 | |
| } | |
| } | |
| } | |
| }, | |
| "gate": { | |
| "variant": "merged_bf16", | |
| "argmax_rule": "noise-relative", | |
| "failed": [], | |
| "pass": true | |
| }, | |
| "gate_fp32_merge": { | |
| "failed": [], | |
| "pass": true | |
| }, | |
| "seconds": 37.2 | |
| } |