microsoft / microsoft/Graphormer
Question about graphormer version 1
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 374
- PR merge metrics
- No merged PRs in 30d
Description

Hi! this is Stella from Seoul National University.
I'm using this great model you made. Thank you always.
I'm using graphormer version 1 for my research, and I'd like to ask if you can accept questions about version 1.
In collator.py, there exists Batch class, and it gets 'y' input. Is this 'y' is coming from graph_label.csv in sample datasets?
I encoded graph label as 0 and 1 but graphormer says that -2, -1, 2 was given as y_true, so I think graph_label.csv is not the input for the class Batch.
Thank you!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in collator.py by reading the Batch class and tracing where its y input is populated. Compare that path with graph_label.csv in the sample datasets and the reported -2, -1, and 2 values. Done means documenting which source supplies y and how the labels are expected to be encoded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100