|
Download README.md from SAyyeedd/sayed-bot-model-v2: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/SAyyeedd/sayed-bot-model-v2/resolve/main/README.md
- Command line
-
hf download hf://SAyyeedd/sayed-bot-model-v2/README.md
-
curl -L -o README.md https://huggingface.co/SAyyeedd/sayed-bot-model-v2/resolve/main/README.md
1.19 kB
| # sayed-bot-model-v2 | |
| Decision Transformer for Sayed Bot — Minecraft bot AI | |
| ## Model | |
| - **Architecture:** Transformer Encoder (6 layers, 8 heads, 512 dim) | |
| - **Input:** `[batch, 20, 15]` — آخر 20 خطوة | |
| - **Output:** `[batch, 10]` — logits لكل action | |
| - **Features:** health, food, mobs_nearby, danger_mobs, ores_nearby, items_nearby, has_weapon, has_pickaxe, has_axe, inventory_pct, time_of_day, is_in_danger, is_on_lava, player_nearby, bot_count | |
| - **Actions:** IDLE, FIGHT, FLEE, MINE, FARM, COLLECT, EXPLORE, CRAFT, CHAT, FOLLOW | |
| - **Accuracy:** 33.23% | |
| - **Size:** ~50 MB (INT8) | |
| - **Trained:** 2026-06-25T11:38:05Z | |
| ## Usage (ONNX Runtime) | |
| ```python | |
| import onnxruntime as ort | |
| import numpy as np | |
| session = ort.InferenceSession('bot_model.onnx') | |
| input_name = session.get_inputs()[0].name | |
| sequence = np.zeros((1, 20, 15), dtype=np.float32) | |
| # املأ الـ sequence بـ 20 خطوة سابقة | |
| result = session.run(None, {input_name: sequence}) | |
| action_id = result[0].argmax() | |
| ``` | |
| ## Files | |
| - [model.onnx](https://huggingface.co/SAyyeedd/sayed-bot-model-v2/resolve/main/bot_model.onnx) | |
| - [config.json](https://huggingface.co/SAyyeedd/sayed-bot-model-v2/resolve/main/config.json) | |