Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

derekwong
/
modernbert-diffusion-small

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

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

  • Libraries
  • Transformers

    How to use derekwong/modernbert-diffusion-small with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="derekwong/modernbert-diffusion-small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("derekwong/modernbert-diffusion-small")
    model = AutoModelForMaskedLM.from_pretrained("derekwong/modernbert-diffusion-small")
  • Notebooks
  • Google Colab
  • Kaggle
modernbert-diffusion-small
602 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
derekwong's picture
derekwong
Add diffusion-style fine-tuned ModernBERT weights
601d9d6 verified 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    5.17 kB
    Add diffusion-style fine-tuned ModernBERT weights 10 months ago
  • config.json
    1.22 kB
    Add diffusion-style fine-tuned ModernBERT weights 10 months ago
  • model.safetensors
    299 MB
    xet
    Add diffusion-style fine-tuned ModernBERT weights 10 months ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    299 MB
    xet
    Add diffusion-style fine-tuned ModernBERT weights 10 months ago
  • special_tokens_map.json
    694 Bytes
    Add diffusion-style fine-tuned ModernBERT tokenizer 10 months ago
  • tokenizer.json
    3.58 MB
    Add diffusion-style fine-tuned ModernBERT tokenizer 10 months ago
  • tokenizer_config.json
    20.8 kB
    Add diffusion-style fine-tuned ModernBERT tokenizer 10 months ago