ghosthets commited on
Commit
61d61d5
ยท
verified ยท
1 Parent(s): c764ecc

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +100 -0
README.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: README
3
+ emoji: ๐Ÿฆ€
4
+ colorFrom: yellow
5
+ colorTo: yellow
6
+ sdk: gradio
7
+ pinned: true
8
+ license: apache-2.0
9
+ thumbnail: >-
10
+ https://cdn-uploads.huggingface.co/production/uploads/678a345729f4e4a1d9941a70/XYYgGAOiEct9hUui8gbwn.webp
11
+ short_description: Cybersecurity-focused AI chatbot optimized for edge devices
12
+ language:
13
+ - en
14
+ pipeline_tag: text-generation
15
+ ---
16
+ ![Dex Banner](https://cdn-uploads.huggingface.co/production/uploads/678a345729f4e4a1d9941a70/XYYgGAOiEct9hUui8gbwn.webp)
17
+
18
+ ---
19
+ license: apache-2.0
20
+ tags:
21
+ - text-generation
22
+ - cybersecurity
23
+ - chatbot
24
+ - transformers
25
+ - edge-device-friendly
26
+ - dex-ai
27
+ datasets:
28
+ - suryanshp1/kali-linux-pentesting-data
29
+ - AlicanKiraz0/All-CVE-Records-Training-Dataset
30
+ language:
31
+ - en
32
+ library_name: transformers
33
+ pipeline_tag: text-generation
34
+ ---
35
+
36
+ # ๐Ÿ›ก๏ธ Dex โ€” Cybersecurity Chatbot AI (Made by `Dex-Community`)
37
+
38
+ **Dex** (Digital Exploit eXpert) is an AI model tailored for the cybersecurity and hacking community. It acts as a friendly chatbot that helps with:
39
+ - Cybersecurity topics
40
+ - Capture The Flag (CTF) guidance
41
+ - Basic exploit reasoning
42
+ - Code & payload understanding
43
+ - Custom AI assistant logic
44
+
45
+ ---
46
+
47
+ ## ๐Ÿ“Š Model Information
48
+
49
+ | Key Details | Value |
50
+ |-------------------|-------------------------------------|
51
+ | Model Name | `dexcommunity/dex` |
52
+ | Base Architecture | Causal Language Model |
53
+ | Framework | ๐Ÿค— Transformers |
54
+ | Optimized For | Edge devices (Raspberry Pi Zero etc)|
55
+ | Author | Gaurav Chouhan aka `ghosthets` |
56
+ | License | Apache-2.0 |
57
+
58
+ ---
59
+
60
+ ## โš™๏ธ Usage (Python Example)
61
+
62
+ ```python
63
+ from transformers import AutoTokenizer, AutoModelForCausalLM
64
+ import torch
65
+
66
+ tokenizer = AutoTokenizer.from_pretrained("dexcommunity/dex")
67
+ model = AutoModelForCausalLM.from_pretrained("dexcommunity/dex")
68
+
69
+ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
70
+ model.to(device)
71
+
72
+ def ask_dex(prompt):
73
+ inputs = tokenizer(f"User: {prompt}\nDex:", return_tensors="pt").to(device)
74
+ output = model.generate(inputs.input_ids, max_length=256, pad_token_id=tokenizer.eos_token_id)
75
+ return tokenizer.decode(output[0], skip_special_tokens=True).split("Dex:")[-1].strip()
76
+
77
+ print(ask_dex("Explain SQL Injection in simple words"))
78
+
79
+ โœ… Features
80
+
81
+ โœ… Lightweight & optimized for edge devices (e.g. Raspberry Pi Zero W/2W)
82
+ โœ… Helpful in CTF, Bug Bounty, and Penetration Testing topics
83
+ โœ… Trainable on your own dataset via LoRA or PEFT methods
84
+ โœ… Fine-tuned on initial cyber security corpora
85
+
86
+ ๐Ÿ”ฎ Future Plans
87
+
88
+ ๐Ÿง  Add OWASP Top 10 understanding
89
+ ๐Ÿ’ก Enhance with Exploit DB & CVE logic
90
+ ๐Ÿค– Hugging Face Space + GUI Gradio interface
91
+
92
+ ๐Ÿง  Made With ๐Ÿ’™ by
93
+ ๐Ÿ‘จโ€๐Ÿ’ป Gaurav Chouhan
94
+
95
+ Aka ghosthets ๐Ÿ‡ฎ๐Ÿ‡ณ
96
+ GitHub: ghosthets
97
+ LinkedIn: linkedin.com/in/ghosthets
98
+
99
+ ๐Ÿ“Ž License
100
+ Licensed under Apache-2.0. Use freely with attribution.