Text Generation
Transformers
TensorBoard
Safetensors
gpt2
Generated from Trainer
text-generation-inference
Instructions to use ldm0612/test_model_eng_15_epoch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ldm0612/test_model_eng_15_epoch with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ldm0612/test_model_eng_15_epoch")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ldm0612/test_model_eng_15_epoch") model = AutoModelForCausalLM.from_pretrained("ldm0612/test_model_eng_15_epoch", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ldm0612/test_model_eng_15_epoch with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ldm0612/test_model_eng_15_epoch" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ldm0612/test_model_eng_15_epoch", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ldm0612/test_model_eng_15_epoch
- SGLang
How to use ldm0612/test_model_eng_15_epoch 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 "ldm0612/test_model_eng_15_epoch" \ --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": "ldm0612/test_model_eng_15_epoch", "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 "ldm0612/test_model_eng_15_epoch" \ --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": "ldm0612/test_model_eng_15_epoch", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ldm0612/test_model_eng_15_epoch with Docker Model Runner:
docker model run hf.co/ldm0612/test_model_eng_15_epoch
Commit History
-
End of training
Verified signature550916d -
Training in progress, step 344
Verified signature2b53722 -
Training in progress, step 336
Verified signaturecbce503 -
Training in progress, step 328
Verified signature3ef70a9 -
Training in progress, step 320
Verified signature70c1ccd -
Training in progress, step 312
Verified signaturec037d7b
-
Training in progress, step 304
Verified signatureebf38ee -
Training in progress, step 296
Verified signature577dafc -
Training in progress, step 288
Verified signature063fb2f -
Training in progress, step 280
Verified signature5883f98 -
Training in progress, step 272
Verified signature624a641 -
Training in progress, step 264
Verified signatureed23586 -
Training in progress, step 256
Verified signature150fd36 -
Training in progress, step 248
Verified signatured72dbcd -
Training in progress, step 240
Verified signature4e849d4 -
Training in progress, step 232
Verified signature68aa7d9 -
Training in progress, step 224
Verified signature0735cc8 -
Training in progress, step 216
Verified signaturef47c8c2 -
Training in progress, step 208
Verified signature979a150 -
Training in progress, step 200
Verified signature582d1a6 -
Training in progress, step 192
Verified signatured5bda17 -
Training in progress, step 184
Verified signaturebc8c4d7 -
Training in progress, step 176
Verified signature9cbf9f4 -
Training in progress, step 168
Verified signature237ed3b -
Training in progress, step 160
Verified signature6bc9cfc -
Training in progress, step 152
Verified signaturea9f4bda -
Training in progress, step 144
Verified signature92f7a5f -
Training in progress, step 136
Verified signaturebfd2f27 -
Training in progress, step 128
Verified signature28bdf8d -
Training in progress, step 120
Verified signature6a4bb6b -
Training in progress, step 112
Verified signature7f98b2f -
Training in progress, step 104
Verified signature8a18ffd -
Training in progress, step 96
Verified signature6e8a01c -
Training in progress, step 88
Verified signatureaa7dd9a -
Training in progress, step 80
Verified signature23e133d -
Training in progress, step 72
Verified signaturecaee84f -
Training in progress, step 64
Verified signaturea16f63f -
Training in progress, step 56
Verified signatureac90a13 -
Training in progress, step 48
Verified signatureac73a69 -
Training in progress, step 40
Verified signaturebbf4367 -
Training in progress, step 32
Verified signature376aa04 -
Training in progress, step 24
Verified signature230ffcd -
Training in progress, step 16
Verified signature52cfdc2 -
Training in progress, step 8
Verified signaturea51ae06 -
Training in progress, step 16
Verified signatureb0c43ae -
Training in progress, step 8
Verified signaturefe981d7
-
initial commit
Verified signature4123611