move modeling.py and modeling_nv.py to transformers #9676
17.38% of diff hit (target 80.00%)
View this Pull Request on Codecov
17.38% of diff hit (target 80.00%)
Annotations
Check warning on line 58 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L55-L58
Added lines #L55 - L58 were not covered by tests
Check warning on line 66 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L60-L66
Added lines #L60 - L66 were not covered by tests
Check warning on line 72 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L68-L72
Added lines #L68 - L72 were not covered by tests
Check warning on line 75 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L74-L75
Added lines #L74 - L75 were not covered by tests
Check warning on line 79 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L79
Added line #L79 was not covered by tests
Check warning on line 83 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L81-L83
Added lines #L81 - L83 were not covered by tests
Check warning on line 90 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L85-L90
Added lines #L85 - L90 were not covered by tests
Check warning on line 99 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L93-L99
Added lines #L93 - L99 were not covered by tests
Check warning on line 104 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L101-L104
Added lines #L101 - L104 were not covered by tests
Check warning on line 106 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L106
Added line #L106 was not covered by tests
Check warning on line 111 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L111
Added line #L111 was not covered by tests
Check warning on line 116 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L114-L116
Added lines #L114 - L116 were not covered by tests
Check warning on line 121 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L121
Added line #L121 was not covered by tests
Check warning on line 126 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L124-L126
Added lines #L124 - L126 were not covered by tests
Check warning on line 131 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L128-L131
Added lines #L128 - L131 were not covered by tests
Check warning on line 135 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L135
Added line #L135 was not covered by tests
Check warning on line 138 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L137-L138
Added lines #L137 - L138 were not covered by tests
Check warning on line 143 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L140-L143
Added lines #L140 - L143 were not covered by tests
Check warning on line 152 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L151-L152
Added lines #L151 - L152 were not covered by tests
Check warning on line 158 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L155-L158
Added lines #L155 - L158 were not covered by tests
Check warning on line 160 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L160
Added line #L160 was not covered by tests
Check warning on line 164 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L162-L164
Added lines #L162 - L164 were not covered by tests
Check warning on line 174 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L166-L174
Added lines #L166 - L174 were not covered by tests
Check warning on line 177 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L176-L177
Added lines #L176 - L177 were not covered by tests
Check warning on line 181 in paddlenlp/transformers/llm_embed/modeling.py
codecov / codecov/patch
paddlenlp/transformers/llm_embed/modeling.py#L179-L181
Added lines #L179 - L181 were not covered by tests