Views
No views yet
modules_to_save tensors
(embed_tokens, lm_head, and RMSNorm layers) that vLLM's LoRA runtime does
not support. This upload contains only the pure low-rank lora_A/lora_B
weights (224 pairs: 32 layers x q/k/v/o/gate/up/down projections, bf16), with
modules_to_save: null in adapter_config.json. No resize_token_embeddings()
call is needed to load this adapter.1python -m vllm.entrypoints.openai.api_server \
2 --model meta-llama/Llama-3.1-8B \
3 --enable-lora \
4 --lora-modules medical=anjohn0077/NEXS-medical-lora \
5 --port 8000 \
6 --max-lora-rank 128 \
7 --gpu-memory-utilization 0.85| Variant | Accuracy |
|---|---|
| Base model | 0.7169 |
| This LoRA on base (via vLLM) | 0.7059 |
| Original full fine-tune | 0.7721 |
1lm_eval --model local-completions \
2 --model_args model=medical,base_url=http://localhost:8000/v1/completions,tokenizer=meta-llama/Llama-3.1-8B,num_concurrent=10 \
3 --tasks mmlu_professional_medicine \
4 --output_path results/vllm_medical