From dd7633018d56efe41b90e10f00cd7c531c961a4e Mon Sep 17 00:00:00 2001 From: "majiahui@haimaqingfan.com" Date: Tue, 13 May 2025 17:10:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E6=AC=A1=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..f9ba551 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +### 训练脚本 + +```angular2html +bash bash run_train_2.sh +``` + +```angular2html +[INFO|trainer.py:2144] 2025-05-13 16:26:32,249 >> ***** Running training ***** +[INFO|trainer.py:2145] 2025-05-13 16:26:32,249 >> Num examples = 2,699 +[INFO|trainer.py:2146] 2025-05-13 16:26:32,249 >> Num Epochs = 5 +[INFO|trainer.py:2147] 2025-05-13 16:26:32,249 >> Instantaneous batch size per device = 1 +[INFO|trainer.py:2150] 2025-05-13 16:26:32,249 >> Total train batch size (w. parallel, distributed & accumulation) = 1 +[INFO|trainer.py:2151] 2025-05-13 16:26:32,249 >> Gradient Accumulation steps = 1 +[INFO|trainer.py:2152] 2025-05-13 16:26:32,249 >> Total optimization steps = 13,495 +[INFO|trainer.py:2153] 2025-05-13 16:26:32,250 >> Number of trainable parameters = 105,023,236 +{'loss': 1.6225, 'grad_norm': 0.6827912926673889, 'learning_rate': 1.925898480918859e-05, 'epoch': 0.19} + 4%|████▏ | 500/13495 [03:34<1:33:16, 2.32it/s] +``` + + +### 测试效果 + +```angular2html +python 批量测试结果.py +``` \ No newline at end of file