How to use bertin-project/bertin-base-stepwise-exp-512seqlen with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="bertin-project/bertin-base-stepwise-exp-512seqlen")
# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("bertin-project/bertin-base-stepwise-exp-512seqlen") model = AutoModelForMaskedLM.from_pretrained("bertin-project/bertin-base-stepwise-exp-512seqlen")
The community tab is the place to discuss and collaborate with the HF community!
Create images in seconds. No sign-up, no paywall, no setup.