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

Model Card for functiongemma-smarthome

Dataset | Notebook | Demo Video

This model is a fine-tuned version of google/functiongemma-270m-it on a custom tool-calling dataset synthetically generated with Afterimage, our purpose-built synthetic dataset generation engine.

See the demo video.

What is Afterimage?

Building custom Small Language Models (SLMs) starts with great data. Afterimage eliminates the tedious data preparation bottleneck by transforming your organization's unstructured documents into high-quality, LLM-ready Q&A sets, tool-calling datasets and/or other types of structured datasets automatically. It is highly customizable and and aimed at transforming enterprises' way of customizing LLMs.

About ALTAI

ALTAI is a secure, no-code platform that enables organizations to create, train, and deploy customized SLMs using their own internal documents. From "Letsearch" (RAG Engine) to on-premise deployment, we make LLM customization uncool again—simply effective. It can work 100% on-premise and requires 0 technical experience.

Downloads last month
10
Safetensors
Model size
0.3B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for altaidevorg/functiongemma-smarthome

Finetuned
(440)
this model

Collection including altaidevorg/functiongemma-smarthome