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: 6,788/238,451 rows (2.85%) | +5 new @ 2025-10-23 02:48:14
Browse filesFiles changed (5)
- README.md+7-7
- config.json+1-1
- model.safetensors+1-1
- training_args.bin+1-1
- training_metadata.json+6-6
23 unmodified lines242526272829309 unmodified lines4041424344454628 unmodified lines757677787980818283848523 unmodified lines- Model type: fine-tuned lightweight BERT variant- Languages: English & Indonesia- Finetuned from: `boltuix/bert-micro`- Status: **Early version** — trained on **2.84%** of planned data.**Model sources**- Base model: [boltuix/bert-micro](https://huggingface.co/boltuix/bert-micro)- Data: Cybersecurity Data9 unmodified lines- Not optimized for languages other than English and Indonesian.- Not tested for non-cybersecurity domains or out-of-distribution data.## 3. Bias, Risks, and LimitationsBecause the model is based on a small subset (2.84%) 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 Model28 unmodified lines### Training Data- **Total database rows**: 238,451- **Rows processed (cumulative)**: 6,763 (2.84%)- **Rows in this session**: 25- **Training samples (after chunking)**: 25- **Training date**: 2025-10-23 02:45:29### Post-Training Metrics- **Final training loss**: 0.0000- **Rows→Samples ratio**: 1.00x (average chunks per row)23 unmodified lines242526272829309 unmodified lines4041424344454628 unmodified lines757677787980818283848523 unmodified lines- Model type: fine-tuned lightweight BERT variant- Languages: English & Indonesia- Finetuned from: `boltuix/bert-micro`- Status: **Early version** — trained on **2.85%** of planned data.**Model sources**- Base model: [boltuix/bert-micro](https://huggingface.co/boltuix/bert-micro)- Data: Cybersecurity Data9 unmodified lines- Not optimized for languages other than English and Indonesian.- Not tested for non-cybersecurity domains or out-of-distribution data.## 3. Bias, Risks, and LimitationsBecause the model is based on a small subset (2.85%) 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 Model28 unmodified lines### Training Data- **Total database rows**: 238,451- **Rows processed (cumulative)**: 6,788 (2.85%)- **Rows in this session**: 5- **Training samples (after chunking)**: 28- **Training date**: 2025-10-23 02:48:14### Post-Training Metrics- **Final training loss**: 0.0000- **Rows→Samples ratio**: 5.60x (average chunks per row)
16 unmodified lines1718192021222316 unmodified lines"num_hidden_layers": 2,"pad_token_id": 0,"position_embedding_type": "absolute","transformers_version": "4.57.0","type_vocab_size": 2,"use_cache": true,"vocab_size": 3052216 unmodified lines1718192021222316 unmodified lines"num_hidden_layers": 2,"pad_token_id": 0,"position_embedding_type": "absolute","transformers_version": "4.57.1","type_vocab_size": 2,"use_cache": true,"vocab_size": 30522
123version https://git-lfs.github.com/spec/v1oid sha256:983be3a2e9678daa96170b0969607343ac60dacf50afe2de4005fbdbb918d54dsize 17671560123version https://git-lfs.github.com/spec/v1oid sha256:b491119a6ad59eaf03a443d49a6f86d14c3db6e0a46ba05e54d82c319e907689size 17671560
123version https://git-lfs.github.com/spec/v1oid sha256:8ef5380f08e852850356b566ce57de8329dc2f88e4f45d0840e444f505dbe40bsize 5905123version https://git-lfs.github.com/spec/v1oid sha256:8004239770512ae458a8e909f7ac7c389c458a70bb8f5d47a2e8d72f65b2482dsize 5905
1234567891011{"trained_at": 1761187529.3583431,"trained_at_readable": "2025-10-23 02:45:29","samples_this_session": 25,"new_rows_this_session": 25,"trained_rows_total": 6763,"total_db_rows": 238451,"percentage": 2.8362221169129085,"final_loss": 0,"epochs": 3,"learning_rate": 5e-05,1234567891011{"trained_at": 1761187694.9856818,"trained_at_readable": "2025-10-23 02:48:14","samples_this_session": 28,"new_rows_this_session": 5,"trained_rows_total": 6788,"total_db_rows": 238451,"percentage": 2.846706451220586,"final_loss": 0,"epochs": 3,"learning_rate": 5e-05,
README.md+7-7
config.json+1-1
model.safetensors+1-1
training_args.bin+1-1
training_metadata.json+6-6