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

slim-summary-phi-3

slim-summary-phi-3 is a specialized function calling model that summarizes a given text and generates as output a Python list of summary points.

This is the base Pytorch version of the model, useful for further fine-tuning. For faster inference, we would recommend using either the GGUF or OpenVino version of the model.

Model Description

  • Developed by: llmware
  • Model type: phi-3
  • Parameters: 3.8 billion
  • Language(s) (NLP): English
  • License: Apache 2.0
  • Uses: Summary bulletpoints extracted from complex business documents

Model Card Contact

llmware on github

llmware on hf

llmware website

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

Model tree for llmware/slim-summary-phi-3

Quantizations
2 models

Collection including llmware/slim-summary-phi-3