How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "mlfoundations/tabula-8b"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "mlfoundations/tabula-8b",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/mlfoundations/tabula-8b
Quick Links

This repository contains the TabuLa-8B (Tabular Llama-8B) model. TabuLa-8B is a foundation model for prediction (classification and binned regression) on tabular data.

TabuLa-8B is described in the paper "Large Scale Transfer Learning for Tabular Data via Language Modeling."

For more details on the model, see the paper, which includes a Model Card detailing the model architecture, training, and evaluation. TabuLa-8B was trained with rtfm, using the T4 dataset.

TabuLa-8B is built with Meta Llama 3.

Usage and Examples

You can load the model with transformers via

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("mlfoundations/tabula-8b")
model = AutoModelForCausalLM.from_pretrained("mlfoundations/tabula-8b")

For more information on how to prepare data and run inference (including a demo notebook for performing inference on your data), see the examples in rtfm.

License and Terms of Use

TabuLa-8B is fine-tuned from the Llama-3 8B model. As a result, we release it under the Llama 3 license, and by using the model you agree to abide by the Llama 3 Community License Agreement and the Llama 3 Acceptable Use Policy.

Downloads last month
1,486
Safetensors
Model size
8B params
Tensor type
F32
·
Inference Providers NEW

Model tree for mlfoundations/tabula-8b

Quantizations
6 models

Dataset used to train mlfoundations/tabula-8b

Space using mlfoundations/tabula-8b 1

Collection including mlfoundations/tabula-8b

Paper for mlfoundations/tabula-8b