Text Generation
Transformers
English
table-understanding
instruction-tuning
replication
tabular-data
Instructions to use dnaihao/olmo-tablebench with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dnaihao/olmo-tablebench with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="dnaihao/olmo-tablebench")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dnaihao/olmo-tablebench", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use dnaihao/olmo-tablebench with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dnaihao/olmo-tablebench" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dnaihao/olmo-tablebench", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/dnaihao/olmo-tablebench
- SGLang
How to use dnaihao/olmo-tablebench 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/olmo-tablebench" \ --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": "dnaihao/olmo-tablebench", "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 "dnaihao/olmo-tablebench" \ --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": "dnaihao/olmo-tablebench", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use dnaihao/olmo-tablebench with Docker Model Runner:
docker model run hf.co/dnaihao/olmo-tablebench
- Xet hash:
- 6f910966102ce2580e5ba3ca0f119c4ee95af16cef78171fbc64488e1c16a247
- Size of remote file:
- 115 Bytes
- SHA256:
- c064d49d03302a4cda261ea8db822713d22cbf890cca3c0312e1fb65d1efb168
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.