Giter VIP home page Giter VIP logo

transformers---nlp-experiments's Introduction

Transformers for NLP

1- Multiple Tasks of NLP

  • Sentence Classification (Sentiment Analysis): Indicate if the overall sentence is either positive or negative, i.e. binary classification task or logitic regression task.
  • Token Classification (Named Entity Recognition, Part-of-Speech tagging): For each sub-entities (tokens) in the input, assign them a label, i.e. classification task.
  • Question-Answering: Provided a tuple (question, context) the model should find the span of text in content answering the question.
  • Mask-Filling: Suggests possible word(s) to fill the masked input with respect to the provided context.
  • Summarization: Summarizes the input article to a shorter article.
  • Translation: Translates the input from a language to another language.
  • Feature Extraction: Maps the input to a higher, multi-dimensional space learned from the data.

Pipelines encapsulate the overall process of every NLP process:

  1. Tokenization: Split the initial input into multiple sub-entities with ... properties (i.e. tokens).
  2. Inference: Maps every tokens into a more meaningful representation.
  3. Decoding: Use the above representation to generate and/or extract the final output for the underlying task.

2 a- Extractive Summary - BERT & DIstill BERT

2 b- Abstarctive Summary - BART

3 - NER

Data set (https://www.kaggle.com/abhinavwalia95/entity-annotated-corpus)

transformers---nlp-experiments's People

Contributors

shreecharranr avatar

Watchers

 avatar

transformers---nlp-experiments's Issues

Abstractive summarizer is also producing extractive results

I have tried for multiple for times on multiple sets of data, but everytime the abstractive summarizer is giving results that are clearly extracted from the original text.
even the notebooks you shared has extractive results.
How to solve this.

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.