Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,3 @@ Most folders are self-contained python packages, allowing for the selective rele
- Create a tag for the merge commit referencing the version increment

- Build and push the package to pypi (`python -m build` and `uv run twine upload -r pypi dist/*`), or rely on CI/CD for this

## License

This project uses a proprietary license issued by Guy's and St Thomas' NHS Foundation Trust, enabling free (non-commercial) use by NHS organisations. See LICENSE files for details.
203 changes: 203 additions & 0 deletions lib/datagen/LICENSE.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions lib/datagen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,8 @@ See [examples](examples/).
input_folder =
)
```

## License

londonaicentre-mesa-datagen © 2026 by London AI Centre is licensed under CC BY-NC-ND 4.0.
To view a copy of this license, visit <https://creativecommons.org/licenses/by-nc-nd/4.0/>
203 changes: 203 additions & 0 deletions lib/datagen/examples/aws/batch/LICENSE.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions lib/datagen/examples/aws/batch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@ uv run python upload.py

- Batch inference is substantially cheaper than real-time inference for large volumes, but jobs can take several hours to complete.
- The job ID is persisted in `.job_id.json` so `extract.py` knows where to find the output in S3.

## License

docgen-aws-batch-example © 2026 by London AI Centre is licensed under CC BY-NC-ND 4.0.
To view a copy of this license, visit <https://creativecommons.org/licenses/by-nc-nd/4.0/>
1 change: 1 addition & 0 deletions lib/datagen/examples/aws/batch/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "docgen-aws-batch-example"
version = "0.1.0"
requires-python = ">=3.12"
license = "CC-BY-NC-ND-4.0"
dependencies = [
"londonaicentre-mesa-datagen",
"londonaicentre-oncoschema==2.0.2",
Expand Down
203 changes: 203 additions & 0 deletions lib/datagen/examples/aws/llm/LICENSE.md

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion lib/datagen/examples/aws/llm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,9 @@ uv run python upload.py
## Notes

- Running `generate.py` is billable — it makes one real-time Bedrock inference call per document.
- `generate()` is resumable: documents whose deterministic output file already exists are skipped, so re-running only fills in missing samples.
- `generate()` is resumable: documents whose deterministic output file already exists are skipped, so re-running only fills in missing samples.

## License

docgen-aws-example © 2026 by London AI Centre is licensed under CC BY-NC-ND 4.0.
To view a copy of this license, visit <https://creativecommons.org/licenses/by-nc-nd/4.0/>
1 change: 1 addition & 0 deletions lib/datagen/examples/aws/llm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "docgen-aws-example"
version = "0.1.0"
requires-python = ">=3.12"
license = "CC-BY-NC-ND-4.0"
dependencies = [
"londonaicentre-mesa-datagen",
"londonaicentre-oncoschema==2.0.2",
Expand Down
203 changes: 203 additions & 0 deletions lib/datagen/examples/gemini/LICENSE.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions lib/datagen/examples/gemini/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,8 @@ uv run python upload.py

- Running `generate.py` is billable — it makes one real-time Gemini inference call per document.
- Run scripts from this directory so `load_dotenv()` finds the local `.env`.

## License

docgen-gemini-example © 2026 by London AI Centre is licensed under CC BY-NC-ND 4.0.
To view a copy of this license, visit <https://creativecommons.org/licenses/by-nc-nd/4.0/>
1 change: 1 addition & 0 deletions lib/datagen/examples/gemini/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "docgen-gemini-example"
version = "0.1.0"
requires-python = ">=3.12"
license = "CC-BY-NC-ND-4.0"
dependencies = [
"londonaicentre-mesa-datagen",
"londonaicentre-oncoschema==2.0.2",
Expand Down
203 changes: 203 additions & 0 deletions lib/finetune/examples/aws/LICENSE.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions lib/finetune/examples/aws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ This downloads the adapter, merges it with the base model, and uploads the unpac
## Notes

- Running `run_example.py` is billable - it starts a `ml.g5.xlarge` training job.

## License

finetune-aws-example © 2026 by London AI Centre is licensed under CC BY-NC-ND 4.0.
To view a copy of this license, visit <https://creativecommons.org/licenses/by-nc-nd/4.0/>
1 change: 1 addition & 0 deletions lib/finetune/examples/aws/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "finetune-aws-example"
version = "0.1.0"
requires-python = ">=3.12"
license = "CC-BY-NC-ND-4.0"
dependencies = [
"londonaicentre-mesa-finetune",
"londonaicentre-oncoschema==2.0.2",
Expand Down
203 changes: 203 additions & 0 deletions lib/finetune/examples/mlx/LICENSE.md

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion lib/finetune/examples/mlx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,9 @@ uv sync # installs mlx + mlx-lm too (Apple Silicon only, vi
uv run python run_example.py
```

This prepares the data, trains a LoRA adapter locally, fuses it into the base model, and uploads the unpacked merged model to the build bucket under `models/qwen-onco-mlx-example/qwen-onco-mlx-example_1_0_0/`. The fused model is left locally at `data/models/qwen-onco-mlx-example/target/*.safetensors`.
This prepares the data, trains a LoRA adapter locally, fuses it into the base model, and uploads the unpacked merged model to the build bucket under `models/qwen-onco-mlx-example/qwen-onco-mlx-example_1_0_0/`. The fused model is left locally at `data/models/qwen-onco-mlx-example/target/*.safetensors`.

## License

finetune-mlx-example © 2026 by London AI Centre is licensed under CC BY-NC-ND 4.0.
To view a copy of this license, visit <https://creativecommons.org/licenses/by-nc-nd/4.0/>
1 change: 1 addition & 0 deletions lib/finetune/examples/mlx/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "finetune-mlx-example"
version = "0.1.0"
requires-python = ">=3.12"
license = "CC-BY-NC-ND-4.0"
dependencies = [
"londonaicentre-mesa-finetune[mlx]",
"londonaicentre-oncoschema==2.0.2",
Expand Down
2 changes: 1 addition & 1 deletion lib/finetune/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [
]
version = "1.0.0"
requires-python = ">=3.12"
license = "CC-BY-NC-ND-4.0"
license = "LicenseRef-Proprietary"
dependencies = [
"londonaicentre-mesa-utils",
"londonaicentre-mesa-datagen",
Expand Down
Loading
Loading