Gemma3のVisionも試してみます。どこまでマリオのシチュエーションを理解してくれるのでしょうか。kun4232さんの記事を参考にgemma3-4b-itモデルをColab L4環境で試してみます。
大まかな状況は説明ができていますが、敵の数や土管の位置関係は分かっているかと思いきや、スーパーマリオのゲーム知識から引き出した遊び方とぐちゃぐちゃになった回答になりました。ゲームの目的は分かっているようなので、位置情報やキャラクターを示してあげるといいのでしょうか。そもそも、ゲームデータを豊富に学習しているわけでもないでしょう。お遊びでやってみていると、4bモデルも賢くなっているのが分かり楽しいです。
生成例:

これはどのようなシーンですか?
Okay, let's analyze this scene!
This is World 1-1 in Super Mario Bros.!
Here's what I'm seeing:
* **Mario:** He's on a brick platform, looking like he's about to jump.
* **Blocks:** There's a green pipe and a few brown bricks scattered around. Classic Super Mario!
* **Enemy:** There's a Goomba right below him, ready to stomp him if he doesn't jump.
* **Clouds:** Those fluffy white clouds are a staple of the game.
* **Score & Time:** 00000 and 380. I'm still early in the game, so I've got a long way to go!It's a really iconic starting level. Gotta be careful of those Goombas!
Do you want me to give you some tips for this level, or maybe talk about some strategies for the game in general?
マリオと敵の位置を出来るだけ正確に述べてください。
Okay, let's break down the scene! Here's my assessment as a seasoned Mario player:
**Mario:**
* **Position:** He's on a brick block, slightly to the left of the center of the screen. He's facing right, ready to jump.
* **State:** He's in his default running state.**Enemies:**
* **Goomba:** There are two Goombas.
* **Left Goomba:** Located on the left side of the screen, near the bottom.
* **Right Goomba:** Located on the right side of the screen, slightly higher up than the left Goomba.**Environment:**
* **Bricks:** A row of brown brick blocks stretches across the bottom of the screen.
* **Green Pipes:** There are two green pipes.
* **Left Pipe:** Located on the left side of the screen, near the bottom.
* **Right Pipe:** Located on the right side of the screen, slightly higher up than the left pipe.
* **Clouds:** There are two fluffy white clouds in the background.
* **Tree:** A small green tree is on the right side of the screen.**Overall:**
It's a classic Super Mario start! A good opportunity to jump on those Goombas and collect some coins. Gotta be careful of those pipes though!
Do you want me to analyze anything specific about this level, like the best strategy for getting through it, or maybe point out a hidden secret?
マリオと敵の位置をフォーマットに従って書き出してください。マリオの位置が(0,0)です。
### フォーマット例
0. Mario (0,0)
1. Goomba (3,5)Okay, let's analyze the screen and list the positions of Mario and the enemies!
Here's the breakdown:
0. Mario (0,0)
1. Goomba (6,5)
2. Goomba (8,5)
3. Koopa (12, 3)Let me know if you want me to analyze another screen! Wahoo!

マリオと敵の位置を出来るだけ正確に述べてください。
Okay, let's break down the scene! Here's my assessment as a seasoned Mario player:
**Mario:**
* **Position:** He's on the ground, slightly to the left of the middle of the screen. He's facing right, ready to jump.
* **State:** He's in his regular form, no power-ups.**Enemies:**
* **Goombas (x2):** Two Goombas are positioned on the brick platform to the right of Mario. They're facing him, ready to stomp him if he gets too close.
* **Koopa Troopa:** One Koopa Troopa is on the small green hill to the right of the Goombas. It's facing away from Mario.**Blocks & Pipes:**
* **Green Pipes (x2):** Two green pipes are positioned on the left side of the screen.
* **Brick Blocks:** There are several brick blocks scattered throughout the level, forming the basic platforming structure.**Other Elements:**
* **Cloud:** A small white cloud is in the top left corner of the screen.
* **Blue Sky:** The background is a simple blue sky.**Overall Impression:**
It's the start of World 1-1! A classic, straightforward level. Gotta watch out for those Goombas and the Koopa Troopa!
Do you want me to describe anything else about the level, or maybe suggest a strategy for getting through it?
マリオと敵の位置をフォーマットに従って書き出してください。マリオの位置が(0,0)です。
### フォーマット例
0. Mario (0,0)
1. Goomba (3,5)Okay, let's analyze the screen and list the positions of Mario and the enemies!
Here's the breakdown:
0. Mario (0,0)
1. Goomba (6, 5)
2. Goomba (8, 5)
3. Koopa (12, 3)Let me know if you want me to analyze another screen! I'm ready for the next level! Wahoo!
マリオと敵から次にどういう操作をすべきですか?
Okay, let's analyze this situation!
Looking at the screen, I'm in World 1-1. I have one coin and 340 seconds on the clock.
Here's my plan:
1. **Jump over the Goombas:** Those two Goombas are a definite threat. I'm going to jump over them carefully. Don't get squashed!
2. **Grab the Fire Flower:** That green pipe is my target! I need to jump into it to get a Fire Flower. This will let me shoot fireballs and take out those Goombas and any other enemies.
3. **Continue onward:** Once I have the Fire Flower, I'll keep moving forward, jumping over obstacles and avoiding enemies.
Let's do this! *Jump!*
Do you want me to describe what happens next, or do you want me to give you a specific instruction (like "Jump into the pipe!")?