maayanorner / MTLB-STRUCT

The MWE identification system, MTLB-STRUCT, participated in the PARSEME 1.2 Shared Task on semi-supervised identification of verbal multiword expressions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

This repository contains the code for the system MTLB-STRUCT participated in the PARSEME 1.2 shaed task on semi-supervised identification of verbal MWEs. The system is based on pre-trained BERT masked language modelling and jointly learns VMWE tags and dependency parse trees. The system ranked first in the open track of the shared task.

Project Structure

.
├── README.md
├── code
│   ├── berteval.py
│   ├── config
│   ├── corpus.py
│   ├── corpus_reader.py
│   ├── evaluation.py
│   ├── load_test.py
│   ├── main.py
│   ├── model.py
│   └──  preprocessing.py
└── requirements.txt

The requirements as listed in requirements.txt are:

How to Run the System

  1. Copy the data files from PARSEME 1.2 repository under the directory data, in the path data/1.2/{language}.
  2. Choose the configuration file from the /code/config/ directory or make your own config file with the same fileds as in the files in the config directory.
  3. Run main.py config/{config.json}

Reference

@article{Taslimipoor2020,
  author    = {Shiva Taslimipoor and
               Sara Bahaadini and
               Ekaterina Kochmar},
  title     = {MTLB-STRUCT @PARSEME 2020: Capturing Unseen Multiword Expressions 
               Using Multi-task Learning and Pre-trained Masked Language Models},
  year      = {2020},
  eprint={2011.02541},
  archivePrefix={arXiv},
  url       = {}
}

About

The MWE identification system, MTLB-STRUCT, participated in the PARSEME 1.2 Shared Task on semi-supervised identification of verbal multiword expressions.


Languages

Language:Python 100.0%