yeyingjin commited on
Commit
d4a012f
·
verified ·
1 Parent(s): 17d76f3

Count downloads of the weight file

Browse files

Downloads stayed at 0 because the download command in the code repo uses `--include` for `attacknet/`, `situationnet/` and `world_model/`, which skips `config.json`, the only file the default rule counts. This PR sets `library_name: diffusion-single-file`, whose rule counts `.safetensors` downloads (this repo has one, `world_model/ar_world_model.safetensors`), and removes the `config.json` added in #1. Weights and code are unchanged.

下载量一直是 0:代码仓库里的下载命令用 --include 只下三个子文件夹,跳过了默认规则唯一统计的 config.json。这个 PR 把 library_name 设为 diffusion-single-file(按 .safetensors 的下载计数,仓库里只有 world_model/ar_world_model.safetensors 一个),并删掉 #1 加的 config.json。权重和代码不变。

Files changed (2) hide show
  1. README.md +1 -0
  2. config.json +0 -4
README.md CHANGED
@@ -1,5 +1,6 @@
1
  ---
2
  license: apache-2.0
 
3
  tags:
4
  - game-agent
5
  - world-model
 
1
  ---
2
  license: apache-2.0
3
+ library_name: diffusion-single-file
4
  tags:
5
  - game-agent
6
  - world-model
config.json DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "name": "GameDirector",
3
- "note": "Metadata only. Hugging Face counts model downloads through this file; please keep it."
4
- }