Code Monkey home page Code Monkey logo

cupit_2023's Introduction

General information

Our team participated in the CupIT competition in which we had to develop a language model for comment ranking in a social network. We were given a dataset with posts, where each post contains a post's text and texts of four comments to it. The comments were sorted by their rating. We conducted an EDA and decided to train DistilBERT for this task.

We used Pyhton3 and Google Collab for this task. We used such modules as:

  • scikit-learn
  • nltk
  • numpy
  • pandas
  • transformers
  • pytorch
  • matplotlib
  • json
  • textblob
  • textstat
  • spellchecker

After training the model acheived NDCG metric value of 0.88.

Overview

Ранжирование комментариев с помощью ML Кабанда_page-0001 Ранжирование комментариев с помощью ML Кабанда_page-0002 Ранжирование комментариев с помощью ML Кабанда_page-0003 Ранжирование комментариев с помощью ML Кабанда_page-0004 Ранжирование комментариев с помощью ML Кабанда_page-0005 Ранжирование комментариев с помощью ML Кабанда_page-0006 Ранжирование комментариев с помощью ML Кабанда_page-0007 Ранжирование комментариев с помощью ML Кабанда_page-0008

Some of the EDA histograms

Correlation between comment length and its rating (with 0 being the highest and 4 the lowest). image Distribution of positive/negative comments among all. image Correlation between the percentage of spelling mistakes in a commentary and its rating (with 0 being the highest and 4 the lowest). image

cupit_2023's People

Contributors

x-wheel-of-fortune avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

sonyasergeevass

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.