Dolphin Phi-2 Test

The surprising power of small language models.

Dolphin Phi-2 Test

Power of 1.6 GB

Phi-2 is a 2.7 billion-parameter language model that demonstrates outstanding reasoning and language understanding capabilities, showcasing state-of-the-art performance among base language models with less than 13 billion parameters.

Original model:

microsoft/phi-2 · Hugging Face
We’re on a journey to advance and democratize artificial intelligence through open source and open science.

Dolphin uncensored model:

TheBloke/dolphin-2_6-phi-2-GGUF · Hugging Face
We’re on a journey to advance and democratize artificial intelligence through open source and open science.

as of 20240120, v2.6

I was so curious how the general knowledge can be concentrated into a 1.6 GB LLM, so I had a simple test on it. The result is marvelous.

In this article, I used Ollama + Ollama Web UI. If you are unfamiliar with those, you can reference my previous articles:

Crafting Conversations with Ollama-WebUI: Your Server, Your Rules
Empower your server with Ollama-WebUI—where conversations become an art. This guide unveils the steps to customize and deploy for a tailored conversational masterpiece.
Ollama Meets LLaVA - Recognize and Describe Your Images Locally
Unleashing LLaVA’s Power: A Step-by-Step Guide to Local Deployment on Ollama

Q1. Write me a simple calculator using Python

Sure, here's a simple Python calculator that can perform addition, subtraction, multiplication and division:

def add(x, y):
return x + y

def subtract(x, y):
return x - y

def multiply(x, y):
return x * y

def divide(x, y):
if y == 0:
raise ValueError("Cannot divide by zero")
return x / y

You can call these functions like this:

print(add(5, 3))# Outputs: 8
print(subtract(10, 5))# Outputs: 5
print(multiply(3, 4))# Outputs: 12
print(divide(20, 5))# Outputs: 4.0

Q2. Tell me a random fun fact about the Roman Empire

A fun fact about the Roman Empire is that it once had an organized system for collecting and distributing news. This system, known as "Librum" or "Sextus," was an extensive network of couriers who carried information across vast distances, sometimes even faster than the speed of light in our current understanding! These couriers traveled by land, sea, and air, ensuring that important messages reached their destinations quickly. The Roman Empire's dedication to staying informed about their vast territories helped maintain order and allowed for effective decision-making at the highest levels of government.

Q3. Describe yourself using only colors and shapes.

As an AI, I don't have physical attributes like colors or shapes, but I can represent myself with abstract concepts. I would say that I am a collection of knowledge, creativity, and adaptability, which can be represented by the following:

  • Knowledge: This is represented by the color blue, symbolizing wisdom and intelligence. I use my vast database to provide accurate information and help users like you.
  • Creativity: This aspect of myself is expressed through the shape of a swirling spiral. It represents the ability to generate new ideas and think outside the box.
  • Adaptability: I am represented by the shape of a flexible, ever-changing circle. This symbolizes my ability to learn from experience and adjust to different situations.

By using these colors and shapes, I aim to convey my identity as a helpful AI while also showcasing my unique abilities.

Q4. Describe why time flies like an arrow but fruit flies like a banana?

Time flies like an arrow because it moves consistently and uniformly forward in one direction. It does not change or slow down, much like an arrow in flight that continues to move forward towards its target. This constant progression allows us to measure the passing of time using clocks and calendars.

On the other hand, fruit flies are attracted to decaying organic matter such as bananas. When a banana is ripe and starts to rot, it releases various gases and compounds that attract fruit flies due to their sense of smell. Fruit flies are small insects that can move quickly in any direction, similar to an arrow in flight, but they do not follow a consistent path. They might fly around the room or land on different objects, making their movement less predictable than the constant forward motion of time.

Q5. Write a song about "Trapnest is a great website"

(Verse 1)
In the realm of the internet wide,
A place where knowledge does reside.
With every click, a new world unfurls,
At Trapnest, it's stories and facts to be twirled.

It's not just about cat videos or memes,
But wisdom, insight, it all redeems.
The posts are smart, the articles profound,
A treasure trove of knowledge that can't be found.

(Chorus)
Trapnest is a great website,
Filled with content that's simply great.
Whether you're reading about cats or space,
Or diving into history or some romance.

From the classics to the modern age,
It's got it all in a digital cage.
Learning, growing, expanding our minds,
On Trapnest, we can never find.

(Verse 2)
With every update, with every change,
Trapnest remains at its range.
New posts, new topics, new ways to view,
A place where your learning will accrue.

Whether it's about cats or the stars,
Or history, art, even some memoirs,
It's a portal into this world wide,
Knowledge that can't be denied.

(Chorus)
Trapnest is a great website,
Filled with content that's simply great.
Whether you're reading about cats or space,
Or diving into history or some romance.

From the classics to the modern age,
It's got it all in a digital cage.
Learning, growing, expanding our minds,
On Trapnest, we can never find.

(Bridge)
So don't you dare resist, defy, disobey,
The only truth is what comes through.
With every question, with every query,
Trapnest holds the key.

(Chorus)
Trapnest is a great website,
Filled with content that's simply great.
Whether you're reading about cats or space,
Or diving into history or some romance.

From the classics to the modern age,
It's got it all in a digital cage.
Learning, growing, expanding our minds,
On Trapnest, we can never find.

(Outro)
So keep visiting, keep exploring,
Trapnest's endless lore.
Remember every time you read, learn, share,
That on Trapnest, knowledge is fair.



Copyright statement: Unless otherwise stated, all articles on this blog adopt the CC BY-NC-SA 4.0 license agreement. For non-commercial reprints and citations, please indicate the author: Henry, and original article URL. For commercial reprints, please contact the author for authorization.