Text Generation
Transformers
Safetensors
gpt2
Generated from Trainer
Eval Results (legacy)
text-generation-inference
Instructions to use jarod0411/stage2_v5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jarod0411/stage2_v5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jarod0411/stage2_v5")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jarod0411/stage2_v5") model = AutoModelForCausalLM.from_pretrained("jarod0411/stage2_v5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jarod0411/stage2_v5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jarod0411/stage2_v5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jarod0411/stage2_v5", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jarod0411/stage2_v5
- SGLang
How to use jarod0411/stage2_v5 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 "jarod0411/stage2_v5" \ --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": "jarod0411/stage2_v5", "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 "jarod0411/stage2_v5" \ --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": "jarod0411/stage2_v5", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use jarod0411/stage2_v5 with Docker Model Runner:
docker model run hf.co/jarod0411/stage2_v5
Commit History
-
End of training
Verified signaturef03cf49 -
Model save
Verified signaturef0a3688 -
Training in progress, step 113000
Verified signature64d70ce -
Training in progress, step 112500
Verified signatureb07e1c5 -
Training in progress, step 112000
Verified signature9aa04c8 -
Training in progress, step 111500
Verified signature17fa0d6 -
Training in progress, step 111000
Verified signatureab3d517 -
Training in progress, step 110500
Verified signatureee85c42 -
Training in progress, step 110000
Verified signature43649b6 -
Training in progress, step 109500
Verified signatured9c6abe -
Training in progress, step 109000
Verified signatured8e3870 -
Training in progress, step 108500
Verified signature9356c7a -
Training in progress, step 108000
Verified signature573f940 -
Training in progress, step 107500
Verified signature20015eb -
Training in progress, step 107000
Verified signatureb64dee4 -
Training in progress, step 106500
Verified signaturea5ca36b -
Training in progress, step 106000
Verified signature95a79d9 -
Training in progress, step 105500
Verified signature39e7ed6 -
Training in progress, step 105000
Verified signature6194555 -
Training in progress, step 104500
Verified signature096aa04 -
Training in progress, step 104000
Verified signature72a0880 -
Training in progress, step 103500
Verified signaturec0aad86 -
Training in progress, step 103000
Verified signature65cae83 -
Training in progress, step 102500
Verified signature7816146 -
Training in progress, step 102000
Verified signature2946ef2 -
Training in progress, step 101500
Verified signature2aefc5b -
Training in progress, step 101000
Verified signaturee3263f8 -
Training in progress, step 100500
Verified signatured4d8151 -
Training in progress, step 100000
Verified signature5cdf3c9 -
Training in progress, step 99500
Verified signature2dfe75e -
Training in progress, step 99000
Verified signature79de14b -
Training in progress, step 98500
Verified signaturea51534a -
Training in progress, step 98000
Verified signaturefc05bb7 -
Training in progress, step 97500
Verified signature14720ad -
Training in progress, step 97000
Verified signaturec016b39 -
Training in progress, step 96500
Verified signaturea0921d4 -
Training in progress, step 96000
Verified signature8b17c82 -
Training in progress, step 95500
Verified signaturee700584 -
Training in progress, step 95000
Verified signaturea8e3781 -
Training in progress, step 94500
Verified signaturec49f393 -
Training in progress, step 94000
Verified signatureac1dd1d -
Training in progress, step 93500
Verified signature0f39c15 -
Training in progress, step 93000
Verified signature954dffc -
Training in progress, step 92500
Verified signature0e7a2aa -
Training in progress, step 92000
Verified signature1148131 -
Training in progress, step 91500
Verified signature496d6a3 -
Training in progress, step 91000
Verified signature44667d7 -
Training in progress, step 90500
Verified signature3926816 -
Training in progress, step 90000
Verified signaturef21884d -
Training in progress, step 89500
Verified signatureb6595e5