Views
No views yet
Note: Model file is ~1 GB. First download in Colab will take 1-2 minutes.
1from huggingface_hub import hf_hub_download
2import importlib.util
3
4model_path = hf_hub_download("Reynier/dga-fanci", "fanci_dga_detector.joblib")
5model_py = hf_hub_download("Reynier/dga-fanci", "model.py")
6
7spec = importlib.util.spec_from_file_location("fanci_model", model_py)
8mod = importlib.util.module_from_spec(spec)
9spec.loader.exec_module(mod)
10
11model = mod.load_model(model_path)
12results = mod.predict(model, ["google.com", "xkr3f9mq.ru"])
13print(results)1@article{reynier2026dga,
2 title={DGA Multi-Family Benchmark: Comparing Classical and Transformer-based Detectors},
3 author={Reynier et al.},
4 year={2026}
5}