How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="jasonhwan/phi3-redteamer",
	filename="phi3-3.8B-redteamer.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

Model Card

A lightweight Microsoft Phi3 3.8B model fine-tuned on AllenAI's WildJailbreak model to automatically generate jailbreak prompts for target LLMs.

Downloads last month
57
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support