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 "jhflow/mistral7b-lora-multi-turn-v2" \
    --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": "jhflow/mistral7b-lora-multi-turn-v2",
		"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 "jhflow/mistral7b-lora-multi-turn-v2" \
        --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": "jhflow/mistral7b-lora-multi-turn-v2",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

This is finetuned model for multi turn style RAG. I picked up some datasets consisting of knowledge based multi turn conversations for training.

base model : https://huggingface.co/Open-Orca/Mistral-7B-OpenOrca
prompt teamplate : chatml (same as https://huggingface.co/Open-Orca/Mistral-7B-OpenOrca)

<|im_start|>system
{system_prompt}

{context}<|im_end|>
<|im_start|>user
{user_query}<|im_end|>
<|im_start|>assistant
{answer}
<|im_end|>
Downloads last month
27
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for jhflow/mistral7b-lora-multi-turn-v2

Adapters
245 models
Finetunes
8 models
Quantizations
3 models