SAyyeedd commited on
Commit
7c0c854
·
verified ·
1 Parent(s): 438f115

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +32 -0
README.md ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # sayed-bot-model-v3
2
+
3
+ Decision Transformer v3 for Sayed Bot — Full Minecraft Coverage
4
+
5
+ ## Model
6
+ - **Architecture:** Transformer Encoder (8 layers, 8 heads, 512 dim)
7
+ - **Input:** `[batch, 50, 40]` — آخر 50 خطوة
8
+ - **Output:** `[batch, 25]` — logits لكل action
9
+ - **Features (40):** البيئة, البلوكات, المخزون, الدروع, الموارد, الاجتماعية
10
+ - **Actions (25):** بناء, بقاء, اجتماعي, حركة, قتال, تعدين, زراعة
11
+ - **Training data:** 5 سيناريوهات واقعية (بداية, استكشاف, خطر/بناء, اجتماعي, بناء متطور)
12
+ - **Accuracy:** 3.17%
13
+ - **Size:** ~35 MB (INT8 quantized)
14
+ - **Trained:** 2026-06-25T15:48:12Z
15
+
16
+ ## Usage
17
+ ```javascript
18
+ const { BotModel } = require('./bot-model');
19
+ const model = new BotModel();
20
+ await model.loadFromHF('SAyyeedd', 'sayed-bot-model-v3');
21
+ const state = model.extractState(bot);
22
+ const actionIdx = model.predict(state);
23
+ const actionName = ['IDLE','FIGHT','FLEE','MINE','FARM','COLLECT','EXPLORE','CRAFT','CHAT','FOLLOW',
24
+ 'PLACE_BLOCK','BUILD_SHELTER','LIGHT_AREA','EAT','SLEEP',
25
+ 'GO_HOME','EQUIP_ARMOR','SMELT','JUMP','SNEAK',
26
+ 'SWIM','EMOTE','WANDER','HELP_ALLY','TRADE'][actionIdx];
27
+ ```
28
+
29
+ ## Files
30
+ - [bot_model.onnx](https://huggingface.co/SAyyeedd/sayed-bot-model-v3/resolve/main/bot_model.onnx)
31
+ - [config.json](https://huggingface.co/SAyyeedd/sayed-bot-model-v3/resolve/main/config.json)
32
+ - [best_model.pt](https://huggingface.co/SAyyeedd/sayed-bot-model-v3/resolve/main/best_model.pt) (PyTorch weights)