Skip to content

PaddleNLP 2.4.3 Release Note Candidate #3774

@LemonNoel

Description

@LemonNoel

New Features

Prompt API

  • Template String 新增支持关键字 prefixoptions,新增 position, token_type, length, encoder, hidden_size 等7个属性 [prompt] update prompt api & add prefix template #3724
  • 新增支持 PrefixTemplate
  • 解除 InputExampleInputFeatures 对输入数据关键字的限制

问答

  • 新增无监督问答pipelines,pipeline运行示例和说明文档 Add unsupervised-qa pipelines #3605
  • 新增节点QAFilter、AnswerExtractor、QuestionGenerator、AnswerExtractorPreprocessor、QAFilterPostprocessor
  • 新增pipeline QAGenerationPipeline
  • FastAPI后端代码,承接ElasticSearch ANN检索库、QAGenerationPipeline和SemanticSearchPipeline
  • 无监督问答WEB可视化系统,功能如下:问答检索、在线问答对生成、在线更新索引库、文件上传并自动生成和载入问答对、问答对生成可选择过滤、问答检索可选择返回答案数量和最大检索数量

Trainer

  • 新增sharding支持,目前支持sharding stage1、stage2。 [Trainer] support sharding for trainer. #3352
  • 新增bf16训练支持,可支持单卡、多卡训练。完善了pure_fp16训练支持。
  • 新增IterableDataset支持,支持传入Iterable的数据集。
  • 新增Seq2SeqTrainer,支持seq2seq任务训练。

FasterGeneration

FastTokenizer

基础底座

UIE

Neural Search

Text Classification

Bug Fix

PPDiffusers

Others

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions