How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "devendrajadhav34/gemma3-bitext-support-lora" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "devendrajadhav34/gemma3-bitext-support-lora",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "devendrajadhav34/gemma3-bitext-support-lora" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "devendrajadhav34/gemma3-bitext-support-lora",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Model Card for Model ID

Fine-tuned Gemma 3 4B-IT using QLoRA with 4-bit NF4 quantization and LoRA adapters on the Bitext Customer Support dataset.

Fine-tuning

  • QLoRA
  • 4-bit quantization
  • Rank 16
  • 3 epochs

Evaluation

Metric Base Fine-tuned
ROUGE-L 0.18 0.42
BERTScore F1 0.843 0.913

Qualitative Examples

User Query Base Gemma 3 Fine-tuned Gemma 3

image

Intended Use

Customer-support assistants for e-commerce and retail domains.

Downloads last month
40
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for devendrajadhav34/gemma3-bitext-support-lora

Adapter
(124)
this model

Dataset used to train devendrajadhav34/gemma3-bitext-support-lora

Space using devendrajadhav34/gemma3-bitext-support-lora 1