Downloads · 30 days
15
28% of all-time downloads
frEEtom3/dolphin-cybersec
dolphin-cybersec is a machine learning model from frEEtom3. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Fine-tuned Dolphin-Mistral-7B model for cybersecurity research and education.
Downloads · 30 days
15
28% of all-time downloads
All-time downloads
54
Public
Parameters
7.2B
14.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors14.5 GB · 100%
From the Hugging Face model README
Fine-tuned Dolphin-Mistral-7B model for cybersecurity research and education.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("YOUR_USERNAME/dolphin-cybersec")
tokenizer = AutoTokenizer.from_pretrained("YOUR_USERNAME/dolphin-cybersec")
prompt = """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
What is SQL injection?
### Input:
### Response:
"""
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0]))
Educational and research purposes only. For learning about cybersecurity concepts and methodologies.