67 lines
3.1 KiB
JSON
67 lines
3.1 KiB
JSON
{
|
|
"model": "Qwen/Qwen3-0.6B",
|
|
"adapter": "adapters/sft-lora",
|
|
"n": 10,
|
|
"results": [
|
|
{
|
|
"id": "chat_1",
|
|
"kind": "general",
|
|
"query": "Explain what a hash map is in two sentences.",
|
|
"reply": "A hash map is a data structure that maps keys to values."
|
|
},
|
|
{
|
|
"id": "chat_2",
|
|
"kind": "code",
|
|
"query": "Write a Python function that reverses a string.",
|
|
"reply": "def reverse_string(s):\n return s[::-1]"
|
|
},
|
|
{
|
|
"id": "chat_3",
|
|
"kind": "general",
|
|
"query": "What's the difference between TCP and UDP?",
|
|
"reply": "TCP is a reliable, connection-oriented protocol that ensures that data is delivered intact and in order. It is used for applications such as email, file transfers, and remote login. UDP is a simple, connectionless protocol that provides no guarantees of delivery or order. It is used for applications such as video streaming, online gaming, and real-time data processing."
|
|
},
|
|
{
|
|
"id": "chat_4",
|
|
"kind": "code",
|
|
"query": "Write a bash one-liner to count the total lines across all .py files in a folder.",
|
|
"reply": "ls *.py | wc -l"
|
|
},
|
|
{
|
|
"id": "chat_5",
|
|
"kind": "general",
|
|
"query": "Give me three practical tips for better sleep.",
|
|
"reply": "1. Avoid caffeine and alcohol before bedtime\n2. Limit screen time before bedtime\n3. Create a relaxing bedtime routine"
|
|
},
|
|
{
|
|
"id": "chat_6",
|
|
"kind": "code",
|
|
"query": "Write a Python function to check whether a number is prime.",
|
|
"reply": "def is_prime(n):\n if n < 2:\n return False\n if n == 2:\n return True\n if n % 2 == 0:\n return False\n for i in range(3, int(n**0.5)+1, 2):\n if n % i == 0:\n return False\n return True"
|
|
},
|
|
{
|
|
"id": "chat_7",
|
|
"kind": "general",
|
|
"query": "I keep procrastinating on a side project. Give me concrete advice.",
|
|
"reply": "Procrastination is a common human experience. It can be helpful to break the project into smaller, manageable tasks. It can also be helpful to set a deadline for the project. It can also be helpful to find a supportive friend or family member to talk to."
|
|
},
|
|
{
|
|
"id": "chat_8",
|
|
"kind": "code",
|
|
"query": "Write a SQL query returning the top 5 customers by total order value from an orders table.",
|
|
"reply": "SELECT customer_id, total_order_value\nFROM orders\nORDER BY total_order_value DESC\nLIMIT 5"
|
|
},
|
|
{
|
|
"id": "chat_9",
|
|
"kind": "general",
|
|
"query": "Summarize the plot of Romeo and Juliet in three lines.",
|
|
"reply": "Romeo and Juliet meet and fall in love, but they are separated by water, so they travel to Friar Laurence's house to marry. Friar Laurence is a priest who is not in favor of the marriage, so he sends Romeo and Juliet to kill each other. Romeo is killed first, and Juliet is saved."
|
|
},
|
|
{
|
|
"id": "chat_10",
|
|
"kind": "code",
|
|
"query": "Write a Python list comprehension that returns the squares of even numbers from 0 to 20.",
|
|
"reply": "[ x*x for x in range(0, 21) if x%2 ==0 ]"
|
|
}
|
|
]
|
|
} |