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: 134 Bytes
9ef36e4 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6820880d776972314a58b75a6f9e90f80ec69c1a48458b44243c0fe43983a7a4
size 328715509
|