Giter Club home page Giter Club logo

arpa-paraphrase-corpus's Introduction

ARPA: Armenian Paraphrase Detection Corpus and Models

We provide sentential paraphrase detection train, test datasets as well as BERT-based models for the Armenian language.

To sentences in the dataset are taken from Hetq and Panarmenian news articles.

To generate paraphrase for the sentences, we used back translation from Armenian to English. We repeated the step twice, after which the generated paraphrases were manually reviewed. Invalid sentences were filtered out, while the rest were labelled as either paraphrase, near paraphrase or non-paraphrase (with 1, 0, -1 labels respectively). The sentences are divided into train and test sets. Test examples were reviewed by 3 different annotators. In addition, to increase the number of non-paraphrase pairs, we padded the dataset with automatically generated negative examples, including pairs of consecutive sentences and random pairs.

Number of examples Total Paraphrase Non-paraphrase (near paraphrase)
Train 4233 1339 2683 (211)
Test 1682 1021 448 (213)

We finetuned Multilingual BERT on several training sets, including the proposed ARPA dataset, and evaluated their performance on our test set. During training and evaluation, near paraphrase and non-paraphrase pairs were combined into one class. The results are provided below:

BERT Model Train set F1 Acc.
Multilingual BERT ARPA train set 84.27 78.06
Multilingual BERT Paraphraser.ru train set machine-translated into Armenian 83.81 77.09
Multilingual BERT MRPC train set machine-translated into Armenian 80.07 69.87
Multilingual BERT All of the above combined 84 77.6

The model trained on ARPA is available for use, and can be downloaded using this link.

For more details about the models and dataset construction, refer to the paper.

arpa-paraphrase-corpus's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.