Giter VIP home page Giter VIP logo

Comments (3)

glample avatar glample commented on July 29, 2024

No, this is correct. In the case of language model training, sentences are attached one after each other in a stream. A stream looks like:

</s> sent_1_word_1 sent_1_word_2 ... sent_1_word_n </s> sent_2_word_1 sent_2_word_2 ... sent_2_word_m </s> sent_3_word_1 ...

In that setting, the model learns that the is used to both delimitate the beginning and the end of a sentence.

from xlm.

liujiqiang999 avatar liujiqiang999 commented on July 29, 2024

@glample Hi, what are the advantages of doing this ?Thank you.

from xlm.

glample avatar glample commented on July 29, 2024

I think this was the simplest way to combine MLM / CLM and MT training. It probably does not make a big difference as it should be easy for the model to understand the meaning of these symbols.

from xlm.

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.