如何在python文件中设置PYTHONHASHSEED

I'm trying to set PYTHONHASHSEED=0 in my python file and my python version is 3.6. I'm using Word2Vec model "(Word2Vec(description, min_count=1, size= 100, workers=3, window =3, sg = 1, seed=0))", i am not getting the consistent result.

有什么办法可以为我的python filename.py设置PYTHONHASHSEED吗?

评论