Giter Site home page Giter Site logo

authorship_verification's Introduction

Text-to-Text Transformer in Authorship Verification Via Stylistic and Semantical Analysis

Authorship verification has gained much attention in recent years, due to the emphasis placed on PAN@CLEF shared tasks.In authorship verification, linguistic patterns are analyzed to reveal information about the author of two or more texts in order to determine if they are written by the same author. We describe in this paper our authorship verification submission system and the deep neural network approach that will allow us to learn the stylistic and semantic features of authors in the contributors to the PAN@CLEF 2022 event [ 1 ], [2 ], [3]. The system uses the T5 language model as a base embedding layer, followed by CNN and an attention mechanism to extract local and contextual features. As a result of studying multiple language models and deep architectures, we obtained an accuracy of 91.79% on our test dataset which was manually created from a PAN-provided dataset. However, on the official PAN test set, our system obtained a 58.7% overall score.

Screenshot from 2023-02-22 15-02-45

Usages

Train Model:

python trainer.py

Test Model

python inferencer.py

authorship_verification's People

Contributors

marynj avatar ehsan-tavan avatar marsanteam avatar marynj1995 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.