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
Add appropriate tags
#2
by nielsr HF Staff - opened
This PR ensures the "how to use" button appears on the top right (with a Transformers code snippet), along with the appropriate pipeline tag.
Would be great to update all models :)
Yes I thought the hub would pick it up automatically from the config.json. I'll merge this then I'll change it to fill-mask since it's a mlm model
wissamantoun changed pull request status to merged