mirror of
https://github.com/ravenscroftj/turbopilot.git
synced 2024-10-01 01:06:01 -04:00
add readme
This commit is contained in:
parent
f76105eecb
commit
f8713c089b
14
README.md
14
README.md
@ -11,7 +11,7 @@ cd ggml
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make codegen
|
||||
make codegen codegen-quantize
|
||||
```
|
||||
|
||||
## Getting The Models
|
||||
@ -24,4 +24,14 @@ Start by downloading either the [2B](https://huggingface.co/moyix/codegen-2B-mul
|
||||
python convert-codegen-to-ggml.py ./codegen-6B-multi-gptj 0
|
||||
```
|
||||
|
||||
## Build GGML
|
||||
## Quantize the model
|
||||
|
||||
```bash
|
||||
./bin/codegen-quantize ../../codegen-6B-multi-gptj/ggml-model-f32.bin ../../codegen-6B-multi-gptj/ggml-model-quant.bin 2
|
||||
```
|
||||
|
||||
## Run the model
|
||||
|
||||
```bash
|
||||
./bin/codegen -t 6 -m ../../codegen-6B-multi-gptj/ggml-model-quant.bin -p "def main("
|
||||
```
|
Loading…
Reference in New Issue
Block a user