Run this model with HF Jobs
Run flax-community/code-mt5-base-batch-mix 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/flax-community/code-mt5-base-batch-mix. 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/flax-community/code-mt5-base-batch-mix 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 flax-community/code-mt5-base-batch-mix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flax-community/code-mt5-base-batch-mix with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("flax-community/code-mt5-base-batch-mix") model = AutoModelForSeq2SeqLM.from_pretrained("flax-community/code-mt5-base-batch-mix", device_map="auto") - Notebooks
- Google Colab
- Kaggle
manual model push
Browse filesFiles changed (2)
12323version https://git-lfs.github.com/spec/v1oid sha256:1c835683c273f84b58e0936048c11815bad5fcf2ab3cb65d90c27c4d1e924c90size 2280901oid sha256:aa1bdf04496f9a01fd01a5aa51d3efc5eb056fcd2a4bf16ef0872d238a8e4363size 63058931223version https://git-lfs.github.com/spec/v1oid sha256:aac534c0dcd0884b466da552e61c320643521b5c8880b82d4b64262c6a72646aoid sha256:8fa597a097a7193fa63cbc55a5b0ba1248acb7bbfe97a779e2431216ad56ccc8size 965944223events.out.tfevents.1626030994.t1v-n-a220b410-w-0.20892.3.v2+2-2
flax_model.msgpack+1-1