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

maastrichtlawtech
/
legal-distilcamembert

Fill-Mask
Transformers
PyTorch
Safetensors
French
camembert
legal
feature-extraction
Model card Files Files and versions
xet
Community
2

Instructions to use maastrichtlawtech/legal-distilcamembert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use maastrichtlawtech/legal-distilcamembert with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="maastrichtlawtech/legal-distilcamembert")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("maastrichtlawtech/legal-distilcamembert")
    model = AutoModelForMaskedLM.from_pretrained("maastrichtlawtech/legal-distilcamembert")
  • Notebooks
  • Google Colab
  • Kaggle
legal-distilcamembert
548 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 9 commits
antoinelouis's picture
antoinelouis
Update README.md
a00dc46 verified over 2 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    2.42 kB
    Update README.md over 2 years ago
  • config.json
    726 Bytes
    Upload 6 files over 3 years ago
  • model.safetensors
    273 MB
    xet
    Adding `safetensors` variant of this model (#2) about 3 years ago
  • pytorch_model.bin
    273 MB
    xet
    Upload 6 files over 3 years ago
  • sentencepiece.bpe.model
    811 kB
    xet
    Upload 6 files over 3 years ago
  • special_tokens_map.json
    353 Bytes
    Upload 6 files over 3 years ago
  • tokenizer.json
    2.42 MB
    Upload 6 files over 3 years ago
  • tokenizer_config.json
    561 Bytes
    Upload 6 files over 3 years ago