Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

almanach
/
camembert-base-legacy

Fill-Mask
Transformers
PyTorch
Safetensors
French
camembert
Model card Files Files and versions
xet
Community
5

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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

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
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs