Downloads · 30 days
51
8% of all-time downloads
QuantumindSSI/01-quantum-resistant-crypto-analyzer
01-quantum-resistant-crypto-analyzer is a text generation model from QuantumindSSI. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A fine-tuned Small Language Model (SLM) that analyzes cryptographic protocol implementations and identifies quantum-vulnerable patterns, attack vectors, and NIST-aligned mitigations.
Downloads · 30 days
51
8% of all-time downloads
All-time downloads
653
Public
Parameters
494M
2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2 GB · 99%
From the Hugging Face model README
A fine-tuned Small Language Model (SLM) that analyzes cryptographic protocol implementations and identifies quantum-vulnerable patterns, attack vectors, and NIST-aligned mitigations.
| Attribute | Value |
|---|---|
| Developer | QuantumIndSSI Ltd |
| Base Model | Qwen/Qwen2-0.5B-Instruct |
| Architecture | Transformer decoder (causal LM) |
| Fine-tuning Method | LoRA (Low-Rank Adaptation) |
| LoRA Rank | 16 |
| LoRA Alpha | 32 |
| License | apache-2.0 |
| Metric | Target | Score |
|---|---|---|
| Perplexity | < 10.0 | TBD |
| Vulnerability Detection Rate | > 85% | TBD |
| Attack Vector Recognition | > 80% | TBD |
| Edge Latency (CPU) | < 1000ms | TBD |
| Memory Footprint | < 4GB | TBD |
model_id = "quantumindssi/01_quantum_resistant_crypto_analyzer"
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(model_id)
tokenizer = AutoTokenizer.from_pretrained(model_id)
prompt = """Analyze the following TLS 1.2 implementation for quantum-vulnerable patterns:
```python
context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
context.set_ciphers('RSA-AES256-GCM-SHA384')
Identify the vulnerability type, quantum attack vector, and recommend mitigations."""
inputs = tokenizer(prompt, return_tensors="pt") outputs = model.generate(**inputs, max_new_tokens=512) print(tokenizer.decode(outputs[0], skip_special_tokens=True))
## Limitations
- Not a substitute for certified security consultants or formal verification
- Synthetic training data may not capture all real-world edge cases
- English only
- Analysis is heuristic; false positives/negatives are possible
## Hardware Requirements
| Target | RAM | Notes |
|--------|-----|-------|
| Cloud GPU | 4GB | FP16 inference |
| Workstation | 3GB | INT8 quantized |
| Victron Edge | 2-3GB | INT8/INT4 quantized, CPU |
## Citation
```bibtex
@misc{01_quantum_resistant_crypto_analyzer,
title={Quantum-Resistant Cryptographic Protocol Analyzer},
author={QuantumIndSSI Ltd},
year={2026},
publisher={Hugging Face},
howpublished={\url{https://huggingface.co/quantumindssi/01_quantum_resistant_crypto_analyzer}}
}