Text Generation
Transformers
Safetensors
qwen3
llama-factory
full
Generated from Trainer
conversational
text-generation-inference
Run this model with HF Jobs
Run ayh015/myLightningOPD on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/ayh015/myLightningOPD. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ayh015/myLightningOPD on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/ayh015/myLightningOPD. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/ayh015/myLightningOPD. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use ayh015/myLightningOPD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ayh015/myLightningOPD with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ayh015/myLightningOPD") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ayh015/myLightningOPD") model = AutoModelForCausalLM.from_pretrained("ayh015/myLightningOPD", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ayh015/myLightningOPD with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ayh015/myLightningOPD" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ayh015/myLightningOPD", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ayh015/myLightningOPD
- SGLang
How to use ayh015/myLightningOPD 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 "ayh015/myLightningOPD" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ayh015/myLightningOPD", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "ayh015/myLightningOPD" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ayh015/myLightningOPD", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ayh015/myLightningOPD with Docker Model Runner:
docker model run hf.co/ayh015/myLightningOPD
Upload folder using huggingface_hub
Browse filesFiles changed (5)
- slime.egg-info/PKG-INFOAdded+39
- slime.egg-info/SOURCES.txtAdded+140
- slime.egg-info/dependency_links.txtAdded+1
- slime.egg-info/requires.txtAdded+22
- slime.egg-info/top_level.txtAdded+2
123456789101112131415161718192021222324252627282930313233343536373839Metadata-Version: 2.4Name: slimeVersion: 0.1.0Author: slime TeamClassifier: Programming Language :: Python :: 3.10Classifier: Programming Language :: Python :: 3.11Classifier: Programming Language :: Python :: 3.12Classifier: Environment :: GPU :: NVIDIA CUDAClassifier: Topic :: Scientific/Engineering :: Artificial IntelligenceClassifier: Topic :: System :: Distributed ComputingRequires-Python: >=3.10License-File: LICENSERequires-Dist: accelerateRequires-Dist: blobfileRequires-Dist: datasetsRequires-Dist: httpx[http2]Requires-Dist: mcp[cli]Requires-Dist: megatron-bridge @ git+https://github.com/fzyzcjy/Megatron-Bridge.git@dev_rlRequires-Dist: memrayRequires-Dist: nvidia-modelopt[torch]>=0.37.0Requires-Dist: omegaconfRequires-Dist: pillowRequires-Dist: pylatexencRequires-Dist: pyyamlRequires-Dist: ray[default]Requires-Dist: ring_flash_attnRequires-Dist: sglang-router>=0.2.3Requires-Dist: tensorboardRequires-Dist: transformersRequires-Dist: wandbRequires-Dist: liger_kernelProvides-Extra: fsdpRequires-Dist: torch>=2.0; extra == "fsdp"Dynamic: authorDynamic: classifierDynamic: license-fileDynamic: provides-extraDynamic: requires-distDynamic: requires-python123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140LICENSEREADME.mdpyproject.tomlsetup.pyslime/__init__.pyslime.egg-info/PKG-INFOslime.egg-info/SOURCES.txtslime.egg-info/dependency_links.txtslime.egg-info/requires.txtslime.egg-info/top_level.txtslime/backends/__init__.pyslime/backends/fsdp_utils/__init__.pyslime/backends/fsdp_utils/actor.pyslime/backends/fsdp_utils/arguments.pyslime/backends/fsdp_utils/checkpoint.pyslime/backends/fsdp_utils/data_packing.pyslime/backends/fsdp_utils/lr_scheduler.pyslime/backends/fsdp_utils/update_weight_utils.pyslime/backends/fsdp_utils/kernels/__init__.pyslime/backends/fsdp_utils/kernels/fused_experts.pyslime/backends/fsdp_utils/kernels/fused_moe_triton_backward_kernels.pyslime/backends/fsdp_utils/models/__init__.pyslime/backends/fsdp_utils/models/qwen3_moe.pyslime/backends/fsdp_utils/models/qwen3_moe_hf.pyslime/backends/megatron_utils/__init__.pyslime/backends/megatron_utils/actor.pyslime/backends/megatron_utils/arguments.pyslime/backends/megatron_utils/checkpoint.pyslime/backends/megatron_utils/ci_utils.pyslime/backends/megatron_utils/cp_utils.pyslime/backends/megatron_utils/data.pyslime/backends/megatron_utils/initialize.pyslime/backends/megatron_utils/loss.pyslime/backends/megatron_utils/misc_utils.pyslime/backends/megatron_utils/model.pyslime/backends/megatron_utils/model_provider.pyslime/backends/megatron_utils/sglang.pyslime/backends/megatron_utils/megatron_to_hf/__init__.pyslime/backends/megatron_utils/megatron_to_hf/deepseekv3.pyslime/backends/megatron_utils/megatron_to_hf/glm4.pyslime/backends/megatron_utils/megatron_to_hf/glm4moe.pyslime/backends/megatron_utils/megatron_to_hf/llama.pyslime/backends/megatron_utils/megatron_to_hf/mimo.pyslime/backends/megatron_utils/megatron_to_hf/qwen2.pyslime/backends/megatron_utils/megatron_to_hf/qwen3_next.pyslime/backends/megatron_utils/megatron_to_hf/qwen3moe.pyslime/backends/megatron_utils/megatron_to_hf/processors/__init__.pyslime/backends/megatron_utils/megatron_to_hf/processors/padding_remover.pyslime/backends/megatron_utils/megatron_to_hf/processors/quantizer.pyslime/backends/megatron_utils/update_weight/__init__.pyslime/backends/megatron_utils/update_weight/common.pyslime/backends/megatron_utils/update_weight/hf_weight_iterator_base.pyslime/backends/megatron_utils/update_weight/hf_weight_iterator_bridge.pyslime/backends/megatron_utils/update_weight/hf_weight_iterator_direct.pyslime/backends/megatron_utils/update_weight/update_weight_from_distributed.pyslime/backends/megatron_utils/update_weight/update_weight_from_tensor.pyslime/backends/sglang_utils/__init__.pyslime/backends/sglang_utils/arguments.pyslime/backends/sglang_utils/sglang_engine.pyslime/ray/__init__.pyslime/ray/actor_group.pyslime/ray/placement_group.pyslime/ray/ray_actor.pyslime/ray/rollout.pyslime/ray/train_actor.pyslime/ray/utils.pyslime/rollout/__init__.pyslime/rollout/base_types.pyslime/rollout/data_source.pyslime/rollout/on_policy_distillation.pyslime/rollout/sglang_rollout.pyslime/rollout/sleep_rollout.pyslime/rollout/filter_hub/__init__.pyslime/rollout/filter_hub/base_types.pyslime/rollout/filter_hub/dynamic_sampling_filters.pyslime/rollout/rm_hub/__init__.pyslime/rollout/rm_hub/deepscaler.pyslime/rollout/rm_hub/f1.pyslime/rollout/rm_hub/gpqa.pyslime/rollout/rm_hub/ifbench.pyslime/rollout/rm_hub/math_dapo_utils.pyslime/rollout/rm_hub/math_utils.pyslime/router/__init__.pyslime/router/router.pyslime/router/middleware_hub/__init__.pyslime/router/middleware_hub/radix_tree.pyslime/router/middleware_hub/radix_tree_middleware.pyslime/utils/__init__.pyslime/utils/arguments.pyslime/utils/async_utils.pyslime/utils/context_utils.pyslime/utils/data.pyslime/utils/distributed_utils.pyslime/utils/eval_config.pyslime/utils/flops_utils.pyslime/utils/fp8_kernel.pyslime/utils/health_monitor.pyslime/utils/http_utils.pyslime/utils/iter_utils.pyslime/utils/logging_utils.pyslime/utils/mask_utils.pyslime/utils/megatron_bridge_utils.pyslime/utils/memory_utils.pyslime/utils/metric_checker.pyslime/utils/metric_utils.pyslime/utils/misc.pyslime/utils/ppo_utils.pyslime/utils/processing_utils.pyslime/utils/profile_utils.pyslime/utils/ray_utils.pyslime/utils/reloadable_process_group.pyslime/utils/rocm_checkpoint_writer.pyslime/utils/routing_replay.pyslime/utils/seqlen_balancing.pyslime/utils/tensor_backper.pyslime/utils/tensorboard_utils.pyslime/utils/timer.pyslime/utils/tracking_utils.pyslime/utils/train_dump_utils.pyslime/utils/train_metric_utils.pyslime/utils/typer_utils.pyslime/utils/types.pyslime/utils/wandb_utils.pyslime/utils/debug_utils/__init__.pyslime/utils/debug_utils/display_debug_rollout_data.pyslime/utils/debug_utils/replay_reward_fn.pyslime/utils/debug_utils/send_to_sglang.pyslime/utils/external_utils/__init__.pyslime/utils/external_utils/command_utils.pyslime_plugins/__init__.pyslime_plugins/mbridge/__init__.pyslime_plugins/mbridge/glm4.pyslime_plugins/mbridge/glm4moe.pyslime_plugins/mbridge/mimo.pyslime_plugins/mbridge/qwen3_next.pyslime_plugins/megatron_bridge/__init__.pyslime_plugins/models/__init__.pyslime_plugins/models/glm4.pyslime_plugins/models/hf_attention.pyslime_plugins/models/qwen3_next.py1
12345678910111213141516171819202122accelerateblobfiledatasetshttpx[http2]mcp[cli]megatron-bridge @ git+https://github.com/fzyzcjy/Megatron-Bridge.git@dev_rlmemraynvidia-modelopt[torch]>=0.37.0omegaconfpillowpylatexencpyyamlray[default]ring_flash_attnsglang-router>=0.2.3tensorboardtransformerswandbliger_kernel
[fsdp]torch>=2.012slimeslime_pluginsslime.egg-info/PKG-INFOAdded+39
slime.egg-info/SOURCES.txtAdded+140
slime.egg-info/dependency_links.txtAdded+1
slime.egg-info/requires.txtAdded+22
slime.egg-info/top_level.txtAdded+2