Fill-Mask
Transformers
PyTorch
TensorFlow
Safetensors
French
camembert
biomedical
clinical
life sciences
neuron
Instructions to use almanach/camembert-bio-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use almanach/camembert-bio-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="almanach/camembert-bio-base")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("almanach/camembert-bio-base") model = AutoModelForMaskedLM.from_pretrained("almanach/camembert-bio-base") - Inference
- Notebooks
- Google Colab
- Kaggle
Unable to load tokenizer
#2
by FearfulOstrich - opened
Hello,
As of yesterday, we have had issues loading the tokenizer.
Using the classic AutoTokenizer class to load the tokenizer results in an Exception:
Is this issue known ?
my environment:
- python: 3.11.9
- transformers: 4.39.3
Code for error:
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("almanach/camembert-bio-base")
Hello @FearfulOstrich thank you for reporting this ! It should be fixed now with 86cc3e73fb06ef10690902215dcf9e8518419fa8
Tell me if that doesn't solve the issue
FearfulOstrich changed discussion status to closed