-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 支持透传,accesstoken * feat-pyproxy_direct 兼容了--accesstoken和透传的各种情况,修复bug * 修复无accesstoken也可鉴权的情况 * 修复了js众测中 流式不报错的问题 * Update proxy.py * 删除冗余注释 * Update proxy.py * fix[trainer]: fix client trainer info not work with --taks-id / function chat call (#693) * bug: 升级了 function call 字段的返回结构体以适配 langchain function call (#687) * 升级了 function call 字段的返回结构体 * 格式化 * update: openai_adapter.ipynb * feat: 浏览器增加鉴权开关 & 流式数据切分优化 (#689) * feat: 浏览器增加鉴权开关 & 流式数据切分优化 * fix: 鉴权开关字段修改& 更新版本号 * fix: 鉴权开关字段修改& 更新版本号 --------- Co-authored-by: wangting31 <wangting31@baidu.com> * fix: remove ipynb useless content * fix: replace ERNIE-Bot description * fix: add trainer cli info docs & remove ernie-bot in ipynb * fix: remove useless or ambiguous content (#690) * fix: remove ipynb useless content * fix: replace ERNIE-Bot description * fix: add trainer cli info docs & remove ernie-bot in ipynb * fix[trainer]: cli trainer * fix[resources]: functions passthourgh req warning * chore: add trainer_ppl_file_tmpl.json --------- Co-authored-by: Dobiichi-Origami <56953648+Dobiichi-Origami@users.noreply.github.com> Co-authored-by: stonekim <shikuan@baidu.com> Co-authored-by: wangting829 <1940087162@qq.com> Co-authored-by: wangting31 <wangting31@baidu.com> * feat[stat]: add star_timestamp (#685) * feat[requestor]: add start_timestamp statis in python requestor * chore: update version->0.4.1rc0 * chore: bump version-> 0.4.3 --------- Co-authored-by: NuODaniel <zhonghanjun@baidu.com> Co-authored-by: Dobiichi-Origami <56953648+Dobiichi-Origami@users.noreply.github.com> Co-authored-by: stonekim <shikuan@baidu.com> Co-authored-by: wangting829 <1940087162@qq.com> Co-authored-by: wangting31 <wangting31@baidu.com>
- Loading branch information
1 parent
ed96bfa
commit 7c90786
Showing
16 changed files
with
163 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"actions": [ | ||
{ | ||
"type": "LoadDataSetAction", | ||
"datasets": { | ||
"sourceType": "Platform", | ||
"versions": [ | ||
{ | ||
"versionId": "ds-syeynswz2yxav8ix", | ||
"samplingRate": 1 | ||
} | ||
] | ||
}, | ||
"eval_split_ratio": 10, | ||
"corpus_config": { | ||
"copy_data": true, | ||
"config": [ | ||
{ | ||
"proportion": "1:2", | ||
"corpus_type": 3, | ||
"labels": [ | ||
"文本创作" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "TrainAction", | ||
"init_params": { | ||
"train_mode": "SFT", | ||
"train_type": "ERNIE-Speed-8K", | ||
"train_config": { | ||
"peft_type": "LoRA", | ||
"epoch": 1, | ||
"learning_rate": 0.0003, | ||
"max_seq_len": 4096, | ||
"logging_steps": 1, | ||
"warmup_ratio": 0.1, | ||
"weight_decay": 0.01, | ||
"lora_rank": 8, | ||
"lora_all_linear": "True" | ||
}, | ||
"is_incr": false, | ||
"job_name": "speed_math02", | ||
"task_description": "task_desc1", | ||
"job_description": "job_desc1" | ||
} | ||
}, | ||
{ | ||
"type": "ModelPublishAction" | ||
} | ||
], | ||
"case_init_params": { | ||
"case_type": "Finetune" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.