{"id":28682408,"url":"https://github.com/balnarendrasapa/cybersecurity-ner","last_synced_at":"2025-10-22T10:54:51.203Z","repository":{"id":210322876,"uuid":"720888714","full_name":"balnarendrasapa/cybersecurity-ner","owner":"balnarendrasapa","description":"Named-Entity-Recognition for Cybersecurity. This repository contains code for fine-tuning a pretrained ner model with custom dataset","archived":false,"fork":false,"pushed_at":"2023-12-01T23:32:03.000Z","size":331,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-12-02T01:29:47.919Z","etag":null,"topics":["cybersecurity","fine-tuning","huggingface","named-entity-recognition","transformers"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/balnarendrasapa.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}},"created_at":"2023-11-19T22:21:09.000Z","updated_at":"2023-12-02T01:29:50.220Z","dependencies_parsed_at":"2023-12-02T01:29:50.081Z","dependency_job_id":"2f0b0274-3cf4-477e-ba9b-9e83d066db4c","html_url":"https://github.com/balnarendrasapa/cybersecurity-ner","commit_stats":null,"previous_names":["balnarendrasapa/cybersecurity-ner"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/balnarendrasapa/cybersecurity-ner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balnarendrasapa%2Fcybersecurity-ner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balnarendrasapa%2Fcybersecurity-ner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balnarendrasapa%2Fcybersecurity-ner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balnarendrasapa%2Fcybersecurity-ner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/balnarendrasapa","download_url":"https://codeload.github.com/balnarendrasapa/cybersecurity-ner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balnarendrasapa%2Fcybersecurity-ner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259747207,"owners_count":22905313,"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":["cybersecurity","fine-tuning","huggingface","named-entity-recognition","transformers"],"created_at":"2025-06-14T02:09:06.463Z","updated_at":"2025-10-22T10:54:46.167Z","avatar_url":"https://github.com/balnarendrasapa.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Named-Entity-Recognition for Cybersecurity\n\n\u003ca href=\"https://colab.research.google.com/github/balnarendrasapa/cybersecurity-ner/blob/master/Fine_tune_for_Cybersecurity_NER.ipynb\" target=\"_parent\"\u003e\u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/\u003e\u003c/a\u003e\n\n- This project is about building a NLP model that can be used for Named-Entity-Recognition in the field of Cybersecurity.\n- `distilbert-base-uncased` pretrained model was used in this project. This model is fine-tuned for this project's purpose.\n- To open the project, Click on the above google colab badge.\n\n## Dataset\n\n- MITRE Dataset is taken to train the model. The dataset is available in this repository as `MITRE.zip`. or Click [here](https://github.com/balnarendrasapa/cybersecurity-ner/raw/readme/MITRE.zip) to download the dataset.\n- MITRE dataset is also uploaded to huggingface. click [here](https://huggingface.co/datasets/bnsapa/cybersecurity-ner) to go there.\n- You can also import the dataset by running the below code.\n\n```python\nfrom datasets import load_dataset\n\ndataset = load_dataset(\"bnsapa/cybersecurity-ner\")\n```\n\n## Metrics\n\n![image](https://github.com/balnarendrasapa/cybersecurity-ner/assets/61614290/ba74fb6c-1348-4d02-951d-2a01a5a018c8)\n\n## Huggingface\n\n- The finetuned model is available on the huggingface. click [here](https://huggingface.co/bnsapa/cybersecurity-ner) to go there.\n\n\n## Example\n\nI typed `abcde is a computer malware`. I defined the context such that it implies `abcde` is virus and model is able to capture that.\n\n![image](https://github.com/balnarendrasapa/cybersecurity-ner/assets/61614290/b97a37c8-a4d3-464f-a48b-a6adb21dced8)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalnarendrasapa%2Fcybersecurity-ner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalnarendrasapa%2Fcybersecurity-ner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalnarendrasapa%2Fcybersecurity-ner/lists"}