Thirteen

Results 29 comments of Thirteen

是打开hugging face的时候加载不出来头像吗? 我也是这样

maybe you can create a env python =3.6

我试着增加语料 但是没有解决。 但是为了让train跑起来 我在分母都加了一个很小的值。 ![image](https://github.com/yangjianxin1/GPT2-chitchat/assets/100677199/21e28366-7bf1-4a6a-8b77-787f119d03eb) 代码确实是跑起来了

我在分母增加最小值的方法确实不可取: 导致后面训练的模型使用出现乱码: ![image](https://github.com/yangjianxin1/GPT2-chitchat/assets/100677199/2f425d01-3798-40a0-9a9b-36435f550391) 我再尝试去增加语料,谢谢你

我是在笔记本上运行。只有一张3060laptop。 我把os.environ['CUDA_VISIBLE_DEVICES'] = '2, 3' 改为了 os.environ['CUDA_VISIBLE_DEVICES'] = '0' 就可以运行了。 希望能够帮到你

![image](https://github.com/gunthercox/ChatterBot/assets/100677199/2ab26b14-575e-4050-a1ad-3f00288d1208) it is my way, hope help you.

结果可视化? 没准加一个tensorboard试试看

this way # 1 ![image](https://github.com/yangjianxin1/GPT2-chitchat/assets/100677199/67f73e1b-e86f-4056-9d29-26692790cf55) # 2 ![image](https://github.com/yangjianxin1/GPT2-chitchat/assets/100677199/2089998b-573b-4158-87cc-7eb5d9200158) # 3 ![image](https://github.com/yangjianxin1/GPT2-chitchat/assets/100677199/60acf826-9a48-4a1d-a3d9-ea0f60649043)

先确保你的终端在这个文件夹。 ``` cd your path python interact.py --no_cuda --model_path ./model/model_epoch40_50w ```

> 先确保你的终端在这个文件夹。 > > ``` > cd your path > python interact.py --no_cuda --model_path ./model/model_epoch40_50w > ``` 检查你的模型文件的位置,在model路径下即可使用此操作,若model与interact.py位于同一目录下,可以使用你的方法。 确保路径如下 ``` -- model ----model_epoch40_50w --interact.py ```