String Seed of Thought: Prompting LLMs for Distribution-Faithful and Diverse Generation
- Using the example of “Can an LLM flip a coin in its head?” as an example of “probabilistic faithfulness and output diversity”
- Did 76% tails with prompts, showing bias in “frontier LLMs?”
- SSoT is a simple technique: we just add the following two instructions to the prompt given to the LLM. (1) Have the LLM generate a random string in its head first (without using a pseudo-random number generator, or PRNG), and (2) have it perform operations on that string in its head to simulate a coin flip.
- This reduced bias
- Real world application: increasing output diversity in open-ended tasks like creative writing. Just like with the coin flip, simply instructing the model to “generate a random string in your head and manipulate it to produce a diverse output” enables you to get much more varied responses from the exact same prompt.
- In practice, SSoT can be adopted by adding a few lines to the system prompt of your API calls.
How to Run a Local LLM on Your Phone (and Why You’d Want To) | Lifehacker
- The benefits are the same as on the desktop—you get an LLM that’s always available and private to you, with nothing sent back to Google, OpenAI, Anthropic, or anyone else. The downsides are that you’re going to get slower and more limited performance from your AI, as you’re dealing with smaller and less powerful models, and you might see a hit with battery life (these AI chats can be quite resource-intensive).
- RAM is actually a bigger consideration than chipset performance when it comes to running an AI model. You’re going to need 6GB or above for this to work at a satisfactory level, and 8GB or more is better for the larger models. Below 8GB, stick to 1-2B models—that B is for billion, and refers to the number of parameters in a model (essentially, how smart and versatile it’s going to be).
- There is a noticeable (and expected) slowness to the responses when you run LLMs on your phone, and a noticeable difference between AI model sizes—choosing a smaller model will get you answers significantly faster, even if they’re not quite as smart or complete. It’s worth experimenting with a few models just to find your own sweet spot between performance and speed.
Leave a Reply