[chatgpt] optimize generation kwargs (#2717)

* [chatgpt] ppo trainer use default generate args

* [chatgpt] example remove generation preparing fn

* [chatgpt] benchmark remove generation preparing fn

* [chatgpt] fix ci
This commit is contained in:
ver217
2023-02-15 13:59:58 +08:00
committed by GitHub
parent 21d6a48f4d
commit 9c0943ecdb
7 changed files with 48 additions and 52 deletions

View File

@@ -34,6 +34,7 @@ jobs:
- name: Execute Examples
run: |
cd applications/ChatGPT
./examples/test_ci.sh
env:
NCCL_SHM_DISABLE: 1

View File

@@ -35,6 +35,7 @@ jobs:
- name: Execute Unit Testing
run: |
cd applications/ChatGPT
pytest tests/
env:
NCCL_SHM_DISABLE: 1