Text Generation
Transformers
Safetensors
English
mistral
text-to-video generation
VidProM
Automatical text-to-video prompt
text-generation-inference
Instructions to use WenhaoWang/AutoT2VPrompt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WenhaoWang/AutoT2VPrompt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="WenhaoWang/AutoT2VPrompt")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("WenhaoWang/AutoT2VPrompt") model = AutoModelForCausalLM.from_pretrained("WenhaoWang/AutoT2VPrompt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use WenhaoWang/AutoT2VPrompt with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WenhaoWang/AutoT2VPrompt" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WenhaoWang/AutoT2VPrompt", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/WenhaoWang/AutoT2VPrompt
- SGLang
How to use WenhaoWang/AutoT2VPrompt 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 "WenhaoWang/AutoT2VPrompt" \ --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": "WenhaoWang/AutoT2VPrompt", "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 "WenhaoWang/AutoT2VPrompt" \ --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": "WenhaoWang/AutoT2VPrompt", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use WenhaoWang/AutoT2VPrompt with Docker Model Runner:
docker model run hf.co/WenhaoWang/AutoT2VPrompt
Commit History
-
Update README.md
Verified signature66779be
-
Update README.md
Verified signatureae471b0
-
Update README.md
Verified signature60cf27f
-
Update README.md
Verified signature62ed335
-
Update README.md
Verified signature5c8879d
-
Update README.md
Verified signaturedf7c506 -
Update README.md
Verified signature397957b -
Update README.md
Verified signaturef360e5a -
Update README.md
Verified signature6d21ded -
Update README.md
Verified signature0032fbe -
Update README.md
Verified signature8928fbe -
Update README.md
Verified signaturecf3ca94 -
Update README.md
Verified signature0279224 -
Update README.md
Verified signature965be9e -
Update README.md
Verified signature2cdebfd -
Update README.md
Verified signature37f5810 -
Update README.md
Verified signature1fd99a2 -
Update README.md
Verified signature28bae25 -
Update README.md
Verified signatureb64758f -
Update README.md
Verified signature14741a8 -
Update README.md
Verified signature66a86f0 -
Update README.md
Verified signature744c751 -
Update README.md
Verified signature58303c5 -
Upload model-00003-of-00003.safetensors with huggingface_hub
Verified signature5a8e878 -
Upload model-00002-of-00003.safetensors with huggingface_hub
Verified signature16fc62b -
Upload model-00001-of-00003.safetensors with huggingface_hub
Verified signaturecb29231 -
Upload train_results.json with huggingface_hub
Verified signaturefe88772 -
Upload training_args.bin with huggingface_hub
Verified signature0ae7315 -
Upload trainer_state.json with huggingface_hub
Verified signature650498b -
Upload tokenizer.model with huggingface_hub
Verified signature223fc61 -
Upload tokenizer.json with huggingface_hub
Verified signature72be099 -
Upload tokenizer_config.json with huggingface_hub
Verified signature8e96fcd -
Upload special_tokens_map.json with huggingface_hub
Verified signatureb8ceb00 -
Upload model.safetensors.index.json with huggingface_hub
Verified signature0ee76bf -
Upload generation_config.json with huggingface_hub
Verified signature331c5bc -
Upload config.json with huggingface_hub
Verified signature60ec029 -
Upload all_results.json with huggingface_hub
Verified signature7b74954 -
initial commit
Verified signature7d1049e