wangyuxinwhy / uniem

unified embedding model
Apache License 2.0
826 stars 64 forks source link

进行评测时会报错,分叉可能会导致死锁. #115

Open TC9905 opened 10 months ago

TC9905 commented 10 months ago

🐛 bug 说明

huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks... To disable this warning, you can either:

Python Version

None

wangyuxinwhy commented 10 months ago

谢谢反馈,这看起来是 tokenizers 的问题,需要设置一下才行,我去读读文档看看要不要在脚本中自动添加这个环境变量。