SeqGPT
SeqGPT-560M, a bilingual English and Chinese language model tuned for open-domain natural language understanding.
Language · 1,020 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Language
- Parameters
- 559.2M
- Operations
- 1,020
- Framework
- PyTorch
- Recurrent
- No
- Published
- AAAI (arXiv 2023)
- Cited by
- 10 (as of 31 October 2026)
- Authors
- Tianyu Yu, Chengyue Jiang, Chao Lou and others
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20353
- Graph hash
- 2a7b69f0216e2366ac6b21aa64f975bc3b79d20b48f1125ce8b23bd1e1a93f0e
- Skeleton hash
- f9dca99b62a45921eb47959e00979c3b71b2519f1cffd14649c53e623f681960
- Architecture hash
- 19f3d9f73901510914d843461bf62875ac50f2efe4d6c860e01072d7ff15cf34
- Diagram SHA-256
- 004483a524d32d8277d3c51014c95aa1af974201ed75c55fe103041b8fb29577
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
transformers.AutoModelForCausalLM.from_config()
What it is
SeqGPT is a bilingual (English and Chinese) autoregressive language model tuned for open-domain natural language understanding. The paper's starting point is that large language models are sometimes too loose for understanding tasks, which have restricted input and output formats, and that their results depend heavily on prompts or demonstrations.
SeqGPT expresses all such tasks with two atomic tasks, whose fixed instructions restrict the input and output format while leaving the label set open. The two atomic tasks are classification and extraction. Training has two stages: instruction tuning on fine-grained labeled data synthesized by ChatGPT, then further fine-tuning on 233 atomic tasks from 152 datasets across various domains. The usage code warns that changing the instruction can harm performance.
SeqGPT-560M is the released weight, described by its authors as a compact model targeting open-domain natural language understanding. It is fine-tuned from BLOOMZ-560M. The paper reports that SeqGPT has decent classification and extraction ability and can perform language understanding tasks on unseen domains. In a human evaluation on held-out datasets, the README reports that the SeqGPT-7B1 version outperformed ChatGPT on 7 of 10 understanding tasks but lagged behind in sentiment analysis, slot filling and natural language inference.
Key idea. SeqGPT expresses all natural language understanding tasks as two atomic tasks whose fixed instructions restrict input and output format while leaving label sets open.
- SeqGPT
- SeqGPT-560M
- open-domain natural language understanding
- NLU
- sequence understanding
- text classification
- information extraction
- bilingual English Chinese
- instruction tuning
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{yu2023seqgptoutoftheboxlargelanguage,
title={SeqGPT: An Out-of-the-box Large Language Model for Open Domain Sequence Understanding},
author={Tianyu Yu and Chengyue Jiang and Chao Lou and Shen Huang and Xiaobin Wang and Wei Liu and Jiong Cai and Yangning Li and Yinghui Li and Kewei Tu and Hai-Tao Zheng and Ningyu Zhang and Pengjun Xie and Fei Huang and Yong Jiang},
year={2023},
eprint={2308.10529},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2308.10529},
}