Instructions to use EuroBERT/EuroBERT-2.1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EuroBERT/EuroBERT-2.1B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="EuroBERT/EuroBERT-2.1B", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("EuroBERT/EuroBERT-2.1B", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("EuroBERT/EuroBERT-2.1B", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Zeroshot EuroBERT coming soon?
#10
by thedamsch - opened
Hey, is there a Zeroshot EuroBERT coming (very) soon?
Hey @thedamsch , on our side, we won’t provide a zero-shot EuroBERT in the next few days, but it’s a problem we’ve started thinking about. If you want to give it a try, we’d be very happy to see your results!
Nicolas-BZRD changed discussion status to closed