Instructions to use almanach/camembert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use almanach/camembert-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="almanach/camembert-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("almanach/camembert-base") model = AutoModelForMaskedLM.from_pretrained("almanach/camembert-base", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download sentencepiece.bpe.model from almanach/camembert-base: direct link, hf CLI and curl.
- Browser
- Download file 811 kB
-
https://huggingface.co/almanach/camembert-base/resolve/main/sentencepiece.bpe.model
- Command line
-
hf download hf://almanach/camembert-base/sentencepiece.bpe.model
-
curl -L -o sentencepiece.bpe.model https://huggingface.co/almanach/camembert-base/resolve/main/sentencepiece.bpe.model
811 kB
This file contains binary data. It cannot be displayed, but you can still download it.