Instructions to use almanach/camembertv2-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use almanach/camembertv2-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="almanach/camembertv2-base")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("almanach/camembertv2-base") model = AutoModelForMaskedLM.from_pretrained("almanach/camembertv2-base") - Inference
- Notebooks
- Google Colab
- Kaggle
Update tokenizer_config.json
#3
by itazap HF Staff - opened
update tokenizer_class (v4 and v5 compatible) as this isn't a Robert tokenizer !
Thanks for the pull request, I wasn't aware that Camembertv2 tokenizer was broken. I double checked and it is now fixed
wissamantoun changed pull request status to merged