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

brettgenz
/
modernbert-science-dapt-v2

Fill-Mask
Transformers
Safetensors
English
modernbert
scientific-text
domain-adaptation
domain-adaptive-pretraining
masked-language-modeling
retrieval
embeddings
scientific-embeddings
Model card Files Files and versions
xet
Community

Instructions to use brettgenz/modernbert-science-dapt-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use brettgenz/modernbert-science-dapt-v2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="brettgenz/modernbert-science-dapt-v2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("brettgenz/modernbert-science-dapt-v2")
    model = AutoModelForMaskedLM.from_pretrained("brettgenz/modernbert-science-dapt-v2")
  • Notebooks
  • Google Colab
  • Kaggle
modernbert-science-dapt-v2
603 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
brettgenz's picture
brettgenz
Update README.md
4231272 verified about 2 months ago
  • visualizations
    Upload folder using huggingface_hub about 2 months ago
  • .gitattributes
    1.6 kB
    Upload folder using huggingface_hub about 2 months ago
  • README.md
    6.3 kB
    Update README.md about 2 months ago
  • config.json
    1.92 kB
    Upload folder using huggingface_hub about 2 months ago
  • model.safetensors
    599 MB
    xet
    Upload folder using huggingface_hub about 2 months ago
  • tokenizer.json
    3.58 MB
    Upload folder using huggingface_hub about 2 months ago
  • tokenizer_config.json
    351 Bytes
    Upload folder using huggingface_hub about 2 months ago