Text Generation
Transformers
TensorBoard
Safetensors
gpt_neox
Generated from Trainer
trl
sft
text-generation-inference
Instructions to use chardizard/DyTPythia410mRE-WILD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chardizard/DyTPythia410mRE-WILD with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="chardizard/DyTPythia410mRE-WILD")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("chardizard/DyTPythia410mRE-WILD") model = AutoModelForCausalLM.from_pretrained("chardizard/DyTPythia410mRE-WILD") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use chardizard/DyTPythia410mRE-WILD with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "chardizard/DyTPythia410mRE-WILD" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "chardizard/DyTPythia410mRE-WILD", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/chardizard/DyTPythia410mRE-WILD
- SGLang
How to use chardizard/DyTPythia410mRE-WILD 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 "chardizard/DyTPythia410mRE-WILD" \ --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": "chardizard/DyTPythia410mRE-WILD", "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 "chardizard/DyTPythia410mRE-WILD" \ --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": "chardizard/DyTPythia410mRE-WILD", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use chardizard/DyTPythia410mRE-WILD with Docker Model Runner:
docker model run hf.co/chardizard/DyTPythia410mRE-WILD
| Log file created at: 2025/05/06 17:47:52 | |
| Running on machine: f63b1d7fa3fb | |
| Binary: Built on Mar 25 2025 17:45:25 (1742949925) | |
| Binary: Built at rbex-enqueue-targets@vnle2.prod.google.com:/google/src/cloud/buildrabbit-username/buildrabbit-client/google3 | |
| Binary: Built for gcc-4.X.Y-crosstool-v18-llvm-grtev4-k8.k8 | |
| Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg | |
| E0506 17:47:52.576685 1687 credential_store_linux.cc:42] NOT_FOUND: Cannot open file: No such file or directory; Could not open credential file /root/.config/Google/DriveFS/refresh_token_110432575734220029462 [type.googleapis.com/drive.ds.Status='UNAVAILABLE_RESOURCE'] | |
| === Source Location Trace: === | |
| apps/drive/cello/util/file_system.cc:497 | |
| apps/drive/cello/util/file_system.cc:1388 | |
| E0506 17:47:52.744934 1671 client.cc:6965] NOT_FOUND: Cannot open file: No such file or directory; Failed to update account features file, path:/root/.config/Google/DriveFS/Crashpad/account_features [type.googleapis.com/drive.ds.Status='UNAVAILABLE_RESOURCE'] | |
| === Source Location Trace: === | |
| apps/drive/cello/util/file_system.cc:497 | |
| apps/drive/cello/util/file_system.h:355 | |
| E0506 17:47:53.086606 1687 metrics_recorder_base.h:627] INTERNAL: Metrics database is not initialized. | |
| === Source Location Trace: === | |
| apps/drive/cello/instrumentation/metrics_transport.cc:342 | |
| E0506 17:47:53.218894 1660 credential_store_linux.cc:42] NOT_FOUND: Cannot open file: No such file or directory; Could not open credential file /root/.config/Google/DriveFS/refresh_token_110432575734220029462 [type.googleapis.com/drive.ds.Status='UNAVAILABLE_RESOURCE'] | |
| === Source Location Trace: === | |
| apps/drive/cello/util/file_system.cc:497 | |
| apps/drive/cello/util/file_system.cc:1388 | |
| E0506 17:47:53.292427 1660 credential_store_linux.cc:42] NOT_FOUND: Cannot open file: No such file or directory; Could not open credential file /root/.config/Google/DriveFS/refresh_token_110432575734220029462 [type.googleapis.com/drive.ds.Status='UNAVAILABLE_RESOURCE'] | |
| === Source Location Trace: === | |
| apps/drive/cello/util/file_system.cc:497 | |
| apps/drive/cello/util/file_system.cc:1388 | |