Rafs-an09002 commited on
Commit
55bfdfc
·
verified ·
1 Parent(s): c99ef03

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +69 -9
README.md CHANGED
@@ -1,11 +1,71 @@
1
- ---
2
- title: Synapse Base Inference Api
3
- emoji: 🐨
4
- colorFrom: green
5
- colorTo: yellow
6
- sdk: docker
7
- pinned: false
8
- license: cc-by-nc-4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  ---
10
 
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
+ ---
2
+ title: Synapse-Base Inference API
3
+ emoji: 🧠
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: docker
7
+ pinned: true
8
+ license: cc-by-nc-4.0
9
+ ---
10
+
11
+ # 🧠 Synapse-Base Inference API
12
+
13
+ High-performance chess move prediction API powered by Synapse-Base v3.0.
14
+
15
+ ## 🎯 Features
16
+
17
+ - **Deep Search Algorithm**: Advanced alpha-beta pruning with move ordering
18
+ - **CPU Optimized**: Runs efficiently on 2 vCPU + 16GB RAM
19
+ - **REST API**: Simple POST endpoint for move generation
20
+ - **Model**: 38.1M parameter hybrid CNN-Transformer
21
+
22
+ ## 📡 API Endpoint
23
+
24
+ ### `POST /get-move`
25
+
26
+ **Request:**
27
+ ```json
28
+ {
29
+ "fen": "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1",
30
+ "depth": 3,
31
+ "time_limit": 5000
32
+ }
33
+ ```
34
+
35
+ **Response:**
36
+ ```json
37
+ {
38
+ "best_move": "e2e4",
39
+ "evaluation": 0.25,
40
+ "depth_searched": 3,
41
+ "nodes_evaluated": 15234,
42
+ "time_taken": 1247
43
+ }
44
+ ```
45
+
46
+ ## 🔧 Parameters
47
+
48
+ - **fen** (required): Current board position in FEN notation
49
+ - **depth** (optional): Search depth (1-5, default: 3)
50
+ - **time_limit** (optional): Max time in milliseconds (default: 5000)
51
+
52
+ ## 💻 Local Testing
53
+
54
+ ```bash
55
+ docker build -t synapse-inference .
56
+ docker run -p 7860:7860 synapse-inference
57
+ ```
58
+
59
+ ## 📊 Performance
60
+
61
+ - **Average Response Time**: 1-3 seconds per move
62
+ - **Memory Usage**: ~4GB RAM
63
+ - **Concurrent Requests**: Up to 4 simultaneous
64
+
65
+ ## ⚠️ Rate Limits
66
+
67
+ Free tier: 100 requests/hour per IP
68
+
69
  ---
70
 
71
+ Built with ❤️ by GambitFlow