Text Generation
Transformers
TensorBoard
Safetensors
gemma2
Generated from Trainer
text-generation-inference
Instructions to use JuIm/ProGemma with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JuIm/ProGemma with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="JuIm/ProGemma")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("JuIm/ProGemma") model = AutoModelForCausalLM.from_pretrained("JuIm/ProGemma", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use JuIm/ProGemma with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "JuIm/ProGemma" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "JuIm/ProGemma", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/JuIm/ProGemma
- SGLang
How to use JuIm/ProGemma 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 "JuIm/ProGemma" \ --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": "JuIm/ProGemma", "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 "JuIm/ProGemma" \ --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": "JuIm/ProGemma", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use JuIm/ProGemma with Docker Model Runner:
docker model run hf.co/JuIm/ProGemma
Commit History
-
End of training
Verified signatureab3488a
-
End of training
Verified signaturec6267fe
-
End of training
Verified signaturee04284b -
End of training
Verified signaturedbef24c
-
End of training
Verified signature30e9a75 -
End of training
Verified signaturea8abb36
-
End of training
Verified signature4522306
-
End of training
Verified signaturecc531e9 -
End of training
Verified signature3438485
-
End of training
Verified signatureb137af4
-
End of training
Verified signaturef2109cf
-
End of training
Verified signatureb9eeb7a
-
End of training
Verified signature964ef94 -
End of training
Verified signaturebf3b944
-
End of training
Verified signature846033f -
End of training
Verified signature01bb5f4
-
End of training
Verified signatureecdeb8a
-
End of training
Verified signature7d31919
-
End of training
Verified signature7bb6798
-
End of training
Verified signature001a4f8
-
End of training
Verified signature318a061
-
End of training
Verified signatureaec1d08
-
End of training
Verified signatureecfe434
-
End of training
Verified signature9ef579b
-
End of training
Verified signature561c8ed
-
End of training
Verified signature5c35c7f
-
End of training
Verified signature7a845cc
-
End of training
Verified signature4b588b7 -
End of training
Verified signaturee7e3e36