Instructions to use almanach/camembert-base-legacy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use almanach/camembert-base-legacy with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="almanach/camembert-base-legacy")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("almanach/camembert-base-legacy") model = AutoModelForMaskedLM.from_pretrained("almanach/camembert-base-legacy") - Inference
- Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#4 opened about 3 years ago
by
SFconvertbot
Problem with the `max_model_length` attribute
#3 opened over 3 years ago
by
h4c5
Model has no tokenizer included in the dowload file
#2 opened over 3 years ago
by
Bourhano