custom-gcn

作者 Huhujingjing · 下载 14 · 点赞 0 · 更新 2023-11-02

pip install torch_scatter rdkit

pip install torch_geometric

example

from transformers import AutoModel

device = 'cpu'
smiles = ['CCCC', 'C#C/C(C)=C(/[CH2])C', 'NNNNN']

model = AutoModel.from_pretrained("Huhujingjing/custom-gcn", trust_remote_code=True).to(device)

output = model.predict_smiles(smiles)

print(output)

模型信息

该模型卡暂无预览图和文字说明。以下信息来自 Hugging Face。

作者 Huhujingjing
类型graph-ml
基础模型—
标签—
下载14
点赞0
更新时间2023-11-02
Hugging Face https://huggingface.co/Huhujingjing/custom-gcn