Run this model with HF Jobs

Run raphaelmerx/madlad400-10b-ct2 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/raphaelmerx/madlad400-10b-ct2. 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/raphaelmerx/madlad400-10b-ct2 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.

MADLAD-400-10B-MT, converted to cTranslate2

The google/madlad400-10b-mt model, converted to cTranslate2 format.

Usage:

from huggingface_hub import snapshot_download

model_path = snapshot_download("santhosh/madlad400-3b-ct2")
tokenizer = SentencePieceProcessor()
tokenizer.load(f"{model_path}/sentencepiece.model")
translator = ctranslate2.Translator(model_path, device="cuda" if torch.cuda.is_available() else "cpu")

text = "<2pt> I love pizza!"
input_ids = tokenizer.encode(text, out_type=str)
outputs = model.translate_batch(
    [input_ids],
    batch_type="tokens",
    beam_size=2,
    no_repeat_ngram_size=1,
)

tokenizer.decode(results[0].hypotheses[0])
# Eu adoro pizza!
Downloads last month
9
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train raphaelmerx/madlad400-10b-ct2