{"id":26321187,"url":"https://github.com/4darsh-dev/dark_pattern_detector_app","last_synced_at":"2025-03-15T16:16:32.667Z","repository":{"id":236850949,"uuid":"793279182","full_name":"4darsh-Dev/dark_pattern_detector_app","owner":"4darsh-Dev","description":"Dark Pattern Detection using fine Tuned BERT Model, powered by CogniGuard project with streamlit web app","archived":false,"fork":false,"pushed_at":"2024-06-18T11:15:53.000Z","size":1239,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T06:53:13.205Z","etag":null,"topics":["ai","bert","bert-fine-tuning","classification-model","deep-learning","nlp"],"latest_commit_sha":null,"homepage":"https://huggingface.co/spaces/4darsh-Dev/dark_pattern_detector_app","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/4darsh-Dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-28T22:37:22.000Z","updated_at":"2025-02-24T07:01:43.000Z","dependencies_parsed_at":"2024-04-28T23:30:03.124Z","dependency_job_id":"e53a618b-4119-4867-9abb-a2bcc9a1bddc","html_url":"https://github.com/4darsh-Dev/dark_pattern_detector_app","commit_stats":null,"previous_names":["4darsh-dev/dark_pattern_detector_app"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4darsh-Dev%2Fdark_pattern_detector_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4darsh-Dev%2Fdark_pattern_detector_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4darsh-Dev%2Fdark_pattern_detector_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4darsh-Dev%2Fdark_pattern_detector_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4darsh-Dev","download_url":"https://codeload.github.com/4darsh-Dev/dark_pattern_detector_app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243754075,"owners_count":20342543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","bert","bert-fine-tuning","classification-model","deep-learning","nlp"],"created_at":"2025-03-15T16:16:32.260Z","updated_at":"2025-03-15T16:16:32.657Z","avatar_url":"https://github.com/4darsh-Dev.png","language":"Jupyter Notebook","readme":"# Dark Pattern Detection using Fine Tuned BERT Model \nA web app built using streamlit powered by CogniGuard project \n\nLive url : https://huggingface.co/spaces/4darsh-Dev/dark_pattern_detector_app\n\n## Cogni-BERT Model Scores\n\n### Sweeps Training Hyperparametrs\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://onionreads.com/wp-content/uploads/2024/05/cogni-bert-12sweeps.png\" alt=\"BERT Fine-Tuned Sweep training \" width=\"600px\" /\u003e\n  \n\u003c/p\u003e\n\n### Best Model Report\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://onionreads.com/wp-content/uploads/2024/05/cogni-bert-report-12sweeps_page-0001.jpg\" alt=\"Cogni-BERT Best Model report \" width=\"600px\" /\u003e\n\n\u003c/p\u003e\n\n## Running Web App Locally\n\nTo run  web app locally, follow these steps:\n\n1.**Clone the Repo**:\n  ```bash\n  git clone https://github.com/4darsh-Dev/dark_pattern_detector_app.git \n  ```\n\n1. **Install Requirements**: \n\n    ```bash\n      pip install requirements.txt\n    ```\n\n\n2. **Run the Streamlit App**:\n\n    ```bash\n    streamlit run app.py\n    ```\n\n4. **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.\n\n5. **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.\n\n\n### Authors\n\n- [@4darsh-Dev(Adarsh Maurya)](https://github.com/4darsh-Dev)\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4darsh-dev%2Fdark_pattern_detector_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4darsh-dev%2Fdark_pattern_detector_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4darsh-dev%2Fdark_pattern_detector_app/lists"}