{"id":25231479,"url":"https://github.com/notshrirang/spam-filter-using-albert","last_synced_at":"2025-07-19T20:07:59.024Z","repository":{"id":201017612,"uuid":"706558469","full_name":"NotShrirang/Spam-Filter-using-ALBERT","owner":"NotShrirang","description":"This project aims to build a spam filter using a fine-tuned ALBERT (A Lite BERT) Transformer model. The ALBERT model, pre-trained on a large corpus of text, is fine-tuned on a spam detection dataset to create an efficient and accurate spam filter.","archived":false,"fork":false,"pushed_at":"2024-05-07T04:07:20.000Z","size":210,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T15:29:32.147Z","etag":null,"topics":["albert","deep-learning","huggingface","nlp","text-classification","transformers"],"latest_commit_sha":null,"homepage":"https://spam-filter-using-albert.streamlit.app/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NotShrirang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-10-18T07:29:11.000Z","updated_at":"2025-03-28T16:20:09.000Z","dependencies_parsed_at":"2024-05-07T05:23:13.748Z","dependency_job_id":"ac359f13-3cc5-465c-9f5b-495a69f3aa05","html_url":"https://github.com/NotShrirang/Spam-Filter-using-ALBERT","commit_stats":null,"previous_names":["notshrirang/spam-filter-using-albert"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NotShrirang/Spam-Filter-using-ALBERT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotShrirang%2FSpam-Filter-using-ALBERT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotShrirang%2FSpam-Filter-using-ALBERT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotShrirang%2FSpam-Filter-using-ALBERT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotShrirang%2FSpam-Filter-using-ALBERT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NotShrirang","download_url":"https://codeload.github.com/NotShrirang/Spam-Filter-using-ALBERT/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotShrirang%2FSpam-Filter-using-ALBERT/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259330508,"owners_count":22841646,"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":["albert","deep-learning","huggingface","nlp","text-classification","transformers"],"created_at":"2025-02-11T12:28:48.896Z","updated_at":"2025-06-11T20:08:03.683Z","avatar_url":"https://github.com/NotShrirang.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spam Filter using ALBERT\n\nThis project aims to build a spam filter using a fine-tuned ALBERT (A Lite BERT) Transformer model. The ALBERT model, pre-trained on a large corpus of text, is fine-tuned on a spam detection dataset to create an efficient and accurate spam filter.\n\n## Table of Contents\n- [Overview](#overview)\n- [Usage](#usage)\n    - [Using the Classifier in Your Code](#to-use-this-classifier-in-your-code)\n    - [Installation](#installation)\n    - [Running the Streamlit Web App](#run-streamlit-web-app)\n- [License](https://github.com/NotShrirang/Spam-Filter-using-ALBERT/blob/main/LICENSE)\n\n## Overview\nA transformers based deep learning for binary text classification. There are 2 classes \"Spam\" and \"Not spam\".\nModel and dataset is deployed on HuggingFace.\n- Model: \u003ca href=\"https://huggingface.co/NotShrirang/albert-spam-filter\"\u003ehttps://huggingface.co/NotShrirang/albert-spam-filter\u003c/a\u003e\u003cbr\u003e\n- Dataset: \u003ca href=\"https://huggingface.co/datasets/NotShrirang/email-spam-filter\"\u003ehttps://huggingface.co/datasets/NotShrirang/email-spam-filter\u003c/a\u003e\n\n\n## Usage\n### To use this classifier in your code:\n```py\nfrom transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline\n\ntokenizer = AutoTokenizer.from_pretrained(\"NotShrirang/albert-spam-filter\")\nmodel = AutoModelForSequenceClassification.from_pretrained(\"NotShrirang/albert-spam-filter\")\n\nclassifier = pipeline('text-classification',\n                model=model,\n                tokenizer=tokenizer\n             )\n\nprediction = classifier(\"\u003cYour Text\u003e\")[0]\n```\n## Installation:\nTo run this project, you will need Python and Streamlit installed on your system. You can install the required packages using the provided `requirements.txt` file.\n1. Clone Repo:\n\n```sh\ngit clone https://github.com/NotShrirang/Spam-Filter-using-ALBERT.git\n```\n2. Change project directory:\n```sh\ncd Spam-Filter-using-ALBERT\n```\n3. Get requirements:\n```sh\npip install -r requirements.txt\n```\n\n## Run Streamlit Web App:\n\n```sh\nstreamlit run app.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotshrirang%2Fspam-filter-using-albert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotshrirang%2Fspam-filter-using-albert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotshrirang%2Fspam-filter-using-albert/lists"}