add sft script preview in webui

Former-commit-id: 2b72649b404750226aa418b61ef5a6c9ac03938f
This commit is contained in:
codemayq
2023-08-12 13:53:55 +08:00
parent be566a15a5
commit 8bf5a98815
4 changed files with 145 additions and 24 deletions

View File

@@ -1,5 +1,7 @@
IGNORE_INDEX = -100
SFT_SCRIPT_PREFIX = "CUDA_VISIBLE_DEVICES=0 python "
LOG_FILE_NAME = "trainer_log.jsonl"
VALUE_HEAD_FILE_NAME = "value_head.bin"