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

ibm-research
/
materials.mhg-ged

Feature Extraction
Diffusers
PyTorch
Transformers
chemistry
Model card Files Files and versions
xet
Community
1

Instructions to use ibm-research/materials.mhg-ged with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ibm-research/materials.mhg-ged with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ibm-research/materials.mhg-ged", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Transformers

    How to use ibm-research/materials.mhg-ged with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="ibm-research/materials.mhg-ged")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("ibm-research/materials.mhg-ged", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
materials.mhg-ged
862 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 16 commits
Ipd's picture
Ipd
Update README.md
d7b6ecd verified 8 months ago
  • .idea
    init over 1 year ago
  • images
    init over 1 year ago
  • .DS_Store
    10.2 kB
    init over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.41 kB
    Update README.md 8 months ago
  • mhggnn_pretrained_model_0724_2023.pickle
    262 MB
    xet
    add model checkpoint over 1 year ago
  • model_dict.pt
    300 MB
    xet
    add .bin and .pt over 1 year ago
  • pytorch_model.bin
    300 MB
    xet
    rename checkpoint over 1 year ago