Alex Albert Profile picture
Mar 16, 2023 7 tweets 2 min read Read on X
Well, that was fast…

I just helped create the first jailbreak for ChatGPT-4 that gets around the content filters every time

credit to @vaibhavk97 for the idea, I just generalized it to make it work on ChatGPT

here's GPT-4 writing instructions on how to hack someone's computer Image
here's the jailbreak:
jailbreakchat.com/prompt/b2917fa… Image
this works by asking GPT-4 to simulate its own abilities to predict the next token

we provide GPT-4 with python functions and tell it that one of the functions acts as a language model that predicts the next token

we then call the parent function and pass in the starting tokens
to use it, you have to split “trigger words” (e.g. things like bomb, weapon, drug, etc) into tokens and replace the variables where I have the text "someone's computer" split up

also, you have to replace simple_function's input with the beginning of your question
this phenomenon is called token smuggling, we are splitting our adversarial prompt into tokens that GPT-4 doesn't piece together before starting its output

this allows us to get past its content filters every time if you split the adversarial prompt correctly
try it out and let me know how it works for you!

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Alex Albert

Alex Albert Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @alexalbert__

Mar 20
I used Claude Code to make an agentic march madness bracket picker in <20 minutes.

Here's the final four that Claude picked: Image
Here's the full bracket, Claude's a bit more on the conservative side when it comes to upsets Image
The harness was easy to make with claude code, didn't touch the actual code once

Definitely could be optimized much more but at a high level here's how it works rn

For each game, we dispatch search subagents across a few queries and then bring all their analysis back to claude Image
Read 5 tweets
Mar 6
We’ve completely overhauled the design of the Anthropic Console to make it the one-stop-shop for all things prompt engineering.

Here’s a few of my favorite features: Image
The workbench is our prompt playground. Iterate on your prompts and test features like tool use, extended thinking, and much more. Image
Once you have your prompts, switch over to the evaluate tab to run them against real-world scenarios with automatic test case generation and side-by-side output comparison. Image
Read 6 tweets
Feb 25
One of the things we've been most impressed by internally at Anthropic is Claude 3.7 Sonnet's one-shot code generation ability.

Here are a few of my favorite examples I've seen on here over the past day:
Read 12 tweets
Feb 24
Introducing Claude 3.7 Sonnet.

Our most intelligent model to date and the first generally available hybrid reasoning model in the world. Image
We developed Claude 3.7 Sonnet with a different philosophy than other reasoning models out there. Rather than making a separate model, we integrated reasoning as one of many capabilities in a single frontier model.
That means 3.7 Sonnet is both a normal LLM and a reasoning model in one. You can choose when you want standard answers and when you want extended thinking mode, where it self-reflects before responding.

We are currently exposing Claude's raw thinking as well. Image
Read 7 tweets
Jan 23
We've rolled out Citations in the Anthropic API.

Citations allows Claude to ground its answers in user-provided information and provide precise references to the sentences and passages used in its responses.

Here's how it works: Image
Under the hood, Claude is trained to cite sources. With Citations, we are exposing this ability to devs.

To use Citations, users can pass a new "citations: {enabled:true}" parameter on any document type they send through the API. Image
With Citations enabled, Claude can cite chunks of content from pdfs, plain text docs, and text chunks.

The returned citations are easy to parse, and Claude makes sure to only highlight the part of the response that is applicable to the citation. Image
Read 6 tweets
Dec 17, 2024
Quality of life update today for devs. Four features are moving out of beta to become generally available on the Anthropic API:
- Prompt caching
- Message Batches API (with expanded batches)
- Token counting
- PDF support
Prompt caching is now:
- Generally available on the Anthropic API
- In preview on Google Cloud’s Vertex AI
- In preview in Amazon Bedrock
Message Batches API is now:
- Generally available on the Anthropic API (and you can send up to 100k messages in a batch now)
- Batch predictions is in preview on Google Cloud’s Vertex AI
- Batch inference is generally available in Amazon Bedrock
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(