Run this model with HF Jobs
Run prajjwal1/bert-medium 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/prajjwal1/bert-medium. 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/prajjwal1/bert-medium 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 prajjwal1/bert-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prajjwal1/bert-medium with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prajjwal1/bert-medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
new readme
Browse files123453 unmodified lines9101112131415161718192021The following model is a Pytorch pre-trained model obtained from converting Tensorflow checkpoint found in the [official Google BERT repository](https://github.com/google-research/bert). These BERT variants were introduced in the paper [Well-Read Students Learn Better: On the Importance of Pre-training Compact Models](https://arxiv.org/abs/1908.08962). These models are supposed to be trained on a downstream task.If you use the model, please consider citing the paper```@misc{bhargava2021generalization,title={Generalization in NLI: Ways (Not) To Go Beyond Simple Heuristics},3 unmodified linesarchivePrefix={arXiv},primaryClass={cs.CL}}```Original Implementation and more info can be found in [this Github repository](https://github.com/prajjwal1/generalize_lm_nli).You can check out:- `prajjwal1/bert-tiny` (L=2, H=128)- `prajjwal1/bert-mini` (L=4, H=256)- `prajjwal1/bert-small` (L=4, H=512)- `prajjwal1/bert-medium` (L=8, H=512)[@prajjwal_1](https://twitter.com/prajjwal_1)1234567891011121314151617181920212223243 unmodified lines282930313233343536373839404142434445464748495051525354555657585960---language:- enlicense:- mittags:- BERT- MNLI- NLI- transformer- pre-training---The following model is a Pytorch pre-trained model obtained from converting Tensorflow checkpoint found in the [official Google BERT repository](https://github.com/google-research/bert).This is one of the smaller pre-trained BERT variants, together with [bert-mini](https://huggingface.co/prajjwal1/bert-mini), [bert-tiny](https://huggingface.co/prajjwal1/bert-tiny), [bert-small](https://huggingface.co/prajjwal1/bert-small) and [bert-medium](https://huggingface.co/prajjwal1/bert-medium). They were introduced in the study [Well-Read Students Learn Better: On the Importance of Pre-training Compact Models](https://arxiv.org/abs/1908.08962), and ported to HF for the study [Generalization in NLI: Ways (Not) To Go Beyond Simple Heuristics](https://arxiv.org/abs/2110.01518). These models are supposed to be trained on a downstream task.If you use the model, please consider citing both the papers:```@misc{bhargava2021generalization,title={Generalization in NLI: Ways (Not) To Go Beyond Simple Heuristics},3 unmodified linesarchivePrefix={arXiv},primaryClass={cs.CL}}@article{DBLP:journals/corr/abs-1908-08962,author = {Iulia Turc andMing{-}Wei Chang andKenton Lee andKristina Toutanova},title = {Well-Read Students Learn Better: The Impact of Student Initializationon Knowledge Distillation},journal = {CoRR},volume = {abs/1908.08962},year = {2019},url = {http://arxiv.org/abs/1908.08962},eprinttype = {arXiv},eprint = {1908.08962},timestamp = {Thu, 29 Aug 2019 16:32:34 +0200},biburl = {https://dblp.org/rec/journals/corr/abs-1908-08962.bib},bibsource = {dblp computer science bibliography, https://dblp.org}}```Other models to check out:- `prajjwal1/bert-tiny` (L=2, H=128) [Model Link](https://huggingface.co/prajjwal1/bert-tiny)- `prajjwal1/bert-mini` (L=4, H=256) [Model Link](https://huggingface.co/prajjwal1/bert-mini)- `prajjwal1/bert-small` (L=4, H=512) [Model Link](https://huggingface.co/prajjwal1/bert-small)- `prajjwal1/bert-medium` (L=8, H=512) [Model Link](https://huggingface.co/prajjwal1/bert-medium)Original Implementation and more info can be found in [this Github repository](https://github.com/prajjwal1/generalize_lm_nli).Twitter: [@prajjwal_1](https://twitter.com/prajjwal_1)
README.md+48-9