• Cl茅mentine Fourrier's avatar
    Graphormer model for Graph Classification (#20968) · 87208a05
    Cl茅mentine Fourrier authored
    
    
    * [FT] First commit for graphormer architecture.
    
    The model has no tokenizer, as it uses a collator and preprocessing function for its input management.
    Architecture to be tested against original one.
    The arch might need to be changed to fit the checkpoint, but a revert to the original arch will make the code less nice to read.
    TODO: doc
    
    * [FIX] removed test model
    
    * [FIX] import error
    
    * [FIX] black and flake
    
    * [DOC] added paper refs
    
    * [FIX] [DOC]
    
    * [FIX] black
    
    * [DOC] Updated READMEs
    
    * [FIX] Order of imports + rm Tokenizer calls
    
    * [FIX] Moved assert in class to prevent doc build failure
    
    * [FIX] make fix-copies
    
    * [Doc] update from code review
    Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
    
    * [FIX] Removed Graphormer from Sequence classification model list
    
    * [DOC] Added HF copyright to Cython file
    
    * [DOC] Fixed comments
    
    * [FIX] typos in class doc + removed config classes.
    
    Todo: update doc from paper definitions
    
    * [FIX] Removed dependency to fairseq, and replaced all asserts with Exception management
    
    * [FIX] Homogeneized initialization of weights to pretrained constructor
    
    * [FIX] [CP] Updated multi_hop parameter to get same results as in original implementation
    
    * [DOC] Relevant parameter description in the configuration file
    
    * [DOC] Updated doc and comments in main graphormer file
    
    * [FIX] make style and quality checks
    
    * [DOC] Fix doc format
    
    * [FIX] [WIP] Updated part of the tests, though still a wip
    
    * [FIX] [WIP]
    
    * [FIX] repo consistency
    
    * [FIX] Changed input names for more understandability
    
    * [FIX] [BUG] updated num_classes params for propagation in the model
    
    * simplified collator
    
    * [FIX] Updated tests to follow new naming pattern
    
    * [TESTS] Updated test suite along with model
    
    * |FIX] rm tokenizer import
    
    * [DOC] add link to graphormerdoc
    
    * Changed section in doc from text model to graph model
    
    * Apply suggestions from code review
    
    Spacing, inits
    Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
    
    * [DOC] Explain algos_graphormer functions
    
    * Cython soft import protection
    
    * Rm call to Callable in configuration graphormer
    
    * [FIX] replaced asserts with Exceptions
    
    * Add org to graphormer checkpoints
    
    * Prefixed classes with Graphormer
    
    * Management of init functions
    
    * format
    
    * fixes
    
    * fix length file
    
    * update indent
    
    * relaunching ci
    
    * Errors for missing cython imports
    
    * fix style
    
    * fix style doc
    Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
    87208a05
README_zh-hant.md 73.6 KB