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

tommyp111
/
modernbert-diffusion

Fill-Mask
Transformers
Safetensors
modernbert
Model card Files Files and versions
xet
Community

Instructions to use tommyp111/modernbert-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tommyp111/modernbert-diffusion with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="tommyp111/modernbert-diffusion")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("tommyp111/modernbert-diffusion")
    model = AutoModelForMaskedLM.from_pretrained("tommyp111/modernbert-diffusion")
  • Notebooks
  • Google Colab
  • Kaggle
modernbert-diffusion
795 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
tommyp111's picture
tommyp111
Update README.md
d162775 verified 12 months ago
  • .gitattributes
    1.52 kB
    initial commit 12 months ago
  • README.md
    124 Bytes
    Update README.md 12 months ago
  • config.json
    1.22 kB
    Add diffusion-style fine-tuned weights 12 months ago
  • model.safetensors
    792 MB
    xet
    Add diffusion-style fine-tuned weights 12 months ago
  • special_tokens_map.json
    694 Bytes
    Upload tokenizer 12 months ago
  • tokenizer.json
    3.58 MB
    Upload tokenizer 12 months ago
  • tokenizer_config.json
    20.8 kB
    Upload tokenizer 12 months ago