Text Generation
Transformers
Safetensors
English
Vietnamese
text-generation-inference
unsloth
qwen2
trl
conversational
Instructions to use lightontech/SeaLightSum3-Adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lightontech/SeaLightSum3-Adapter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="lightontech/SeaLightSum3-Adapter") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("lightontech/SeaLightSum3-Adapter", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use lightontech/SeaLightSum3-Adapter with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lightontech/SeaLightSum3-Adapter" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lightontech/SeaLightSum3-Adapter", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/lightontech/SeaLightSum3-Adapter
- SGLang
How to use lightontech/SeaLightSum3-Adapter 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 "lightontech/SeaLightSum3-Adapter" \ --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": "lightontech/SeaLightSum3-Adapter", "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 "lightontech/SeaLightSum3-Adapter" \ --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": "lightontech/SeaLightSum3-Adapter", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use lightontech/SeaLightSum3-Adapter with Docker Model Runner:
docker model run hf.co/lightontech/SeaLightSum3-Adapter
Download adapter_model.safetensors from lightontech/SeaLightSum3-Adapter: direct link, hf CLI and curl.
- Browser
- Download file 162 MB
-
https://huggingface.co/lightontech/SeaLightSum3-Adapter/resolve/main/adapter_model.safetensors
- Command line
-
hf download hf://lightontech/SeaLightSum3-Adapter/adapter_model.safetensors
-
curl -L -o adapter_model.safetensors https://huggingface.co/lightontech/SeaLightSum3-Adapter/resolve/main/adapter_model.safetensors
162 MB
- Xet hash:
- 9498aa2c9e4d1f3ff519ac704f5d5f068ebc4c82499b38aad7978529d08b0e2b
- Size of remote file:
- 162 MB
- SHA256:
- c48eda80d9d71b4b348dc8af2b8fe142225235f889586e5bbeb9ee168191d694
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.