transformers
e5f7ee36 - Add qwen4 (#51678)

Commit
2 days ago
Add qwen4 (#51678) * Add Qwen4 dense and MoE model support * remove unnecessary decorator * use qwen4 temporally to pass docstring check * fix some defaults * simplify qwen4 init * simplify decode forward * just del ple_layer_index * revert qwen4exp private func * we can overwrite forward for simplicity * update a simple usage and some cleanup * use tester * adjust tests * to skip due to indexer nature * fix repo * add sequence classification for qwen4 dense * fix repo * weird docstring stuff * skip for now --------- Co-authored-by: 弥道 <roy.zb@alibaba-inc.com> Co-authored-by: JJJYmmm <1650675829@qq.com> Co-authored-by: Arthur <arthur.zucker@gmail.com>
Author
Parents
Loading