Downloads · 30 days
0
ash256/sglang_embedding_lora_test_adapter
sglang_embedding_lora_test_adapter is a machine learning model from ash256. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a fine-tuned LoRA adapter for testing SGLang's embedding LoRA implementation. Unlike randomly initialized adapters, this one produces coherent text outputs.
Downloads · 30 days
0
Access
Public
Updated Dec 12, 2025
Repo size
904 MB
Likes
1
Public
Click a slice to open those files.
.safetensors579 MB · 90%
From the Hugging Face model README
This is a fine-tuned LoRA adapter for testing SGLang's embedding LoRA implementation. Unlike randomly initialized adapters, this one produces coherent text outputs.
TinyLlama/TinyLlama-1.1B-Chat-v1.0down_proj.lora_A: (8, 5632)
down_proj.lora_B: (2048, 8)
embed_tokens.lora_embedding_A: (8, 32000)
embed_tokens.lora_embedding_B: (2048, 8)
gate_proj.lora_A: (8, 2048)
gate_proj.lora_B: (5632, 8)
k_proj.lora_A: (8, 2048)
k_proj.lora_B: (256, 8)
lm_head.lora_A: (8, 2048)
lm_head.lora_B: (32000, 8)
o_proj.lora_A: (8, 2048)
o_proj.lora_B: (2048, 8)
q_proj.lora_A: (8, 2048)
q_proj.lora_B: (2048, 8)
up_proj.lora_A: (8, 2048)
up_proj.lora_B: (5632, 8)
v_proj.lora_A: (8, 2048)
v_proj.lora_B: (256, 8)
This adapter tests that SGLang's ChunkedSgmvLoRABackend.run_lora_a_embedding() correctly
handles embedding LoRA layers (embed_tokens, lm_head).
Key: embed_tokens is in target_modules (LoRA decomposition), NOT modules_to_save (full weights).
# Used by: test/srt/lora/test_lora_hf_sgl_logprob_diff.py
# The adapter produces coherent outputs for meaningful CI/CD verification.
python scripts/playground/lora/train_embedding_lora_adapter.py --num_train_steps 500