Text Generation
Transformers
Safetensors
English
table-understanding
instruction-tuning
replication
tabular-data
conversational
Instructions to use dnaihao/qwen2.5-7b-tablellm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dnaihao/qwen2.5-7b-tablellm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="dnaihao/qwen2.5-7b-tablellm") 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("dnaihao/qwen2.5-7b-tablellm", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use dnaihao/qwen2.5-7b-tablellm with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dnaihao/qwen2.5-7b-tablellm" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dnaihao/qwen2.5-7b-tablellm", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dnaihao/qwen2.5-7b-tablellm
- SGLang
How to use dnaihao/qwen2.5-7b-tablellm 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 "dnaihao/qwen2.5-7b-tablellm" \ --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": "dnaihao/qwen2.5-7b-tablellm", "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 "dnaihao/qwen2.5-7b-tablellm" \ --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": "dnaihao/qwen2.5-7b-tablellm", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use dnaihao/qwen2.5-7b-tablellm with Docker Model Runner:
docker model run hf.co/dnaihao/qwen2.5-7b-tablellm
Download training_args.bin from dnaihao/qwen2.5-7b-tablellm: direct link, hf CLI and curl.
- Browser
- Download file 7.61 kB
-
https://huggingface.co/dnaihao/qwen2.5-7b-tablellm/resolve/main/training_args.bin
- Command line
-
hf download hf://dnaihao/qwen2.5-7b-tablellm/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/dnaihao/qwen2.5-7b-tablellm/resolve/main/training_args.bin
7.61 kB
- Xet hash:
- 06e52778da7014282dc0513ff0517b16d586a47d4c8a788cfcc48ef60b3378e3
- Size of remote file:
- 7.61 kB
- SHA256:
- b020931d0d75419e1112f30916e000a5fa0b800996619397cc8e79288fb2ce47
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.