Skip to content

Commit

Permalink
fix clm readme (#866)
Browse files Browse the repository at this point in the history
Signed-off-by: changwangss <[email protected]>
(cherry picked from commit ec59b18)
  • Loading branch information
changwangss authored and chensuyue committed May 11, 2023
1 parent 3a03677 commit 1f802aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ sh run_benchmark.sh --topology=topology_name --mode=performance --input_model=mo
```python
from neural_compressor.config import AccuracyCriterion, PostTrainingQuantConfig
from neural_compressor import quantization
accuracy_criterion = AccuracyCriterion(tolerable_loss=0.05)
accuracy_criterion = AccuracyCriterion(higher_is_better=False, tolerable_loss=0.5)
conf = PostTrainingQuantConfig(accuracy_criterion=accuracy_criterion)
q_model = quantization.fit(model,
conf,
Expand Down

0 comments on commit 1f802aa

Please sign in to comment.