• Yoach Lacombe's avatar
    Add new meta w2v2-conformer BERT-like model (#28165) · d2cdefb9
    Yoach Lacombe authored
    
    
    * first commit
    
    * correct default value non causal
    
    * update config and modeling code
    
    * update converting checkpoint
    
    * clean modeling and fix tests
    
    * make style
    
    * add new config parameters to docstring
    
    * fix copied from statements
    
    * Apply suggestions from code review
    
    Co-authored-by: default avatarSanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com>
    
    * make position_embeddings_type docstrings clearer
    
    * clean converting script
    
    * remove function not used
    
    * clean modeling file
    
    * apply suggestion for test file + add convert script to not_doctested
    
    * modify tests according to review - cleaner logic and more tests
    
    * Apply nit suggestions from code review
    
    Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
    
    * add checker of valid position embeddings type
    
    * instantiate new layer norm layer with the right eps
    
    * fix freeze_feature_encoder since it can be None in some cases
    
    * add test...
    d2cdefb9