PedroLancharesSanchez's picture
Create app.py
d1b6379 verified
raw
history blame
278 Bytes
# Load model directly
from transformers import AutoTokenizer, GraphormerForGraphClassification
tokenizer = AutoTokenizer.from_pretrained("PedroLancharesSanchez/graph-regression")
model = GraphormerForGraphClassification.from_pretrained("PedroLancharesSanchez/graph-regression")