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
ckpt
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:6eeb195b08db1ad947305f956c0e99caa3ce1ba4b47960a9a35fc60a2b6c25a6size 38980751123version https://git-lfs.github.com/spec/v1oid sha256:78770a3d8873834036e7f19800ce9528f97935c8bfedf7dbc92358e7902db870size 41740118
123version https://git-lfs.github.com/spec/v1oid sha256:c8ce755d0ede60efb872e8d00b32252c8217ef8156b9e4face918dcafad1218esize 965944223123version https://git-lfs.github.com/spec/v1oid sha256:b13b751aa756b483b06a70d3add1c3056313a4f2c030973c6d1025d17f0d6917size 965944223
events.out.tfevents.1626030994.t1v-n-a220b410-w-0.20892.3.v2+2-2
flax_model.msgpack+1-1