goodwoolf 0.0.2__tar.gz → 0.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {goodwoolf-0.0.2/src/goodwoolf.egg-info → goodwoolf-0.0.3}/PKG-INFO +6 -4
  2. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/README.md +2 -3
  3. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/pyproject.toml +7 -1
  4. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/utils/system.py +4 -1
  5. {goodwoolf-0.0.2 → goodwoolf-0.0.3/src/goodwoolf.egg-info}/PKG-INFO +6 -4
  6. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf.egg-info/requires.txt +4 -0
  7. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/LICENSE +0 -0
  8. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/setup.cfg +0 -0
  9. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/config/Qwen/Qwen2-0.5B/chat_template.jinja +0 -0
  10. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/config/Qwen/Qwen2-0.5B/model.yaml +0 -0
  11. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/config/Qwen/Qwen2-0.5B/tokenizer.json +0 -0
  12. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/config/Qwen/Qwen2-0.5B/tokenizer_config.json +0 -0
  13. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/config/SupraLabs/Supra-Mini-0.1M/model.yaml +0 -0
  14. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/config/SupraLabs/Supra-Mini-0.1M/tokenizer.json +0 -0
  15. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/config/SupraLabs/Supra-Mini-0.1M/tokenizer_config.json +0 -0
  16. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/data/openwebtext/prepare.py +0 -0
  17. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/data/shakespeare/prepare.py +0 -0
  18. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/main.py +0 -0
  19. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/models/GoodWoolf/default/model.py +0 -0
  20. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/models/GoodWoolf/default/pretrain.py +0 -0
  21. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/models/GoodWoolf/default/tokenizer.py +0 -0
  22. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/utils/ledger.py +0 -0
  23. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf/utils/models.py +0 -0
  24. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf.egg-info/SOURCES.txt +0 -0
  25. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf.egg-info/dependency_links.txt +0 -0
  26. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf.egg-info/entry_points.txt +0 -0
  27. {goodwoolf-0.0.2 → goodwoolf-0.0.3}/src/goodwoolf.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: goodwoolf
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: Building foundation models collaboratively on commodity hardware.
5
5
  Requires-Python: >=3.12
6
6
  Description-Content-Type: text/markdown
@@ -12,6 +12,9 @@ Requires-Dist: tiktoken>=0.13.0
12
12
  Requires-Dist: torch>=2.12.0
13
13
  Requires-Dist: tqdm>=4.68.1
14
14
  Requires-Dist: transformers>=5.10.2
15
+ Provides-Extra: publish
16
+ Requires-Dist: twine>=5.0.0; extra == "publish"
17
+ Requires-Dist: wheel>=0.43.0; extra == "publish"
15
18
  Dynamic: license-file
16
19
 
17
20
 
@@ -49,8 +52,7 @@ Dynamic: license-file
49
52
 
50
53
  GoodWoolf builds large foundation models on commodity hardware using the following principles:
51
54
 
52
- - **Open Collaboration.**
53
- Enable collective model development across independent contributors, coordinated through a shared public training ledger.
55
+ - **Open Collaboration:** Enable collective model development across independent contributors, coordinated through a shared public training ledger.
54
56
 
55
57
  - **Virtual Memory Extension:** Expanding effective memory beyond physical RAM by leveraging storage-based virtual memory.
56
58
 
@@ -82,7 +84,7 @@ Learn more by following the online documenation:
82
84
 
83
85
  The project consists of two repositories:
84
86
 
85
- - [GoodWoolf Core](https://github.com/GoodWoolf-AI/GoodWoolf) (this repository) - the training framework
87
+ - [GoodWoolf](https://github.com/GoodWoolf-AI/GoodWoolf) (this repository) - the training framework
86
88
  - [GoodWoolf Training Ledger](https://hf.co/datasets/GoodWoolf/Training-Ledger) - the public training log
87
89
 
88
90
  ### Collaborative Training Workflow
@@ -33,8 +33,7 @@
33
33
 
34
34
  GoodWoolf builds large foundation models on commodity hardware using the following principles:
35
35
 
36
- - **Open Collaboration.**
37
- Enable collective model development across independent contributors, coordinated through a shared public training ledger.
36
+ - **Open Collaboration:** Enable collective model development across independent contributors, coordinated through a shared public training ledger.
38
37
 
39
38
  - **Virtual Memory Extension:** Expanding effective memory beyond physical RAM by leveraging storage-based virtual memory.
40
39
 
@@ -66,7 +65,7 @@ Learn more by following the online documenation:
66
65
 
67
66
  The project consists of two repositories:
68
67
 
69
- - [GoodWoolf Core](https://github.com/GoodWoolf-AI/GoodWoolf) (this repository) - the training framework
68
+ - [GoodWoolf](https://github.com/GoodWoolf-AI/GoodWoolf) (this repository) - the training framework
70
69
  - [GoodWoolf Training Ledger](https://hf.co/datasets/GoodWoolf/Training-Ledger) - the public training log
71
70
 
72
71
  ### Collaborative Training Workflow
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "goodwoolf"
3
- version = "0.0.2"
3
+ version = "0.0.3"
4
4
  description = "Building foundation models collaboratively on commodity hardware."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -28,6 +28,12 @@ goodwoolf = [
28
28
  "config/**/*.yaml",
29
29
  ]
30
30
 
31
+ [project.optional-dependencies]
32
+ publish = [
33
+ "twine>=5.0.0",
34
+ "wheel>=0.43.0",
35
+ ]
36
+
31
37
  [project.scripts]
32
38
  goodwoolf = "goodwoolf.main:main"
33
39
  gw = "goodwoolf.main:main"
@@ -98,10 +98,13 @@ def hash_files(file_list, verbose=True):
98
98
  return sha1.hexdigest()
99
99
 
100
100
 
101
- def download_file(file_url, save_path, progress=None):
101
+ def download_file(file_url, save_path, progress=None, create_path=True):
102
102
  """
103
103
  Download a file from a URL to a local path using streaming.
104
104
  """
105
+ if create_path:
106
+ Path(save_path).parent.mkdir(parents=True, exist_ok=True)
107
+
105
108
  with requests.get(file_url, stream=True, timeout=60) as response:
106
109
  response.raise_for_status()
107
110
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: goodwoolf
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: Building foundation models collaboratively on commodity hardware.
5
5
  Requires-Python: >=3.12
6
6
  Description-Content-Type: text/markdown
@@ -12,6 +12,9 @@ Requires-Dist: tiktoken>=0.13.0
12
12
  Requires-Dist: torch>=2.12.0
13
13
  Requires-Dist: tqdm>=4.68.1
14
14
  Requires-Dist: transformers>=5.10.2
15
+ Provides-Extra: publish
16
+ Requires-Dist: twine>=5.0.0; extra == "publish"
17
+ Requires-Dist: wheel>=0.43.0; extra == "publish"
15
18
  Dynamic: license-file
16
19
 
17
20
 
@@ -49,8 +52,7 @@ Dynamic: license-file
49
52
 
50
53
  GoodWoolf builds large foundation models on commodity hardware using the following principles:
51
54
 
52
- - **Open Collaboration.**
53
- Enable collective model development across independent contributors, coordinated through a shared public training ledger.
55
+ - **Open Collaboration:** Enable collective model development across independent contributors, coordinated through a shared public training ledger.
54
56
 
55
57
  - **Virtual Memory Extension:** Expanding effective memory beyond physical RAM by leveraging storage-based virtual memory.
56
58
 
@@ -82,7 +84,7 @@ Learn more by following the online documenation:
82
84
 
83
85
  The project consists of two repositories:
84
86
 
85
- - [GoodWoolf Core](https://github.com/GoodWoolf-AI/GoodWoolf) (this repository) - the training framework
87
+ - [GoodWoolf](https://github.com/GoodWoolf-AI/GoodWoolf) (this repository) - the training framework
86
88
  - [GoodWoolf Training Ledger](https://hf.co/datasets/GoodWoolf/Training-Ledger) - the public training log
87
89
 
88
90
  ### Collaborative Training Workflow
@@ -5,3 +5,7 @@ tiktoken>=0.13.0
5
5
  torch>=2.12.0
6
6
  tqdm>=4.68.1
7
7
  transformers>=5.10.2
8
+
9
+ [publish]
10
+ twine>=5.0.0
11
+ wheel>=0.43.0
File without changes
File without changes