sraivante commited on
Commit
17fc7d5
·
verified ·
1 Parent(s): e8e336e

Add config.json so Hugging Face can count downloads

Browse files

Metadata only; weights unchanged. Quick start now downloads through huggingface_hub.

Files changed (2) hide show
  1. README.md +5 -2
  2. config.json +20 -0
README.md CHANGED
@@ -128,13 +128,15 @@ FLOPs. Raspberry Pi 5 measurements are now recorded above; Jetson Orin Nano rema
128
  ## Quick start
129
 
130
  ```bash
131
- pip install numpy
132
- git clone https://huggingface.co/sraivante/superfast-tiny-home-robotics-json-1m-v3
133
  cd superfast-tiny-home-robotics-json-1m-v3
134
  python engine.py "kitchen ki light band kar do"
135
  # {"activity":"light","subject":"kitchen_light","action":"OFF"}
136
  ```
137
 
 
 
138
  In Python:
139
 
140
  ```python
@@ -286,6 +288,7 @@ describes the train/eval construction. The preserved 340,000-row training mix di
286
 
287
  | Path | What |
288
  | --- | --- |
 
289
  | `model/model_v3_fp16.npz` | weights, fp16, 2.1 MB |
290
  | `model/model_v3_config.json` | vocab (`itos`) + architecture config |
291
  | `model/devices-catalog.json` | the 1,004 subjects with allowed actions |
 
128
  ## Quick start
129
 
130
  ```bash
131
+ pip install numpy huggingface_hub
132
+ python -c "from huggingface_hub import snapshot_download; snapshot_download('sraivante/superfast-tiny-home-robotics-json-1m-v3', local_dir='superfast-tiny-home-robotics-json-1m-v3')"
133
  cd superfast-tiny-home-robotics-json-1m-v3
134
  python engine.py "kitchen ki light band kar do"
135
  # {"activity":"light","subject":"kitchen_light","action":"OFF"}
136
  ```
137
 
138
+ `git clone https://huggingface.co/sraivante/superfast-tiny-home-robotics-json-1m-v3` also works.
139
+
140
  In Python:
141
 
142
  ```python
 
288
 
289
  | Path | What |
290
  | --- | --- |
291
+ | `config.json` | release metadata; also the file Hugging Face uses to count downloads |
292
  | `model/model_v3_fp16.npz` | weights, fp16, 2.1 MB |
293
  | `model/model_v3_config.json` | vocab (`itos`) + architecture config |
294
  | `model/devices-catalog.json` | the 1,004 subjects with allowed actions |
config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "superfast-tiny-home-robotics-json-1m-v3",
3
+ "version": "v3.0.0",
4
+ "task": "text-generation",
5
+ "architecture": "gpt-style-causal-decoder-char-level",
6
+ "languages": ["en", "hi"],
7
+ "runtime": "numpy",
8
+ "entry_point": "engine.py",
9
+ "weights": "model/model_v3_fp16.npz",
10
+ "model_config": "model/model_v3_config.json",
11
+ "catalog": "model/devices-catalog.json",
12
+ "d_model": 160,
13
+ "layers": 4,
14
+ "heads": 4,
15
+ "ffn": 512,
16
+ "max_len": 360,
17
+ "vocab_size": 78,
18
+ "parameters": 1143328,
19
+ "dataset": "sraivante/home-commands-json-v3"
20
+ }