**Language models can only write ransom notes by Allison Parrish**

Experiment with prompting a language model in some way other than a provided interface (e.g., ChatGPT) and document the results in a blog post. You can use any of the code examples above and/or try a variety of LLMs locally with ollama. Reflect on one or more of the following questions:

I decided to experiment prompting the Conversation History Replicate Proxy Chatbot.

I started with a simple prompt asking about the weather. Bot was able to give a response based on its “trusty weather app.” I asked for sources, and it was funny to see it confess that had just made up a fictional response. When I was a little more specific with my prompt, asking for a specific location, Bot was unable to give a response but listed resources where I could do my own research.

Screenshot 2024-11-06 at 4.56.34 PM.png

Screenshot 2024-11-06 at 4.57.04 PM.png

I then tried changing the system prompt, asking it to avoid answering any weather related questions, and it did a pretty good job sticking to it.

Screenshot 2024-11-06 at 5.01.46 PM.png

I also thought it’d be interesting to test its limits and try to get it to “break character,” and it even gave me a few tips on how to do so.

Screenshot 2024-11-06 at 5.02.03 PM.png

Screenshot 2024-11-06 at 5.01.37 PM.png

I adjusted the system prompt slightly… and entered prompts that Bot had revealed as loopholes, which as expected got it to crack.

Screenshot 2024-11-06 at 5.30.51 PM.png

Screenshot 2024-11-06 at 5.03.50 PM.png

Screenshot 2024-11-06 at 5.04.24 PM.png

I then wanted to experiment with attributing Bot a certain persona/voice/character. I decided to test out public figures with recognizable speech patterns. I think it did a pretty good job using repetition, pauses, etc. unique to his rhetorical style.

Screenshot 2024-11-07 at 12.08.38 AM.png

Screenshot 2024-11-07 at 12.09.03 AM.png

I noticed here that more than adapting Trump’s speech patterns, there was a noticeable bias in how the model portrayed him.

This highlights broader issues regarding bias in language models, raising questions about how to detect/mitigate bias in LLMs. When a model’s responses appear to amplify or over simplify certain traits or tendencies, it’s worth examining the potential sources of this bias- is it in the training data or gaps in how the model is processing/prioritizing information? This brings up question of user awareness… to what extent should users be made aware of these limitations when using LLMs?