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

  • Log In
  • Sign Up

derekwong
/
modernbert-diffusion-small-recurrent

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

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

  • Libraries
  • Transformers

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

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="derekwong/modernbert-diffusion-small-recurrent")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("derekwong/modernbert-diffusion-small-recurrent")
    model = AutoModelForMaskedLM.from_pretrained("derekwong/modernbert-diffusion-small-recurrent")
  • Notebooks
  • Google Colab
  • Kaggle
modernbert-diffusion-small-recurrent
639 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
derekwong's picture
derekwong
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#3)
6c5e800 verified 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    5.17 kB
    Add diffusion-style fine-tuned RecurrentModernBERT weights 10 months ago
  • config.json
    1.28 kB
    Add diffusion-style fine-tuned RecurrentModernBERT weights 10 months ago
  • model.safetensors
    318 MB
    xet
    Adding `safetensors` variant of this model (#3) 10 months ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

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