Run this model with HF Jobs
Run AdarshSingh7647/Eklav-Table-8B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/AdarshSingh7647/Eklav-Table-8B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/AdarshSingh7647/Eklav-Table-8B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/AdarshSingh7647/Eklav-Table-8B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/AdarshSingh7647/Eklav-Table-8B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use AdarshSingh7647/Eklav-Table-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AdarshSingh7647/Eklav-Table-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AdarshSingh7647/Eklav-Table-8B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("AdarshSingh7647/Eklav-Table-8B") model = AutoModelForCausalLM.from_pretrained("AdarshSingh7647/Eklav-Table-8B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AdarshSingh7647/Eklav-Table-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AdarshSingh7647/Eklav-Table-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AdarshSingh7647/Eklav-Table-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AdarshSingh7647/Eklav-Table-8B
- SGLang
How to use AdarshSingh7647/Eklav-Table-8B 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 "AdarshSingh7647/Eklav-Table-8B" \ --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": "AdarshSingh7647/Eklav-Table-8B", "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 "AdarshSingh7647/Eklav-Table-8B" \ --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": "AdarshSingh7647/Eklav-Table-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use AdarshSingh7647/Eklav-Table-8B with Docker Model Runner:
docker model run hf.co/AdarshSingh7647/Eklav-Table-8B
Eklav-Table-8B
Qwen3-8B for listwise table reranking, from the paper "EKLAV: Elicited Key CoT Learning via Answer-Only Supervision" (arXiv:2607.25182). Model: Eklav. Full-trace context in the prompt, loss on the final ranking only. Writes its own reasoning at inference.
This repository holds the merged model: the Qwen3-8B base with the paper's LoRA adapter merged in. The adapter is the checkpoint named below, trained with LoRA rank 16 and alpha 32 on all linear layers.
- Eklav: adapter
checkpoint-300(CoTCond run) - std-CoT: adapter
checkpoint-160(CoTGen run) - Naive-SFT: adapter
checkpoint-120(CoTNaive run)
Results (paper Table 4)
| SQA | TAT-QA | TabFact | NQ-Tables | AITQA | FeTaQA | OTT-QA | OpenWikiTables | |
|---|---|---|---|---|---|---|---|---|
| Qwen3-8B (base) | 69.51 | 50.45 | 59.89 | 71.97 | 71.89 | 89.63 | 81.27 | 88.68 |
| Naive-SFT | 71.41 | 49.59 | 62.16 | 67.78 | 61.25 | 91.42 | 88.25 | 91.98 |
| std-CoT | 72.05 | 52.03 | 66.55 | 73.29 | 72.27 | 88.06 | 83.20 | 90.29 |
| Eklav | 73.81 | 54.59 | 68.86 | 71.60 | 72.57 | 91.95 | 90.27 | 93.78 |
nDCG@10 x 100, Qwen3-8B, each table counted once. In-domain: SQA, TAT-QA, TabFact, NQ-Tables. Out-of-domain: AITQA, FeTaQA, OTT-QA, OpenWikiTables.
Models in this family
- Eklav-Table-8B (this model): Full-trace context in the prompt, loss on the final ranking only. Writes its own reasoning at inference.
- Std-SFT-Table-8B: Loss on the teacher's reasoning trace and the final ranking (full-trace distillation).
- Naive-SFT-Table-8B: No teacher reasoning. Trained to output the ranking directly.
Code and evaluation: github.com/AdarshSingh7647/Eklavya
Prompt
The model reads the prompt below (paper Appendix A.3). Candidate tables are windowed (at most 20 tables or 20,000 prompt tokens per window) and the per-window rankings are merged.
System: You are a careful retrieval assistant that ranks candidate tables by their relevance to a user's question.
User: Question: {question}
Candidate tables to rank:
### Table 1
{table_1}
### Table 2
{table_2}
...
Reason through each table's relevance step-by-step. Then output exactly: {"ranked_tables": [1, 2, 3, ...]}
Citation
@misc{singh2026eklav,
title = {EKLAV: Elicited Key CoT Learning via Answer-Only Supervision},
author = {Bhandari, Kushal Raj and Dan, Soham and Gupta, Vivek and Kumar, Anoop and Singh, Adarsh and Singh, Aman},
year = {2026},
eprint = {2607.25182},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2607.25182}
}
- Downloads last month
- 596