mwitiderrick
commited on
Commit
·
a608ae8
1
Parent(s):
507bf37
Update README.md
Browse files
README.md
CHANGED
@@ -51,7 +51,7 @@ print(model(formatted_prompt, max_new_tokens=500).generations[0].text)
|
|
51 |
```bash
|
52 |
git clone https://github.com/neuralmagic/sparseml
|
53 |
pip install -e "sparseml[transformers]"
|
54 |
-
python sparseml/src/sparseml/transformers/sparsification/obcq/obcq.py
|
55 |
python sparseml/src/sparseml/transformers/sparsification/obcq/export.py --task text-generation --model_path obcq_deployment
|
56 |
cp deployment/model.onnx deployment/model-orig.onnx
|
57 |
python onnx_kv_inject.py --input-file deployment/model-orig.onnx --output-file deployment/model.onnx
|
|
|
51 |
```bash
|
52 |
git clone https://github.com/neuralmagic/sparseml
|
53 |
pip install -e "sparseml[transformers]"
|
54 |
+
python sparseml/src/sparseml/transformers/sparsification/obcq/obcq.py GeneZC/MiniChat-3B open_platypus --recipe recipe.yaml --save True
|
55 |
python sparseml/src/sparseml/transformers/sparsification/obcq/export.py --task text-generation --model_path obcq_deployment
|
56 |
cp deployment/model.onnx deployment/model-orig.onnx
|
57 |
python onnx_kv_inject.py --input-file deployment/model-orig.onnx --output-file deployment/model.onnx
|