Coder Social home page Coder Social logo

zliucr / mixed-language-training Goto Github PK

View Code? Open in Web Editor NEW
32.0 5.0 6.0 14.85 MB

Attention-Informed Mixed-Language Training for Zero-shot Cross-lingual Task-oriented Dialogue Systems (AAAI-2020)

License: MIT License

Python 100.00%
cross-lingual zero-shot task-oriented-dialogue low-resource multilingual nlu dst

mixed-language-training's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar

mixed-language-training's Issues

关于vocab和embed

你好,可以对nlu_emb的各个文件做下说明吗,比如使用的什么样的embedding,感谢~

DST在加载数据时,把验证集也用来训练了?

def load_data(params, dialogue_ontology, mapping=None):
    pri_turns_train = load_woz_data("data/dst/dst_data/tok_woz_train_en.json", "en", dialogue_ontology, mapping=mapping)
    pri_turns_val = load_woz_data("data/dst/dst_data/tok_woz_validate_en.json", "en", dialogue_ontology, mapping=mapping)
    val_count = len(pri_turns_val)
    pri_turns_train = pri_turns_train + pri_turns_val[0:int(0.75 * val_count)]

    tgt_pri_turns_val = load_woz_data("data/dst/dst_data/tok_woz_validate_"+params.trans_lang+".json", params.trans_lang, dialogue_ontology, mapping=mapping)
    tgt_pri_turns_test = load_woz_data("data/dst/dst_data/tok_woz_test_"+params.trans_lang+".json", params.trans_lang, dialogue_ontology, mapping=mapping)
    
    return pri_turns_train, tgt_pri_turns_val, tgt_pri_turns_test

看起来这里把英语的验证集的75%也加到训练集了。这样做是可以的么?如果这样做可以的话,那么为什么这个比例是75%?
可不可以把英语的测试集也加到训练集里?

The code version dependency

Hi Zihan,

Thank you for sharing the code of the paper. I'm trying to reproduce it now. I install torch==0.4.0 with your settings, but I have some problems. The error is as follows:
image

And I try the latest version torch==1.10.0, but another error is as follows:

9e527e475bc49c5d14b0f38ede070e7

Do you have any experience in solving them?

Regards,
Guojun

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.