LLaMA-Factory icon indicating copy to clipboard operation
LLaMA-Factory copied to clipboard

webui图片显示不出来报错以及模型未找到未保存提示

Open SpikeShaun opened this issue 8 months ago • 1 comments

Reminder

  • [X] I have read the README and searched the existing issues.

Reproduction

您好,我还有两个问题,第一个是webui页面,为什么损失图以及结果那里写着错误,并且损失图无法加载,记得之前报过一个错,但现在没了,大概意思是web图不是支持的模式这个样子,但一直都没能加载出图片来。 屏幕截图 2024-05-27 200318

第二个问题是:在训练数据集的时候,每几轮就会报出一句话:Could not find a config file in /mnt/workspace/.cache/modelscope/LLM-Research/Llama3-8B-Chinese-Chat - will assume that the vocabulary was not modified.

下面是我的模型使用以及路径选择,这个问题不止出现在选用这个模型和路径上,之前我选用chatglm3-6B的时候,也会弹出同样的话 屏幕截图 2024-05-27 202747

部分截取如下: {'loss': 0.2585, 'grad_norm': 1.3925185203552246, 'learning_rate': 4.9504312196213596e-05, 'epoch': 3.16} 6%|█▉ | 400/6300 [35:34<8:43:04, 5.32s/it][INFO|trainer.py:3719] 2024-05-27 20:13:25,291 >> ***** Running Evaluation ***** [INFO|trainer.py:3721] 2024-05-27 20:13:25,291 >> Num examples = 450 [INFO|trainer.py:3724] 2024-05-27 20:13:25,291 >> Batch size = 4 {'eval_loss': 0.27430033683776855, 'eval_runtime': 24.2481, 'eval_samples_per_second': 18.558, 'eval_steps_per_second': 4.66, 'epoch': 3.16} 6%|█▉ | 400/6300 [35:58<8:43:04, 5.32s/it[INFO|trainer.py:3410] 2024-05-27 20:13:49,539 >> Saving model checkpoint to saves/LLaMA3-8B-**Chat/lora/train_2024-05-27-19-21-33/checkpoint-400 /opt/conda/lib/python3.10/site-packages/peft/utils/save_and_load.py:154: UserWarning: Could not find a config file in /mnt/workspace/.cache/modelscope/LLM-Research/Llama3-8B-Chinese-Chat - will assume that the vocabulary was not modified. warnings.warn( [INFO|tokenization_utils_base.py:2513] 2024-05-27 20:13:49,597 >> tokenizer config file saved in saves/LLaMA3-8B-Chat/lora/train_2024-05-27-19-21-33/checkpoint-400/tokenizer_config.json [INFO|tokenization_utils_base.py:2522] 2024-05-27 20:13:49,597 >> Special tokens file saved in saves/LLaMA3-8B-Chat/lora/train_2024-05-27-19-21-33/checkpoint-400/special_tokens_map.json** 6%|█▉ | 405/6300 [36:25<11:39:13, 7.12s/it]05/27/2024 20:14:16 - INFO - llamafactory.extras.callbacks - {'loss': 0.2567, 'learning_rate': 4.9492e-05, 'epoch': 3.20}

Expected behavior

我希望图片可以显示,结果那里也不显示错误。

对于第二个问题,我想知道影不影响结果,如果不影响那就忽略了,如果影响,那请问一下如何解决这个问题,谢谢!

System Info

No response

Others

No response

SpikeShaun avatar May 27 '24 12:05 SpikeShaun