Code Monkey home page Code Monkey logo

apln552_identifying-ai-generated-text_final-project's Introduction

APLN552_LLM-Project

AI-Generated Text Detection

This project aims to find machine learning models to detect AI-generated text from human-generated text.

Introduction

With the rise of AI-generated content, there is a growing need to distinguish between text generated by artificial intelligence systems and text authored by humans. This project addresses this challenge by leveraging machine learning techniques and feature engineering to classify text samples as either AI-generated or human-generated.

Methodology:

Three machine learning classifiers were trained and evaluated for essay classification:
• Naive Bayes
• Logistic Regression
• Random Forest
• DistilBERT

Feature engineering techniques were employed to augment the dataset and enhance classification performance. Three key features were engineered:
• Text Length
• Lexical Diversity
• Flesch Reading Ease

Evaluation metrics such as precision, recall, F1-score, and accuracy were used to assess the performance of each classifier.

DATASET

https://www.kaggle.com/datasets/thedrcat/daigt-v2-train-dataset (Report #2)

https://www.kaggle.com/competitions/llm-detect-ai-generated-text (Report #1)

Code Files

Sample size of 10000 with k-fold validation is implemented in ML models with 10000 sample

Sample size of 3000 with k-fold validation(Naive Bayes, Logistic Regression, Random Forest) is implemented in ML models with 3000 sample

Sample size of 3000 without k-fold validation(Naive Bayes, Logistic Regression, Random Forest and DistilBERT) is implemented in ML models with 3000 sample(without K-fold)

Note: Codes take several hours to run and give output. Therefore, outputs are added to the notebooks for initial review.

apln552_identifying-ai-generated-text_final-project's People

Contributors

ro468 avatar monira-enam-heya 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.