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
Commit ·
e5b1973
1
Parent(s): 272a24f
Update model
Browse filesFiles changed (7)
12323version https://git-lfs.github.com/spec/v1oid sha256:96501acff50b9520db86d6def48ad5116bd751bd64042c756cb89b81b1e0e53esize 60475317oid sha256:b2fc1d99f908f32a90dcee26e72da9eb223d735eb3e8a9862b2df4f44eaf245dsize 619664121223version https://git-lfs.github.com/spec/v1oid sha256:c4ec2595f9a67f9c4d186508462798679a1cb0af051ce2a5dd4524e2a7fb3c08oid sha256:9abc165b9fec10cf70c58eea9fa190de7eef44146ab0ead8fef468bc52525035size 9659442231223version https://git-lfs.github.com/spec/v1oid sha256:4737f0f35906465b524b89fb1ab3e543a55f0c54754055a5eb9e2fd79bc94230oid sha256:ca785278e14199b5421f58257e3fcf01a415f5794fa8e832cc92ff76c16d6cbfsize 966054989events.out.tfevents.1626030994.t1v-n-a220b410-w-0.20892.3.v2+2-2
flax_model.msgpack+1-1
pytorch_model.bin+1-1
special_tokens_map.json
spiece.model
tokenizer.json
tokenizer_config.json