Skip to content

Commit a927cda

Browse files
authored
Merge pull request #194 from alimaredia/notebooks-repo
Create a proposal for a `notebooks` repository
2 parents b26782e + fa7b2f6 commit a927cda

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

docs/examples/examples-repo.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Create A Repo for InstructLab Examples
2+
3+
## Idea Overview
4+
5+
Create a separate repository within the `instructlab` GitHub org called `examples`.
6+
This repository would house [Jupyter notebooks](https://jupyter.org/) and other examples that illustrate parts of or the entire LAB methodology.
7+
The `examples` repo would be a place where the maintainers of the InstructLab project can collect notebooks for the benefit of the community.
8+
All notebooks submitted to this repository would be carefully documented and tested before being merged.
9+
10+
## Repository Structure
11+
12+
The repository will start by housing notebooks and have two categories of notebooks. Notebooks either live in the `combined-stages` or `use-cases` directories.
13+
14+
```bash
15+
examples
16+
|
17+
|- notebooks
18+
|
19+
|- combined-stages
20+
| |- training-with-eval
21+
| |- requirements.txt
22+
| |- training-with-eval.ipynb
23+
|- use-cases
24+
| |- policy-documents
25+
| | |- requirements.txt
26+
| | |- legislative-act.ipynb
27+
| |- instruction-manuals
28+
| | |- requirements.txt
29+
| | |- how-to-build-a-house.ipynb
30+
```
31+
32+
### Notebooks for Combined InstructLab stages
33+
34+
Notebooks in the `combined-stages` directory go through parts of or the entire InstructLab workflow that users might want to reference or use.
35+
Some examples of combined stages are a notebook that runs through training then evaluation or a notebook that goes from document pre-processing to SDG.
36+
37+
### Notebooks for End-to-End (e2e) use cases
38+
39+
Notebooks in the `use-cases` directory reflect real world use cases from start to finish.
40+
41+
## Additional Info
42+
43+
This repo would not be released as a package on PYPI but initially as just `.zip` and `.tar.gz` files on GitHub.
44+
Releases would serve the purpose of giving users specific versions of notebooks they could run reliably.

0 commit comments

Comments
 (0)