Fill-Mask
Transformers
Safetensors
PyTorch
English
Indonesian
bert
text-classification
token-classification
cybersecurity
named-entity-recognition
tensorflow
masked-language-modeling
Run this model with HF Jobs
Run codechrl/bert-micro-cybersecurity on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/codechrl/bert-micro-cybersecurity. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/codechrl/bert-micro-cybersecurity on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use codechrl/bert-micro-cybersecurity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use codechrl/bert-micro-cybersecurity with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="codechrl/bert-micro-cybersecurity")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("codechrl/bert-micro-cybersecurity") model = AutoModelForMaskedLM.from_pretrained("codechrl/bert-micro-cybersecurity", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training update: 1,598/237,655 rows (0.67%) | +1 new @ 2025-10-20 09:29:54
Browse filesFiles changed (4)
2 unmodified lines3456789101112131410151617141819202122232124252627282930283132338 unmodified lines4243444344454647484950505152538 unmodified lines6263646566656667682 unmodified lines- en- idtags:- bert- text-classification- token-classification- cybersecurity- fill-mask- named-entity-recognitionbase_model: boltuix/bert-microlibrary_name: transformers---
# bert-micro-cybersecurity
## 1. Model Details
**Model description** "bert-micro-cybersecurity" is a compact transformer model adapted for cybersecurity text classification tasks (e.g., threat detection, incident reports, malicious vs benign content).
- Model type: fine-tuned lightweight BERT variant - Languages: English & Indonesia- Finetuned from: `boltuix/bert-micro`- Status: **Early version** — trained on **0.59%** of planned data.- Status: **Early version** — trained on **0.67%** of planned data.
**Model sources** - Base model: [boltuix/bert-micro](https://huggingface.co/boltuix/bert-micro)- Data: Cybersecurity Data
## 2. Uses
### Direct use You can use this model to classify cybersecurity-related text — for example, whether a given message, report or log entry indicates malicious intent, abnormal behaviour, or threat presence.
8 unmodified lines- Not tested for non-cybersecurity domains or out-of-distribution data.
## 3. Bias, Risks, and Limitations
Because the model is based on a small subset (0.59%) of planned data, performance is preliminary and may degrade on unseen or specialized domains (industrial control, IoT logs, foreign language).Because the model is based on a small subset (0.67%) of planned data, performance is preliminary and may degrade on unseen or specialized domains (industrial control, IoT logs, foreign language).
- Inherits any biases present in the base model (`boltuix/bert-micro`) and in the fine-tuning data — e.g., over-representation of certain threat types, vendor or tooling-specific vocabulary.- Should not be used as sole authority for incident decisions; only as an aid to human analysts.
## 4. How to Get Started with the Model
```pythonfrom transformers import AutoTokenizer, AutoModelForSequenceClassification
8 unmodified lines```
## 5. Training Details
- **Trained records**: 1,398 / 237,619 (0.59%)- **Trained records**: 1,598 / 237,655 (0.67%)- **Learning rate**: 5e-05- **Epochs**: 3- **Batch size**: 11223version https://git-lfs.github.com/spec/v1oid sha256:c2cdb393c590e97126f470f40c54d65ffefdb8bbe59e24272f3416693d1a4986oid sha256:c8256fb20d6b61fe0310f53219033d25608c25418739f63cc54efbe6e6a2f833size 1767156012323version https://git-lfs.github.com/spec/v1oid sha256:141535d1c3044e612f8853b14d81e1fa4aaa4e2439becfdb8741a6cb1f511a76size 5841oid sha256:944823f3e9b0060cf3527486bbe82b1c34c2c3c5b3e9cefe53fa6360de9c5a72size 590512345678234567891011{ "trained_at": 1760940612.8562534, "trained_at_readable": "2025-10-20 06:10:12", "samples_this_session": 100, "new_rows_this_session": 100, "trained_rows_total": 1398, "total_db_rows": 237619, "percentage": 0.5883367912498579, "trained_at": 1760952594.7217977, "trained_at_readable": "2025-10-20 09:29:54", "samples_this_session": 1, "new_rows_this_session": 1, "trained_rows_total": 1598, "total_db_rows": 237655, "percentage": 0.6724032736529844, "final_loss": 0, "epochs": 3, "learning_rate": 5e-05README.md+8-9
model.safetensors+1-1
training_args.bin+2-2
training_metadata.json+7-7