Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| InstructLM-1.3B.Q2_K.gguf | Q2_K | 0.49GB |
| InstructLM-1.3B.IQ3_XS.gguf | IQ3_XS | 0.54GB |
| InstructLM-1.3B.IQ3_S.gguf | IQ3_S | 0.57GB |
| InstructLM-1.3B.Q3_K_S.gguf | Q3_K_S | 0.56GB |
| InstructLM-1.3B.IQ3_M.gguf | IQ3_M | 0.58GB |
| InstructLM-1.3B.Q3_K.gguf | Q3_K | 0.62GB |
| InstructLM-1.3B.Q3_K_M.gguf | Q3_K_M | 0.62GB |
| InstructLM-1.3B.Q3_K_L.gguf | Q3_K_L | 0.67GB |
| InstructLM-1.3B.IQ4_XS.gguf | IQ4_XS | 0.69GB |
| InstructLM-1.3B.Q4_0.gguf | Q4_0 | 0.72GB |
| InstructLM-1.3B.IQ4_NL.gguf | IQ4_NL | 0.73GB |
| InstructLM-1.3B.Q4_K_S.gguf | Q4_K_S | 0.73GB |
| InstructLM-1.3B.Q4_K.gguf | Q4_K | 0.77GB |
| InstructLM-1.3B.Q4_K_M.gguf | Q4_K_M | 0.77GB |
| InstructLM-1.3B.Q4_1.gguf | Q4_1 | 0.8GB |
| InstructLM-1.3B.Q5_0.gguf | Q5_0 | 0.87GB |
| InstructLM-1.3B.Q5_K_S.gguf | Q5_K_S | 0.87GB |
| InstructLM-1.3B.Q5_K.gguf | Q5_K | 0.89GB |
| InstructLM-1.3B.Q5_K_M.gguf | Q5_K_M | 0.89GB |
| InstructLM-1.3B.Q5_1.gguf | Q5_1 | 0.95GB |
| InstructLM-1.3B.Q6_K.gguf | Q6_K | 1.03GB |
| InstructLM-1.3B.Q8_0.gguf | Q8_0 | 1.33GB |

1git clone https://github.com/EleutherAI/lm-evaluation-harness
2cd lm-evaluation-harness
3pip install -e .1MODEL=instruction-pretrain/InstructLM-1.3B
2add_bos_token=True # this flag is needed because lm-eval-harness set add_bos_token to False by default, but ours require add_bos_token to be True
3
4accelerate launch -m lm_eval --model hf \
5 --model_args pretrained=${MODEL},add_bos_token=${add_bos_token},dtype=float16 \
6 --gen_kwargs do_sample=False \
7 --tasks piqa,hellaswag,winogrande \
8 --batch_size auto \
9 --num_fewshot 0
10
11accelerate launch -m lm_eval --model hf \
12 --model_args pretrained=${MODEL},add_bos_token=${add_bos_token},dtype=float16 \
13 --gen_kwargs do_sample=False \
14 --tasks social_iqa,ai2_arc,openbookqa,boolq,mmlu \
15 --batch_size auto \
16 --num_fewshot 51@article{cheng2024instruction,
2 title={Instruction Pre-Training: Language Models are Supervised Multitask Learners},
3 author={Cheng, Daixuan and Gu, Yuxian and Huang, Shaohan and Bi, Junyu and Huang, Minlie and Wei, Furu},
4 journal={arXiv preprint arXiv:2406.14491},
5 year={2024}
6}1@inproceedings{
2cheng2024adapting,
3title={Adapting Large Language Models via Reading Comprehension},
4author={Daixuan Cheng and Shaohan Huang and Furu Wei},
5booktitle={The Twelfth International Conference on Learning Representations},
6year={2024},
7url={https://openreview.net/forum?id=y886UXPEZ0}
8}