We received feedback on the bot being repetitive as a result of it's task-focused prompting
It was task-focused because we didn't know how to prompt for *objective discovery*
We'd been thinking about this for a while, but the answer was right in front of us the whole time...
We were using very education-focused tokens in our prompts
Our dialogue was very pedagogical by design, and that was likely leading us to a point in the model's latent space that contained token distributions very biased towards traditional education
Through this lens, it makes sense that its behavior reflected that of a well-trained educator
But we want to give students superpowers, not embody all the teachers they've likely had...
We had to re-think our prompting
Leaning into the theory of mind capabilities, we made the (counter-intuitive?) decision to pay *more respect to the model's intellectual capabilities*
We are letting the model *write its own system prompts* based on what IT thinks the user needs
(user, not student - less bias)
This made all the difference
GPT-4 is able to both make a reasonable prediction as to why someone said something AND list out things it'd need to improve its prediction
It's constantly updating its prompts - it never has to "decide" you have a specific objective
(v bayesian)
Even more impressive - its ability to determine whether to act on its prediction or gather more information from you
The education-focused team @Plastic_Labs set out to build a pedagogically-sound tutor, and we got quite crafty with langchain to make it happen... github.com/plastic-labs/t…
Trick number 1 was expert-level prompting. @LangChainAI supports few-shot prompt templates w/ dynamic example selection.
@courtlandleer wrote numerous dialogues on diverse passages to demonstrate to the model how to respond in various tutoring situations. github.com/plastic-labs/t…
Trick #2 uses 2 LLMChains for what's called "metaprompting".
i.e. the LM writes instructions for itself -- a thought chain to assess the student's needs & response chain to respond given that assessment.
Like everyone, I've been sitting here watching the fed print money and BTC just rocket 🚀 to the moon...
I'm no economics expert, but that seems like something worth looking into 🤔
I've been hooked on #cryptocurrency ever since. Here is my journey thus far...
(thread👇)
i came at it from an investing perspective. i "got" what the idea of $BTC was (decentralized, trust-less, etc), but there were all these other coins you could buy. WTF are they? what makes them different?
I wanted to do #cryptotrading ...but i wanted to write code and use my dev skills to automate it.
Spoiler alert: that's a huge technical effort and I'm not that smart
But the #crypto community has an open-source tool called Freqtrade that took care of like ~90% of the work...