Giter Club home page Giter Club logo

fewxc's Introduction

FewXC (Few-shot Cross-lingual Conversational Research)

Official code and data release for Efficiently Aligned Cross-Lingual Transfer Learning for Conversational Tasks using Prompt-Tuning, accepted by findings of EACL 2024.

XSGD Data

https://console.cloud.google.com/storage/browser/multilingual-sgd-data-research

MASSIVE Data

Please refer to https://github.com/alexa/massive for data and pre-processing pipeline.

Backbone Model

XLM-RoBERTa series, https://huggingface.co/docs/transformers/model_doc/xlm-roberta

Examples

# NLI style intent classificaiton with MASSIVE dataset
CUDA_VISIBLE_DEVICES=0  python xlmr_massive_finetuning_nli.py \
--training_strategy 5 \
--learning_rate 1e-5 \
--training_data /export/home/xclm/1.1/parsed_data.train \
--intent_schema /export/home/xclm/1.1/parsed_data.intents \
--slot_schema /export/home/xclm/1.1/parsed_data.slots \
--dev_data /export/home/xclm/1.1/parsed_data.dev \
--prefix # turn on prefix tuning

# Regular intent classfication with MASSIVE dataset
CUDA_VISIBLE_DEVICES=0  python xlmr_massive_finetuning_vanilla.py \
--training_strategy 5 \
--learning_rate 1e-5 \
--training_data /export/home/xclm/1.1/parsed_data.train \
--intent_schema /export/home/xclm/1.1/parsed_data.intents \
--slot_schema /export/home/xclm/1.1/parsed_data.slots \
--dev_data /export/home/xclm/1.1/parsed_data.dev \
--prefix \
--task intent,slot

Citation

@inproceedings{
anonymous2024efficiently,
title={Efficiently Aligned Cross-Lingual Transfer Learning for Conversational Tasks using Prompt-Tuning},
author={Lifu Tu, Jin Qu, Semih Yavuz, Shafiq Joty, Wenhao Liu, Caiming Xiong, Yingbo Zhou},
booktitle={18th Conference of the European Chapter of the Association for Computational Linguistics},
year={2024},
url={https://openreview.net/forum?id=Lb4qW0NiIb}
}

fewxc's People

Contributors

qjin2016 avatar

Watchers

 avatar  avatar  avatar

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.