Text Generation
Transformers
Safetensors
gpt2
Generated from Trainer
Eval Results (legacy)
text-generation-inference
Instructions to use jarod0411/stage2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jarod0411/stage2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jarod0411/stage2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jarod0411/stage2") model = AutoModelForCausalLM.from_pretrained("jarod0411/stage2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jarod0411/stage2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jarod0411/stage2" # 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", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jarod0411/stage2
- SGLang
How to use jarod0411/stage2 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" \ --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", "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" \ --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", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use jarod0411/stage2 with Docker Model Runner:
docker model run hf.co/jarod0411/stage2
Commit History
-
End of training
Verified signature603597b -
Model save
Verified signatured9743ee -
Training in progress, step 430500
Verified signature5e25458 -
Training in progress, step 430000
Verified signature5034890 -
Training in progress, step 429500
Verified signaturef1fb0c1 -
Training in progress, step 429000
Verified signaturecddd917 -
Training in progress, step 428500
Verified signature4643a3d -
Training in progress, step 428000
Verified signaturea80c86c -
Training in progress, step 427500
Verified signature3b3c990 -
Training in progress, step 427000
Verified signaturea39e7bb -
Training in progress, step 426500
Verified signature849041b -
Training in progress, step 426000
Verified signaturef7d1c9b -
Training in progress, step 425500
Verified signature9f7537c -
Training in progress, step 425000
Verified signature5577331 -
Training in progress, step 424500
Verified signaturef6e87da -
Training in progress, step 424000
Verified signature77afc5e -
Training in progress, step 423500
Verified signatureba6119e -
Training in progress, step 423000
Verified signature78cc2e0 -
Training in progress, step 422500
Verified signature8f93df8 -
Training in progress, step 422000
Verified signature802c705 -
Training in progress, step 421500
Verified signaturefda76f7 -
Training in progress, step 421000
Verified signatureb780b3b -
Training in progress, step 420500
Verified signature5445a47 -
Training in progress, step 420000
Verified signature733c4d6 -
Training in progress, step 419500
Verified signature89504ed -
Training in progress, step 419000
Verified signatureefb58f6 -
Training in progress, step 418500
Verified signaturec273c20 -
Training in progress, step 418000
Verified signaturebe465e9 -
Training in progress, step 417500
Verified signature4d41416 -
Training in progress, step 417000
Verified signature7a202e3 -
Training in progress, step 416500
Verified signaturea968906 -
Training in progress, step 416000
Verified signature5ae4b97 -
Training in progress, step 415500
Verified signature753378e -
Training in progress, step 415000
Verified signature68cf539 -
Training in progress, step 414500
Verified signature85f0a4d -
Training in progress, step 414000
Verified signaturee9e4cb2 -
Training in progress, step 413500
Verified signature59d75fa -
Training in progress, step 413000
Verified signature21bf106 -
Training in progress, step 412500
Verified signature3cec852 -
Training in progress, step 412000
Verified signature11fc617 -
Training in progress, step 411500
Verified signaturea980125 -
Training in progress, step 411000
Verified signaturef953abc -
Training in progress, step 410500
Verified signaturea8e8b91 -
Training in progress, step 410000
Verified signature02d342e -
Training in progress, step 409500
Verified signature5eacc3b -
Training in progress, step 409000
Verified signature05659b3 -
Training in progress, step 408500
Verified signatureba5d1b9 -
Training in progress, step 408000
Verified signature4d2bbe7 -
Training in progress, step 407500
Verified signature3ed9670 -
Training in progress, step 407000
Verified signatured23ef21