gyung/lfm25-local-harness-rlvr-http-vllm-lora-browsecomp-20260619-base
04
LFM2.5-8B-A1B_localharnessrlvrhttpvllmlorabrowsecomp20260619_base
This public artifact is part of the ko-law-retriever work. It is intended for Korean legal retrieval, evidence selection, or related tool-use experiments.
Scope
- Artifact type: PEFT LoRA adapter
- This is not a standalone legal-advice model.
- Use it to retrieve, rank, or prepare evidence for a separate answer model.
Basic Use
Install:
pip install -U "huggingface_hub[cli]" peft transformersDownload:
hf download gyung/lfm25-local-harness-rlvr-http-vllm-lora-browsecomp-20260619-base --local-dir lfm25-local-harness-rlvr-http-vllm-lora-browsecomp-20260619-baseFor LoRA adapters, load with the matching base model:
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_id = "LiquidAI/LFM2.5-8B-A1B"
adapter_id = "gyung/lfm25-local-harness-rlvr-http-vllm-lora-browsecomp-20260619-base"
tokenizer = AutoTokenizer.from_pretrained(base_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
base_id,
device_map="auto",
torch_dtype="auto",
trust_remote_code=True,
)
model = PeftModel.from_pretrained(model, adapter_id)For vLLM LoRA serving:
python -m vllm.entrypoints.openai.api_server \
--model LiquidAI/LFM2.5-8B-A1B \
--enable-lora \
--lora-modules lfm25-local-harness-rlvr-http-vllm-lora-browsecomp-20260619-base=./lfm25-local-harness-rlvr-http-vllm-lora-browsecomp-20260619-base \
--served-model-name lfm25-local-harness-rlvr-http-vllm-lora-browsecomp-20260619-base \
--max-model-len 12288Related Repositories
- Main code:
gyung/ko-law-retriever - Large data/eval artifacts:
gyung/ko-law-retriever-artifacts-20260622
