Downloads · 30 days
10
5% of all-time downloads
ModelCloud/GPTQ-v2-Llama-3.1-8B-Instruct
GPTQ-v2-Llama-3.1-8B-Instruct is a machine learning model from ModelCloud. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This is not a production ready quant model but one used to evaluate GPTQ v1 vs GPTQ v2 for post-quant comparison.
Downloads · 30 days
10
5% of all-time downloads
All-time downloads
184
Public
Parameters
8B
5.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.7 GB · 100%
How the weights are stored.
I327B · 87%
From the Hugging Face model README
This is not a production ready quant model but one used to evaluate GPTQ v1 vs GPTQ v2 for post-quant comparison.
GPTQ v1 is hosted at: https://huggingface.co/ModelCloud/GPTQ-v1-Llama-3.1-8B-Instruct
# eval
from lm_eval.tasks import TaskManager
from lm_eval.utils import make_table
with tempfile.TemporaryDirectory() as tmp_dir:
results = GPTQModel.eval(
QUANT_SAVE_PATH,
tasks=[EVAL.LM_EVAL.ARC_CHALLENGE, EVAL.LM_EVAL.GSM8K_PLATINUM_COT],
apply_chat_template=True,
random_seed=898,
output_path= tmp_dir,
)
print(make_table(results))
if "groups" in results:
print(make_table(results, "groups"))
Full quantization and eval reproduction code: https://github.com/ModelCloud/GPTQModel/issues/1545#issuecomment-2811997133
| Tasks | Version | Filter | n-shot | Metric | Value | Stderr | ||
|---|---|---|---|---|---|---|---|---|
| arc_challenge | 1 | none | 0 | acc | ↑ | 0.5034 | ± | 0.0146 |
| none | 0 | acc_norm | ↑ | 0.5068 | ± | 0.0146 | ||
| gsm8k_platinum_cot | 3 | flexible-extract | 8 | exact_match | ↑ | 0.7601 | ± | 0.0123 |
| strict-match | 8 | exact_match | ↑ | 0.5211 | ± | 0.0144 |