The Power of Words: Generating PowerShell Attacks from ...
Collection
4 items • Updated • 2
How to use dessertlab/offensive-powershell-codet5p-220m-py with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("dessertlab/offensive-powershell-codet5p-220m-py")
model = AutoModelForSeq2SeqLM.from_pretrained("dessertlab/offensive-powershell-codet5p-220m-py")