Instructions to use EuroBERT/EuroBERT-210m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EuroBERT/EuroBERT-210m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="EuroBERT/EuroBERT-210m", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("EuroBERT/EuroBERT-210m", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("EuroBERT/EuroBERT-210m", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
fix: Set AutoModelForQuestionAnswering class path in config (#21)
Verified signature- fix: Set AutoModelForQuestionAnswering class path in config (06c364f2903b84428796a6a55eaa0c89805b5f33) Co-authored-by: Dan Saattrup Smart <saattrupdan@users.noreply.huggingface.co>39b51e1
-
Add token classification to config (#16)
Verified signature- Add token classification to config (c2aedf0cb2395e876f05746e05c574a87a5f9cc2) Co-authored-by: Hippolyte Gisserot-Boukhlef <hgissbkh@users.noreply.huggingface.co>d97bb1f
-
Update config.json
Verified signaturee254226
-
Upload config.json
Verified signature66d72a0
-
Add files using upload-large-folder tool
Verified signature1d1619f