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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Taykhoom
/
MosaicBERT-updated

Fill-Mask
Transformers
English
bert
language-model
flash-attention
custom_code
Model card Files Files and versions
xet
Community

Instructions to use Taykhoom/MosaicBERT-updated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Taykhoom/MosaicBERT-updated with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="Taykhoom/MosaicBERT-updated", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("Taykhoom/MosaicBERT-updated", trust_remote_code=True)
    model = AutoModelForMaskedLM.from_pretrained("Taykhoom/MosaicBERT-updated", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
MosaicBERT-updated
55.1 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Taykhoom's picture
Taykhoom
Fix model correctness and Hugging Face compatibility
72f82f5 verified 3 days ago
  • .gitattributes
    1.52 kB
    Initial MosaicBERT-updated Hugging Face port 4 days ago
  • README.md
    8.54 kB
    Fix model correctness and Hugging Face compatibility 3 days ago
  • __init__.py
    0 Bytes
    Initial MosaicBERT-updated Hugging Face port 4 days ago
  • bert_layers.py
    37.2 kB
    Fix model correctness and Hugging Face compatibility 3 days ago
  • bert_padding.py
    6.1 kB
    Initial MosaicBERT-updated Hugging Face port 4 days ago
  • config.json
    963 Bytes
    Initial MosaicBERT-updated Hugging Face port 4 days ago
  • configuration_bert.py
    801 Bytes
    Initial MosaicBERT-updated Hugging Face port 4 days ago