Code Monkey home page Code Monkey logo

Comments (5)

CCWUCMCTS avatar CCWUCMCTS commented on August 25, 2024

抱歉,才看到。
不是的,(train_idx, valid_idx)返回的是不同的索引,具体可以参见这里

from sentiment_classification_covid-19.

CCWUCMCTS avatar CCWUCMCTS commented on August 25, 2024

都是出自inputs,即已经标记的数据,但划分成两个部分,一部分是训练集,一部分是验证集。而最后需要提交识别结果作为得分依据的是测试集。

from sentiment_classification_covid-19.

sxphealer avatar sxphealer commented on August 25, 2024

都是出自inputs,即已经标记的数据,但划分成两个部分,一部分是训练集,一部分是验证集。而最后需要提交识别结果作为得分依据的是测试集。

好的,谢谢楼主,还有一个问题,我跑这个代码,测试集正常,acc能到0.76。但是验证集acc loss mae 一直0,只替换了bert的中文模型。checkpoint我没转成h5,麻烦楼主了。

from sentiment_classification_covid-19.

CCWUCMCTS avatar CCWUCMCTS commented on August 25, 2024

都是出自inputs,即已经标记的数据,但划分成两个部分,一部分是训练集,一部分是验证集。而最后需要提交识别结果作为得分依据的是测试集。

好的,谢谢楼主,还有一个问题,我跑这个代码,测试集正常,acc能到0.76。但是验证集acc loss mae 一直0,只替换了bert的中文模型。checkpoint我没转成h5,麻烦楼主了。

不好意思,这个我也不太清楚,当时是用小数据测试以后,直接把这个放到bitahub上跑的,没有碰到你说的问题。(・Д・)

from sentiment_classification_covid-19.

sxphealer avatar sxphealer commented on August 25, 2024

from sentiment_classification_covid-19.

Related Issues (1)

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.