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

Duplicated from  answerdotai/ModernBERT-base

brandenkmurray
/
public-model-2

Fill-Mask
Transformers
PyTorch
ONNX
Safetensors
English
modernbert
masked-lm
long-context
Model card Files Files and versions
xet
Community

Instructions to use brandenkmurray/public-model-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use brandenkmurray/public-model-2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="brandenkmurray/public-model-2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("brandenkmurray/public-model-2")
    model = AutoModelForMaskedLM.from_pretrained("brandenkmurray/public-model-2")
  • Notebooks
  • Google Colab
  • Kaggle
public-model-2
3.13 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
brandenkmurray's picture
brandenkmurray
bclavie's picture
bclavie
Duplicate from answerdotai/ModernBERT-base
5251cbb verified 8 months ago
  • onnx
    Duplicate from answerdotai/ModernBERT-base 8 months ago
  • .gitattributes
    1.52 kB
    Duplicate from answerdotai/ModernBERT-base 8 months ago
  • README.md
    8.43 kB
    Duplicate from answerdotai/ModernBERT-base 8 months ago
  • config.json
    1.19 kB
    Duplicate from answerdotai/ModernBERT-base 8 months ago
  • model.safetensors
    599 MB
    xet
    Duplicate from answerdotai/ModernBERT-base 8 months ago
  • pytorch_model.bin
    599 MB
    xet
    Duplicate from answerdotai/ModernBERT-base 8 months ago
  • special_tokens_map.json
    694 Bytes
    Duplicate from answerdotai/ModernBERT-base 8 months ago
  • tokenizer.json
    2.13 MB
    Duplicate from answerdotai/ModernBERT-base 8 months ago
  • tokenizer_config.json
    20.8 kB
    Duplicate from answerdotai/ModernBERT-base 8 months ago