Skip to content

zhaoyanpeng/srltransfer

srl_base
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

The SRL development environment relies on a specific commit of Allennlp, and needs a patch to fix the compatibility problem of that commit.

Installing AllenNLP from source

git clone https://github.com/allenai/allennlp.git
INSTALL_TEST_REQUIREMENTS=true scripts/install_requirements.sh
pip install --editable .

Creating SRL development environment

git checkout 11d8327 -b patch
git checkout 385e66e -b srl_base
git checkout patch -- allennlp/semparse/domain_languages/domain_language.py
git branch -d patch

Running scripts

./executor/srl_toy.sh