Downloads · 30 days
20
1% of all-time downloads
loresiensis/distilgpt2-emailgen-phishing
distilgpt2-emailgen-phishing is a text generation model from loresiensis. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
This model is a fine-tuned version of postbot/distilgpt2-emailgen-V2 on the Phishing & Ham Kaggle dataset.
Downloads · 30 days
20
1% of all-time downloads
All-time downloads
2.4K
Public
Parameters
88.2M
668 MB on disk
Likes
2
Public
Click a slice to open those files.
.bin334 MB · 50%
How the weights are stored.
F3281.9M · 93%
From the Hugging Face model README
This model is a fine-tuned version of postbot/distilgpt2-emailgen-V2 on the Phishing & Ham Kaggle dataset.
This phishing email generator has been created solely for educational purposes to enhance understanding and awareness of phishing techniques. It is strictly intended for legal and ethical use by researchers, cybersecurity professionals, and individuals interested in studying phishing attacks.
By accessing and utilizing this model, you agree to use it solely for educational and non-harmful purposes. We assume no liability for any misuse or unethical usage of this model.
Example of usage:
from transformers import GPT2LMHeadModel, GPT2Tokenizer
tokenizer = GPT2Tokenizer.from_pretrained('postbot/distilgpt2-emailgen-V2')
model = GPT2LMHeadModel.from_pretrained("loresiensis/distilgpt2-emailgen-phishing")
# Generate text
input_text = "Dear customer,"
input_ids = tokenizer.encode(input_text, return_tensors='pt')
output = model.generate(input_ids, max_length=100, temperature=0.7, do_sample=True)
output_text = tokenizer.decode(output[0], skip_special_tokens=True)
print(output_text)