Code Monkey home page Code Monkey logo

Comments (4)

glample avatar glample commented on July 18, 2024

This kind of issues with fastBPE typically happens when you have too many BPE codes and a too small vocabulary.
What is your vocabulary size, and how many BPE codes are you trying to compute?

from unsupervisedmt.

ykkhan avatar ykkhan commented on July 18, 2024

Ok, I get it.
can you suggest how many code should i compute for dataset has 610 sentence in each file (train, test, valid). it is also not extract correct vocabulary. its only extract alphabets instead of words. as shown in image. it is computing just 93 vocabulary size.

Screenshot from 2020-09-08 13-23-17

for 610 sentences, I have tried different values in almost 200 to 1500 for BPE code. for each code value it is giving same issue.
Although dataset is very small, but at this time my task is to run this technique successfully. Next I will increase dataset.

from unsupervisedmt.

glample avatar glample commented on July 18, 2024

610 sentences is very small. I would simply use word level and not BPE in this case.
BPE is useful to reduce the vocabulary size and to avoid computing a softmax over hundred of thousands of elements. But in your case the vocabulary will be very small so you probably don't need BPE.

from unsupervisedmt.

ykkhan avatar ykkhan commented on July 18, 2024

ok, thanks for replying. can you guide me little bit more. which part of data.enfr.sh I should remove, what to insert in the code to this.

from unsupervisedmt.

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.