Giter Site home page Giter Site logo

语料问题 about gpt2-chinese HOT 3 CLOSED

morizeyao avatar morizeyao commented on May 14, 2024
语料问题

from gpt2-chinese.

Comments (3)

Morizeyao avatar Morizeyao commented on May 14, 2024 3

一般推荐至少1080Ti或者2080Ti以上。
对于小显存显卡,可以考虑修改config/model_config_small.json内内容,减小模型大小进行训练。

from gpt2-chinese.

Morizeyao avatar Morizeyao commented on May 14, 2024

你好,这个可以不用理会的。是pytorch-transformer里的tokenizer的一个自我检查。你可以改这个库的源码把这个提示关掉,也可以无视他。
hmm还有个办法,在 train.py 16行处修改:
full_tokenizer.max_len = 1e5
也行,就是也比较丑陋啦。

from gpt2-chinese.

chiangandy avatar chiangandy commented on May 14, 2024

非常感谢回应...
另外想请教一个环境问题...请问这执行环境是如何配置的?我用GTX 1070. 4G RAM跑不动,说memory 不够... 因为一般现在时下的显卡都只有8GB 的GRAM,一般显卡可以跑这BERT的模型吗?

from gpt2-chinese.

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.