• as-stevens's avatar
    [Reformer classification head] Implement the reformer model classification... · f867000f
    as-stevens authored
    
    [Reformer classification head] Implement the reformer model classification head for text classification (#5198)
    
    * Reformer model head classification implementation for text classification
    
    * Reformat the reformer model classification code
    
    * PR review comments, and test case implementation for reformer for classification head changes
    
    * CI/CD reformer for classification head test import error fix
    
    * CI/CD test case implementation  added ReformerForSequenceClassification to all_model_classes
    
    * Code formatting- fixed
    
    * Normal test cases added for reformer classification head
    
    * Fix test cases implementation for the reformer classification head
    
    * removed token_type_id parameter from the reformer classification head
    
    * fixed the test case for reformer classification head
    
    * merge conflict with master fixed
    
    * merge conflict, changed reformer classification to accept the choice_label parameter added in latest code
    
    * refactored the the reformer classification head test code
    
    * reformer classification head, common transform test cases fixed
    
    * final set of the review comment, rearranging the reformer classes and docstring add to classification forward method
    
    * fixed the compilation error and text case fix for reformer classification head
    
    * Apply suggestions from code review
    
    Remove unnecessary dup
    Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
    f867000f
test_modeling_reformer.py 43.6 KB