šŸ¤– Gemini 2.0 Thinking

I recently learned, from the ever-illuminating Simon Willison, that Google has released a new model, gemini-2-0-flash-thinking-exp. So, naturally, I posed it a question, a little puzzle if you will. Given the following conditions, how many ways can Professor Y assign six different books to four different students? The most expensive book must be assigned to student X. Each student must receive at least one book. It took the model some time, a moment of digital contemplation, to complete the task. But it did, correctly yielding the answer 390. So now, alongside gpt-o1, we have another model capable of solving this combinatorial problem, a problem that, it must be said, eludes most of my students. It seems that these ā€œinference scalingā€ based models will be able to solve more such problems, each one a small victory for the silicon mind. Another reason, perhaps, why I no longer set homework and only give quizzes, a small act of surrender in the face of the inevitable. ...

December 20, 2024 Ā· 1 min Ā· Xing Shi Cai
Will can AI do for us today?

What Can AI Do?

I planned to give a talk on AIā€™s application at a local cafe. Unfortunately there was not a single one who signed up. In order to not to waste my entire effort in preparing for the talk, I translated my slides into a blog post. You can check out my original slides (in Chinese) here. šŸ˜Ø Will AI Threaten Humanity? šŸ¤– What is AI? Artificial Intelligence (AI) is a broad term encompassing various technologies. Here are some key areas: ...

November 1, 2024 Ā· 9 min Ā· Xing Shi Cai
Can LLM Write Poems?

LLM and Tang Ying

For some random reason, I decided to test whether ChatGPT and Claude could write poems in an ancient Chinese style. So, I sent Claude 18 poems by Tang Yin (唐åƅ, 6 March 1470 ā€“ 7 January 1524) and asked it to compose three new ones in Tangā€™s style. The initial results were impressive but sounded a bit modern, so I asked ChatGPT to revise them. Afterward, I gave them back to Claude, asking it to change any words that sounded modern. Below are four poems: one by Tang Yin and three by AI. If you can guess which is which without Googling, I would say you are an expert in ancient Chinese poetry. ...

October 26, 2024 Ā· 1 min Ā· Xing Shi Cai

Using Claude to Visualize Algorithms

I have been trying to use the Large Language Model (LLM) Claude to generate artifacts (apps written in JavaScript and HTML) to visualize algorithms for my COMPSCI 308 course. It works amazingly well. If I had to write them myself, it would have taken hours. It also has the added benefit that I can run them in a browser on my iPad, which I use for teaching. Previously the only way I found to run code on iPad is to use Wolfram Player, which is quite buggy. ...

October 23, 2024 Ā· 1 min Ā· Xing Shi Cai