mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-01 17:17:05 +00:00
[chat] use official transformers and fix some issues (#4117)
* feat: remove on_learn_epoch fn as not used * revert: add _on_learn_epoch fn * feat: remove NaiveStrategy * test: update train_prompts tests * fix: remove prepare_llama_tokenizer_and_embedding * test: add lora arg * feat: remove roberta support in train_prompts due to runtime errs * feat: remove deberta & roberta in rm as not used * test: remove deberta and roberta tests * feat: remove deberta and roberta models as not used * fix: remove calls to roberta * fix: remove prepare_llama_tokenizer_and_embedding * chore: update transformers version * docs: update transformers version * fix: fix actor inference * fix: fix ci * feat: change llama pad token to unk * revert: revert ddp setup_distributed * fix: change llama pad token to unk * revert: undo unnecessary changes * fix: use pip to install transformers
This commit is contained in:
14
.github/workflows/run_chatgpt_examples.yml
vendored
14
.github/workflows/run_chatgpt_examples.yml
vendored
@@ -4,11 +4,10 @@ on:
|
||||
pull_request:
|
||||
types: [synchronize, opened, reopened]
|
||||
paths:
|
||||
- 'applications/Chat/coati/**'
|
||||
- 'applications/Chat/requirements.txt'
|
||||
- 'applications/Chat/setup.py'
|
||||
- 'applications/Chat/examples/**'
|
||||
|
||||
- "applications/Chat/coati/**"
|
||||
- "applications/Chat/requirements.txt"
|
||||
- "applications/Chat/setup.py"
|
||||
- "applications/Chat/examples/**"
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
@@ -38,10 +37,7 @@ jobs:
|
||||
|
||||
- name: Install Transformers
|
||||
run: |
|
||||
cd applications/Chat
|
||||
git clone https://github.com/hpcaitech/transformers
|
||||
cd transformers
|
||||
pip install -v .
|
||||
pip install transformers==4.30.2
|
||||
|
||||
- name: Execute Examples
|
||||
run: |
|
||||
|
Reference in New Issue
Block a user