update README.md
This commit is contained in:
parent
b26bd4c34c
commit
4e986ac4bc
1 changed files with 8 additions and 3 deletions
|
@ -10,9 +10,9 @@ wget https://raw.githubusercontent.com/brunoklein99/deep-learning-notes/master/s
|
||||||
./bin/train-text-from-scratch \
|
./bin/train-text-from-scratch \
|
||||||
--vocab-model ../models/ggml-vocab-llama.gguf \
|
--vocab-model ../models/ggml-vocab-llama.gguf \
|
||||||
--ctx 64 --embd 256 --head 8 --layer 16 \
|
--ctx 64 --embd 256 --head 8 --layer 16 \
|
||||||
--checkpoint-in chk-shakespeare-256x16.gguf \
|
--checkpoint-in chk-shakespeare-256x16-LATEST.gguf \
|
||||||
--checkpoint-out chk-shakespeare-256x16.gguf \
|
--checkpoint-out chk-shakespeare-256x16-ITERATION.gguf \
|
||||||
--model-out ggml-shakespeare-256x16-f32.gguf \
|
--model-out ggml-shakespeare-256x16-f32-ITERATION.gguf \
|
||||||
--train-data "shakespeare.txt" \
|
--train-data "shakespeare.txt" \
|
||||||
-t 6 -b 16 --seed 1 --adam-iter 256 \
|
-t 6 -b 16 --seed 1 --adam-iter 256 \
|
||||||
--no-checkpointing
|
--no-checkpointing
|
||||||
|
@ -20,3 +20,8 @@ wget https://raw.githubusercontent.com/brunoklein99/deep-learning-notes/master/s
|
||||||
# predict
|
# predict
|
||||||
./bin/main -m ggml-shakespeare-256x16-f32.gguf
|
./bin/main -m ggml-shakespeare-256x16-f32.gguf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Output files will be saved every N iterations (config with `--save-every N`).
|
||||||
|
The pattern "ITERATION" in the output filenames will be replaced with the iteration number and "LATEST" for the latest output.
|
||||||
|
|
||||||
|
To train GGUF models just pass them to `--checkpoint-in FN`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue