Instructions to use Finisha-F-scratch/SoraForSLM-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Finisha-F-scratch/SoraForSLM-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Finisha-F-scratch/SoraForSLM-1", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Finisha-F-scratch/SoraForSLM-1", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Finisha-F-scratch/SoraForSLM-1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Finisha-F-scratch/SoraForSLM-1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Finisha-F-scratch/SoraForSLM-1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Finisha-F-scratch/SoraForSLM-1
- SGLang
How to use Finisha-F-scratch/SoraForSLM-1 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 "Finisha-F-scratch/SoraForSLM-1" \ --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": "Finisha-F-scratch/SoraForSLM-1", "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 "Finisha-F-scratch/SoraForSLM-1" \ --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": "Finisha-F-scratch/SoraForSLM-1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Finisha-F-scratch/SoraForSLM-1 with Docker Model Runner:
docker model run hf.co/Finisha-F-scratch/SoraForSLM-1
Commit History
-
Update README.md
Verified signature6ccb5c2 -
Update README.md
Verified signature6010115 -
Update README.md
Verified signature9f47ccd
-
Update README.md
Verified signaturea9ad9c5 -
Update modeling_sora.py
Verified signaturec1e244c -
Update config.json
Verified signature7008b84 -
Entraînement de SoraForSLM terminé
Verified signature5a8a1d4 -
Training in progress, epoch 1
Verified signature9ec6d86 -
Update modeling_sora.py
Verified signature097c89e -
Update modeling_sora.py
Verified signature60aa431 -
Update modeling_sora.py
Verified signature630a473 -
Update modeling_sora.py
Verified signaturebce267a -
Update modeling_sora.py
Verified signaturece5a541 -
Update modeling_sora.py
Verified signature47c8a21 -
Update modeling_sora.py
Verified signature4127434 -
Update modeling_sora.py
Verified signature4f9cb25 -
Update modeling_sora.py
Verified signature88adb74 -
Update modeling_sora.py
Verified signature24a8334 -
Update modeling_sora.py
Verified signatureaa0e308 -
Update config.json
Verified signature048e6b4 -
Create modeling_sora.py
Verified signature5900aa2 -
Create configuration_sora.py
Verified signature8af80a7 -
Entraînement de SoraForSLM terminé
Verified signature3217a16 -
Training in progress, epoch 5
Verified signature0d7d09e -
Training in progress, epoch 3
Verified signature6e7752e -
Training in progress, epoch 1
Verified signature7f38de9 -
initial commit
Verified signature2dfa4c0