How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "skyxiaobaibai/gemma2B_function_calling"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "skyxiaobaibai/gemma2B_function_calling",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/skyxiaobaibai/gemma2B_function_calling:Q4_K_M
Quick Links

Please refer gemma2B description and testing codes. Used datasets to lora add function calling HF: glaiveai/glaive-function-calling-v2 HF: hiyouga/glaive-function-calling-v2-sharegpt Author email: jieonline2004@gmail.com

Model Page: Gemma

This model card corresponds to the 2B base version of the Gemma model. You can also visit the model card of the 7B base model, 7B instruct model, and 2B instruct model.

Resources and Technical Documentation:

Gemma Technical Report
Responsible Generative AI Toolkit
Gemma on Kaggle
Gemma on Vertex Model Garden

Terms of Use: Terms

Authors: Google Model Information

Summary description and brief definition of inputs and outputs.

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