All Projects → lil-lab → Blocks

lil-lab / Blocks

Licence: gpl-3.0
Blocks World -- Simulator, Code, and Models (Misra et al. EMNLP 2017)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Blocks

Ciff
Cornell Instruction Following Framework
Stars: ✭ 23 (-41.03%)
Mutual labels:  natural-language-processing, reinforcement-learning, natural-language-understanding
Bert
TensorFlow code and pre-trained models for BERT
Stars: ✭ 29,971 (+76748.72%)
Mutual labels:  natural-language-processing, natural-language-understanding
Coursera Natural Language Processing Specialization
Programming assignments from all courses in the Coursera Natural Language Processing Specialization offered by deeplearning.ai.
Stars: ✭ 39 (+0%)
Mutual labels:  natural-language-processing, natural-language-understanding
Coursera
Quiz & Assignment of Coursera
Stars: ✭ 774 (+1884.62%)
Mutual labels:  natural-language-processing, reinforcement-learning
Nlp Recipes
Natural Language Processing Best Practices & Examples
Stars: ✭ 5,783 (+14728.21%)
Mutual labels:  natural-language-processing, natural-language-understanding
Conv Emotion
This repo contains implementation of different architectures for emotion recognition in conversations.
Stars: ✭ 646 (+1556.41%)
Mutual labels:  natural-language-processing, natural-language-understanding
Reading comprehension tf
Machine Reading Comprehension in Tensorflow
Stars: ✭ 37 (-5.13%)
Mutual labels:  natural-language-processing, natural-language-understanding
Leakgan
The codes of paper "Long Text Generation via Adversarial Training with Leaked Information" on AAAI 2018. Text generation using GAN and Hierarchical Reinforcement Learning.
Stars: ✭ 533 (+1266.67%)
Mutual labels:  natural-language-processing, reinforcement-learning
Spacy Transformers
🛸 Use pretrained transformers like BERT, XLNet and GPT-2 in spaCy
Stars: ✭ 919 (+2256.41%)
Mutual labels:  natural-language-processing, natural-language-understanding
Gsoc2018 3gm
💫 Automated codification of Greek Legislation with NLP
Stars: ✭ 36 (-7.69%)
Mutual labels:  natural-language-processing, natural-language-understanding
This Word Does Not Exist
This Word Does Not Exist
Stars: ✭ 640 (+1541.03%)
Mutual labels:  natural-language-processing, natural-language-understanding
Conversational Ai
Conversational AI Reading Materials
Stars: ✭ 34 (-12.82%)
Mutual labels:  natural-language-processing, reinforcement-learning
Speech Emotion Analyzer
The neural network model is capable of detecting five different male/female emotions from audio speeches. (Deep Learning, NLP, Python)
Stars: ✭ 633 (+1523.08%)
Mutual labels:  natural-language-processing, natural-language-understanding
Dl Nlp Readings
My Reading Lists of Deep Learning and Natural Language Processing
Stars: ✭ 656 (+1582.05%)
Mutual labels:  natural-language-processing, reinforcement-learning
Fast abs rl
Code for ACL 2018 paper: "Fast Abstractive Summarization with Reinforce-Selected Sentence Rewriting. Chen and Bansal"
Stars: ✭ 569 (+1358.97%)
Mutual labels:  natural-language-processing, reinforcement-learning
Machine learning examples
A collection of machine learning examples and tutorials.
Stars: ✭ 6,466 (+16479.49%)
Mutual labels:  natural-language-processing, reinforcement-learning
Seqgan
A simplified PyTorch implementation of "SeqGAN: Sequence Generative Adversarial Nets with Policy Gradient." (Yu, Lantao, et al.)
Stars: ✭ 502 (+1187.18%)
Mutual labels:  natural-language-processing, natural-language-understanding
Chat
基于自然语言理解与机器学习的聊天机器人,支持多用户并发及自定义多轮对话
Stars: ✭ 516 (+1223.08%)
Mutual labels:  natural-language-processing, natural-language-understanding
Insuranceqa Corpus Zh
🚁 保险行业语料库,聊天机器人
Stars: ✭ 821 (+2005.13%)
Mutual labels:  natural-language-processing, natural-language-understanding
Mongolian Bert
Pre-trained Mongolian BERT models
Stars: ✭ 21 (-46.15%)
Mutual labels:  natural-language-processing, natural-language-understanding

Blocks World Simulator, Code, and Models (Misra et al. EMNLP 2017)

Note: We are releasing a new software called the Cornell Instruction Following Framework (CIFF). CIFF provides a common interface for blocks corpus and three other corpuses. CIFF also contains implementation of various model and learning algorithm including asynchronous learning for faster training. All new developments on block world simulator and code will now be done with the CIFF framework. We won't be actively developing this repository.

Please follow the CIFF repository for new developments: https://github.com/clic-lab/ciff

Mapping Instructions and Visual Observations to Actions with Reinforcement Learning
Dipendra Misra, John Langford, and Yoav Artzi
In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), 2017.

simulation

The original environment was designed by Bisk et al. 2016, who also collected the data.

Run the Code in 60 Seconds (Requires only python 2.7)

In this section, we will run the oracle baseline on the devset. This will give an idea of the simulator and the code and does not requires any dependency besides python 2.7.

Supports: Linux (with Unity Desktop) (Mac build to be supported soon)

Requires: python2.7

Run a simple baseline

  1. Clone the code git clone https://github.com/clic-lab/blocks

  2. Go to ./blocks/BlockWorldSimulator/ and make the file linux_build.x86_64 executable by running:

    chmod 777 linux_build.x86_64

  3. Now run the file linux_build.x86_64 by double clicking.

    Choose the Fastest mode setting and any resolution (does not matter which resolution).

    Note: The screen will remain black and the window will be frozen until you run the python agent.

  4. Finally run the oracle baseline by running the following command in the home directory. May take 5-10 seconds for the simulator to be ready and before following command works.

    cd ./blocks/BlockWorldRoboticAgent/

    export PYTHONPATH=<location-of-blocks-folder>/BLockWorldRoboticAgent/:$PYTHONPATH

    python ./experiments/test_oracle.py

    You can similarly run python ./experiments/test_stop.py and python ./experiments/test_random.py to run stop and random walk baselines respectively.

  5. The log will be generated in ./blocks/BlockWorldRoboticAgent/log.txt and final number should match the numbers in the paper 0.35 mean distance error.

Instructions for running other baselines will come soon.


Production Release and pre-trained models coming soon ...

Attribution

@InProceedings{D17-1107,
  author = 	"Misra, Dipendra
		and Langford, John
		and Artzi, Yoav",
  title = 	"Mapping Instructions and Visual Observations to Actions with Reinforcement Learning",
  booktitle = 	"Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing",
  year = 	"2017",
  publisher = 	"Association for Computational Linguistics",
  pages = 	"1015--1026",
  location = 	"Copenhagen, Denmark",
  url = 	"http://aclweb.org/anthology/D17-1107"
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].