X-MOD Adapters
Collection
Adapters from the paper "Lifting the Curse of Multilinguality by Pre-training Modular Transformers" โข 82 items โข Updated
Run AdapterHub/xmod-base 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:
Use HF Jobs to fine-tune https://huggingface.co/AdapterHub/xmod-base. 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.
Use HF Jobs to run batch inference with https://huggingface.co/AdapterHub/xmod-base 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.
How to use AdapterHub/xmod-base with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("AdapterHub/xmod-base")
model = AutoModel.from_pretrained("AdapterHub/xmod-base", device_map="auto")No model card