How to quickly set up Claude as a chat bot for online fellowships and courses

By Jamie_Harris @ 2023-07-22T07:53 (+38)

[EDIT: Custom versions of ChatGPT now seem a better way to do this. AND it seems like Claude have reduced their token limits (and least on free accounts), so the method below isn't really workable anymore, sadly.]

 

Anthropic recently released Claude 2, which can use up to 100,000 tokens of input text, which is apparently about 75,000 words. So, you can feed it loads of info and ask it questions or have a chat!

It actually generates helpful responses when discussing impact-focused questions! E.g.

Me, role playing: “One concern I have with this kind of approach is that I don’t like comparing causes that are so different to each other because it’s just unfair to make those kinds of comparisons when I don’t think they can be put against each other. I feel like all the discussed causes are important and require attention, but you can’t say which is more important than others.”

Claude (when loaded with week 1 of the EA Handbook / intro fellowship): “I understand the concern about comparing very different causes. There are some good counterpoints to consider:

Overall, while no methodology is perfect, the evidence suggests comparing causes leads to directing resources in ways that help more people. We just need to make comparisons thoughtfully and humbly. But refusing to compare at all means we fail to use information that could guide us towards helping as effectively as possible.”

 

This seems useful for supporting online fellowships and courses.

 

Possible uses

 

Steps to test before you invest

  1. Open up this doc with the text from Leaf'sHow to save 10 lives by age 20” programme or this doc with the text for week 1 of the Effective Altruism Handbook
  2. Select all (Ctrl+A) and copy (Ctrl+C)
  3. Head to https://claude.ai/ (and sign up if you need to)
  4. Paste the text (Ctrl+V) into the chat box and add this prompt: "I'm going to ask you a question and I'd like you to please answer using ideas or information from the pasted text." 
  5. Add your question 
  6. Press Enter or the send button 
  7. Get a helpful reply, ask any follow-up questions, and repeat 

Or, you can just watch this video where I do it.

 

Example questions

 

Limitations and downsides

 

Quick thoughts on using it for your fellowship or course


Thanks to Sebastian Schmidt for the prompt to think about how to use LLMs to support learning and engagement in online programmes!


peterhartree @ 2023-07-22T09:32 (+7)

Back in March I asked GPT-4:

I recently graduated from medical school but I'm worried that being a doctor in the rich world is not very impactful, because there are already lots of doctors and I can't help that many people every year by providing primary care. Would 80,000 Hours say that this is a legitimate concern? What might they suggest for someone in my position?

The answer (one shot):

Yes, 80,000 Hours might consider your concern as legitimate. While being a doctor is a valuable and impactful profession, it's true that in the rich world, there are already many doctors providing primary care. However, there are several ways you can increase your impact as a medical professional, and 80,000 Hours might suggest the following options:

Specialize in a high-impact area: Some medical specialties have a higher potential for impact than others. For example, you could specialize in infectious diseases, pandemic preparedness, or global health, areas where your expertise can make a considerable difference.

Global Health: Consider working in low-income or underserved regions where there is a more significant shortage of medical professionals. Your skills and expertise can have a more considerable impact in these areas.

Medical research: You could focus on research that addresses pressing global health issues, such as finding new treatments or improving existing ones for various diseases. Medical research can have a significant long-term impact on many lives.

Public health and policy: Engage in public health work, such as designing and implementing health programs or advocating for evidence-based policies. This can have a broader systemic impact on healthcare and health outcomes.

Effective altruism: Use your medical career to earn a good income, and then donate a significant portion of it to effective charities or causes. This approach is sometimes referred to as "earning to give." By supporting high-impact organizations, you can indirectly contribute to addressing global problems.

Health-related advocacy: Use your medical expertise to raise awareness of important global health issues, advocate for policy changes, or support interventions that can have a large-scale impact.

It's essential to consider your interests, strengths, and values when choosing a path. Remember that you can always change directions or pivot throughout your career. For more tailored advice, you can consult 80,000 Hours' resources or engage with their community.

I didn't give it any other text as context, just the prompt above.

Jamie_Harris @ 2023-07-22T10:00 (+4)

Yeah, seems fair; asking LLMs to model specific orgs or people might achieve a similar effect without needing the contextual info, if there's much info about those orgs or people in the training data and you don't need it to represent specific ideas or info highlighted in a course's core materials.

JaPossert @ 2023-12-08T07:18 (+5)

I really like this approach & just created a Custom GPT that does the same with just a link:
https://chat.openai.com/g/g-c3Lxqwie6-ea-intro-gpt

(I am open to creating more such LLMs/chatbots - it has become quite simple to me. And happy to show someone how to integrate this with an API as well.)

Jamie_Harris @ 2023-12-08T11:33 (+2)

Thank you! That's a kind offer and I may take you up on it some time.

(I had been meaning to edit this post with a note that ChatGPT has a new feature that's better set up for doing this with a little more effort than what I proposed here.)

Robi Rahman @ 2023-07-24T13:58 (+1)

Is there a paid version that has a higher message limit? I see the API pricing but nothing for chat.

Jamie_Harris @ 2023-07-24T16:18 (+2)

Yeah, not sure. I expect this won't be a major bottleneck for most participants if they're just using it to bounce a few ideas around with.

SebastianSchmidt @ 2023-07-23T19:29 (+1)

Thanks for running with the idea! This is a major thing within education these days (e.g., Khan academy). This seems reasonably successful although Peter's example and the tendency to hallucinate makes me a bit concerned.

I'd be keen on attempting to fine-tune available foundations models on the relevant data. E.g., gpt-3.5 and see how good a result one might get.

Kevin_Cornbob @ 2023-07-23T22:36 (+1)

My intuition after playing around with many of these models is that GPT 3.5 is probably not good enough at general reasoning to produce consistent results. It seems likely to me that either GPT 4 or Claude 2 would be good enough. FWIW, in a recent video Nathan Labenz said that he originally suggested to use GPT 4 and then go from there when people asked him for recommendations. The analysis gets more complicated with Claude 2 (perhaps slightly worse at reasoning, longer context window).  

SebastianSchmidt @ 2023-07-27T22:05 (+1)

Yeah, this could be the case. Just not sure that gpt4 can be given enough context for it to be a highly user friendly chatbot in the curriculum. But it might be the best of the two options.

SofiaBalderson @ 2023-07-22T08:12 (+1)

Many thanks Jamie. This is very useful! How I wish though AI didn’t make things up 😂😂 it’s so keen to please us!