-
Notifications
You must be signed in to change notification settings - Fork 903
Feat/multi round chat #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Jintao-Huang
commented
Aug 27, 2023
- add multi round chat dataset: agent dataset
- update agent sh
- update revision of model
trainer_args._frozen = False # Compatible with transformers==4.32.0 | ||
trainer_args.ddp_find_unused_parameters = False | ||
trainer_args.ddp_broadcast_buffers = False | ||
trainer_args._frozen = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为什么两次分别置为False和True呢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
因为transformers 4.32.0默认在初始化training_args后, 不能再修改, 需要设置_frozen为False才能修改
def download_dataset(model_id: str, | ||
files: List[str], | ||
force_download: bool = False) -> str: | ||
url = f'http://www.modelscope.cn/api/v1/datasets/{model_id}/repo?Revision=master&FilePath={{fpath}}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个方法的意义是?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
支持 firefly dataset的使用