Back to all models
fill-mask mask_token:
Query this model
🔥 This model is currently loaded and running on the Inference API. ⚠️ This model could not be loaded by the inference API. ⚠️ This model can be loaded on the Inference API on-demand.
JSON Output
API endpoint  

⚡️ Upgrade your account to access the Inference API

							$
							curl -X POST \
-H "Authorization: Bearer YOUR_ORG_OR_USER_API_TOKEN" \
-H "Content-Type: application/json" \
-d '"json encoded string"' \
https://api-inference.huggingface.co/models/patrickvonplaten/bert2bert-tiny
Share Copied link to clipboard

Monthly model downloads

patrickvonplaten/bert2bert-tiny patrickvonplaten/bert2bert-tiny
43 downloads
last 30 days

pytorch

tf

Contributed by

patrickvonplaten Patrick von Platen
13 models

How to use this model directly from the 🤗/transformers library:

			
Copy to clipboard
from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("patrickvonplaten/bert2bert-tiny") model = AutoModelWithLMHead.from_pretrained("patrickvonplaten/bert2bert-tiny")