Translation
MLX
Core ML
ONNX
Safetensors
Japanese
Chinese
jmangatranslator-fast
manga
japanese
chinese
Run this model with HF Jobs
Run muscgab/JMangaTranslator-Fast 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/muscgab/JMangaTranslator-Fast. 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/muscgab/JMangaTranslator-Fast 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 muscgab/JMangaTranslator-Fast with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use muscgab/JMangaTranslator-Fast with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download muscgab/JMangaTranslator-Fast --local-dir JMangaTranslator-Fast
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Fix circular torch._dynamo import on torch 2.8: import transformers before the meta device
Browse files119 unmodified lines120121122123124125119 unmodified lines"""Build on the meta device so the random initialization (about 30 s on a laptop CPU) is skipped, then take thecheckpoint tensors as parameters. The RoPE tables are not in the checkpoint and are rebuilt."""from safetensors.torch import load_filesd = load_file(str(rel.root / "model.safetensors"))with torch.device("meta"):m = Translator(rel.cfg, str(rel.root / "tokenizer"))119 unmodified lines120121122123124125126127128119 unmodified lines"""Build on the meta device so the random initialization (about 30 s on a laptop CPU) is skipped, then take thecheckpoint tensors as parameters. The RoPE tables are not in the checkpoint and are rebuilt."""from safetensors.torch import load_file# Import the transformers model classes before entering the meta device: a first import inside it fails on# torch 2.8 with a circular torch._dynamo import (seen on Windows, torch 2.8.0 + transformers 5.19.0).from transformers import AutoModel # noqa: F401sd = load_file(str(rel.root / "model.safetensors"))with torch.device("meta"):m = Translator(rel.cfg, str(rel.root / "tokenizer"))
jmt_fast/torch_model.py+3