Skip to Content
Sunil Ramlochan

Sunil Ramlochan

Bridging AI theory with Practice and Implementation

523 posts

Posts by Sunil Ramlochan

How Self-Critique Improves Logic and Reasoning in LLMs Like ChatGPT Featured Post

One of the most impactful prompting techniques you can use is any method of self-critique. In this lesson, we decouple this from the most familiar promoting strategies and zoom in on this technique.

How Self-Critique Improves Logic and Reasoning in LLMs Like ChatGPT

Recent advances in large language models (LLMs) like GPT-3 have demonstrated their impressive capabilities. However, these models still make illogical errors and can benefit from self-critique - the ability to reflect on and improve their own outputs. Implementing effective self-critique in LLMs could make them more robust and trustworthy.

Integral Role in Advanced Prompt Engineering

The Self-Critique or Self-Reflection phase is not just a standalone feature but a foundational element in many advanced prompt engineering techniques.

Techniques such as "chaining," where answers are built upon sequentially to improve coherence; "tree-of-thought," which creates a structured, branching approach to thinking; and "relexion,

How Self-Critique Improves Logic and Reasoning in LLMs Like ChatGPT Read more

Hierarchical Collective Intelligence Networks (HCIN)

Beyond the limits of solitary intelligence, a new frontier is emerging in AI - one powered not by individual models, but by expansive collectives of specialized agents working together in symbiotic coordination. Welcome to the dawn of emergent cognition.

Hierarchical Collective Intelligence Networks (HCIN)

Review Generative AI Networks (GAINs) - A Framework for Multi-Agent Collaboration

GAINs leverage specialized AI agents, each with distinct capabilities, collaborating to solve complex challenges beyond individual agents.

Generative AI Networks (GAINs)
GAIN is a Prompt Engineering technique to solve complex challenges beyond the capabilities of single agents.
  • Heterogeneous agents have niche skills (language, vision, creativity etc.)
  • Central coordinator oversees collaboration
  • Agents communicate, provide feedback, reason collectively
  • Emergent intelligence greater than individual agents
  • Flexible contribution based on role suitability
  • Testing in isolation before integration
  • Autonomous operation once initiated
  • Ephemeral agents exist only
Hierarchical Collective Intelligence Networks (HCIN) Read more

Tapping into Creativity - The Challenge of Activating Imagination in AI

Creativity - the spark of human imagination - remains AI's final frontier. Unlocking true innovation in machines requires blazing new inroads into uncharted conceptual space.

Tapping into Creativity - The Challenge of Activating Imagination in AI

Creativity remains one of the most elusive human capabilities to cultivate in artificial intelligence. However, frameworks like the SLiCK model provide pathways to stimulate creative reasoning in large language models by forging new connections between concepts. With the right techniques, we can coax LLMs to make imaginative leaps beyond their training data.

Introduction

Imagination does not come naturally to machines. Creative thinking represents one of the biggest challenges in artificial intelligence, much like fostering innovation and visionary ideas in people. But creativity is not completely beyond the reach of today's LLMs. By understanding how knowledge is structured and processing is

Tapping into Creativity - The Challenge of Activating Imagination in AI Read more

Statistical or Sentient Part 2- Tokens and Thoughts

What drives the eerily human-like capabilities of large language models like GPT-3? Their artificial "minds" operate on a simple principle - predicting the next most likely token. Understanding these basic mechanics provides the key to unlocking their full potential through prompt engineering.

Statistical or Sentient Part 2- Tokens and Thoughts

In a previous article, we explored modelling the "mind" of large language models (LLMs) and how they process information. As debates continue about artificial general intelligence and whether LLMs could ever be truly sentient, it is important to dive deeper into understanding their core functions.

How do these artificial neural networks actually think and reason? What are the implications for properly steering their capabilities through prompt engineering?

This article will break down the fundamental nature of LLMs as next token predictors. Grasping this concept is key to utilizing them effectively and pushing AI advancements forward. By better understanding the mechanisms

Statistical or Sentient Part 2- Tokens and Thoughts Read more

Measuring How Much Leading AI Chatbots Hallucinate

Vectara recently introduced a unique leaderboard that ranks AI chatbots based on how well they avoid 'hallucinations.' Find out which AI comes out on top and why it matters!

Measuring How Much Leading AI Chatbots Hallucinate

Introduction

One of the concerns with modern AI chatbots is their tendency to "hallucinate" - to generate fictional facts and information that has no basis in reality. This issue came to prominence recently when a law firm got in trouble for submitting fake legal opinions generated by the AI tool ChatGPT. To better understand this problem, the company Vectara has created an "AI Hallucination Leaderboard" that ranks various leading chatbots based on their rate of hallucination.

Vectara's Evaluation Approach

Methodology

Vectara's approach involves feeding over 800 short reference documents to various LLMs and requesting factual summaries. The responses are then

Measuring How Much Leading AI Chatbots Hallucinate Read more

Optimizing Large Language Models to Maximize Performance

Getting the most out of large language models requires the artful application of optimization techniques like prompt engineering, retrieval augmentation, and fine-tuning. This guide explores proven methods for maximizing LLM performance.

Optimizing Large Language Models to Maximize Performance

In the previous articles, we explored the process of developing effective prompts from scratch. However, there are many cases where you inherit existing prompts that have degraded over time or are no longer optimal for current large language models.

Introduction to the AI Prompt Development Process
A 15-step methodology for crafting optimized AI prompts that tap into the full potential of AI systems. The process aims to maximize relevance, consistency and quality of outputs.

Optimizing large language models (LLMs) for real-world production applications remains one of the most persistent challenges in deploying

Optimizing Large Language Models to Maximize Performance Read more