【发布时间】:2020-10-22 18:05:31
【问题描述】:
我使用 pytorch 来训练 huggingface-transformers 模型,但是每个 epoch 总是输出警告:
The current process just got forked. Disabling parallelism to avoid deadlocks... To disable this warning, please explicitly set TOKENIZERS_PARALLELISM=(true | false)
如何禁用此警告?
【问题讨论】:
标签: pytorch huggingface-transformers huggingface-tokenizers