Skip to content
/ PAL Public
forked from mengf1/PAL

This code is a re-implementation of Policy based Active Learning with DQN but using LSTM Tagger and PyTorch 2.0 instead of CRF Tagger and TF 1.0

Notifications You must be signed in to change notification settings

jpatra72/PAL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Readme.md To be Updated

Welcome to Learning how to Active Learn

Introduction

This source code is the basis of the following paper:

Learning how to Active Learn: A Deep Reinforcement Learning Approach, EMNLP 2017

Building

It's developed on TensorFlow.

Code

  • launcher_ner_bilingual: the starter of playing
  • game_ner: the game
  • robot: active learning policy
  • tagger

How to run

For example, we train an active learning policy on English and then apply the policy to German.

python launcher_ner_bilingual.py --agent "CNNDQN" --episode 10000 --budget 1000 --train "en.train;en.testa;en.testb;en.emb;en.model.saved" --test "de.train;de.testa;de.testb;de.emb;de.model.saved"

Data resource

About

This code is a re-implementation of Policy based Active Learning with DQN but using LSTM Tagger and PyTorch 2.0 instead of CRF Tagger and TF 1.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.7%
  • Shell 4.3%