WebScraper991923 commited on
Commit
c6c3ed7
·
verified ·
1 Parent(s): 3f5fed3

Add ONNX, feature_config, LICENSE, README

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ xgboost_model.json filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ PROPRIETARY MODEL LICENSE AGREEMENT: RESI SUBNET 46
2
+ 1. DEFINITIONS
3
+
4
+ "The Model" refers to the ONNX model files, weights, parameters, and associated code contained within the specific Hugging Face repository in which this License file resides.
5
+ "The Company" refers to Resi Inc.
6
+ "The Submitter" refers to the individual or entity that uploaded The Model to this repository and submitted the repository URI to Bittensor Subnet 46.
7
+ "Effective Date" refers to the timestamp of the upload or initial commit of The Model to this Hugging Face repository.
8
+ "Authorized Resi Gateways" refers to the official Resi Inc. Chutes infrastructure, Resi OpenRouter endpoints, and the Resi Model Portal.
9
+ 2. GRANT OF EXCLUSIVE LICENSE
10
+ By submitting The Model to Resi Subnet 46, the Submitter hereby grants to The Company a worldwide, exclusive, perpetual, irrevocable, and royalty-free license to use, host, store, reproduce, modify, create derivative works, communicate, publish, publicly perform, publicly display, and distribute The Model for any commercial or non-commercial purpose.
11
+ 3. AUTHORIZED USES
12
+ The Company grants third parties and developers the right to build applications, services, or integrations leveraging The Model, provided that:
13
+
14
+ All inference and access to The Model is routed exclusively through Authorized Resi Gateways.
15
+ The application or service does not involve the hosting of the raw weights or the local execution of The Model outside of the Resi Inc. ecosystem.
16
+ Authorized Validators of Bittensor Subnet 46 are granted a limited sub-license to download and execute The Model solely for the purpose of network verification and scoring.
17
+ 4. UNAUTHORIZED USES
18
+ The following actions are strictly prohibited and constitute a breach of this License:
19
+
20
+ Unauthorized Forking: Copying, cloning, or "forking" the raw weights and architecture of The Model to any platform, repository, or local environment not controlled by Resi Inc.
21
+ Bypass of Gateways: Accessing or serving The Model via any infrastructure other than Authorized Resi Gateways (e.g., self-hosting for commercial use or providing third-party API access).
22
+ Unauthorized Distribution: Sharing, selling, or redistributing the model files or any derivative fine-tunes that utilize the core weights of The Model without express written consent from Resi Inc.
23
+ 5. CONSIDERATION AND WORK-FOR-HIRE ACKNOWLEDGMENT
24
+ The Submitter acknowledges that the opportunity to earn rewards (Alpha) via the Bittensor Network, subject to the terms and conditions of the Resi Subnet 46 codebase, constitutes full and sufficient legal consideration for this grant of rights. To the extent permitted by law, The Model shall be treated as a "work made for hire," and the Submitter waives all moral rights and proprietary claims upon submission.
25
+ 6. ENFORCEMENT
26
+ Resi Inc. reserves the right to initiate legal proceedings, seek injunctive relief, and issue DMCA takedown requests against any party found to be copying, hosting, or utilizing The Model in a manner that bypasses Authorized Resi Gateways.
27
+ 7. REPRESENTATIONS AND WARRANTIES
28
+ The Submitter represents and warrants that they are the sole creator of The Model or have sufficient rights to grant this exclusive license, and that The Model does not infringe upon the intellectual property rights of any third party.
29
+ 8. TERMINATION
30
+ This license is perpetual. Failure to receive rewards due to model performance or network conditions does not terminate the rights granted to The Company under this Agreement.
31
+ 9. GOVERNING LAW
32
+ This License shall be governed by and construed in accordance with the laws of the jurisdiction in which Resi Inc. is incorporated.
README.md CHANGED
@@ -1,3 +1,29 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: resi-exclusive
4
+ license_link: https://huggingface.co/resi-ai/model-license/blob/main/LICENSE
5
+ ---
6
+
7
+ # RESI Subnet 46 — tabular price model (ONNX)
8
+
9
+ Trained with the RESI tabular pipeline (`scripts/train_resi_tabular.py`, XGBoost backend). Static ONNX export for validator inference.
10
+
11
+ ## Files
12
+
13
+ | File | Role |
14
+ |------|------|
15
+ | `model.onnx` | Required — single float32 input `(batch, N_features)`, output `(batch, 1)` USD prediction. |
16
+ | `feature_config.json` | Declares feature column order and count `N_features` (must match ONNX input size). |
17
+ | `LICENSE` | RESI proprietary model license (canonical text; do not edit). |
18
+ | `extrinsic_record.json` | **Add after** `miner-cli submit` — extrinsic id + hotkey from CLI output. |
19
+
20
+ Optional local-only artifacts (do **not** need to be on Hugging Face): `xgboost_model.json`, `xgboost_train_meta.json`.
21
+
22
+ ## Setup checklist
23
+
24
+ 1. Upload `model.onnx`, `feature_config.json`, `LICENSE`, and this `README.md` to the repo root.
25
+ 2. Run `miner-cli submit` with the **same** local `model.onnx` bytes you uploaded.
26
+ 3. Copy `extrinsic_record.json.template` → `extrinsic_record.json`, fill in `extrinsic` and `hotkey`, upload to repo root.
27
+ 4. Make the repository **public** before validator download.
28
+
29
+ See `docs/MINER.md` in [RESI-models](https://github.com/resi-labs-ai/RESI-models).
extrinsic_record.json.template ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "extrinsic": "<BLOCK_NUMBER>-<EXTRINSIC_INDEX>",
3
+ "hotkey": "<YOUR_SS58_HOTKEY_FROM_WALLET>"
4
+ }
feature_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "features": [
4
+ "living_area_sqft",
5
+ "lot_size_sqft",
6
+ "bedrooms",
7
+ "bathrooms",
8
+ "year_built",
9
+ "stories",
10
+ "latitude",
11
+ "longitude",
12
+ "home_type_SINGLE_FAMILY",
13
+ "home_type_MULTI_FAMILY",
14
+ "home_type_MANUFACTURED",
15
+ "home_type_LOT",
16
+ "home_type_HOME_TYPE_UNKNOWN",
17
+ "home_type_nan"
18
+ ]
19
+ }
model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02fd711848a7cb1a34f47644fd3db632c253d12a9ec4f8838a4cd16059ce32b3
3
+ size 13011996
xgboost_model.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c7a4d5030127113e7a367a60d8c52076638d5aeb0997b83c7645ccd1e9f897d
3
+ size 21646173
xgboost_train_meta.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "xgboost",
3
+ "features": [
4
+ "living_area_sqft",
5
+ "lot_size_sqft",
6
+ "bedrooms",
7
+ "bathrooms",
8
+ "year_built",
9
+ "stories",
10
+ "latitude",
11
+ "longitude",
12
+ "home_type_SINGLE_FAMILY",
13
+ "home_type_MULTI_FAMILY",
14
+ "home_type_MANUFACTURED",
15
+ "home_type_LOT",
16
+ "home_type_HOME_TYPE_UNKNOWN",
17
+ "home_type_nan"
18
+ ],
19
+ "n_estimators_actual": 517,
20
+ "native_model": "xgboost_model.json"
21
+ }