Giter Club home page Giter Club logo

Comments (7)

sdws258 avatar sdws258 commented on June 9, 2024

截屏2022-07-31 下午3 09 29

from da-transformer.

hzhwcmhf avatar hzhwcmhf commented on June 9, 2024

@sdws258 Try removing this line

extra_include_paths=[os.path.join(module_path, "../../cub")],

If it works well, I will update a patch to fix the issue

from da-transformer.

bbo0924 avatar bbo0924 commented on June 9, 2024

@sdws258 Try removing this line

extra_include_paths=[os.path.join(module_path, "../../cub")],

If it works well, I will update a patch to fix the issue

It looks good to me

from da-transformer.

sdws258 avatar sdws258 commented on June 9, 2024

@sdws258 Try removing this line

extra_include_paths=[os.path.join(module_path, "../../cub")],

If it works well, I will update a patch to fix the issue

yeah, it works

from da-transformer.

sdws258 avatar sdws258 commented on June 9, 2024

I'm sorry that I have another question:
I run the DAG on IWSLT14 ENDE raw data, it appears one warning and causes one error:
截屏2022-08-03 下午9 24 47

截屏2022-08-03 下午9 25 26

Moreover, i find there is no result of IWSLT14 in DAG paper. Please tell me the result of it and how to fix the above problem in DAG.

from da-transformer.

hzhwcmhf avatar hzhwcmhf commented on June 9, 2024

max-source-positions and max-target-positions specify the max length of the samples. You should set it according to your dataset.
If you want to train with a sample whose target length is 132, max-target-positions should be set at least \lambda * 132, i.e., 1056 or larger if lambda=8.
Moreover, dropping some examples does not satisfy the length limitation is normal behavior (your 1st screenshot). But we usually don't drop valid or test samples for fair evaluation (2nd screenshot).

We do not have an official result on IWSLT14 for now. It will be appreciated if you can train a model and tell us your result.

from da-transformer.

Related Issues (12)

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.