Giter Site home page Giter Site logo

Comments (10)

bh4ffu avatar bh4ffu commented on May 22, 2024

遇到了同样的问题,解决了么?大佬

from zero_nlp.

yuanzhoulvpi2017 avatar yuanzhoulvpi2017 commented on May 22, 2024

注意使用我发布的最新版本的代码!!!!!!!!!
data2数据已经是老版本的数据了。03-28日最新代码

from zero_nlp.

alin995 avatar alin995 commented on May 22, 2024

大概是用的旧的代码,之前也有人碰到过这个问题,是由于数据集被过滤后,变成空的了。用新的code02_训练模型全部流程.ipynb 不会碰到这个问题。

from zero_nlp.

bh4ffu avatar bh4ffu commented on May 22, 2024

我用新的 code02_训练模型全部流程.ipynb 可以跑通

from zero_nlp.

xiaoweiweixiao avatar xiaoweiweixiao commented on May 22, 2024

你们训练后有效果吗?我问模型属性相关的问题,还是之前chatglm模型的回答,没有纠正过来。

from zero_nlp.

cywjava avatar cywjava commented on May 22, 2024

参考作者的data2数据集里,问:你是谁?,我是良XXXX程序员训练的一个AI模型。。

看它用了多少数据量。 讲一次两次。它听不进去。。思维太固执了,据作者说要1600次。我估计 得准备几十上百轮吧。

from zero_nlp.

yuanzhoulvpi2017 avatar yuanzhoulvpi2017 commented on May 22, 2024

from zero_nlp.

yuanzhoulvpi2017 avatar yuanzhoulvpi2017 commented on May 22, 2024

from zero_nlp.

luieswww avatar luieswww commented on May 22, 2024

是的 发自我的 iPhone 在 2023年3月31日,11:45,chenyiwan @.> 写道:  参考作者的data2数据集里,问:你是信,我是良XXXX程序员训练的一个AI模型。。 看它用了多少数据量。 讲一次两次。它听不进去。。思维太固执了,据作者说要1600次。我估计 得准备几十上百轮吧。 — Reply to this email directly, view it on GitHub<#38 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHJRI6PESFC3GNR55RDV3ETW6ZHLVANCNFSM6AAAAAAWMXAT24. You are receiving this because you commented.Message ID: @.>

这个1600次是啥意思,就是说要准备1600次问你是谁,然后回答是xxx,就可以转变过来了?

from zero_nlp.

luieswww avatar luieswww commented on May 22, 2024

我一行行的运行的,到最后就报错了RuntimeError: self and mat2 must have the same dtype。

运行下面的代码:

 20 trainer = MyTrainer(
 21     model=model,
 22     tokenizer=tokenizer,

(...)
26 eval_dataset=tokenized_datasets["valid"],
27 )
---> 28 trainer.train()的时候

from zero_nlp.

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.