บทความ

กำลังแสดงโพสต์ที่มีป้ายกำกับ typesafe.ai

ทำ AI Agent ควบคุมเกม NES - Super Mario Bros.

รูปภาพ
ทำ AI Agent ควบคุมเกม NES - Super Mario Bros. ระบบนี้เป็น AI Agent ที่ใช้โมเดล Jev ของ TypeSafe.AI ควบคุมเกม Super Mario Bros. บน NES โดยอ่านสถานะเกมจาก Emulator โดยตรง ไม่ใช้การ Capture ภาพหน้าจอ ✅ ทำให้ Model ฉลาดขึ้น ด้วย RL Train ✅ ตัดสินใจได้ดีขึ้น ด้วย TypeSafe.AI ( Jev ) ✅ ไปประยุกต์ใช้งาน train Robot หรือ โจทย์งาน Optimization ได้ เช่น การแวงแผน ,จัดเส้นทาง ,บริหารทรัพยากร ) 🤖Architecture ใช้ JEV ตัดสินใจอย่างเดียว จึงยังเล่น ไม่เก่ง เทรน RL Model ให้เล่นเก่งขึ้นแล้วนะ การเทรน RL : Reinforcement Learning (PPO) In addition to direct Jev control, typesafe-mario includes an offline RAM-based RL pipeline built on Gymnasium and Stable-Baselines3 PPO (256x256 MLP policy). ผลการ Eval 🎮 เทรนแบบ Multi-Stage ( 1,000,000 timesteps, 12 envs, warm-start จาก models/mario_ppo.zip ) และประเมิน 25 episodes/ด่าน (รวม 100 episodes, random_noop_max=4 , บันทึกผลไว้ที่ eval_world1_ppo.json): Stage Completion Rate Death Rate Mean Reward Best X (mean / max) Mean Steps World 1-1 100.0% (25/2...