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

doctolib-lab
/
doctomodernbert-fr-base

Fill-Mask
Transformers
PyTorch
TensorBoard
Safetensors
French
modernbert
medical
healthcare
biomedical
clinical
french
long-context
doctobert
Model card Files Files and versions
xet
Metrics Training metrics Community
1

Instructions to use doctolib-lab/doctomodernbert-fr-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use doctolib-lab/doctomodernbert-fr-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="doctolib-lab/doctomodernbert-fr-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("doctolib-lab/doctomodernbert-fr-base")
    model = AutoModelForMaskedLM.from_pretrained("doctolib-lab/doctomodernbert-fr-base")
  • Notebooks
  • Google Colab
  • Kaggle
doctomodernbert-fr-base
1.23 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
nbara's picture
nbara
Update README.md
fdec5c7 verified 12 days ago
  • assets
    Super-squash branch 'main' using huggingface_hub 14 days ago
  • runs
    Super-squash branch 'main' using huggingface_hub 14 days ago
  • .gitattributes
    1.59 kB
    Super-squash branch 'main' using huggingface_hub 14 days ago
  • README.md
    13.6 kB
    Update README.md 12 days ago
  • config.json
    1.15 kB
    Super-squash branch 'main' using huggingface_hub 14 days ago
  • model.safetensors
    599 MB
    xet
    Super-squash branch 'main' using huggingface_hub 14 days ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    599 MB
    xet
    Super-squash branch 'main' using huggingface_hub 14 days ago
  • special_tokens_map.json
    1.05 kB
    Super-squash branch 'main' using huggingface_hub 14 days ago
  • tokenizer.json
    7.02 MB
    Super-squash branch 'main' using huggingface_hub 14 days ago
  • tokenizer_config.json
    20.6 kB
    Super-squash branch 'main' using huggingface_hub 14 days ago