Skip to content

Commit f51266a

Browse files
Update examples/neural_compressor/language-modeling/run_clm.py
Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com>
1 parent 88760bc commit f51266a

File tree

1 file changed

+2
-1
lines changed
  • examples/neural_compressor/language-modeling

1 file changed

+2
-1
lines changed

examples/neural_compressor/language-modeling/run_clm.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ class OptimizationArguments:
228228
default="RTN",
229229
metadata={"help": "Quantization methodology for weight only quantization. Choose from 'RTN' and 'GPTQ'."},
230230
)
231-
gptq_percdamp: float = field(
231+
damp_percent: float = field(
232+
232233
default=0.01,
233234
metadata={"help": "Percentage of Hessian's diagonal values average, which will be added to Hessian's diagonal to increase numerical stability, used for GPTQ quantization"},
234235
)

0 commit comments

Comments
 (0)