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")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ibm-research/materials.mhg-ged", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Access Denied for GitHub Repository mhg-gnn.git - Request for Public Access
I followed the instructions in the provided documentation and attempted to clone the repository using the command:
"git clone git@github.ibm.com:CMD-TRL/mhg-gnn.git"
However, I encountered an access issue:
"The authenticity of host 'github.ibm.com (169.60.70.162)' can't be established
Warning: Permanently added 'github.ibm.com' (ECDSA) to the list of known hosts.
git@github.ibm.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists."
It seems that I do not have permission to access the repository. Could you please confirm whether there is a public version of this repository available? If not, is it possible to provide access or an alternative way to access the code for comparative experiments?
Thank you!