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
Copy file name to clipboardExpand all lines: README.md
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,18 +13,21 @@ LLM Finetuning toolkit is a config-based CLI tool for launching a series of LLM
13
13
</p>
14
14
15
15
## Installation
16
+
16
17
### pipx (recommended)
18
+
17
19
pipx installs the package and depdencies in a seperate virtual environment
20
+
18
21
```shell
19
22
pipx install llm-toolkit
20
23
```
21
24
22
25
### pip
26
+
23
27
```shell
24
28
pip install llm-toolkit
25
29
```
26
30
27
-
28
31
## Quick Start
29
32
30
33
This guide contains 3 stages that will enable you to get the most out of this toolkit!
@@ -35,11 +38,14 @@ This guide contains 3 stages that will enable you to get the most out of this to
35
38
36
39
### Basic
37
40
38
-
```python
39
-
llmtune --config-path ./config.yml
41
+
```shell
42
+
llmtune generate config
43
+
llmtune run --config-path ./config.yml
40
44
```
41
45
42
-
This command initiates the fine-tuning process using the settings specified in the default YAML configuration file `config.yaml`.
46
+
The first command generates a helpful starter `config.yml` file and saves in the current working directory. This is provided to users to quickly get started and as a base for further modification.
47
+
48
+
Then the second command initiates the fine-tuning process using the settings specified in the default YAML configuration file `config.yaml`.
43
49
44
50
### Intermediate
45
51
@@ -247,6 +253,7 @@ NOTE: Be sure to merge the latest from "upstream" before making a pull request!
247
253
# GPU
248
254
docker run -it --gpus all llm-toolkit
249
255
```
256
+
250
257
</details>
251
258
252
259
<details>
@@ -257,6 +264,7 @@ See poetry documentation page for poetry [installation instructions](https://pyt
257
264
```shell
258
265
poetry install
259
266
```
267
+
260
268
</details>
261
269
<details>
262
270
<summary>pip</summary>
@@ -265,27 +273,23 @@ We recommend using a virtual environment like `venv` or `conda` for installation
265
273
```shell
266
274
pip install -e .
267
275
```
276
+
268
277
</details>
269
278
</details>
270
279
271
-
272
-
273
280
### Checklist Before Pull Request (Optional)
274
281
275
282
1. Use `ruff check --fix` to check and fix lint errors
276
283
2. Use `ruff format` to apply formatting
277
284
278
285
NOTE: Ruff linting and formatting checks are done when PR is raised via Git Action. Before raising a PR, it is a good practice to check and fix lint errors, as well as apply formatting.
279
286
280
-
281
287
### Releasing
282
288
283
-
284
-
To manually release a PyPI package, please run:
289
+
To manually release a PyPI package, please run:
285
290
286
291
```shell
287
292
make build-release
288
293
```
289
294
290
295
Note: Make sure you have pypi token for this [PyPI repo](https://pypi.org/project/llm-toolkit/).
0 commit comments