EMBEDDIA / morphological-fasttext

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Morphological-fasttext

This repository contains code for evaluating morphological information injection into neural networks on NER task.

We strongly suggest that you run this code only on GPU-s, otherwise it takes to long to compute.

Setup and run

Install required packages:

pip install -r requirements

Download required fasttext models:

./download_models.sh

Specify path to cross_validation data, which must contain morphological information.

Create config.ini file (example in config.ini.example) and if necessary modify parameters in run.sh. Finally run training and evaluation:

./run.sh

About

License:MIT License


Languages

Language:Python 93.3%Language:Shell 6.7%