Instructions to use TheMockingJay1013/gemma-3-sft-peft-dare with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheMockingJay1013/gemma-3-sft-peft-dare with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TheMockingJay1013/gemma-3-sft-peft-dare")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("TheMockingJay1013/gemma-3-sft-peft-dare") model = AutoModelForCausalLM.from_pretrained("TheMockingJay1013/gemma-3-sft-peft-dare") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use TheMockingJay1013/gemma-3-sft-peft-dare with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TheMockingJay1013/gemma-3-sft-peft-dare" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheMockingJay1013/gemma-3-sft-peft-dare", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TheMockingJay1013/gemma-3-sft-peft-dare
- SGLang
How to use TheMockingJay1013/gemma-3-sft-peft-dare 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 "TheMockingJay1013/gemma-3-sft-peft-dare" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheMockingJay1013/gemma-3-sft-peft-dare", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "TheMockingJay1013/gemma-3-sft-peft-dare" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheMockingJay1013/gemma-3-sft-peft-dare", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TheMockingJay1013/gemma-3-sft-peft-dare with Docker Model Runner:
docker model run hf.co/TheMockingJay1013/gemma-3-sft-peft-dare
- Xet hash:
- 496b40792704534f01e0d0ff91ceea3114c9e7b389e5b286d554c5e4636ff4ba
- Size of remote file:
- 33.4 MB
- SHA256:
- 7d4046bf0505a327dd5a0abbb427ecd4fc82f99c2ceaa170bc61ecde12809b0c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.