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

alycialee
/
m2-bert-110M

Fill-Mask
Transformers
PyTorch
English
bert
custom_code
Model card Files Files and versions
xet
Community

Instructions to use alycialee/m2-bert-110M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use alycialee/m2-bert-110M with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="alycialee/m2-bert-110M", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("alycialee/m2-bert-110M", trust_remote_code=True)
    model = AutoModelForMaskedLM.from_pretrained("alycialee/m2-bert-110M", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
m2-bert-110M
463 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
alycialee's picture
alycialee
update revision in readme
69a23b8 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.8 kB
    update revision in readme over 2 years ago
  • bert_layers.py
    36.9 kB
    add model, tokenizer, and src code over 2 years ago
  • bert_padding.py
    5.97 kB
    add model, tokenizer, and src code over 2 years ago
  • blockdiag_linear.py
    3.16 kB
    add model, tokenizer, and src code over 2 years ago
  • blockdiag_multiply.py
    2.87 kB
    add model, tokenizer, and src code over 2 years ago
  • config.json
    1.28 kB
    fix vocab size in config over 2 years ago
  • configuration_bert.py
    2.29 kB
    add model, tokenizer, and src code over 2 years ago
  • generation_config.json
    130 Bytes
    add model, tokenizer, and src code over 2 years ago
  • hyena_utils.py
    8.35 kB
    add model, tokenizer, and src code over 2 years ago
  • monarch_mixer_sequence_mixer.py
    4.63 kB
    add model, tokenizer, and src code over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    463 MB
    xet
    remove model. prefix from state_dict keys over 2 years ago
  • structured_linear.py
    2.58 kB
    add model, tokenizer, and src code over 2 years ago