项目作者: justindujardin

项目描述 :
Prodigy thing(z)
高级语言: Python
项目地址: git://github.com/justindujardin/prodigy-scratch.git
创建时间: 2018-02-06T17:04:13Z
项目社区:https://github.com/justindujardin/prodigy-scratch

开源协议:

下载


If you don’t have homebrew, install it:

  1. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then install python3 and virtualenv:

  1. brew install python3
  2. sudo easy_install pip
  3. sudo pip install --upgrade virtualenv

create a virtualenv with Python3 inside of the root project folder, and activate the environment:

  1. virtualenv --system-site-packages -p python3 ./
  2. source ./bin/activate
  3. pip install -r requirements.txt
  4. python -m spacy download en

Then install your prodigy whl from file

  1. pip install ./prodigy-[etc-your-file].whl

Finally, run one of the examples from the project root:

  1. sh recipes/textcat_attention_weights.sh