yeyingjin commited on
Commit
2c7506f
·
verified ·
1 Parent(s): dded28b

Add root config.json so Hugging Face counts downloads

Browse files

Hugging Face counts model downloads through a root-level `config.json`. This repo has none, so the model page shows "Downloads are not tracked" (or stays at 0). This PR adds a small metadata-only `config.json`. Weights and code are unchanged; downloads are counted from the merge on.

HF 通过根目录的 `config.json` 统计模型下载量。这个 PR 只加一个元数据文件,不改权重和代码,合并后开始计数。

README: the download command now also fetches `config.json`, so each download is counted.
README 里的下载命令加上了 config.json,这样每次下载都会被计数。

Files changed (2) hide show
  1. README.md +1 -1
  2. config.json +5 -0
README.md CHANGED
@@ -42,7 +42,7 @@ Download the inference weights:
42
 
43
  ```bash
44
  hf download onepiece1999/StatePlay \
45
- StatePlay.safetensors \
46
  --local-dir examples/checkpoint
47
 
48
  hf download Wan-AI/Wan2.2-TI2V-5B \
 
42
 
43
  ```bash
44
  hf download onepiece1999/StatePlay \
45
+ StatePlay.safetensors config.json \
46
  --local-dir examples/checkpoint
47
 
48
  hf download Wan-AI/Wan2.2-TI2V-5B \
config.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "name": "StatePlay",
3
+ "base_model": "Wan-AI/Wan2.2-TI2V-5B",
4
+ "note": "Metadata only. Hugging Face counts model downloads through this file; please keep it."
5
+ }