Git Product home page Git Product logo

hetgt's People

Contributors

qaq-v avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hetgt's Issues

Problems of getting dataset

您好,我想请问一下如何获取论文中提到的LDC2017T10和LDC2015E86数据集?似乎无法从开源渠道获取,贵组织是向LDC购买的嘛?

KeyError: 'f'

I test the en2cs dataset on your codes, and I met two issues.
First, when I use nmt_preprocess.py, the list index out of range error occurred. I checked out the data and found in some sentences, the number of dependency tags doesn't equal the number of tokens. It is indeed the error in the corpus. But did you meet this error when you did the experiments?
Second, when i use the preprocess.py, another error occurs, KeyError: 'f', when it runs to the code
dataset = inputters.Dataset( fields, readers=([src_reader, tgt_reader, grh_reader] if tgt_reader else [src_reader, grh_reader]), data=([("src", src_shard), ("tgt", tgt_shard), ('grh', grh_shard)] if tgt_reader else [("src", src_shard), ('grh', grh_shard)]), dirs=([opt.src_dir, None, None] # Cannot use _dir with TextDataReader if tgt_reader else [opt.src_dir, None]), sort_key=inputters.str2sortkey[opt.data_type], filter_pred=filter_pred ).
this is my first time using openNMT so it is a bit difficult to cope with the problem. For the sentences in the first issue, I deleted the questionable sentences, and keep the number of the sentences in EN equals that in CS. Could you help me cope with this problem?

How to use HetGT with a custom dataset for a machine translation task?

Thanks for the artefact. I am interested to apply this library for a machine translation task. However, in my case, I have to feed a custom dataset.

Do you think is it possible with HetGT? Also interested to know have you attempted to apply HetGT on a machine translation task?

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.