venkycs/llm4security
Viewer β’ Updated β’ 65.8k β’ 40 β’ 10
How to use venkycs/llama-v2-7b-32kC-Security with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("togethercomputer/Llama-2-7B-32K-Instruct")
model = PeftModel.from_pretrained(base_model, "venkycs/llama-v2-7b-32kC-Security")This repository contains security-specific domain data collected using Stanford Alpaca. We want to express our gratitude to the Stanford Alpaca team for their valuable contributions. This dataset enhances our understanding of security-related language and supports the development of safer AI applications.
Acknowledgments - Special thanks to Stanford Alpaca for providing the tools and resources to gather security domain data.
For more information about Stanford Alpaca, visit their website.
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("togethercomputer/Llama-2-7B-32K-Instruct") model = PeftModel.from_pretrained(base_model, "venkycs/llama-v2-7b-32kC-Security")