[Embedding] Expand training and shortgpt_prune code to support more model #11168
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR types
New features
PR changes
Models
Description
扩展训练代码
paddlenlp/transformers/llm_embed/modeling.py
paddlenlp/experimental/transformers/mistral/modeling.py
slm/pipelines/examples/contrastive_training/train.py
slm/pipelines/examples/contrastive_training/data/download_mmarco.py
新增支持数据集:MMarcoRetrieval
新增支持模型:bge-en-icl、LLARA-passage
扩展删层代码
slm/pipelines/examples/contrastive_training/shortgpt_prune.py
新增支持模型:NV-Embed-v1、bge-en-icl、LLARA-passage、Qwen3-embedding
更新README
slm/pipelines/examples/contrastive_training/README.md