Run this model with HF Jobs

Run jslin09/gemma2-2b-it-tw on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/jslin09/gemma2-2b-it-tw. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/jslin09/gemma2-2b-it-tw on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/jslin09/gemma2-2b-it-tw. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/jslin09/gemma2-2b-it-tw. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "jslin09/gemma2-2b-it-tw"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "jslin09/gemma2-2b-it-tw",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/jslin09/gemma2-2b-it-tw
Quick Links

本模型是以林彥廷 TaiwanChat 資料集微調 Google 的 Gemma2:2b - it,使該模型具備較多的繁體中文語彙來進行對話。

致謝

微調本模型所需要的算力,是由評律網提供 NVIDIA H100。特此致謝。

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

Model tree for jslin09/gemma2-2b-it-tw

Finetuned
(1,150)
this model
Quantizations
1 model

Dataset used to train jslin09/gemma2-2b-it-tw