Run this model with HF Jobs
Run patrickvonplaten/bert2bert-tiny 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/patrickvonplaten/bert2bert-tiny. 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/patrickvonplaten/bert2bert-tiny 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 patrickvonplaten/bert2bert-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use patrickvonplaten/bert2bert-tiny with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("patrickvonplaten/bert2bert-tiny") model = AutoModelForSeq2SeqLM.from_pretrained("patrickvonplaten/bert2bert-tiny", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files47 unmodified lines48495051525354555657585949 unmodified lines1091101111121131141151161171181191204 unmodified lines12512612712012812912213047 unmodified lines "pruned_heads": {}, "repetition_penalty": 1.0, "return_dict": false, "sep_token_id": null, "task_specific_params": null, "temperature": 1.0, "tie_encoder_decoder": false, "tie_word_embeddings": true, "tokenizer_class": null, "top_k": 50, "top_p": 1.0, "torchscript": false,49 unmodified lines "pruned_heads": {}, "repetition_penalty": 1.0, "return_dict": false, "sep_token_id": null, "task_specific_params": null, "temperature": 1.0, "tie_encoder_decoder": false, "tie_word_embeddings": true, "tokenizer_class": null, "top_k": 50, "top_p": 1.0, "torchscript": false,4 unmodified lines "xla_device": null }, "is_encoder_decoder": true, "model_type": "encoder-decoder", "model_type": "encoder_decoder", "tie_encoder_decoder": true}}config.json+10-2