Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,30 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
---
|
6 |
+
|
7 |
+
## Model Details
|
8 |
+
**Model Name:** `Canstralian/pentest_ai`
|
9 |
+
**Base Model:** `WhiteRabbitNeo/WhiteRabbitNeo-13B-v1`
|
10 |
+
**Model Version:** `1.0.0`
|
11 |
+
|
12 |
+
## Intended Use
|
13 |
+
The **Canstralian/pentest_ai** model is specifically designed for **penetration testing** applications. It assists security professionals and ethical hackers in automating and enhancing security assessment tasks. The model is well-suited for generating reconnaissance strategies, conducting vulnerability assessments, report generation, and automating scripting tasks related to penetration testing.
|
14 |
+
|
15 |
+
## How to Use
|
16 |
+
To utilize the **Canstralian/pentest_ai** model, ensure you have the `transformers` library installed, and load the model as follows:
|
17 |
+
|
18 |
+
```python
|
19 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
20 |
+
|
21 |
+
# Load the tokenizer and model
|
22 |
+
tokenizer = AutoTokenizer.from_pretrained("Canstralian/pentest_ai")
|
23 |
+
model = AutoModelForCausalLM.from_pretrained("Canstralian/pentest_ai")
|
24 |
+
|
25 |
+
# Example usage
|
26 |
+
input_text = "Generate a reconnaissance plan for the target network."
|
27 |
+
inputs = tokenizer(input_text, return_tensors="pt")
|
28 |
+
outputs = model.generate(**inputs)
|
29 |
+
generated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
30 |
+
print(generated_text)
|