Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
[DOC]update README (#301)
Browse files Browse the repository at this point in the history
* update README

Signed-off-by: intellinjun <[email protected]>

* Update README.md

---------

Signed-off-by: intellinjun <[email protected]>
  • Loading branch information
intellinjun authored Jun 25, 2024
1 parent 9f8924d commit 97c8190
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ python scripts/run.py model-path --weight_dtype int4 -p "She opened the door and
```bash
# skip the step if GGUF model is from Hugging Face or generated by llama.cpp
python scripts/convert.py --outtype f32 --outfile ne-f32.bin EleutherAI/gpt-j-6b
# Using the quantize script requires a binary installation of Neural Speed
mkdir build&&cd build
cmake ..&&make -j
cd ..
python scripts/quantize.py --model_name gptj --model_file ne-f32.bin --out_file ne-q4_j.bin --build_dir ./build --weight_dtype int4 --alg sym
```

#### Inference
Expand Down

0 comments on commit 97c8190

Please sign in to comment.