How to use from
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 "Symbol-LLM/Symbol-LLM-13B-Instruct" \
    --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": "Symbol-LLM/Symbol-LLM-13B-Instruct",
		"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 "Symbol-LLM/Symbol-LLM-13B-Instruct" \
        --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": "Symbol-LLM/Symbol-LLM-13B-Instruct",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Quick Links

Symbol-LLM: Towards Foundational Symbol-centric Interface for Large Language Models

Paper Link: https://arxiv.org/abs/2311.09278

Project Page: https://xufangzhi.github.io/symbol-llm-page/

πŸ”₯ News

  • πŸ”₯πŸ”₯πŸ”₯ Symbol-LLM is accepted by ACL 2024 !

  • πŸ”₯πŸ”₯πŸ”₯ We have made Symbol-LLM series models (7B / 13B) public.

Note

The work is under review.

The symbolic data collection will be public soon.

Citation

If you find it helpful, please kindly cite the paper.

@article{xu2023symbol,
  title={Symbol-LLM: Towards Foundational Symbol-centric Interface For Large Language Models},
  author={Xu, Fangzhi and Wu, Zhiyong and Sun, Qiushi and Ren, Siyu and Yuan, Fei and Yuan, Shuai and Lin, Qika and Qiao, Yu and Liu, Jun},
  journal={arXiv preprint arXiv:2311.09278},
  year={2023}
}
Downloads last month
11
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Symbol-LLM/Symbol-LLM-13B-Instruct

Quantizations
2 models

Paper for Symbol-LLM/Symbol-LLM-13B-Instruct