Update README.md
Browse files123---license: llama3.3---123456789101112131415161718192021222324252627---license: llama3.3---The original [Llama 3.3 70B Instruct](https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct) model quantized using AutoAWQ. Follow the instruction [here](https://docs.vllm.ai/en/latest/quantization/auto_awq.html).```from awq import AutoAWQForCausalLMfrom transformers import AutoTokenizermodel_path = 'meta-llama/Llama-3.3-70B-Instruct'quant_path = 'Llama-3.3-70B-Instruct-AWQ-4bit'quant_config = { "zero_point": True, "q_group_size": 128, "w_bit": 4, "version": "GEMM" }# Load modelmodel = AutoAWQForCausalLM.from_pretrained(model_path, **{"low_cpu_mem_usage": True, "use_cache": False})tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)# Quantizemodel.quantize(tokenizer, quant_config=quant_config)# Save quantized modelmodel.save_quantized(quant_path)tokenizer.save_pretrained(quant_path)```
README.md+27-3