Git Product home page Git Product logo

Comments (5)

ejld avatar ejld commented on September 24, 2024

修改为中文数据源,标签总共两类,每一个类别的数据样本条数是1000
格式类似 character1空格character2空格character3\tlabel
看最终看eval_result.txt文件准确率一直是0.5
但跟了下代码,输入与预期是相同,不知道为什么一直是0.5,有遇到类似的问题吗

中文数据需要用BERT chinese/multilingual

from bert-classification-tutorial.

LinkToPast1990 avatar LinkToPast1990 commented on September 24, 2024

除了楼上所说,还要修改学习率,如1e-6

from bert-classification-tutorial.

34127chi avatar 34127chi commented on September 24, 2024

修改为中文数据源,标签总共两类,每一个类别的数据样本条数是1000
格式类似 character1空格character2空格character3\tlabel
看最终看eval_result.txt文件准确率一直是0.5
但跟了下代码,输入与预期是相同,不知道为什么一直是0.5,有遇到类似的问题吗

中文数据需要用BERT chinese/multilingual

这个之前就已经改过了 确实是学习率的问题 感谢🙏

from bert-classification-tutorial.

34127chi avatar 34127chi commented on September 24, 2024

除了楼上所说,还要修改学习率,如1e-6

对 确实就是学习率 太大了 感谢感谢🙏

from bert-classification-tutorial.

chenbaicheng avatar chenbaicheng commented on September 24, 2024

@34127chi 学习率在哪里调的 依据是什么 ?

from bert-classification-tutorial.

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.