TIGER-Lab / StructLM-13B

huggingface.co
Total runs: 18
24-hour runs: 0
7-day runs: 2
30-day runs: 11
Model's Last Updated: October 20 2024
text-generation

Introduction of StructLM-13B

Model Details of StructLM-13B

🏗️ StructLM: Towards Building Generalist Models for Structured Knowledge Grounding

Project Page: https://tiger-ai-lab.github.io/StructLM/

Paper: https://arxiv.org/pdf/2402.16671.pdf

Code: https://github.com/TIGER-AI-Lab/StructLM

Alt text

Introduction

StructLM, is a series of open-source large language models (LLMs) finetuned for structured knowledge grounding (SKG) tasks. We release 3 models:

7B | StructLM-7B

13B | StructLM-13B

34B | StructLM-34B

Training Data

These models are trained on 🤗 SKGInstruct Dataset , an instruction-tuning dataset containing mixture of 19 SKG tasks combined with 🤗 SlimOrca . Check out the dataset card for more details.

Training Procedure

The models are fine-tuned with CodeLlama-Instruct-hf models as base models. Each model is trained for 3 epochs, and the best checkpoint is selected.

Evaluation

Here are a subset of model evaluation results:

Held in
Model ToTTo GrailQA CompWebQ MMQA Feverous Spider TabFact Dart
StructLM-7B 49.4 80.4 78.3 85.2 84.4 72.4 80.8 62.2
StructLM-13B 49.3 79.2 80.4 86.0 85.0 74.1 84.7 61.4
StructLM-34B 50.2 82.2 81.9 88.1 85.7 74.6 86.6 61.8
Held out
Model BIRD InfoTabs FinQA SQA
StructLM-7B 22.3 55.3 27.3 49.7
StructLM-13B 22.8 58.1 25.6 36.1
StructLM-34B 24.7 61.8 36.2 44.2
Usage

You can use the models through Huggingface's Transformers library. Check our Github repo for the evaluation code: https://github.com/TIGER-AI-Lab/StructLM

Prompt Format

*** IMPORTANT ***

For this 13B model, the prompt format (different from 7B) is

[INST] [INST] <<SYS>>
You are an AI assistant that specializes in analyzing and reasoning over structured information. You will be given a task, optionally with some structured knowledge input. Your answer must strictly adhere to the output format, if specified.
<</SYS>>
{instruction} [/INST] [/INST]

To see concrete examples of this linearization, you can directly reference the 🤗 SKGInstruct Dataset (coming soon). We will provide code for linearizing this data shortly.

A few examples:

tabular data

col : day | kilometers row 1 : tuesday | 0 row 2 : wednesday | 0 row 3 : thursday | 4 row 4 : friday | 0 row 5 : saturday | 0

knowledge triples (dart)

Hawaii Five-O : notes : Episode: The Flight of the Jewels | [TABLECONTEXT] : [title] : Jeff Daniels | [TABLECONTEXT] : title : Hawaii Five-O

knowledge graph schema (grailqa)

top antiquark: m.094nrqp | physics.particle_antiparticle.self_antiparticle physics.particle_family physics.particle.antiparticle physics.particle_family.subclasses physics.subatomic_particle_generation physics.particle_family.particles physics.particle common.image.appears_in_topic_gallery physics.subatomic_particle_generation.particles physics.particle.family physics.particle_family.parent_class physics.particle_antiparticle physics.particle_antiparticle.particle physics.particle.generation

example input

[INST] [INST] <<SYS>>
You are an AI assistant that specializes in analyzing and reasoning over structured information. You will be given a task, optionally with some structured knowledge input. Your answer must strictly adhere to the output format, if specified.
<</SYS>>

Use the information in the following table to solve the problem, choose between the choices if they are provided. table:

col : day | kilometers row 1 : tuesday | 0 row 2 : wednesday | 0 row 3 : thursday | 4 row 4 : friday | 0 row 5 : saturday | 0


question:

Allie kept track of how many kilometers she walked during the past 5 days. What is the range of the numbers? [/INST] [/INST]
Intended Uses

These models are trained for research purposes. They are designed to be proficient in interpreting linearized structured input. Downstream uses can potentially include various applications requiring the interpretation of structured data.

Limitations

While we've tried to build an SKG-specialized model capable of generalizing, we have shown that this is a challenging domain, and it may lack performance characteristics that allow it to be directly used in chat or other applications.

Citation

If you use the models, data, or code from this project, please cite the original paper:

@misc{zhuang2024structlm,
      title={StructLM: Towards Building Generalist Models for Structured Knowledge Grounding}, 
      author={Alex Zhuang and Ge Zhang and Tianyu Zheng and Xinrun Du and Junjie Wang and Weiming Ren and Stephen W. Huang and Jie Fu and Xiang Yue and Wenhu Chen},
      year={2024},
      eprint={2402.16671},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

Runs of TIGER-Lab StructLM-13B on huggingface.co

18
Total runs
0
24-hour runs
0
3-day runs
2
7-day runs
11
30-day runs

More Information About StructLM-13B huggingface.co Model

More StructLM-13B license Visit here:

https://choosealicense.com/licenses/mit

StructLM-13B huggingface.co

StructLM-13B huggingface.co is an AI model on huggingface.co that provides StructLM-13B's model effect (), which can be used instantly with this TIGER-Lab StructLM-13B model. huggingface.co supports a free trial of the StructLM-13B model, and also provides paid use of the StructLM-13B. Support call StructLM-13B model through api, including Node.js, Python, http.

TIGER-Lab StructLM-13B online free

StructLM-13B huggingface.co is an online trial and call api platform, which integrates StructLM-13B's modeling effects, including api services, and provides a free online trial of StructLM-13B, you can try StructLM-13B online for free by clicking the link below.

TIGER-Lab StructLM-13B online free url in huggingface.co:

https://huggingface.co/TIGER-Lab/StructLM-13B

StructLM-13B install

StructLM-13B is an open source model from GitHub that offers a free installation service, and any user can find StructLM-13B on GitHub to install. At the same time, huggingface.co provides the effect of StructLM-13B install, users can directly use StructLM-13B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

StructLM-13B install url in huggingface.co:

https://huggingface.co/TIGER-Lab/StructLM-13B

Url of StructLM-13B

StructLM-13B huggingface.co Url

Provider of StructLM-13B huggingface.co

TIGER-Lab
ORGANIZATIONS

Other API from TIGER-Lab

huggingface.co

Total runs: 2.9K
Run Growth: 2.5K
Growth Rate: 86.16%
Updated:October 14 2025
huggingface.co

Total runs: 925
Run Growth: 320
Growth Rate: 34.59%
Updated:December 06 2023
huggingface.co

Total runs: 877
Run Growth: 323
Growth Rate: 36.83%
Updated:December 06 2023
huggingface.co

Total runs: 520
Run Growth: 462
Growth Rate: 88.85%
Updated:January 09 2025
huggingface.co

Total runs: 129
Run Growth: -491
Growth Rate: -380.62%
Updated:July 15 2026
huggingface.co

Total runs: 127
Run Growth: -510
Growth Rate: -401.57%
Updated:July 15 2026
huggingface.co

Total runs: 74
Run Growth: -520
Growth Rate: -702.70%
Updated:July 15 2026
huggingface.co

Total runs: 49
Run Growth: -573
Growth Rate: -1169.39%
Updated:July 15 2026
huggingface.co

Total runs: 49
Run Growth: -583
Growth Rate: -1189.80%
Updated:July 15 2026
huggingface.co

Total runs: 19
Run Growth: -14
Growth Rate: -73.68%
Updated:November 08 2024