No, GPT-4 Doesn’t Get Worse Over Time (FUD Debunked)

There has been a lot of drama on Twitter about the new Stanford UC Berkely collab paper titled “How Is ChatGPT’s Behavior Changing over Time?” (source) The paper’s authors selectively provide examples where newer versions of GPT-4 seem to perform “worse” and have “formatting mistakes” than older versions. The first evaluation they provide is the … Read more

Python OpenAI Streaming Completions

Set stream=True when calling the chat completions or completions endpoints to stream completions. This returns an object that streams back the response as data-only server-sent events. Streaming completion is an essential functionality offered by OpenAI, particularly useful in the implementation of real-time applications like live text generation or interactive conversational bots. Traditionally, this feature has … Read more

The Scarcest Resource on Earth

What is the scarcest desirable resource on Earth? Before you read on, I want you to commit to an answer. Is human time the scarcest resource? No. You can always produce more humans. Your human time might be limited but human time in general is a renewable resource. Is energy the scarcest resource? Well, no. … Read more

Llama 2: How Meta’s Free Open-Source LLM Beats GPT-4!

Meta (formerly Facebook) has released Llama 2, a new large language model (LLM) that is trained on 40% more training data and has twice the context length, compared to its predecessor Llama. Llama 2 is open-source so researchers and hobbyist can build their own applications on top of it. Llama 2 is trained on a … Read more

Pandas DataFrame Object: A Beginner’s Guide

When working with data in Python, one of the most powerful tools at your disposal is the pandas DataFrame. πŸ’‘ A DataFrame is a two-dimensional data structure, which essentially looks like a table with rows and columns. This versatile data structure is widely used in data science, machine learning, and scientific computing, among other data-intensive … Read more

What Is Finxter? Google Bard vs ChatGPT Response

What Is Finxter? Google Bard’s Reply πŸ‘‡ Here’s the reply from Google Bard: πŸ‘‡ Finxter is an online platform that provides educational resources for computer science and coding. Their primary goal is to boost the collective intelligence in the area of computer science. Among their users are beginner coders, ambitious computer science students, and professional … Read more

The AI Fact Generator: A Tapping Party for Your Brain

This AI Fact Generator will randomly generate a fact about artificial intelligence, machine learning, or data science. Click the button to see a new fact! πŸ‘‡ Change Fact πŸ’‘ Fact: Want to learn more about AI, ML, and DS? Join our free email academy with 150,000+ readers and download my simple coding cheat sheet. You’ll … Read more

Google Bard Extracts Code From Images (PNG, JPEG, WebP)

Consider the following screenshot of a code snippet: Let’s say I want to extract the code from the image. I don’t want to type it out. What can I do? I just discovered that Google Bard has sufficient image recognition skills that you can upload images and ask it to extract the code from the … Read more

How to Remove the Percentage % Sign and Convert to Number in Python

Problem Formulation Picture this: you’re extracting data from an XML file with a series of percentages. But your percentages look something like this: You’ve successfully extracted the data, but these percentages are tagged with the “%” symbol, making them strings rather than numbers. Now, let’s say you want to do something like: But with that … Read more

50 Activities a Humanoid Bot Could Do [Table]

I just completed an article on the possible stock price for Tesla if the Optimus bot reaches world domination. See here: πŸ“ˆ Recommended: Tesla Bot Valuation: $15,625 per Share Possible? To support the argument, here is the table of 50 activities that a humanoid robot could do: Activity Hourly Rate ($) Difficulty Required Skills Energy … Read more