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 | |
| I0506 17:47:52.552899 1660 init_google.cc:760] Linux version 6.1.123+ (builder@78b5818cbf22) (Chromium OS 16.0_pre484197_p20230405-r10 clang version 16.0.0 (/var/tmp/portage/sys-devel/llvm-16.0_pre484197_p20230405-r10/work/llvm-16.0_pre484197_p20230405/clang 2916b99182752b1aece8cc4479d8d6a20b5e02da), LLD 16.0.0) #1 SMP PREEMPT_DYNAMIC Sun Mar 30 16:01:29 UTC 2025 | |
| I0506 17:47:52.553212 1660 init_google.cc:842] Process id 1660 | |
| I0506 17:47:52.553231 1660 init_google.cc:847] Current working directory /content | |
| I0506 17:47:52.553233 1660 init_google.cc:849] Current timezone is UTC (currently UTC +00:00) | |
| I0506 17:47:52.553236 1660 init_google.cc:853] Built on Mar 25 2025 17:45:25 (1742949925) | |
| I0506 17:47:52.553237 1660 init_google.cc:854] at rbex-enqueue-targets@vnle2.prod.google.com:/google/src/cloud/buildrabbit-username/buildrabbit-client/google3 | |
| I0506 17:47:52.553238 1660 init_google.cc:855] as //apps/drive/fs:drive_fs | |
| I0506 17:47:52.553239 1660 init_google.cc:856] for gcc-4.X.Y-crosstool-v18-llvm-grtev4-k8.k8 | |
| I0506 17:47:52.553240 1660 init_google.cc:859] from changelist 740548515 with baseline 736951441 in a mint client based on //depot/branches/drive_fs_release_branch/736951441.1/google3 | |
| I0506 17:47:52.553242 1660 init_google.cc:863] Build label: 106.0.4 | |
| I0506 17:47:52.553243 1660 init_google.cc:865] Build tool: Blaze, release blaze-2025.03.07-1 (mainline @734307892) | |
| I0506 17:47:52.553244 1660 init_google.cc:866] Build target: blaze-out/k8-opt/bin/apps/drive/fs/drive_fs | |
| I0506 17:47:52.553245 1660 init_google.cc:873] Command line arguments: | |
| I0506 17:47:52.553245 1660 init_google.cc:875] argv[0]: '/opt/google/drive/drive' | |
| I0506 17:47:52.553252 1660 init_google.cc:875] argv[1]: '--features=crash_throttle_percentage:100,fuse_max_background:1000,max_read_qps:1000,max_write_qps:1000,max_operation_batch_size:15,max_parallel_push_task_instances:10,opendir_timeout_ms:120000,punctual_poll_for_changes:off,virtual_folders_omit_spaces:true,read_only_mode:false' | |
| I0506 17:47:52.553254 1660 init_google.cc:875] argv[2]: '--inet_family=IPV4_ONLY' | |
| I0506 17:47:52.553255 1660 init_google.cc:875] argv[3]: '--metadata_server_auth_uri=172.28.0.1:8009/computeMetadata/v1' | |
| I0506 17:47:52.553256 1660 init_google.cc:875] argv[4]: '--preferences=trusted_root_certs_file_path:/opt/google/drive/roots.pem,feature_flag_restart_seconds:129600,mount_point_path:/content/drive' | |
| I0506 17:47:52.553257 1660 init_google.cc:875] argv[5]: '--auto_restart_count=1' | |
| I0506 17:47:52.553258 1660 init_google.cc:875] argv[6]: '--first_auto_restart_timestamp=326' | |
| I0506 17:47:52.553259 1660 init_google.cc:875] argv[7]: '--single_process' | |
| I0506 17:47:52.553260 1660 init_google.cc:875] argv[8]: '--parent_version=106.0.4.0' | |
| I0506 17:47:52.553727 1660 logger.cc:310] Enabling threaded logging for severity WARNING | |
| I0506 17:47:52.553912 1660 mlock.cc:219] mlock()-ed 8192 bytes for BuildID, using 2 syscalls. | |
| 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 | |