GithubHelp home page GithubHelp logo

Comments (5)

wangwei7175878 avatar wangwei7175878 commented on April 27, 2024

We currently have no plan to open source pre-training code, please refer to the paper for more details.

from alicemind.

kaansonmezoz avatar kaansonmezoz commented on April 27, 2024

Thanks for the clarification @wangwei7175878 .

I've tried to implement my own version of Word Structural Objective (WSO).
There were some parts in the paper unclear to me, so I had to come-up with my own solutions.

Could you please explain more about the following questions ?

  • Is it possible for a sentence to have more than one trigrams ?
  • Since WSO is a single-sentence task, did you calculate WSO loss from a real single sentence or sequence of sentences ? (i.e Did you predict shuffled tokens from [CLS] SentA [SEP] or [CLS] SentA. SentB. SentC [SEP])
  • Did you use same head for MLM and WSO (i.e Huggingface's BertOnlyMLMHead)? Since MLM and WSO are predicting tokens in the same way with different labels, MLM takes labels with masked tokens and WSO takes labels with shuffled tokens, same head can be used to predict token ids.

from alicemind.

wangwei7175878 avatar wangwei7175878 commented on April 27, 2024
  1. Yes, there can be more than one trigrams. Section 2.4: "5% of trigrams are selected for random shuffling"
  2. We calculate WSO loss from sequence of sentences.
  3. Yes, we use same head for MLM and WSO

from alicemind.

kaansonmezoz avatar kaansonmezoz commented on April 27, 2024

Thanks for the explanation @wangwei7175878

from alicemind.

luofuli avatar luofuli commented on April 27, 2024

Close this issue since it has been solved.

from alicemind.

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.