Instructions to use Pierre-Arthur/distilroberta_base_eurolex_mlm_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Pierre-Arthur/distilroberta_base_eurolex_mlm_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Pierre-Arthur/distilroberta_base_eurolex_mlm_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Pierre-Arthur/distilroberta_base_eurolex_mlm_model") model = AutoModelForMaskedLM.from_pretrained("Pierre-Arthur/distilroberta_base_eurolex_mlm_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
9ef36e4 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a7ac7da796bc140ce1ebc63f35bc5e7fdbc6eec78ee9c35a4fa58123b6ed878c
size 3963
|