Instructions to use quin210/vitutor-gemma4-e4b-sft-full with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use quin210/vitutor-gemma4-e4b-sft-full with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-4-E4B-it") model = PeftModel.from_pretrained(base_model, "quin210/vitutor-gemma4-e4b-sft-full") - Transformers
How to use quin210/vitutor-gemma4-e4b-sft-full with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="quin210/vitutor-gemma4-e4b-sft-full") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("quin210/vitutor-gemma4-e4b-sft-full", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use quin210/vitutor-gemma4-e4b-sft-full with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "quin210/vitutor-gemma4-e4b-sft-full" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "quin210/vitutor-gemma4-e4b-sft-full", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/quin210/vitutor-gemma4-e4b-sft-full
- SGLang
How to use quin210/vitutor-gemma4-e4b-sft-full with 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 "quin210/vitutor-gemma4-e4b-sft-full" \ --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": "quin210/vitutor-gemma4-e4b-sft-full", "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 "quin210/vitutor-gemma4-e4b-sft-full" \ --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": "quin210/vitutor-gemma4-e4b-sft-full", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use quin210/vitutor-gemma4-e4b-sft-full with Docker Model Runner:
docker model run hf.co/quin210/vitutor-gemma4-e4b-sft-full
Download tokenizer.json from quin210/vitutor-gemma4-e4b-sft-full: direct link, hf CLI and curl.
- Browser
- Download file 32.2 MB
-
https://huggingface.co/quin210/vitutor-gemma4-e4b-sft-full/resolve/main/tokenizer.json
- Command line
-
hf download hf://quin210/vitutor-gemma4-e4b-sft-full/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/quin210/vitutor-gemma4-e4b-sft-full/resolve/main/tokenizer.json
32.2 MB
- Xet hash:
- 56c0fa6cda1d4fc67d26339eff88af3a6245fc796e363fa0b4a8c019cf63b179
- Size of remote file:
- 32.2 MB
- SHA256:
- a43152a9caea76a7f589def6bbbe5d243bbded741fdb4e7e83c09796e39f8aab
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.