Model reference · open weights
DomURLs_BERT is an open-weight embedding model from amahdaouy. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | amahdaouy |
|---|---|
| Type | Embedding models |
| Task | Embeddings |
| Parameters (lead) | 111M |
| Context | 512 tokens |
| Runs with | transformers |
| Released | 2024-08-05 |
| Popularity | 1k downloads / month |
| Licence | Unknown |
About
DomURLs_BERT is a pre-trained BERT-based encoder adapted for detecting and classifying suspicious/malicious domains and URLs. DomURLs_BERT is pre-trained using the Masked Language Modeling (MLM) objective on a large multilingual corpus of URLs, domain names, and Domain Generation Algorithms (DGA) dataset.
Detecting and classifying suspicious or malicious domain names and URLs is fundamental task in cybersecurity. To leverage such indicators of compromise, cybersecurity vendors and practitioners often maintain and update blacklists of known malicious domains and URLs. However, blacklists frequently fail to identify emerging and obfuscated threats. Over the past few decades, there has been significant interest in developing machine learning models that automatically detect malicious domains and URLs, addressing the limitations of blacklists maintenance and updates. In this paper, we introduce DomURLs_BERT, a pre-trained BERT-based encoder adapted for detecting and classifying suspicious/malicious domains and URLs. DomURLs_BERT is pre-trained using the Masked Language Modeling (MLM) objective on a large multilingual corpus of URLs, domain names, and Domain Generation Algorithms (DGA) dataset. In order to assess the performance of DomURLs_BERT, we have conducted experiments on several binary and multi-class classification tasks involving domain names and URLs, covering phishing, malware, DGA, and DNS tunneling. The evaluations results show that the proposed encoder outperforms state-of-the-art character-based deep learning models and cybersecurity-focused BERT models across multiple tasks and datasets. The pre-training dataset, the pre-trained DomURLs_BERT encoder, and the experiments source code are publicly available.
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
@article{ElMahdaouy2026DomURLsBERT,
author = {El Mahdaouy, Abdelkader and
Lamsiyah, Salima and
Janati Idrissi, Meryem and
Alami, Hamza and
Yartaoui, Zakaria and
Berrada, Ismail},
title = {{DomURLs\_BERT}: Pre-trained BERT-based Model for Malicious Domains and URLs Detection and Classification},
journal = {Journal of Network and Systems Management},
year = {2026},
volume = {34},
number = {2},
pages = {36},
doi = {10.1007/s10922-025-10010-9},
url = {https://doi.org/10.1007/s10922-025-10010-9},
issn = {1573-7705},
}
@article{domurlsbert2024,
title={{DomURLs\_BERT}: Pre-trained BERT-based Model for Malicious Domains and URLs Detection and Classification},
author={Abdelkader {El Mahdaouy} and Salima Lamsiyah and Meryem {Janati Idrissi} and Hamza Alami and Zakaria Yartaoui and Ismail Berrada},
journal={arXiv preprint arXiv:2409.09143},
year={2024},
eprint={2409.09143},
archivePrefix={arXiv},
primaryClass={cs.CR},
url={https://arxiv.org/abs/2409.09143},
}
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use the code below to get started with the model.
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys domurls-bert for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (domurls-bert below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/embeddings \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"domurls-bert","input":"text to embed"}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.