Code Monkey home page Code Monkey logo

final-year-nlp-projects's Introduction

NLP Projects Showcase

This repository showcases four Natural Language Processing (NLP) projects using the Hugging Face Transformers library. Each project demonstrates different aspects of NLP, including question-answering, summarization, text generation, chatbot interactions, translation, sentiment analysis, and dataset handling.

Project 1: Question-Answering with MiniLM

  • Objective: Extracting information from a given context using the question-answering model.
  • Context: A narrative excerpt from a story.
  • Sample Question: "Whose daughter is Aadhya?"
  • Execution: Utilizes the MiniLM model from Hugging Face Transformers for question-answering.

Project 2: Summarization with DistilBERT

  • Objective: Generating an extractive summary of a given text.
  • Text: A verbose passage on the founding of Facebook.
  • Execution: Uses the DistilBERT-based summarization model for extracting key information.

Project 3: Text Generation with GPT-2

  • Objective: Generating synthetic text given an initial prompt.
  • Prompt: "Natural Language Processing is a growing domain in machine learning."
  • Execution: Utilizes the GPT-2 model for text generation, providing multiple synthetic outputs.

Project 4: Conversational Chatbot with Blenderbot

  • Objective: Simulating a conversation with a chatbot.
  • Conversation: Simulates a three-turn conversation with user inputs and bot responses.
  • Execution: Uses the Blenderbot small model for conversational interactions.

Project 5: Translation with T5

  • Objective: Translating a given English sentence to German and French.
  • Source Sentence: "Leo part-1 and Salar part-1 are the biggest hits of 2023."
  • Execution: Utilizes the T5 model for translation tasks.

Project 6: Sentiment Analysis with DistilBERT

  • Objective: Analyzing the sentiment of given poems.
  • Dataset: Uses a pre-labeled sentiment dataset from Hugging Face Datasets.
  • Execution: Fine-tunes a DistilBERT model for sentiment classification and evaluates on a test dataset.

Getting Started

  • Each project is organized in a separate folder with its own Python script.
  • Follow the instructions within each project's folder to run the code and reproduce the results.

Dependencies

  • Ensure you have the required dependencies installed by running pip install -r requirements.txt at the root of the repository.

Feel free to explore each project independently and adapt the code for your own NLP tasks. If you have any questions or suggestions, feel free to open an issue or reach out. Happy coding!


final-year-nlp-projects's People

Contributors

lp-the-coder avatar

Watchers

 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.