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

  • Log In
  • Sign Up

mlx-community
/
answerdotai-ModernBERT-Large-Instruct-4bit

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

Instructions to use mlx-community/answerdotai-ModernBERT-Large-Instruct-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mlx-community/answerdotai-ModernBERT-Large-Instruct-4bit with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="mlx-community/answerdotai-ModernBERT-Large-Instruct-4bit")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("mlx-community/answerdotai-ModernBERT-Large-Instruct-4bit")
    model = AutoModelForMaskedLM.from_pretrained("mlx-community/answerdotai-ModernBERT-Large-Instruct-4bit")
  • MLX

    How to use mlx-community/answerdotai-ModernBERT-Large-Instruct-4bit with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    huggingface-cli download --local-dir answerdotai-ModernBERT-Large-Instruct-4bit mlx-community/answerdotai-ModernBERT-Large-Instruct-4bit
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
answerdotai-ModernBERT-Large-Instruct-4bit
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
prince-canuma's picture
prince-canuma
Upload folder using huggingface_hub
83feba6 verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    1.44 kB
    Upload folder using huggingface_hub about 1 year ago
  • config.json
    1.41 kB
    Upload folder using huggingface_hub about 1 year ago
  • model.safetensors
    252 MB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • model.safetensors.index.json
    25.4 kB
    Upload folder using huggingface_hub about 1 year ago
  • special_tokens_map.json
    694 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer.json
    3.58 MB
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer_config.json
    20.9 kB
    Upload folder using huggingface_hub about 1 year ago