Instructions to use efraimdahl/RagtimeSpect_vcond with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use efraimdahl/RagtimeSpect_vcond with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="efraimdahl/RagtimeSpect_vcond")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("efraimdahl/RagtimeSpect_vcond") model = AutoModelWithLMHead.from_pretrained("efraimdahl/RagtimeSpect_vcond", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use efraimdahl/RagtimeSpect_vcond with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "efraimdahl/RagtimeSpect_vcond" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "efraimdahl/RagtimeSpect_vcond", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/efraimdahl/RagtimeSpect_vcond
- SGLang
How to use efraimdahl/RagtimeSpect_vcond 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 "efraimdahl/RagtimeSpect_vcond" \ --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": "efraimdahl/RagtimeSpect_vcond", "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 "efraimdahl/RagtimeSpect_vcond" \ --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": "efraimdahl/RagtimeSpect_vcond", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use efraimdahl/RagtimeSpect_vcond with Docker Model Runner:
docker model run hf.co/efraimdahl/RagtimeSpect_vcond
Commit History
-
Upload model
Verified signature2bc7012 -
Upload model
Verified signature1b39496 -
Upload model
Verified signatured962429 -
Upload model
Verified signaturef5d2b12 -
Upload model
Verified signatureaefc067 -
Upload model
Verified signature5299969 -
Upload model
Verified signature07d31f6 -
Upload model
Verified signature8a878de -
Upload model
Verified signature51d5ab8 -
Upload model
Verified signaturefc6c3c2 -
Upload model
Verified signature504e3d0 -
Upload model
Verified signature4241891 -
Upload model
Verified signature69cf4fa -
Upload model
Verified signaturefb1e6e0 -
initial commit
Verified signatureea1d2b4