ianshank commited on
Commit
df27ab7
·
verified ·
1 Parent(s): 04d545e

Upload model via upload_to_hub.py

Browse files
Files changed (3) hide show
  1. README.md +48 -0
  2. config.json +14 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: alpha-zero-civ6
3
+ tags:
4
+ - pytorch
5
+ - reinforcement-learning
6
+ - game-ai
7
+ - civilization-vi
8
+ - encoder
9
+ - civ6
10
+ license: mit
11
+ ---
12
+
13
+ # civ6-encoder
14
+
15
+ Hex-crystalline spatial encoder
16
+
17
+ ## Model Details
18
+
19
+ | Property | Value |
20
+ |----------|-------|
21
+ | **Library** | `alpha-zero-civ6` |
22
+ | **Architecture** | HexSpatialEncoderForHub |
23
+ | **Parameters** | 72,902 |
24
+ | **License** | mit |
25
+
26
+ ## Training
27
+
28
+ Not specified
29
+
30
+ ## Metrics
31
+
32
+ Not specified
33
+
34
+ ## Usage
35
+
36
+ ```python
37
+ from alpha_zero.hexcrystal.hub_mixin import HexSpatialEncoderForHub
38
+
39
+ # Load from Hugging Face Hub
40
+ model = HexSpatialEncoderForHub.from_pretrained("ianshank/civ6-encoder")
41
+
42
+ # Or load from a local directory
43
+ model = HexSpatialEncoderForHub.from_pretrained("./my-local-model")
44
+ ```
45
+
46
+ ## Citation
47
+
48
+ Not specified
config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "dropout": 0.1,
4
+ "embed_dim": 64,
5
+ "hex_conv_layers": 2,
6
+ "hex_hidden_dim": 32,
7
+ "in_channels": 13,
8
+ "lattice_type": "hexagonal",
9
+ "num_output_tokens": 4,
10
+ "offset_type": "even-q",
11
+ "spatial_size": 8,
12
+ "use_batch_norm": true,
13
+ "use_crystalline": true
14
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14f6cf3426cf0d30ec0f1cb1edbfe53035d8fcb3e7a75baeaa43181d9a8ab13a
3
+ size 303880