Text Generation
Transformers
Safetensors
English
gemma
conversational
text-generation-inference
How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "NickyNicky/gemma-1.1-2b-it_text_to_sql_format_chatML_V1"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "NickyNicky/gemma-1.1-2b-it_text_to_sql_format_chatML_V1",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/NickyNicky/gemma-1.1-2b-it_text_to_sql_format_chatML_V1
Quick Links

Metrics.

TrainOutput(global_step=2509,
  training_loss=0.2509715025906736,
  metrics={'train_runtime': 22783.0743,
    'train_samples_per_second': 8.81,
    'train_steps_per_second': 0.11,
    'total_flos': 1.820581902144553e+18,
    'train_loss': 0.2509715025906736,
    'epoch': 2.01
    }
)

Take dataset.

gretelai/synthetic_text_to_sql

Dataset format gemma fine tune.

NickyNicky/synthetic_text_to_sql_format_chatML_gemma

colab examples and Gradio.

https://colab.research.google.com/drive/1-0PsRAqTum2UuvsXb9JtXxLISIUWd8zv?usp=sharing

gradio colab.

$ train

Downloads last month
21
Safetensors
Model size
3B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Datasets used to train NickyNicky/gemma-1.1-2b-it_text_to_sql_format_chatML_V1

Space using NickyNicky/gemma-1.1-2b-it_text_to_sql_format_chatML_V1 1