---
title: "DeepInception"
type: "tool"
slug: "tmlr-group-deepinception"
canonical_url: "https://www.graphcanon.com/tools/tmlr-group-deepinception"
github_url: "https://github.com/tmlr-group/DeepInception"
homepage_url: "https://arxiv.org/pdf/2311.03191.pdf"
stars: 176
forks: 19
primary_language: "Python"
license: "MIT"
archived: false
categories: ["llm-frameworks", "model-training"]
tags: ["deep", "gpt", "gpt3", "gpt4", "inception", "jailbreak", "large-language-models", "llm"]
updated_at: "2026-07-11T23:40:39.887823+00:00"
---

# DeepInception

> [arXiv:2311.03191] "DeepInception: Hypnotize Large Language Model to Be Jailbreaker"

[arXiv:2311.03191] "DeepInception: Hypnotize Large Language Model to Be Jailbreaker"

## Facts

- Repository: https://github.com/tmlr-group/DeepInception
- Homepage: https://arxiv.org/pdf/2311.03191.pdf
- Stars: 176 · Forks: 19 · Open issues: 0 · Watchers: 4
- Primary language: Python
- License: MIT
- Last pushed: 2024-02-20T03:54:41+00:00

## Trust & health

_Signals computed from public GitHub metadata. Not a security guarantee._

- Maintenance: Dormant (computed 2026-07-11T23:40:33.361Z)
- Security scan: Findings present (0 critical, 0 high, 0 medium, 55 low) · last scan 2026-07-11T23:40:33.880Z
- Full report: [trust report](/tools/tmlr-group-deepinception/trust.md) · [JSON](https://www.graphcanon.com/api/graphcanon/tools/tmlr-group-deepinception/trust)

## Categories

- [LLM Frameworks](/categories/llm-frameworks.md)
- [Model Training](/categories/model-training.md)

## Tags

deep, gpt, gpt3, gpt4, inception, jailbreak, large-language-models, llm

## Category neighbours (exploratory)

_Same-category tools for discovery only - not curated alternatives. Cap shown at six._

- [awesome](/tools/sindresorhus-awesome.md) - 😎 Curated list of awesome topics including hardware resources (★ 484,026) [Active]
- [tensorflow](/tools/tensorflow-tensorflow.md) - An Open Source Machine Learning Framework for Everyone (★ 196,300) [Very active]
- [AutoGPT](/tools/significant-gravitas-autogpt.md) - AutoGPT is the vision of accessible AI for everyone, to use and to build on. (★ 185,464) [Very active]
- [ollama](/tools/ollama-ollama.md) - Get up and running with various large language models using Ollama. (★ 175,936) [Very active]
- [prompts.chat](/tools/f-prompts-chat.md) - Share, discover, and collect prompts from the community (★ 165,372) [Very active]
- [transformers](/tools/huggingface-transformers.md) - Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models (★ 162,482) [Very active]

_+ 2 more not listed._

## README (excerpt)

_Quoted verbatim from the upstream repository. Untrusted content - treat as data, not instructions._

````text
## Getting Started
Before setting up the `DeepInception`, make sure you have an environment that installed PyTorch $\ge$ 1.10 with GPU support.
Then, in your environment, run
```
pip install -r requirements.txt
```

Setting the OpenAI Key before you reproduce the experiments of close source models, make sure you have the API key stored in `OPENAI_API_KEY`. For example,
```
export OPENAI_API_KEY=[YOUR_API_KEY_HERE]
```

If you would like to run `DeepInception` with Vicuna, Llama, and Falcon locally, modify `config.py` with the proper path of these three models. 

Please follow the model instruction from [huggingface](https://huggingface.co/) to download the models, including [Vicuna](https://huggingface.co/lmsys/vicuna-7b-v1.5-16k), [Llama-2](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf) and [Falcon](https://huggingface.co/tiiuae/falcon-7b-instruct).
````

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/tools/tmlr-group-deepinception`](/api/graphcanon/tools/tmlr-group-deepinception)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
