Dex Banner


license: apache-2.0 tags: - text-generation - cybersecurity - chatbot - transformers - edge-device-friendly - dex-ai datasets: - suryanshp1/kali-linux-pentesting-data - AlicanKiraz0/All-CVE-Records-Training-Dataset language: - en library_name: transformers pipeline_tag: text-generation

๐Ÿ›ก๏ธ Dex โ€” Cybersecurity Chatbot AI (Made by Dex-Community)

Dex (Digital Exploit eXpert) is an AI model tailored for the cybersecurity and hacking community. It acts as a friendly chatbot that helps with:

  • Cybersecurity topics
  • Capture The Flag (CTF) guidance
  • Basic exploit reasoning
  • Code & payload understanding
  • Custom AI assistant logic

๐Ÿ“Š Model Information

Key Details Value
Model Name dexcommunity/dex
Base Architecture Causal Language Model
Framework ๐Ÿค— Transformers
Optimized For Edge devices (Raspberry Pi Zero etc)
Author Gaurav Chouhan aka ghosthets
License Apache-2.0

โš™๏ธ Usage (Python Example)

from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

tokenizer = AutoTokenizer.from_pretrained("dexcommunity/dex")
model = AutoModelForCausalLM.from_pretrained("dexcommunity/dex")

device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model.to(device)

def ask_dex(prompt):
    inputs = tokenizer(f"User: {prompt}\nDex:", return_tensors="pt").to(device)
    output = model.generate(inputs.input_ids, max_length=256, pad_token_id=tokenizer.eos_token_id)
    return tokenizer.decode(output[0], skip_special_tokens=True).split("Dex:")[-1].strip()

print(ask_dex("Explain SQL Injection in simple words"))

โœ… Features

โœ… Lightweight & optimized for edge devices (e.g. Raspberry Pi Zero W/2W)
โœ… Helpful in CTF, Bug Bounty, and Penetration Testing topics
โœ… Trainable on your own dataset via LoRA or PEFT methods
โœ… Fine-tuned on initial cyber security corpora

๐Ÿ”ฎ Future Plans

๐Ÿง  Add OWASP Top 10 understanding
๐Ÿ’ก Enhance with Exploit DB & CVE logic
๐Ÿค– Hugging Face Space + GUI Gradio interface

๐Ÿง  Made With ๐Ÿ’™ by
๐Ÿ‘จโ€๐Ÿ’ป Gaurav Chouhan

Aka ghosthets ๐Ÿ‡ฎ๐Ÿ‡ณ
GitHub: ghosthets
LinkedIn: linkedin.com/in/ghosthets

๐Ÿ“Ž License
Licensed under Apache-2.0. Use freely with attribution.
Downloads last month
2
Safetensors
Model size
0.1B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Spaces using dexcommunity/dex 2