GithubHelp home page GithubHelp logo

kseseu / aaai-cml Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wutong8023/aaai-cml

0.0 1.0 0.0 11.56 MB

This repo is an implemetation of the paper Curriculum-Meta Learning for Order-robust Continual Relation Extraction

Python 100.00%

aaai-cml's Introduction

Curriculum-Meta Learning for Order-robust Continual Relation Extraction

This repo is an implemetation of the paper Curriculum-Meta Learning for Order-robust Continual Relation Extraction

Pretrain files

Because the size of pretrained embedding file is too large to upload, you can download and extract glove.6B.300d.txt file from the Link.

Requirements

You can use following script to install the dependencies.

pip install -r requirements.txt

Usage

To run the model on the FewRel dataset with default arguments, you can simply run the run.py file as following.

python run_fewrel.py

Change arguments in the __main__ method of run.py can lead to different experiment settings.

Following script can run the experiment on the FewRel dataset with setting, which uses cuda device 1, random seed 100, random task spliting, 100 instances for relation, batch size 50 and sequence offset 3.

python run.py --cuda_id=1 --random_seed=100 --task_arrange=random --train_instance_num=100 -batch_size=50 --sequence_index=3

Acknowledgement

This repo is published for the double-blind review.

aaai-cml's People

Contributors

abc-to-xyz avatar wutong8023 avatar

Watchers

 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.