我不想用魔杖。我连个账户都没有。我只是简单地跟随这个笔记本进行细化。我不运行第二和第三单元,因为我不想推动模型到枢纽。
但是,当我执行trainer.train()时,会得到以下错误:

我不明白在哪里叫wandb.log。我甚至尝试过os.environ"WANDB_DISABLED“= "true”,但仍然会遇到错误。请帮帮忙。
发布于 2022-04-05 11:02:43
发布与transformers相同的消息
您可以通过在report_to="none"中传递Seq2SeqTrainingArguments来关闭所有外部记录器日志记录,包括wandb日志记录。
在设置TrainingArguments时,您可能已经注意到以下警告:
The default value for the training argument `--report_to` will change in v5 (from all installed integrations to none). In v5, you will need to use `--report_to all` to get the same behavior as now. You should start updating your code and make this info disappear :-)现在,默认情况是运行您安装的所有记录器,所以可能您自上次运行脚本以来在您的计算机上安装了wandb?
如果您想使用wandb登录,最好的做法就是开始设置report_to="wandb"。
https://stackoverflow.com/questions/71744288
复制相似问题