Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
AutoGPTQ
Commits
fb40e100
Commit
fb40e100
authored
Nov 28, 2024
by
yangql
Browse files
Update quant_with_alpaca.py
parent
6dc028e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
quant_with_alpaca.py
quant_with_alpaca.py
+1
-1
No files found.
quant_with_alpaca.py
View file @
fb40e100
...
...
@@ -75,7 +75,7 @@ def load_data(data_path, tokenizer, n_samples):
def
main
():
parser
=
ArgumentParser
()
parser
.
add_argument
(
"--pretrained_model_dir"
,
type
=
str
)
parser
.
add_argument
(
"--quantized_model_dir"
,
type
=
str
,
default
=
"./
Qwen1.5-32B-Chat-gptq-4-test10.24
"
)
parser
.
add_argument
(
"--quantized_model_dir"
,
type
=
str
,
default
=
"./"
)
parser
.
add_argument
(
"--bits"
,
type
=
int
,
default
=
4
,
choices
=
[
2
,
3
,
4
,
8
])
parser
.
add_argument
(
"--group_size"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment