You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document is the Community Build Process, these are the general steps to get the cmb built.
4
+
If you are looking for the [config.yaml](https://gist.github.com/jjasghar/436931fbee1d34f029f3c099311301c3) that worked for `granite-3.0-8b-base` there it is.
5
+
4
6
5
7
## Community Model Build diagram
6
8
7
9

8
10
9
-
## Add the PRs to the local tree
11
+
We have created a default `build.sh` script, which will live in a repository (soon). The actual commands are
12
+
explained here, and this should be considered the source of truth.
13
+
14
+
## Add the PRs to the build machine's taxonomy tree
10
15
11
-
Add the PRs you want to be built into the run. Tag the PRs with "cmb-running."
16
+
Add the [PRs](https://github.com/instructlab/taxonomy/pulls) you want to be built into the run. Tag the PRs with "cmb-running."
12
17
18
+
Example:
13
19
```bash
14
20
mkdir -p compositional_skills/general/synonyms
15
21
vi compositional_skills/general/synonyms/attribution.txt
16
22
vi compositional_skills/general/synonyms/qna.yaml
17
23
```
24
+
Or if you are pulling from GitHub:
25
+
```bash
26
+
cd~/.local/share/instructlab/taxonomy
27
+
git fetch origin pull/ID/head:BRANCH_NAME
28
+
git checkout BRANCHNAME
29
+
```
18
30
19
31
## Verify changes
20
32
```bash
@@ -30,6 +42,50 @@ ilab taxonomy diff
30
42
3rd, 2024. If you have different hardware you'll need a different profile, and different
31
43
options.
32
44
45
+
## Reset the build directories
46
+
47
+
Move the old build directories away, or save them. Something along these lines:
Find the `ilab` random command to host the model, send that on after the PR letter
142
+
ilab model chat --model /home/instructlab/.local/share/instructlab/phased/phase2/checkpoints/hf_format/samples_XXXXX
120
143
```
121
-
cat model_ilab_scripting.sh
122
-
```
123
-
124
-
## Form letter for PRs
125
-
126
-
Hi! 👋
127
-
Thank you for submitting this PR. We are ready to do some validation now, and we have a few candidates to see if they improve the model.
128
-
We some resources to run these release candidates, but we need _you_ to help us. Can you reach out to me either on Slack (@awesome) or email me at awesomeATinstructlab.ai so I can get you access via `ilab model chat`?
129
-
We can only run these models for a "week" or so, so please reach out as soon as possible and tell me which one is best for you on this PR.
130
-
131
-
## With confirmed success
132
-
133
-
With confirmed success, tag the PR with "ready-for-merge" and remove the "community-build-ready" tags. Wait till the "week" before shutting down the staging instance, and merge in all the ones that have been tagged.
134
-
135
-
## Steps to Merge and Release
136
-
137
-
After you have merged in the PRs to the taxonomy, now you need to push this to huggingface, if you don't have access to HuggingFace, you will need to find someone to add you to it ;).
138
-
139
-
1) Clone down the repository on the staging box if you haven't already
0 commit comments