Git Product home page Git Product logo

Comments (6)

WThirteen avatar WThirteen commented on June 11, 2024 1

我试着增加语料 但是没有解决。
但是为了让train跑起来 我在分母都加了一个很小的值。
image
代码确实是跑起来了

from gpt2-chitchat.

Delimeng avatar Delimeng commented on June 11, 2024

问题解决了,是因为自己的语料太少了,可以增加一下语料的数量

from gpt2-chitchat.

Delimeng avatar Delimeng commented on June 11, 2024

1,他这个报错的原因就是分母的值为零,你加上一个很小的值确实会避免这个错误,但是对于模型的训练来说准确度很重要。
2,另外增加语料没有解决这个问题的话,还是你增加的语料的数量太少了,我的建议是你不要手动去增加语料,你去作者的链接里面找一下,我记得有语料的压缩包,把它下载下来。

from gpt2-chitchat.

Delimeng avatar Delimeng commented on June 11, 2024

from gpt2-chitchat.

WThirteen avatar WThirteen commented on June 11, 2024

我在分母增加最小值的方法确实不可取: 导致后面训练的模型使用出现乱码:
image
我再尝试去增加语料,谢谢你

from gpt2-chitchat.

Delimeng avatar Delimeng commented on June 11, 2024

from gpt2-chitchat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.