Fill-Mask
Transformers
Safetensors
French
modernbert
biomedical
clinical
encoder
Eval Results (legacy)
Instructions to use almanach/ModernCamemBERT-bio-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use almanach/ModernCamemBERT-bio-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="almanach/ModernCamemBERT-bio-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("almanach/ModernCamemBERT-bio-base") model = AutoModelForMaskedLM.from_pretrained("almanach/ModernCamemBERT-bio-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from almanach/ModernCamemBERT-bio-base: direct link, hf CLI and curl.
- Browser
- Download file 756 kB
-
https://huggingface.co/almanach/ModernCamemBERT-bio-base/resolve/main/tokenizer.json
- Command line
-
hf download hf://almanach/ModernCamemBERT-bio-base/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/almanach/ModernCamemBERT-bio-base/resolve/main/tokenizer.json
756 kB
File too large to display, you can check the raw version instead.