Article complete

Build ChatGPT-like Chatbot Using PaLM

The main contributor for the code, Phil Wang has also made alternatives to AlphaFold 2, DALL-E2, and Imagen

A whimsical illustration depicting a figure in a red cloak playing a flute, leading a crowd with Google logos for faces.

Key takeaways

  • Developers can create a ChatGPT-like chatbot using Google's PaLM model, which has significantly more parameters than GPT-3.
  • The implementation involves reinforcement learning with human feedback and is built on the PyTorch framework.
  • Phil Wang, a key contributor, has developed multiple AI models and has a substantial presence on GitHub.
  • Yannic Kilcher is also working on an open-source alternative to ChatGPT called Open-Assistant.
  • Google is actively developing practical applications for its AI models, positioning itself as a competitor to ChatGPT.

Takeaways drafted with AI from the article text.

Ever since its release, ChatGPT (built on GPT-3.5 API) has taken the internet by storm and made many developers experiment in building an open-source alternative. Finally, there is a way one can build a ChatGPT-like chatbot using open-source alternative to GPT-3 (175 billion parameters) – i.e. Google’s PaLM (540 billion parameters), alongside reinforcement learning with human feedback (RLHF) built on PyTorch. 

Check out a work-in-progress chatbot, similar to ChatGPT here.

The code is built exclusively for Python language and is implementable for PyTorch. Developers can build their own chatbot by training PaLM like an autoregressive transformer and then training the reward model using human feedback.

The main contributor for the code, Phil Wang (lucidrains) has also made alternatives to AlphaFold 2, DALL-E2, and Imagen, with PyTorch implementation and has more than 200 repositories on GitHub.

Read: Top 7 ChatGPT Alternatives

Another machine learning researcher and expert Yannic Kilcher is also building Open-Assistant, an open-source alternative to ChatGPT on Python -- something to look forward to in the coming months. 

Other ChatGPT-like Chatbots 

While ChatGPT has been making noise as Google Killer, Google is silently working on building a tangible product with real use cases. Recently, in collaboration with DeepMind, it introduced MultiMedQA (built on PaLM), a ChatGPT-like chatbot for healthcare.

Just a few days ago, there was another alternative made for ChatGPT that overcame its biggest limitation of being disconnected from the internet, Chatsonic. Though it works on the same architecture as ChatGPT, GPT-3.5, the ability to connect to the internet allows users to converse with it on real-time events.

Published

Spotted an error? Tell our editors. Read our editorial standards and corrections.

Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign

More in this story

GPT-3 · 3 stories
  1. You are here: Build ChatGPT-like Chatbot Using PaLM
  2. Crossing Treacherous Boundaries with AI Agents
  3. Stack Overflow’s Bumpy Ride to Gen AI Adoption 
About the author

Journalist

Mohit writes about AI in simple, explainable, and often funny words. He's especially passionate about chatting with those building AI for Bharat, with the occasional detour into AGI.

All stories
Belamy · Daily

The day’s AI news, before your first meeting.