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

guan-wang
/
ESM-FineWeb-520M

Fill-Mask
Transformers
Safetensors
esm
energy-based-language-model
custom-architecture
custom_code
Model card Files Files and versions
xet
Community

Instructions to use guan-wang/ESM-FineWeb-520M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use guan-wang/ESM-FineWeb-520M with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="guan-wang/ESM-FineWeb-520M", trust_remote_code=True)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("guan-wang/ESM-FineWeb-520M", trust_remote_code=True)
    model = AutoModelForMaskedLM.from_pretrained("guan-wang/ESM-FineWeb-520M", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
ESM-FineWeb-520M
2.08 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
guan-wang's picture
guan-wang
Update OpenESM README and tokenizer configuration
97c59a4 verified 4 days ago
  • .gitattributes
    1.52 kB
    initial commit 4 days ago
  • README.md
    2.31 kB
    Update OpenESM README and tokenizer configuration 4 days ago
  • config.json
    1.23 kB
    Add standard Transformers model export 4 days ago
  • configuration_esm.py
    6.48 kB
    Add standard Transformers model export 4 days ago
  • model.safetensors
    2.08 GB
    xet
    Add standard Transformers model export 4 days ago
  • modeling_esm.py
    70.5 kB
    Update OpenESM README and tokenizer configuration 4 days ago
  • token_bytes.pt
    133 kB
    xet
    Add standard Transformers model export 4 days ago
  • tokenizer.pkl

    Detected Pickle imports (1)

    • "tiktoken.core.Encoding"

    How to fix it?

    413 kB
    xet
    Add standard Transformers model export 4 days ago
  • tokenizer_config.json
    717 Bytes
    Update OpenESM README and tokenizer configuration 4 days ago