Instructions to use digitalassistant-ai/Selling-Assistant-V1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use digitalassistant-ai/Selling-Assistant-V1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="digitalassistant-ai/Selling-Assistant-V1")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("digitalassistant-ai/Selling-Assistant-V1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use digitalassistant-ai/Selling-Assistant-V1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "digitalassistant-ai/Selling-Assistant-V1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "digitalassistant-ai/Selling-Assistant-V1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/digitalassistant-ai/Selling-Assistant-V1
- SGLang
How to use digitalassistant-ai/Selling-Assistant-V1 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 "digitalassistant-ai/Selling-Assistant-V1" \ --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": "digitalassistant-ai/Selling-Assistant-V1", "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 "digitalassistant-ai/Selling-Assistant-V1" \ --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": "digitalassistant-ai/Selling-Assistant-V1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use digitalassistant-ai/Selling-Assistant-V1 with Docker Model Runner:
docker model run hf.co/digitalassistant-ai/Selling-Assistant-V1
Commit History
-
Update README.md
Verified signature4cba887 -
Update README.md
Verified signature9756ab6 -
Delete workflow.png
Verified signatureac76093 -
Upload selling_agent.png
Verified signaturecfde9ca -
Delete model
Verified signature7c7fc7f -
Update README.md
Verified signature300ea14
-
Update README.md
Verified signature6abb245 -
Upload 11 files
Verified signature18386ea -
Delete Selling-Assistant-V1
Verified signature552716d -
Upload 11 files
Verified signaturef6b5b75 -
Delete merged_intention_recog_model
Verified signature5045c01 -
Upload 11 files
Verified signaturee35a922 -
Upload 3 files (#1)
Verified signature- Upload 3 files (1b2f7a103d9b6bf9f75e1e60e27a476791a92da2) Co-authored-by: wyw <wwwywcom@users.noreply.huggingface.co>de9d676 -
initial commit
Verified signatureb6a5ee0