Git Product home page Git Product logo

fml_project's Introduction

Detect Group Bias in COVID-19 Anti-vax Detection Models (2022 Spring Fairness in Machine Learning)

  • Team members: Sheng-Tai Huang
  • Project paper: link

{Below is just some basics information you should include in your project README}

Description

{A summary of what the project is and does, the technology it employs, and the purpose behind the project.} {Provide a summary for the major directories and files and what they do. You can also provide a table of content here and link to seperate readme files.}

  • Pre-trained COVID BERT: link
  • Labeled ANTivax Data: link

Folders:

  • data/: raw Facebook data of each group
  • labeled/: labeled ANTiVax data and my labeled Facebook data

Files

Python

  • bertopic.ipynb: Extract embeddings from the fine-tuned COVID-Twitter-BERT and use BERTopic for topic modeling
  • covid-bert_finetune.ipynb: Fine-tune the COVID-Twitter-BERT by using ANTiVax data and assess on my collected Facebook data

R

  • clean_not_group.R: filter out groups that is not aligned to the target keywords, for example, filter out groups with "conservative" but are actually opposing conservative
  • generate_labeled_data.R: Data pre-processing for hydrating data
  • plot_bertopic.R: Scatter plots of BERTopic

Results

bertopic_result.csv: Embeddings and topic modeling results from the fine-tuned COVID-Twitter-BERT

Prerequisites

{If your project requires any applications or special configurations, you will place them in this section. List any requirements, packages, configurations, etc. Add in any special requirements for file system or database.}

Packages:

Python R
hdbscan, json, nltk, numpy, pandas, re, sklearn, tensorflow, transformers, umap data.table, dplyr, ggplot2, jsonlite

Inspiration

Authors

Sheng-Tai Huang: [email protected]

License

{Provide the license information, e.g.,} MIT

fml_project's People

Contributors

shengtaihuang 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.