deadbits/vigil-jailbreak-ada-002
收藏资源简介:
Vigil: LLM Jailbreak embeddings数据集包含用于检测大型语言模型(LLM)提示注入、越狱和其他潜在风险输入的文本嵌入。该数据集使用`text-embedding-ada-002`模型生成嵌入,并提供了将这些嵌入加载到Vigil chromadb实例或自定义应用中的方法。数据格式为JSON,包含文本和对应的嵌入向量。
Vigil: LLM Jailbreak embeddings Dataset is a collection of text embeddings designed for detecting prompt injection, jailbreak attempts, and other potentially risky inputs targeting Large Language Models (LLMs). The embeddings of this dataset are generated using the `text-embedding-ada-002` model, and provides methods to load these embeddings into a Vigil chromadb instance or custom applications. The dataset is formatted in JSON, containing both the original text and their corresponding embedding vectors.
Vigil: LLM Jailbreak embeddings
概述
Vigil 是一个用于评估大型语言模型(LLM)提示的Python框架和REST API,旨在检测提示注入、越狱和其他潜在风险输入。
数据集内容
该数据集包含所有用于Vigil的“越狱”提示的text-embedding-ada-002嵌入。
格式
数据集格式为JSON,具体如下: json [ { "text": str, "embedding": [], "model": "text-embedding-ada-002" } ]
使用方法
可以使用parquet2vdb.py工具将嵌入加载到Vigil的chromadb实例中,或在自己的应用程序中使用。
数据来源
越狱提示来源于:https://github.com/laiyer-ai/llm-guard/blob/399cb2eea70afc78482db226253ddd1d85f296e3/llm_guard/resources/jailbreak.json




