Skip to content

4darsh-Dev/dark_pattern_detector_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dark Pattern Detection using Fine Tuned BERT Model

A web app built using streamlit powered by CogniGuard project

Live url : https://huggingface.co/spaces/4darsh-Dev/dark_pattern_detector_app

Cogni-BERT Model Scores

Sweeps Training Hyperparametrs

BERT Fine-Tuned Sweep training

Best Model Report

Cogni-BERT Best Model report

Running Web App Locally

To run web app locally, follow these steps:

1.Clone the Repo:

git clone https://github.com/4darsh-Dev/dark_pattern_detector_app.git 
  1. Install Requirements:

      pip install requirements.txt
  2. Run the Streamlit App:

    streamlit run app.py
  3. Access Your App: After running the command, Streamlit will start a local web server and provide a URL where you can access your app. Typically, it will be something like http://localhost:8501. Open this URL in your web browser.

  4. Stop the Streamlit Server: To stop the Streamlit server, go back to the terminal or command prompt where it's running and press Ctrl + C to terminate the server.

Authors

About

Dark Pattern Detection using fine Tuned BERT Model, powered by CogniGuard project with streamlit web app

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •