Code Monkey home page Code Monkey logo

Comments (4)

yzh119 avatar yzh119 commented on September 26, 2024

Hi @tanaka-jp , Thanks for your attention!

I haven't compared BPT with BERT/ALBERT because they are not directly comparable: BPT is a network structure that could act as the backbone of BERT/ALBERT.

The right way should be pre-training BPT-BERT on wiki/bookcorpus and compare how it performs against Transformer-BERT finetuned on GLUE/SuperGLUE. However, considering there are already many variants of pre-training strategies: RoBERTa, XLNet, SpanBERT(I think SpanBERT is a perfect match for BPT as both models span-level representation), ALBERT and ELECTRA, we think it better to keep the focus of this paper on the Transformer itself instead of a proposing a new network + a better pre-training framework.

Of course we are interested in improving BERT's using BPT, however I'm not so familiar with BERT pre-training(how to sample, how to set hyper-parameters), so the plan is postponed.

GloVe might be a little bit old. If necessary, I'll try replacing GloVe with pre-trained ELMO/BERT embedding(w/o fine-tuning) as the input in text-classification experiments and compare BPT against LSTM/CNN/Transformer and report the results in this repo, though I don't know if the numbers make too much sense.

from bpt.

tanaka-jp avatar tanaka-jp commented on September 26, 2024

谢谢你的回答。
我正在做一个text-classification类别的项目。
根据我的实验结果,ALBERT的精度比BERT高出明显一截。
在设备有限的条件下,因ALBERT对于GPU内存的需求比BERT要小,所以可以实现更大规模的模型。

考虑到BPT中,不同scale的span使得attention的计算量变小,
所以ALBERT+BPT的计算需求应该会更小,从而可以进一步提高模型规模。
我想应该会有更高的精度出来。

from bpt.

LiFXe avatar LiFXe commented on September 26, 2024

谢谢你的回答。
我正在做一个text-classification类别的项目。
根据我的实验结果,ALBERT的精度比BERT高出明显一截。
在设备有限的条件下,因ALBERT对于GPU内存的需求比BERT要小,所以可以实现更大规模的模型。

考虑到BPT中,不同scale的span使得attention的计算量变小,
所以ALBERT+BPT的计算需求应该会更小,从而可以进一步提高模型规模。
我想应该会有更高的精度出来。

您好,麻烦请问下您相关的尝试是否验证了猜想呢

from bpt.

yzh119 avatar yzh119 commented on September 26, 2024

Just a notification: the code on master branch is out-dated and might not be compatible with latest version of PyTorch (1.7) or DGL (0.5.2).
Please let me know if you found the code is not runnable and I'll do a refactor.

from bpt.

Related Issues (4)

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.