forked from THUDM/ChatGLM-6B
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
106 additions
and
24 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
CHECKPOINT=adgen-chatglm-6b-ft-1e-4 | ||
STEP=3000 | ||
|
||
CUDA_VISIBLE_DEVICES=0 python3 main.py \ | ||
--do_predict \ | ||
--validation_file AdvertiseGen/dev.json \ | ||
--test_file AdvertiseGen/dev.json \ | ||
--overwrite_cache \ | ||
--prompt_column content \ | ||
--response_column summary \ | ||
--model_name_or_path ./output/$CHECKPOINT/checkpoint-$STEP \ | ||
--output_dir ./output/$CHECKPOINT \ | ||
--overwrite_output_dir \ | ||
--max_source_length 256 \ | ||
--max_target_length 256 \ | ||
--per_device_eval_batch_size 1 \ | ||
--predict_with_generate \ | ||
--fp16_full_eval |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div align="center"> | ||
<img src=wechat.jpg width="60%"/> | ||
|
||
<p> 扫码关注公众号,加入「ChatGLM交流群」 </p> | ||
<p> Scan the QR code to follow the official account and join the "ChatGLM Discussion Group" </p> | ||
</div> | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.