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 "blueapple8259/search_suggestions" \
    --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": "blueapple8259/search_suggestions",
		"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 "blueapple8259/search_suggestions" \
        --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": "blueapple8259/search_suggestions",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

This model is a fine-tuned version of the smallcp2024 model that suggests appropriate search queries for answering a given prompt using Google search.

The dataset was generated using llama 3.2 1b.

template

{prompt}<|split|>

example

Please tell me about the png file structure.<|split|>png file structure
Please give me 3 tips to improve my health.<|split|>How to improve my health
What do I need to do to write well?<|split|>How to write a good job?
Downloads last month
9
Safetensors
Model size
2.16M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for blueapple8259/search_suggestions

Finetuned
(1)
this model