GoodWoolf
AI by the People
Foundation Models · Commodity Hardware · Collaborative Training
Website · Docs · Main Repository · Training-Ledger
Building Foundation Models Collaboratively on Commodity Hardware
GoodWoolf builds large foundation models on commodity hardware using the following principles:
-
Open Collaboration: Enable collective model development across independent contributors, coordinated through a shared public training ledger.
-
Virtual Memory Extension: Expanding effective memory beyond physical RAM by leveraging storage-based virtual memory.
-
Data-Independent Scaling: Decoupling total training time from global data volume, bounding system latency to individual run durations rather than aggregate data sizes.
Learn more by following the online documentation:
Project Structure
The project consists of two repositories:
- GoodWoolf (this repository) - the training framework
- GoodWoolf Training Ledger - the public training log
Collaborative Training Workflow
The training process is hardware-agnostic, parallel, and completely asynchronous.
========================================================
Visual representation of Collaborative Training Workflow
========================================================
+-----------+----------+-----------+
| | | |
v | | |
+----------------+ | v |
| Participant A | | +----------------+ |
|----------------| | | Participant B | |
| Local data | | |----------------| |
| Train locally | | | Local data | |
| Publish model | | | Train locally | |
| Pull request | | | Publish model | |
+-------+--------+ | | Pull request | |
| v +--------+-------+ |
| +----------------+ | |
| | Participant C | | |
| |----------------| | |
| | Local data | | |
| | Train locally | | |
| | Model offload | | |
| | Pull request | | |
| +------+---------+ | |
| | | |
v v v |
+-----------------------------+ |
| PUBLIC TRAINING LEDGER |-------+
|-----------------------------|
| Base model weights |
| Training updates / PRs |<------+
| Training history | |
+-----------------------------+ |
| |
v |
+-----------------------------+ |
| Peers / Independent | |
| Auditors |-------+
|-----------------------------|
| Validate and aggregate |
| model updates |
| Publish updated model |
| Pull request |
+-----------------------------+
Supported Models
Models live in src/goodwoolf/models/<vendor>/<model>/. Each bundled model
includes runtime code and training entry points for TOK, NTP, SFT, and
RL.
| Model | Architecture | Notes |
|---|---|---|
GoodWoolf/Puppy |
Custom LLaMA-style transformer; 12 layers, 768 hidden size, 32K vocab, 2048 context. | Native GoodWoolf model; TOK trains a RustBPE tokenizer. |
OpenAI-Community/GPT2 |
GPT-2 small; 12 layers, 768 hidden size, 50,257 vocab, 1024 context. | Hugging Face GPT-2 wrapper. TOK prepares the token-byte cache instead of training a new tokenizer. |
Qwen/Qwen2-0.5B |
Qwen2 0.5B; 24 layers, 896 hidden size, 151,936 vocab, 131,072 context. | Hugging Face Qwen2 wrapper. TOK prepares the token-byte cache instead of training a new tokenizer. |
Run gw model --list or gw model --list <vendor> to list local models. Use
gw model --list --remote hf [vendor] to list Hugging Face models.
Supported Datasets
You can train GoodWoolf on your own private data. To make things easier, a few public datasets are also integrated so you can use them right away.
Datasets live in src/goodwoolf/data/<vendor>/<dataset>/ and are prepared with
gw dataset <vendor>/<dataset> --fetch --prepare. Run gw dataset --list to see
the current list. The Training stage column marks the stage each dataset is
intended for: NTP (base training with next token prediction), SFT
(supervised fine-tuning), or RL (reinforcement learning).
| Dataset | Description | Training stage |
|---|---|---|
nvidia/climbmix |
ClimbMix-400B pretraining corpus prepared as tokenizer-independent text. | NTP |
alea-institute/kl3m-usc |
KL3M US Code legal text corpus prepared as tokenizer-independent parquet text. | NTP |
Skylion007/openwebtext |
OpenWebText web-text corpus for pretraining. | NTP |
Salesforce/wikitext |
WikiText-2 language-modeling corpus. | NTP |
allenai/ai2_arc |
AI2 Reasoning Challenge, multiple-choice science questions. | SFT |
openai/humaneval |
HumanEval, Python coding problems with unit tests. | SFT |
cais/mmlu |
MMLU, multiple-choice knowledge across 57 subjects. | SFT |
HuggingFaceTB/smoltalk |
SmolTalk, general conversational data. | SFT |
openai/gsm8k |
GSM8K, grade-school math word problems with worked solutions. | SFT, RL |
Usage Examples
goodwoolf and gw are equivalent CLI names.
Inspect available components
gw vendor --list
gw model --list
gw model --list GoodWoolf
gw dataset --list
Prepare training data
gw dataset <vendor>/<dataset> --fetch --prepare
For example:
gw dataset nvidia/climbmix --fetch --prepare
gw dataset HuggingFaceTB/smoltalk --fetch --prepare
Fetch or create a model
gw pull <vendor>/<model> [--model-id <MODEL_ID>]
gw model <vendor>/<model> --config --weights
gw model <new-vendor>/<new-model> --template OpenAI-Community/GPT2
Train model
gw train <vendor>/<model> --stage NTP --data-name <vendor>/<dataset>
For example:
gw train GoodWoolf/Puppy --stage TOK --data-name nvidia/climbmix
gw train GoodWoolf/Puppy --stage NTP --data-name nvidia/climbmix
gw train GoodWoolf/Puppy --stage SFT --data-name HuggingFaceTB/smoltalk
gw train GoodWoolf/Puppy --stage RL --data-name openai/gsm8k
--stage selects the training stage: TOK (tokenizer training; HF models
prepare the token-byte cache), NTP (base training with next token
prediction), SFT (supervised fine-tuning, full answer prediction), or RL
(reinforcement, free thinking with final answer prediction).
Generate text
gw run <vendor>/<model> --prompt "A long time ago..." --max-tokens 100
Chat interactively
gw chat <vendor>/<model> --max-tokens 256 --temperature 0.6 --top-k 50
gw chat loads the active weights for the model name. Type quit or exit
to end the session, or clear to start a new conversation. For a single
prompt, use gw run.
Save and manage checkpoints
gw save <vendor>/<model> [--load-path <checkpoint>]
gw checkout <vendor>/<model> --model-id <MODEL_ID>
gw merge <vendor>/<model> --data-name <vendor>/<dataset> --model-id <MODEL_ID>
gw ledger <vendor>/<model> --check
Get involved
The idea behind GoodWoolf is to build large models together as an open-source community. Building together is cheaper, faster, and more environmentally friendly.
Whether you're training and sharing models, improving the platform, fixing bugs, or writing documentation, your contributions are welcome.
License
- GoodWoolf: MIT
- GoodWoolf Training Ledger: OpenMDW
Metadata
Release files for goodwoolf 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| goodwoolf-0.1.0.tar.gz | 2.8 MB | Without provenance | Details for goodwoolf-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| goodwoolf-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for goodwoolf-0.1.0-py3-none-any.whl |
Total release size: 5.6 MB
Release files / goodwoolf-0.1.0.tar.gz
| Download URL | goodwoolf-0.1.0.tar.gz |
|---|---|
| Size | 2.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc76aed0dc9e21c9ef146962fc5ef665b703b51752aa70cc4656c809729c3877
|
|
BLAKE2b-256 checksum How to use checksums |
b00dc86f3717c5af6d2fdf662d195895b56cf834dca7d080f735cce1ad09f606
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / goodwoolf-0.1.0-py3-none-any.whl
| Download URL | goodwoolf-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ade38bfc7e9724b9dce14dfba339de7265c90d7891567bff538776f6c1891201
|
|
BLAKE2b-256 checksum How to use checksums |
8ac0f00045b8fa23f5263869a1c51fafd082778172496d0a6e2396a4b4148757
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for goodwoolf 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.