{ "pdf_info": [ { "preproc_blocks": [ { "type": "title", "bbox": [ 107, 82, 504, 121 ], "lines": [ { "bbox": [ 131, 82, 504, 103 ], "spans": [ { "bbox": [ 131, 82, 504, 103 ], "score": 1.0, "content": "GLM-130B: AN OPEN BILINGUAL PRE-TRAINED", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 103, 167, 123 ], "spans": [ { "bbox": [ 105, 103, 167, 123 ], "score": 1.0, "content": "MODEL", "type": "text" } ], "index": 1 } ], "index": 0.5 }, { "type": "text", "bbox": [ 113, 151, 482, 199 ], "lines": [ { "bbox": [ 111, 150, 483, 165 ], "spans": [ { "bbox": [ 111, 150, 143, 165 ], "score": 1.0, "content": "Aohan", "type": "text" }, { "bbox": [ 143, 151, 178, 163 ], "score": 0.53, "content": "\\mathbf { Z e n g } ^ { \\scriptscriptstyle \\circ \\dag \\ast }", "type": "inline_equation" }, { "bbox": [ 178, 150, 204, 165 ], "score": 1.0, "content": ", Xiao", "type": "text" }, { "bbox": [ 204, 151, 232, 163 ], "score": 0.8, "content": "\\mathbf { L i u } ^ { \\diamond \\dagger * }", "type": "inline_equation" }, { "bbox": [ 232, 150, 283, 165 ], "score": 1.0, "content": ", Zhengxiao", "type": "text" }, { "bbox": [ 284, 152, 306, 163 ], "score": 0.86, "content": "\\mathbf { D } \\mathbf { u } ^ { \\circ \\dagger }", "type": "inline_equation" }, { "bbox": [ 306, 150, 452, 165 ], "score": 1.0, "content": ", Zihan Wang⋄, Hanyu Lai⋄, Ming", "type": "text" }, { "bbox": [ 453, 152, 479, 164 ], "score": 0.49, "content": "\\mathbf { D i n g } ^ { \\circ }", "type": "inline_equation" }, { "bbox": [ 479, 150, 483, 165 ], "score": 1.0, "content": ",", "type": "text" } ], "index": 2 }, { "bbox": [ 111, 162, 479, 177 ], "spans": [ { "bbox": [ 111, 162, 145, 177 ], "score": 1.0, "content": "Zhuoyi", "type": "text" }, { "bbox": [ 146, 164, 173, 176 ], "score": 0.71, "content": "\\mathbf { Y a n g } ^ { \\diamond }", "type": "inline_equation" }, { "bbox": [ 173, 162, 202, 177 ], "score": 1.0, "content": ", Yifan", "type": "text" }, { "bbox": [ 203, 164, 221, 175 ], "score": 0.85, "content": "\\mathbf { X } \\mathbf { u } ^ { \\circ }", "type": "inline_equation" }, { "bbox": [ 221, 162, 314, 177 ], "score": 1.0, "content": ", Wendi Zheng⋄, Xiao", "type": "text" }, { "bbox": [ 314, 164, 335, 175 ], "score": 0.74, "content": "\\mathbf { X i a } ^ { \\diamond }", "type": "inline_equation" }, { "bbox": [ 335, 162, 388, 177 ], "score": 1.0, "content": ", Weng Lam", "type": "text" }, { "bbox": [ 388, 164, 416, 175 ], "score": 0.62, "content": "\\mathbf { T a m } ^ { \\circ \\ S }", "type": "inline_equation" }, { "bbox": [ 416, 162, 452, 177 ], "score": 1.0, "content": ", Zixuan", "type": "text" }, { "bbox": [ 453, 164, 473, 175 ], "score": 0.74, "content": "\\mathbf { M a } ^ { \\diamond }", "type": "inline_equation" }, { "bbox": [ 473, 162, 479, 177 ], "score": 1.0, "content": ",", "type": "text" } ], "index": 3 }, { "bbox": [ 111, 174, 428, 189 ], "spans": [ { "bbox": [ 111, 174, 137, 189 ], "score": 1.0, "content": "Yufei", "type": "text" }, { "bbox": [ 137, 175, 159, 186 ], "score": 0.41, "content": "\\mathbf { X u e ^ { \\ S } }", "type": "inline_equation" }, { "bbox": [ 160, 174, 272, 189 ], "score": 1.0, "content": ", Jidong Zhai⋄, Wenguang", "type": "text" }, { "bbox": [ 272, 176, 300, 186 ], "score": 0.32, "content": "\\mathbf { C h e n } ^ { \\circ }", "type": "inline_equation" }, { "bbox": [ 301, 174, 342, 189 ], "score": 1.0, "content": ", Zhiyuan", "type": "text" }, { "bbox": [ 343, 176, 363, 186 ], "score": 0.55, "content": "\\mathbf { L i u } ^ { \\diamond }", "type": "inline_equation" }, { "bbox": [ 364, 174, 428, 189 ], "score": 1.0, "content": ", Peng Zhang§,", "type": "text" } ], "index": 4 }, { "bbox": [ 110, 186, 228, 201 ], "spans": [ { "bbox": [ 110, 186, 144, 201 ], "score": 1.0, "content": "Yuxiao", "type": "text" }, { "bbox": [ 144, 187, 176, 199 ], "score": 0.44, "content": "\\mathbf { D o n g } ^ { \\circ \\dagger }", "type": "inline_equation" }, { "bbox": [ 176, 186, 228, 201 ], "score": 1.0, "content": ", Jie Tang⋄‡", "type": "text" } ], "index": 5 } ], "index": 3.5 }, { "type": "text", "bbox": [ 227, 210, 375, 221 ], "lines": [ { "bbox": [ 225, 208, 378, 225 ], "spans": [ { "bbox": [ 225, 209, 315, 225 ], "score": 1.0, "content": "Tsinghua University⋄", "type": "text" }, { "bbox": [ 331, 208, 378, 223 ], "score": 1.0, "content": "Zhipu.AI§", "type": "text" } ], "index": 6 } ], "index": 6 }, { "type": "title", "bbox": [ 277, 250, 333, 263 ], "lines": [ { "bbox": [ 276, 250, 335, 264 ], "spans": [ { "bbox": [ 276, 250, 335, 264 ], "score": 1.0, "content": "ABSTRACT", "type": "text" } ], "index": 7 } ], "index": 7 }, { "type": "text", "bbox": [ 142, 276, 468, 484 ], "lines": [ { "bbox": [ 142, 275, 470, 290 ], "spans": [ { "bbox": [ 142, 275, 470, 290 ], "score": 1.0, "content": "We introduce GLM-130B, a bilingual (English and Chinese) pre-trained language", "type": "text" } ], "index": 8 }, { "bbox": [ 142, 288, 470, 299 ], "spans": [ { "bbox": [ 142, 288, 470, 299 ], "score": 1.0, "content": "model with 130 billion parameters. It is an attempt to open-source a 100B-scale", "type": "text" } ], "index": 9 }, { "bbox": [ 141, 298, 470, 310 ], "spans": [ { "bbox": [ 141, 298, 470, 310 ], "score": 1.0, "content": "model at least as good as GPT-3 (davinci) and unveil how models of such a scale", "type": "text" } ], "index": 10 }, { "bbox": [ 141, 310, 469, 321 ], "spans": [ { "bbox": [ 141, 310, 469, 321 ], "score": 1.0, "content": "can be successfully pre-trained. Over the course of this effort, we face numer-", "type": "text" } ], "index": 11 }, { "bbox": [ 141, 320, 470, 333 ], "spans": [ { "bbox": [ 141, 320, 470, 333 ], "score": 1.0, "content": "ous unexpected technical and engineering challenges, particularly on loss spikes", "type": "text" } ], "index": 12 }, { "bbox": [ 141, 331, 470, 344 ], "spans": [ { "bbox": [ 141, 331, 470, 344 ], "score": 1.0, "content": "and divergence. In this paper, we introduce the training process of GLM-130B", "type": "text" } ], "index": 13 }, { "bbox": [ 141, 342, 470, 355 ], "spans": [ { "bbox": [ 141, 342, 470, 355 ], "score": 1.0, "content": "including its design choices, training strategies for both efficiency and stabil-", "type": "text" } ], "index": 14 }, { "bbox": [ 141, 353, 470, 366 ], "spans": [ { "bbox": [ 141, 353, 470, 366 ], "score": 1.0, "content": "ity, and engineering efforts. The resultant GLM-130B model offers significant", "type": "text" } ], "index": 15 }, { "bbox": [ 141, 364, 470, 377 ], "spans": [ { "bbox": [ 141, 364, 470, 377 ], "score": 1.0, "content": "outperformance over GPT-3 175B (davinci) on a wide range of popular English", "type": "text" } ], "index": 16 }, { "bbox": [ 141, 375, 470, 386 ], "spans": [ { "bbox": [ 141, 375, 470, 386 ], "score": 1.0, "content": "benchmarks while the performance advantage is not observed in OPT-175B and", "type": "text" } ], "index": 17 }, { "bbox": [ 141, 385, 470, 398 ], "spans": [ { "bbox": [ 141, 385, 470, 398 ], "score": 1.0, "content": "BLOOM-176B. It also consistently and significantly outperforms ERNIE TITAN", "type": "text" } ], "index": 18 }, { "bbox": [ 141, 397, 470, 410 ], "spans": [ { "bbox": [ 141, 397, 470, 410 ], "score": 1.0, "content": "3.0 260B—the largest Chinese language model—across related benchmarks. Fi-", "type": "text" } ], "index": 19 }, { "bbox": [ 141, 408, 470, 421 ], "spans": [ { "bbox": [ 141, 408, 470, 421 ], "score": 1.0, "content": "nally, we leverage a unique scaling property of GLM-130B to reach INT4 quanti-", "type": "text" } ], "index": 20 }, { "bbox": [ 141, 419, 470, 431 ], "spans": [ { "bbox": [ 141, 419, 470, 431 ], "score": 1.0, "content": "zation without post training, with almost no performance loss, making it the first", "type": "text" } ], "index": 21 }, { "bbox": [ 141, 430, 470, 442 ], "spans": [ { "bbox": [ 141, 430, 470, 442 ], "score": 1.0, "content": "among 100B-scale models and more importantly, allowing its effective inference", "type": "text" } ], "index": 22 }, { "bbox": [ 141, 441, 470, 453 ], "spans": [ { "bbox": [ 141, 441, 156, 453 ], "score": 1.0, "content": "on", "type": "text" }, { "bbox": [ 156, 441, 190, 451 ], "score": 0.43, "content": "4 \\times \\mathrm { R T X }", "type": "inline_equation" }, { "bbox": [ 190, 441, 255, 453 ], "score": 1.0, "content": "3090 (24G) or", "type": "text" }, { "bbox": [ 256, 441, 290, 451 ], "score": 0.45, "content": "8 \\times \\mathrm { R T X }", "type": "inline_equation" }, { "bbox": [ 290, 441, 470, 453 ], "score": 1.0, "content": "2080 Ti (11G) GPUs, the most affordable", "type": "text" } ], "index": 23 }, { "bbox": [ 141, 452, 470, 465 ], "spans": [ { "bbox": [ 141, 452, 470, 465 ], "score": 1.0, "content": "GPUs required for using 100B-scale models. The GLM-130B model weights are", "type": "text" } ], "index": 24 }, { "bbox": [ 141, 463, 469, 474 ], "spans": [ { "bbox": [ 141, 463, 469, 474 ], "score": 1.0, "content": "publicly accessible and its code, training logs, related toolkit, and lessons learned", "type": "text" } ], "index": 25 }, { "bbox": [ 141, 474, 431, 485 ], "spans": [ { "bbox": [ 141, 474, 431, 485 ], "score": 1.0, "content": "are open-sourced at https://github.com/THUDM/GLM-130B/.", "type": "text" } ], "index": 26 } ], "index": 17 }, { "type": "title", "bbox": [ 108, 507, 206, 520 ], "lines": [ { "bbox": [ 105, 506, 208, 523 ], "spans": [ { "bbox": [ 105, 506, 208, 523 ], "score": 1.0, "content": "1 INTRODUCTION", "type": "text" } ], "index": 27 } ], "index": 27 }, { "type": "text", "bbox": [ 106, 532, 505, 631 ], "lines": [ { "bbox": [ 106, 533, 505, 544 ], "spans": [ { "bbox": [ 106, 533, 505, 544 ], "score": 1.0, "content": "Large language models (LLMs), particularly those with over 100 billion (100B) parameters (Brown", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 542, 505, 556 ], "spans": [ { "bbox": [ 105, 542, 505, 556 ], "score": 1.0, "content": "et al., 2020; Thoppilan et al., 2022; Rae et al., 2021; Chowdhery et al., 2022; Wang et al., 2021),", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 554, 506, 567 ], "spans": [ { "bbox": [ 105, 554, 506, 567 ], "score": 1.0, "content": "have presented attractive scaling laws (Wei et al., 2022b), where emergent zero-shot and few-shot", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 564, 505, 578 ], "spans": [ { "bbox": [ 105, 564, 505, 578 ], "score": 1.0, "content": "capabilities suddenly arose. Among them, GPT-3 (Brown et al., 2020) with 175B parameters pi-", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 576, 505, 589 ], "spans": [ { "bbox": [ 105, 576, 505, 589 ], "score": 1.0, "content": "oneers the study of 100B-scale LLMs by strikingly generating better performance with 32 labeled", "type": "text" } ], "index": 32 }, { "bbox": [ 106, 586, 505, 599 ], "spans": [ { "bbox": [ 106, 586, 505, 599 ], "score": 1.0, "content": "examples than the fully-supervised BERT-Large model on a variety of benchmarks. However, both", "type": "text" } ], "index": 33 }, { "bbox": [ 106, 598, 505, 610 ], "spans": [ { "bbox": [ 106, 598, 505, 610 ], "score": 1.0, "content": "GPT-3 (and many other closed-sourced 100B-scale ones)—the model itself—and how it can be", "type": "text" } ], "index": 34 }, { "bbox": [ 106, 609, 505, 622 ], "spans": [ { "bbox": [ 106, 609, 505, 622 ], "score": 1.0, "content": "trained, have been thus far intransparent to the public. It is of critical value to train a high-quality", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 618, 439, 633 ], "spans": [ { "bbox": [ 105, 618, 439, 633 ], "score": 1.0, "content": "LLM of such scale with both the model and training process shared with everyone.", "type": "text" } ], "index": 36 } ], "index": 32 }, { "type": "text", "bbox": [ 108, 637, 504, 681 ], "lines": [ { "bbox": [ 105, 636, 506, 650 ], "spans": [ { "bbox": [ 105, 636, 506, 650 ], "score": 1.0, "content": "We thus aim to pre-train an open and highly-accurate 100B-scale model with ethical concerns in", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 648, 506, 661 ], "spans": [ { "bbox": [ 105, 648, 506, 661 ], "score": 1.0, "content": "mind. Over the course of our attempt, we have come to realize that pre-training a dense LLM at", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 658, 506, 673 ], "spans": [ { "bbox": [ 105, 658, 506, 673 ], "score": 1.0, "content": "such a scale raises numerous unexpected technical and engineering challenges compared to training", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 669, 506, 683 ], "spans": [ { "bbox": [ 105, 669, 506, 683 ], "score": 1.0, "content": "10B-scale models, in terms of pre-training efficiency, stability, and convergence. Similar difficulties", "type": "text" } ], "index": 40 } ], "index": 38.5 } ], "page_idx": 0, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 119, 690, 484, 732 ], "lines": [ { "bbox": [ 118, 688, 485, 702 ], "spans": [ { "bbox": [ 118, 688, 485, 702 ], "score": 1.0, "content": "*The two lead authors AZ and XL contributed equally ({zengaohan,shawliu9}@gmail.com)", "type": "text" } ] }, { "bbox": [ 118, 699, 359, 713 ], "spans": [ { "bbox": [ 118, 699, 359, 713 ], "score": 1.0, "content": "†Work partially done when AZ, XL, and ZD interned at Zhipu.AI.", "type": "text" } ] }, { "bbox": [ 118, 710, 439, 724 ], "spans": [ { "bbox": [ 118, 710, 439, 724 ], "score": 1.0, "content": "‡Team leads: YD and JT. Corresponding author: JT (jietang@tsinghua.edu.cn)", "type": "text" } ] }, { "bbox": [ 121, 721, 345, 733 ], "spans": [ { "bbox": [ 121, 721, 345, 733 ], "score": 1.0, "content": "For detailed author contributions, please refer to Appendix E.", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 25, 293, 38 ], "spans": [ { "bbox": [ 106, 25, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 303, 752, 308, 760 ], "lines": [ { "bbox": [ 302, 751, 309, 762 ], "spans": [ { "bbox": [ 302, 751, 309, 762 ], "score": 1.0, "content": "1", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 107, 82, 504, 121 ], "lines": [ { "bbox": [ 131, 82, 504, 103 ], "spans": [ { "bbox": [ 131, 82, 504, 103 ], "score": 1.0, "content": "GLM-130B: AN OPEN BILINGUAL PRE-TRAINED", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 103, 167, 123 ], "spans": [ { "bbox": [ 105, 103, 167, 123 ], "score": 1.0, "content": "MODEL", "type": "text" } ], "index": 1 } ], "index": 0.5 }, { "type": "text", "bbox": [ 113, 151, 482, 199 ], "lines": [ { "bbox": [ 111, 150, 483, 165 ], "spans": [ { "bbox": [ 111, 150, 143, 165 ], "score": 1.0, "content": "Aohan", "type": "text" }, { "bbox": [ 143, 151, 178, 163 ], "score": 0.53, "content": "\\mathbf { Z e n g } ^ { \\scriptscriptstyle \\circ \\dag \\ast }", "type": "inline_equation" }, { "bbox": [ 178, 150, 204, 165 ], "score": 1.0, "content": ", Xiao", "type": "text" }, { "bbox": [ 204, 151, 232, 163 ], "score": 0.8, "content": "\\mathbf { L i u } ^ { \\diamond \\dagger * }", "type": "inline_equation" }, { "bbox": [ 232, 150, 283, 165 ], "score": 1.0, "content": ", Zhengxiao", "type": "text" }, { "bbox": [ 284, 152, 306, 163 ], "score": 0.86, "content": "\\mathbf { D } \\mathbf { u } ^ { \\circ \\dagger }", "type": "inline_equation" }, { "bbox": [ 306, 150, 452, 165 ], "score": 1.0, "content": ", Zihan Wang⋄, Hanyu Lai⋄, Ming", "type": "text" }, { "bbox": [ 453, 152, 479, 164 ], "score": 0.49, "content": "\\mathbf { D i n g } ^ { \\circ }", "type": "inline_equation" }, { "bbox": [ 479, 150, 483, 165 ], "score": 1.0, "content": ",", "type": "text" } ], "index": 2 }, { "bbox": [ 111, 162, 479, 177 ], "spans": [ { "bbox": [ 111, 162, 145, 177 ], "score": 1.0, "content": "Zhuoyi", "type": "text" }, { "bbox": [ 146, 164, 173, 176 ], "score": 0.71, "content": "\\mathbf { Y a n g } ^ { \\diamond }", "type": "inline_equation" }, { "bbox": [ 173, 162, 202, 177 ], "score": 1.0, "content": ", Yifan", "type": "text" }, { "bbox": [ 203, 164, 221, 175 ], "score": 0.85, "content": "\\mathbf { X } \\mathbf { u } ^ { \\circ }", "type": "inline_equation" }, { "bbox": [ 221, 162, 314, 177 ], "score": 1.0, "content": ", Wendi Zheng⋄, Xiao", "type": "text" }, { "bbox": [ 314, 164, 335, 175 ], "score": 0.74, "content": "\\mathbf { X i a } ^ { \\diamond }", "type": "inline_equation" }, { "bbox": [ 335, 162, 388, 177 ], "score": 1.0, "content": ", Weng Lam", "type": "text" }, { "bbox": [ 388, 164, 416, 175 ], "score": 0.62, "content": "\\mathbf { T a m } ^ { \\circ \\ S }", "type": "inline_equation" }, { "bbox": [ 416, 162, 452, 177 ], "score": 1.0, "content": ", Zixuan", "type": "text" }, { "bbox": [ 453, 164, 473, 175 ], "score": 0.74, "content": "\\mathbf { M a } ^ { \\diamond }", "type": "inline_equation" }, { "bbox": [ 473, 162, 479, 177 ], "score": 1.0, "content": ",", "type": "text" } ], "index": 3 }, { "bbox": [ 111, 174, 428, 189 ], "spans": [ { "bbox": [ 111, 174, 137, 189 ], "score": 1.0, "content": "Yufei", "type": "text" }, { "bbox": [ 137, 175, 159, 186 ], "score": 0.41, "content": "\\mathbf { X u e ^ { \\ S } }", "type": "inline_equation" }, { "bbox": [ 160, 174, 272, 189 ], "score": 1.0, "content": ", Jidong Zhai⋄, Wenguang", "type": "text" }, { "bbox": [ 272, 176, 300, 186 ], "score": 0.32, "content": "\\mathbf { C h e n } ^ { \\circ }", "type": "inline_equation" }, { "bbox": [ 301, 174, 342, 189 ], "score": 1.0, "content": ", Zhiyuan", "type": "text" }, { "bbox": [ 343, 176, 363, 186 ], "score": 0.55, "content": "\\mathbf { L i u } ^ { \\diamond }", "type": "inline_equation" }, { "bbox": [ 364, 174, 428, 189 ], "score": 1.0, "content": ", Peng Zhang§,", "type": "text" } ], "index": 4 }, { "bbox": [ 110, 186, 228, 201 ], "spans": [ { "bbox": [ 110, 186, 144, 201 ], "score": 1.0, "content": "Yuxiao", "type": "text" }, { "bbox": [ 144, 187, 176, 199 ], "score": 0.44, "content": "\\mathbf { D o n g } ^ { \\circ \\dagger }", "type": "inline_equation" }, { "bbox": [ 176, 186, 228, 201 ], "score": 1.0, "content": ", Jie Tang⋄‡", "type": "text" } ], "index": 5 } ], "index": 3.5, "bbox_fs": [ 110, 150, 483, 201 ] }, { "type": "text", "bbox": [ 227, 210, 375, 221 ], "lines": [ { "bbox": [ 225, 208, 378, 225 ], "spans": [ { "bbox": [ 225, 209, 315, 225 ], "score": 1.0, "content": "Tsinghua University⋄", "type": "text" }, { "bbox": [ 331, 208, 378, 223 ], "score": 1.0, "content": "Zhipu.AI§", "type": "text" } ], "index": 6 } ], "index": 6, "bbox_fs": [ 225, 208, 378, 225 ] }, { "type": "title", "bbox": [ 277, 250, 333, 263 ], "lines": [ { "bbox": [ 276, 250, 335, 264 ], "spans": [ { "bbox": [ 276, 250, 335, 264 ], "score": 1.0, "content": "ABSTRACT", "type": "text" } ], "index": 7 } ], "index": 7 }, { "type": "text", "bbox": [ 142, 276, 468, 484 ], "lines": [ { "bbox": [ 142, 275, 470, 290 ], "spans": [ { "bbox": [ 142, 275, 470, 290 ], "score": 1.0, "content": "We introduce GLM-130B, a bilingual (English and Chinese) pre-trained language", "type": "text" } ], "index": 8 }, { "bbox": [ 142, 288, 470, 299 ], "spans": [ { "bbox": [ 142, 288, 470, 299 ], "score": 1.0, "content": "model with 130 billion parameters. It is an attempt to open-source a 100B-scale", "type": "text" } ], "index": 9 }, { "bbox": [ 141, 298, 470, 310 ], "spans": [ { "bbox": [ 141, 298, 470, 310 ], "score": 1.0, "content": "model at least as good as GPT-3 (davinci) and unveil how models of such a scale", "type": "text" } ], "index": 10 }, { "bbox": [ 141, 310, 469, 321 ], "spans": [ { "bbox": [ 141, 310, 469, 321 ], "score": 1.0, "content": "can be successfully pre-trained. Over the course of this effort, we face numer-", "type": "text" } ], "index": 11 }, { "bbox": [ 141, 320, 470, 333 ], "spans": [ { "bbox": [ 141, 320, 470, 333 ], "score": 1.0, "content": "ous unexpected technical and engineering challenges, particularly on loss spikes", "type": "text" } ], "index": 12 }, { "bbox": [ 141, 331, 470, 344 ], "spans": [ { "bbox": [ 141, 331, 470, 344 ], "score": 1.0, "content": "and divergence. In this paper, we introduce the training process of GLM-130B", "type": "text" } ], "index": 13 }, { "bbox": [ 141, 342, 470, 355 ], "spans": [ { "bbox": [ 141, 342, 470, 355 ], "score": 1.0, "content": "including its design choices, training strategies for both efficiency and stabil-", "type": "text" } ], "index": 14 }, { "bbox": [ 141, 353, 470, 366 ], "spans": [ { "bbox": [ 141, 353, 470, 366 ], "score": 1.0, "content": "ity, and engineering efforts. The resultant GLM-130B model offers significant", "type": "text" } ], "index": 15 }, { "bbox": [ 141, 364, 470, 377 ], "spans": [ { "bbox": [ 141, 364, 470, 377 ], "score": 1.0, "content": "outperformance over GPT-3 175B (davinci) on a wide range of popular English", "type": "text" } ], "index": 16 }, { "bbox": [ 141, 375, 470, 386 ], "spans": [ { "bbox": [ 141, 375, 470, 386 ], "score": 1.0, "content": "benchmarks while the performance advantage is not observed in OPT-175B and", "type": "text" } ], "index": 17 }, { "bbox": [ 141, 385, 470, 398 ], "spans": [ { "bbox": [ 141, 385, 470, 398 ], "score": 1.0, "content": "BLOOM-176B. It also consistently and significantly outperforms ERNIE TITAN", "type": "text" } ], "index": 18 }, { "bbox": [ 141, 397, 470, 410 ], "spans": [ { "bbox": [ 141, 397, 470, 410 ], "score": 1.0, "content": "3.0 260B—the largest Chinese language model—across related benchmarks. Fi-", "type": "text" } ], "index": 19 }, { "bbox": [ 141, 408, 470, 421 ], "spans": [ { "bbox": [ 141, 408, 470, 421 ], "score": 1.0, "content": "nally, we leverage a unique scaling property of GLM-130B to reach INT4 quanti-", "type": "text" } ], "index": 20 }, { "bbox": [ 141, 419, 470, 431 ], "spans": [ { "bbox": [ 141, 419, 470, 431 ], "score": 1.0, "content": "zation without post training, with almost no performance loss, making it the first", "type": "text" } ], "index": 21 }, { "bbox": [ 141, 430, 470, 442 ], "spans": [ { "bbox": [ 141, 430, 470, 442 ], "score": 1.0, "content": "among 100B-scale models and more importantly, allowing its effective inference", "type": "text" } ], "index": 22 }, { "bbox": [ 141, 441, 470, 453 ], "spans": [ { "bbox": [ 141, 441, 156, 453 ], "score": 1.0, "content": "on", "type": "text" }, { "bbox": [ 156, 441, 190, 451 ], "score": 0.43, "content": "4 \\times \\mathrm { R T X }", "type": "inline_equation" }, { "bbox": [ 190, 441, 255, 453 ], "score": 1.0, "content": "3090 (24G) or", "type": "text" }, { "bbox": [ 256, 441, 290, 451 ], "score": 0.45, "content": "8 \\times \\mathrm { R T X }", "type": "inline_equation" }, { "bbox": [ 290, 441, 470, 453 ], "score": 1.0, "content": "2080 Ti (11G) GPUs, the most affordable", "type": "text" } ], "index": 23 }, { "bbox": [ 141, 452, 470, 465 ], "spans": [ { "bbox": [ 141, 452, 470, 465 ], "score": 1.0, "content": "GPUs required for using 100B-scale models. The GLM-130B model weights are", "type": "text" } ], "index": 24 }, { "bbox": [ 141, 463, 469, 474 ], "spans": [ { "bbox": [ 141, 463, 469, 474 ], "score": 1.0, "content": "publicly accessible and its code, training logs, related toolkit, and lessons learned", "type": "text" } ], "index": 25 }, { "bbox": [ 141, 474, 431, 485 ], "spans": [ { "bbox": [ 141, 474, 431, 485 ], "score": 1.0, "content": "are open-sourced at https://github.com/THUDM/GLM-130B/.", "type": "text" } ], "index": 26 } ], "index": 17, "bbox_fs": [ 141, 275, 470, 485 ] }, { "type": "title", "bbox": [ 108, 507, 206, 520 ], "lines": [ { "bbox": [ 105, 506, 208, 523 ], "spans": [ { "bbox": [ 105, 506, 208, 523 ], "score": 1.0, "content": "1 INTRODUCTION", "type": "text" } ], "index": 27 } ], "index": 27 }, { "type": "text", "bbox": [ 106, 532, 505, 631 ], "lines": [ { "bbox": [ 106, 533, 505, 544 ], "spans": [ { "bbox": [ 106, 533, 505, 544 ], "score": 1.0, "content": "Large language models (LLMs), particularly those with over 100 billion (100B) parameters (Brown", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 542, 505, 556 ], "spans": [ { "bbox": [ 105, 542, 505, 556 ], "score": 1.0, "content": "et al., 2020; Thoppilan et al., 2022; Rae et al., 2021; Chowdhery et al., 2022; Wang et al., 2021),", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 554, 506, 567 ], "spans": [ { "bbox": [ 105, 554, 506, 567 ], "score": 1.0, "content": "have presented attractive scaling laws (Wei et al., 2022b), where emergent zero-shot and few-shot", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 564, 505, 578 ], "spans": [ { "bbox": [ 105, 564, 505, 578 ], "score": 1.0, "content": "capabilities suddenly arose. Among them, GPT-3 (Brown et al., 2020) with 175B parameters pi-", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 576, 505, 589 ], "spans": [ { "bbox": [ 105, 576, 505, 589 ], "score": 1.0, "content": "oneers the study of 100B-scale LLMs by strikingly generating better performance with 32 labeled", "type": "text" } ], "index": 32 }, { "bbox": [ 106, 586, 505, 599 ], "spans": [ { "bbox": [ 106, 586, 505, 599 ], "score": 1.0, "content": "examples than the fully-supervised BERT-Large model on a variety of benchmarks. However, both", "type": "text" } ], "index": 33 }, { "bbox": [ 106, 598, 505, 610 ], "spans": [ { "bbox": [ 106, 598, 505, 610 ], "score": 1.0, "content": "GPT-3 (and many other closed-sourced 100B-scale ones)—the model itself—and how it can be", "type": "text" } ], "index": 34 }, { "bbox": [ 106, 609, 505, 622 ], "spans": [ { "bbox": [ 106, 609, 505, 622 ], "score": 1.0, "content": "trained, have been thus far intransparent to the public. It is of critical value to train a high-quality", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 618, 439, 633 ], "spans": [ { "bbox": [ 105, 618, 439, 633 ], "score": 1.0, "content": "LLM of such scale with both the model and training process shared with everyone.", "type": "text" } ], "index": 36 } ], "index": 32, "bbox_fs": [ 105, 533, 506, 633 ] }, { "type": "text", "bbox": [ 108, 637, 504, 681 ], "lines": [ { "bbox": [ 105, 636, 506, 650 ], "spans": [ { "bbox": [ 105, 636, 506, 650 ], "score": 1.0, "content": "We thus aim to pre-train an open and highly-accurate 100B-scale model with ethical concerns in", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 648, 506, 661 ], "spans": [ { "bbox": [ 105, 648, 506, 661 ], "score": 1.0, "content": "mind. Over the course of our attempt, we have come to realize that pre-training a dense LLM at", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 658, 506, 673 ], "spans": [ { "bbox": [ 105, 658, 506, 673 ], "score": 1.0, "content": "such a scale raises numerous unexpected technical and engineering challenges compared to training", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 669, 506, 683 ], "spans": [ { "bbox": [ 105, 669, 506, 683 ], "score": 1.0, "content": "10B-scale models, in terms of pre-training efficiency, stability, and convergence. Similar difficulties", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 290, 505, 303 ], "spans": [ { "bbox": [ 106, 290, 505, 303 ], "score": 1.0, "content": "have also been concurrently observed in training OPT-175B (Zhang et al., 2022) and BLOOM-", "type": "text", "cross_page": true } ], "index": 9 }, { "bbox": [ 106, 300, 478, 315 ], "spans": [ { "bbox": [ 106, 300, 478, 315 ], "score": 1.0, "content": "176B (Scao et al., 2022), further demonstrating the significance of GPT-3 as a pioneer study.", "type": "text", "cross_page": true } ], "index": 10 } ], "index": 38.5, "bbox_fs": [ 105, 636, 506, 683 ] } ] }, { "preproc_blocks": [ { "type": "image", "bbox": [ 111, 71, 500, 163 ], "blocks": [ { "type": "image_body", "bbox": [ 111, 71, 500, 163 ], "group_id": 0, "lines": [ { "bbox": [ 111, 71, 500, 163 ], "spans": [ { "bbox": [ 111, 71, 500, 163 ], "score": 0.942, "type": "image", "image_path": "cb9db52609c42d68ed3c8418c864580221d2a7b02a8c1d573aea0fb5c46b1b9b.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 111, 71, 500, 101.66666666666667 ], "spans": [], "index": 0 }, { "bbox": [ 111, 101.66666666666667, 500, 132.33333333333334 ], "spans": [], "index": 1 }, { "bbox": [ 111, 132.33333333333334, 500, 163.0 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 155, 164, 450, 174 ], "group_id": 0, "lines": [ { "bbox": [ 160, 163, 450, 177 ], "spans": [ { "bbox": [ 160, 163, 450, 177 ], "score": 1.0, "content": "Figure 1: A summary of the performance evaluation and ethical studies.", "type": "text" } ], "index": 3 } ], "index": 3 } ], "index": 2.0 }, { "type": "table", "bbox": [ 109, 198, 502, 287 ], "blocks": [ { "type": "table_caption", "bbox": [ 105, 176, 507, 198 ], "group_id": 0, "lines": [ { "bbox": [ 106, 176, 505, 187 ], "spans": [ { "bbox": [ 106, 176, 505, 187 ], "score": 1.0, "content": "Table 1: A comparison between GLM-130B and other 100B-scale LLMs and PaLM 540B. (LN:", "type": "text" } ], "index": 4 }, { "bbox": [ 106, 187, 491, 199 ], "spans": [ { "bbox": [ 106, 187, 491, 199 ], "score": 1.0, "content": "layer norm.; FPF: floating-point format; MIP: multi-task instruction pre-training; CN : Chinese)", "type": "text" } ], "index": 5 } ], "index": 4.5 }, { "type": "table_body", "bbox": [ 109, 198, 502, 287 ], "group_id": 0, "lines": [ { "bbox": [ 109, 198, 502, 287 ], "spans": [ { "bbox": [ 109, 198, 502, 287 ], "score": 0.958, "html": "
ModelOpen- sourceArchitecture &DataTrainingInference
ObjectiveLNMajor Lang.FPFStabilizationQuantizationGPUNeeded
GPT-3 175B×EnglishFP16undisclosedundisclosedundisclosed
OPT-175BGPTPre-LNEnglishFP16Manual AdjustingINT88×3090
BLOOM-176BMulti-lingualBF161Embedding NormINT88×3090
PaLM540B×GPTPre-LNEnglishBF16 Manual Adjustingundisclosedundisclosed
GLM-130BGLM (Blank Infilling & MIP)Deep- NormBilingual (EN&CN)FP16Embedding Gradient ShrinkINT44 × 3090 or 8 × 1080 Ti
", "type": "table", "image_path": "4a14c8deb3aff229bfb3de0f864df79d4f48b07e5292f8f4840fc3d37b83fa6d.jpg" } ] } ], "index": 7, "virtual_lines": [ { "bbox": [ 109, 198, 502, 227.66666666666666 ], "spans": [], "index": 6 }, { "bbox": [ 109, 227.66666666666666, 502, 257.3333333333333 ], "spans": [], "index": 7 }, { "bbox": [ 109, 257.3333333333333, 502, 287.0 ], "spans": [], "index": 8 } ] } ], "index": 5.75 }, { "type": "text", "bbox": [ 108, 291, 503, 314 ], "lines": [ { "bbox": [ 106, 290, 505, 303 ], "spans": [ { "bbox": [ 106, 290, 505, 303 ], "score": 1.0, "content": "have also been concurrently observed in training OPT-175B (Zhang et al., 2022) and BLOOM-", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 300, 478, 315 ], "spans": [ { "bbox": [ 106, 300, 478, 315 ], "score": 1.0, "content": "176B (Scao et al., 2022), further demonstrating the significance of GPT-3 as a pioneer study.", "type": "text" } ], "index": 10 } ], "index": 9.5 }, { "type": "text", "bbox": [ 106, 318, 505, 429 ], "lines": [ { "bbox": [ 105, 318, 505, 332 ], "spans": [ { "bbox": [ 105, 318, 505, 332 ], "score": 1.0, "content": "In this work, we introduce the pre-training of a 100B-scale model—GLM-130B, in terms of engi-", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 330, 506, 343 ], "spans": [ { "bbox": [ 106, 330, 506, 343 ], "score": 1.0, "content": "neering efforts, model design choices, training strategies for efficiency and stability, and quantization", "type": "text" } ], "index": 12 }, { "bbox": [ 106, 341, 506, 354 ], "spans": [ { "bbox": [ 106, 341, 506, 354 ], "score": 1.0, "content": "for affordable inference. As it has been widely realized that it is computationally unaffordable to", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 352, 505, 365 ], "spans": [ { "bbox": [ 106, 352, 505, 365 ], "score": 1.0, "content": "empirically enumerate all possible designs for training 100B-scale LLMs, we present not only the", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 363, 505, 376 ], "spans": [ { "bbox": [ 105, 363, 505, 376 ], "score": 1.0, "content": "successful part for training GLM-130B but also many of the failed options and lessons learned.", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 374, 506, 387 ], "spans": [ { "bbox": [ 106, 374, 506, 387 ], "score": 1.0, "content": "Particularly, the training stability is the decisive factor in the success of training models of such a", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 383, 506, 399 ], "spans": [ { "bbox": [ 105, 383, 506, 399 ], "score": 1.0, "content": "scale. Different from practices such as manually adjusting learning rates in OPT-175B and using", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 395, 505, 409 ], "spans": [ { "bbox": [ 105, 395, 505, 409 ], "score": 1.0, "content": "embedding norm in the sacrifice of performance in BLOOM-176B, we experiment with various op-", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 406, 506, 420 ], "spans": [ { "bbox": [ 105, 406, 506, 420 ], "score": 1.0, "content": "tions and find the strategy of embedding gradient shrink can significantly stabilize the training of", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 417, 159, 430 ], "spans": [ { "bbox": [ 105, 417, 159, 430 ], "score": 1.0, "content": "GLM-130B.", "type": "text" } ], "index": 20 } ], "index": 15.5 }, { "type": "text", "bbox": [ 106, 434, 505, 512 ], "lines": [ { "bbox": [ 106, 434, 506, 448 ], "spans": [ { "bbox": [ 106, 434, 506, 448 ], "score": 1.0, "content": "Specifically, GLM-130B is a bilingual (English and Chinese) bidirectional dense model with 130 bil-", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 445, 503, 458 ], "spans": [ { "bbox": [ 105, 445, 468, 458 ], "score": 1.0, "content": "lion parameters, pre-trained over 400 billion tokens on a cluster of 96 NVIDIA DGX-A100", "type": "text" }, { "bbox": [ 468, 446, 503, 457 ], "score": 0.84, "content": "( 8 \\times 4 0 \\mathrm { G } )", "type": "inline_equation" } ], "index": 22 }, { "bbox": [ 105, 456, 505, 469 ], "spans": [ { "bbox": [ 105, 456, 505, 469 ], "score": 1.0, "content": "GPU nodes between May 6 and July 3, 2022. Instead of using the GPT-style architecture, we adopt", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 467, 505, 480 ], "spans": [ { "bbox": [ 105, 467, 505, 480 ], "score": 1.0, "content": "the General Language Model (GLM) algorithm (Du et al., 2022) to leverage its bidirectional at-", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 479, 505, 490 ], "spans": [ { "bbox": [ 106, 479, 505, 490 ], "score": 1.0, "content": "tention advantage and autoregressive blank infilling objective. Table 1 summarizes the comparison", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 488, 505, 502 ], "spans": [ { "bbox": [ 105, 488, 505, 502 ], "score": 1.0, "content": "between GLM-130B, GPT-3 and another two open-source efforts—OPT-175B and BLOOM-176B,", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 500, 451, 513 ], "spans": [ { "bbox": [ 105, 500, 315, 513 ], "score": 1.0, "content": "as well as PaLM 540B (Chowdhery et al., 2022)—a", "type": "text" }, { "bbox": [ 315, 501, 330, 511 ], "score": 0.82, "content": "4 \\times", "type": "inline_equation" }, { "bbox": [ 330, 500, 451, 513 ], "score": 1.0, "content": "larger model—as a reference.", "type": "text" } ], "index": 27 } ], "index": 24 }, { "type": "text", "bbox": [ 106, 517, 505, 649 ], "lines": [ { "bbox": [ 106, 517, 505, 530 ], "spans": [ { "bbox": [ 106, 517, 505, 530 ], "score": 1.0, "content": "Altogether, the conceptual uniqueness and engineering efforts enable GLM-130B to exhibit perfor-", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 528, 505, 540 ], "spans": [ { "bbox": [ 105, 528, 505, 540 ], "score": 1.0, "content": "mance that surpasses the level of GPT-3 on a wide range of benchmarks (in total 112 tasks) and also", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 540, 505, 551 ], "spans": [ { "bbox": [ 105, 540, 505, 551 ], "score": 1.0, "content": "outperforms PaLM 540B in many cases, while outperformance over GPT-3 has not been observed in", "type": "text" } ], "index": 30 }, { "bbox": [ 106, 550, 506, 562 ], "spans": [ { "bbox": [ 106, 550, 506, 562 ], "score": 1.0, "content": "OPT-175B and BLOOM-176B (Cf. Figure 1 left). For zero-shot performance, GLM-130B is better", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 560, 505, 573 ], "spans": [ { "bbox": [ 105, 560, 179, 573 ], "score": 1.0, "content": "than GPT-3 175B", "type": "text" }, { "bbox": [ 180, 561, 213, 573 ], "score": 0.89, "content": "( + 5 . 0 \\% )", "type": "inline_equation" }, { "bbox": [ 213, 560, 262, 573 ], "score": 1.0, "content": ", OPT-175B", "type": "text" }, { "bbox": [ 263, 561, 296, 573 ], "score": 0.89, "content": "( + 6 . 5 \\% )", "type": "inline_equation" }, { "bbox": [ 297, 560, 381, 573 ], "score": 1.0, "content": ", and BLOOM-176B", "type": "text" }, { "bbox": [ 381, 561, 420, 572 ], "score": 0.87, "content": "( + 1 3 . 0 \\% )", "type": "inline_equation" }, { "bbox": [ 420, 560, 505, 573 ], "score": 1.0, "content": "on LAMBADA (Pa-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 572, 506, 584 ], "spans": [ { "bbox": [ 105, 572, 240, 584 ], "score": 1.0, "content": "perno et al., 2016), and achieves", "type": "text" }, { "bbox": [ 240, 573, 255, 583 ], "score": 0.86, "content": "3 \\times", "type": "inline_equation" }, { "bbox": [ 255, 572, 506, 584 ], "score": 1.0, "content": "better performance than GPT-3 on Big-bench-lite (Srivastava", "type": "text" } ], "index": 33 }, { "bbox": [ 106, 583, 504, 594 ], "spans": [ { "bbox": [ 106, 583, 504, 594 ], "score": 1.0, "content": "et al., 2022). For the 5-shot MMLU (Hendrycks et al., 2021) tasks, it is better than GPT-3 175B", "type": "text" } ], "index": 34 }, { "bbox": [ 107, 594, 505, 606 ], "spans": [ { "bbox": [ 107, 594, 141, 605 ], "score": 0.89, "content": "( + 0 . 9 \\% )", "type": "inline_equation" }, { "bbox": [ 141, 594, 223, 606 ], "score": 1.0, "content": "and BLOOM-176B", "type": "text" }, { "bbox": [ 224, 594, 262, 605 ], "score": 0.87, "content": "( + 1 2 . 7 \\% )", "type": "inline_equation" }, { "bbox": [ 262, 594, 505, 606 ], "score": 1.0, "content": ". As a bilingual LLM also in Chinese, it offers significantly", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 604, 505, 617 ], "spans": [ { "bbox": [ 106, 604, 505, 617 ], "score": 1.0, "content": "better results than ERNIE TITAN 3.0 260B (Wang et al., 2021)—the largest Chinese LLM—on 7", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 615, 504, 628 ], "spans": [ { "bbox": [ 106, 615, 279, 628 ], "score": 1.0, "content": "zero-shot CLUE (Xu et al., 2020) datasets", "type": "text" }, { "bbox": [ 280, 616, 323, 627 ], "score": 0.91, "content": "( + 2 4 . 2 6 \\% )", "type": "inline_equation" }, { "bbox": [ 324, 615, 504, 628 ], "score": 1.0, "content": "and 5 zero-shot FewCLUE (Xu et al., 2021)", "type": "text" } ], "index": 37 }, { "bbox": [ 106, 627, 505, 639 ], "spans": [ { "bbox": [ 106, 627, 128, 639 ], "score": 1.0, "content": "ones", "type": "text" }, { "bbox": [ 128, 627, 172, 638 ], "score": 0.91, "content": "( + 1 2 . 7 5 \\% )", "type": "inline_equation" }, { "bbox": [ 172, 627, 505, 639 ], "score": 1.0, "content": ". Importantly, as summarized in Figure 1 right, GLM-130B as an open model is", "type": "text" } ], "index": 38 }, { "bbox": [ 106, 638, 488, 650 ], "spans": [ { "bbox": [ 106, 638, 488, 650 ], "score": 1.0, "content": "associated with significantly less bias and generation toxicity than its 100B-scale counterparts.", "type": "text" } ], "index": 39 } ], "index": 33.5 }, { "type": "text", "bbox": [ 107, 655, 505, 732 ], "lines": [ { "bbox": [ 105, 654, 506, 668 ], "spans": [ { "bbox": [ 105, 654, 506, 668 ], "score": 1.0, "content": "Finally, we design GLM-130B to empower as many people as possible to conduct 100B-scale LLM", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 666, 505, 678 ], "spans": [ { "bbox": [ 105, 666, 228, 678 ], "score": 1.0, "content": "studies. First, instead of using", "type": "text" }, { "bbox": [ 228, 666, 257, 676 ], "score": 0.85, "content": "1 7 5 \\mathrm { B } +", "type": "inline_equation" }, { "bbox": [ 257, 666, 505, 678 ], "score": 1.0, "content": "parameters as OPT and BLOOM, the 130B size is decided be-", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 677, 505, 689 ], "spans": [ { "bbox": [ 105, 677, 325, 689 ], "score": 1.0, "content": "cause such a size supports inference on a single A100", "type": "text" }, { "bbox": [ 325, 677, 360, 688 ], "score": 0.85, "content": "( 8 \\times 4 0 \\mathrm { G } )", "type": "inline_equation" }, { "bbox": [ 361, 677, 505, 689 ], "score": 1.0, "content": "server. Second, to further lower the", "type": "text" } ], "index": 42 }, { "bbox": [ 106, 688, 505, 700 ], "spans": [ { "bbox": [ 106, 688, 505, 700 ], "score": 1.0, "content": "GPU requirements, we quantize GLM-130B into INT4 precision without post training while OPT", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 698, 507, 713 ], "spans": [ { "bbox": [ 105, 698, 507, 713 ], "score": 1.0, "content": "and BLOOM can only reach INT8. Due to a unique property of the GLM architecture, GLM-130B’s", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 709, 506, 723 ], "spans": [ { "bbox": [ 105, 709, 393, 723 ], "score": 1.0, "content": "INT4 quantization introduces negligible performance degradation, e.g.,", "type": "text" }, { "bbox": [ 393, 710, 423, 720 ], "score": 0.84, "content": "- 0 . 7 4 \\%", "type": "inline_equation" }, { "bbox": [ 423, 709, 506, 723 ], "score": 1.0, "content": "on LAMBADA and", "type": "text" } ], "index": 45 }, { "bbox": [ 105, 720, 505, 732 ], "spans": [ { "bbox": [ 105, 720, 127, 732 ], "score": 1.0, "content": "even", "type": "text" }, { "bbox": [ 128, 721, 161, 731 ], "score": 0.89, "content": "+ 0 . 0 5 \\%", "type": "inline_equation" }, { "bbox": [ 161, 720, 505, 732 ], "score": 1.0, "content": "on MMLU, making it still better than the uncompressed GPT-3. This enables GLM-", "type": "text" } ], "index": 46 } ], "index": 43 } ], "page_idx": 1, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 292, 37 ], "lines": [ { "bbox": [ 106, 26, 294, 38 ], "spans": [ { "bbox": [ 106, 26, 294, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 302, 751, 309, 760 ], "lines": [ { "bbox": [ 301, 750, 310, 763 ], "spans": [ { "bbox": [ 301, 750, 310, 763 ], "score": 1.0, "content": "2", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "image", "bbox": [ 111, 71, 500, 163 ], "blocks": [ { "type": "image_body", "bbox": [ 111, 71, 500, 163 ], "group_id": 0, "lines": [ { "bbox": [ 111, 71, 500, 163 ], "spans": [ { "bbox": [ 111, 71, 500, 163 ], "score": 0.942, "type": "image", "image_path": "cb9db52609c42d68ed3c8418c864580221d2a7b02a8c1d573aea0fb5c46b1b9b.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 111, 71, 500, 101.66666666666667 ], "spans": [], "index": 0 }, { "bbox": [ 111, 101.66666666666667, 500, 132.33333333333334 ], "spans": [], "index": 1 }, { "bbox": [ 111, 132.33333333333334, 500, 163.0 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 155, 164, 450, 174 ], "group_id": 0, "lines": [ { "bbox": [ 160, 163, 450, 177 ], "spans": [ { "bbox": [ 160, 163, 450, 177 ], "score": 1.0, "content": "Figure 1: A summary of the performance evaluation and ethical studies.", "type": "text" } ], "index": 3 } ], "index": 3 } ], "index": 2.0 }, { "type": "table", "bbox": [ 109, 198, 502, 287 ], "blocks": [ { "type": "table_caption", "bbox": [ 105, 176, 507, 198 ], "group_id": 0, "lines": [ { "bbox": [ 106, 176, 505, 187 ], "spans": [ { "bbox": [ 106, 176, 505, 187 ], "score": 1.0, "content": "Table 1: A comparison between GLM-130B and other 100B-scale LLMs and PaLM 540B. (LN:", "type": "text" } ], "index": 4 }, { "bbox": [ 106, 187, 491, 199 ], "spans": [ { "bbox": [ 106, 187, 491, 199 ], "score": 1.0, "content": "layer norm.; FPF: floating-point format; MIP: multi-task instruction pre-training; CN : Chinese)", "type": "text" } ], "index": 5 } ], "index": 4.5 }, { "type": "table_body", "bbox": [ 109, 198, 502, 287 ], "group_id": 0, "lines": [ { "bbox": [ 109, 198, 502, 287 ], "spans": [ { "bbox": [ 109, 198, 502, 287 ], "score": 0.958, "html": "
ModelOpen- sourceArchitecture &DataTrainingInference
ObjectiveLNMajor Lang.FPFStabilizationQuantizationGPUNeeded
GPT-3 175B×EnglishFP16undisclosedundisclosedundisclosed
OPT-175BGPTPre-LNEnglishFP16Manual AdjustingINT88×3090
BLOOM-176BMulti-lingualBF161Embedding NormINT88×3090
PaLM540B×GPTPre-LNEnglishBF16 Manual Adjustingundisclosedundisclosed
GLM-130BGLM (Blank Infilling & MIP)Deep- NormBilingual (EN&CN)FP16Embedding Gradient ShrinkINT44 × 3090 or 8 × 1080 Ti
", "type": "table", "image_path": "4a14c8deb3aff229bfb3de0f864df79d4f48b07e5292f8f4840fc3d37b83fa6d.jpg" } ] } ], "index": 7, "virtual_lines": [ { "bbox": [ 109, 198, 502, 227.66666666666666 ], "spans": [], "index": 6 }, { "bbox": [ 109, 227.66666666666666, 502, 257.3333333333333 ], "spans": [], "index": 7 }, { "bbox": [ 109, 257.3333333333333, 502, 287.0 ], "spans": [], "index": 8 } ] } ], "index": 5.75 }, { "type": "text", "bbox": [ 108, 291, 503, 314 ], "lines": [], "index": 9.5, "bbox_fs": [ 106, 290, 505, 315 ], "lines_deleted": true }, { "type": "text", "bbox": [ 106, 318, 505, 429 ], "lines": [ { "bbox": [ 105, 318, 505, 332 ], "spans": [ { "bbox": [ 105, 318, 505, 332 ], "score": 1.0, "content": "In this work, we introduce the pre-training of a 100B-scale model—GLM-130B, in terms of engi-", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 330, 506, 343 ], "spans": [ { "bbox": [ 106, 330, 506, 343 ], "score": 1.0, "content": "neering efforts, model design choices, training strategies for efficiency and stability, and quantization", "type": "text" } ], "index": 12 }, { "bbox": [ 106, 341, 506, 354 ], "spans": [ { "bbox": [ 106, 341, 506, 354 ], "score": 1.0, "content": "for affordable inference. As it has been widely realized that it is computationally unaffordable to", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 352, 505, 365 ], "spans": [ { "bbox": [ 106, 352, 505, 365 ], "score": 1.0, "content": "empirically enumerate all possible designs for training 100B-scale LLMs, we present not only the", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 363, 505, 376 ], "spans": [ { "bbox": [ 105, 363, 505, 376 ], "score": 1.0, "content": "successful part for training GLM-130B but also many of the failed options and lessons learned.", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 374, 506, 387 ], "spans": [ { "bbox": [ 106, 374, 506, 387 ], "score": 1.0, "content": "Particularly, the training stability is the decisive factor in the success of training models of such a", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 383, 506, 399 ], "spans": [ { "bbox": [ 105, 383, 506, 399 ], "score": 1.0, "content": "scale. Different from practices such as manually adjusting learning rates in OPT-175B and using", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 395, 505, 409 ], "spans": [ { "bbox": [ 105, 395, 505, 409 ], "score": 1.0, "content": "embedding norm in the sacrifice of performance in BLOOM-176B, we experiment with various op-", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 406, 506, 420 ], "spans": [ { "bbox": [ 105, 406, 506, 420 ], "score": 1.0, "content": "tions and find the strategy of embedding gradient shrink can significantly stabilize the training of", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 417, 159, 430 ], "spans": [ { "bbox": [ 105, 417, 159, 430 ], "score": 1.0, "content": "GLM-130B.", "type": "text" } ], "index": 20 } ], "index": 15.5, "bbox_fs": [ 105, 318, 506, 430 ] }, { "type": "text", "bbox": [ 106, 434, 505, 512 ], "lines": [ { "bbox": [ 106, 434, 506, 448 ], "spans": [ { "bbox": [ 106, 434, 506, 448 ], "score": 1.0, "content": "Specifically, GLM-130B is a bilingual (English and Chinese) bidirectional dense model with 130 bil-", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 445, 503, 458 ], "spans": [ { "bbox": [ 105, 445, 468, 458 ], "score": 1.0, "content": "lion parameters, pre-trained over 400 billion tokens on a cluster of 96 NVIDIA DGX-A100", "type": "text" }, { "bbox": [ 468, 446, 503, 457 ], "score": 0.84, "content": "( 8 \\times 4 0 \\mathrm { G } )", "type": "inline_equation" } ], "index": 22 }, { "bbox": [ 105, 456, 505, 469 ], "spans": [ { "bbox": [ 105, 456, 505, 469 ], "score": 1.0, "content": "GPU nodes between May 6 and July 3, 2022. Instead of using the GPT-style architecture, we adopt", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 467, 505, 480 ], "spans": [ { "bbox": [ 105, 467, 505, 480 ], "score": 1.0, "content": "the General Language Model (GLM) algorithm (Du et al., 2022) to leverage its bidirectional at-", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 479, 505, 490 ], "spans": [ { "bbox": [ 106, 479, 505, 490 ], "score": 1.0, "content": "tention advantage and autoregressive blank infilling objective. Table 1 summarizes the comparison", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 488, 505, 502 ], "spans": [ { "bbox": [ 105, 488, 505, 502 ], "score": 1.0, "content": "between GLM-130B, GPT-3 and another two open-source efforts—OPT-175B and BLOOM-176B,", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 500, 451, 513 ], "spans": [ { "bbox": [ 105, 500, 315, 513 ], "score": 1.0, "content": "as well as PaLM 540B (Chowdhery et al., 2022)—a", "type": "text" }, { "bbox": [ 315, 501, 330, 511 ], "score": 0.82, "content": "4 \\times", "type": "inline_equation" }, { "bbox": [ 330, 500, 451, 513 ], "score": 1.0, "content": "larger model—as a reference.", "type": "text" } ], "index": 27 } ], "index": 24, "bbox_fs": [ 105, 434, 506, 513 ] }, { "type": "text", "bbox": [ 106, 517, 505, 649 ], "lines": [ { "bbox": [ 106, 517, 505, 530 ], "spans": [ { "bbox": [ 106, 517, 505, 530 ], "score": 1.0, "content": "Altogether, the conceptual uniqueness and engineering efforts enable GLM-130B to exhibit perfor-", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 528, 505, 540 ], "spans": [ { "bbox": [ 105, 528, 505, 540 ], "score": 1.0, "content": "mance that surpasses the level of GPT-3 on a wide range of benchmarks (in total 112 tasks) and also", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 540, 505, 551 ], "spans": [ { "bbox": [ 105, 540, 505, 551 ], "score": 1.0, "content": "outperforms PaLM 540B in many cases, while outperformance over GPT-3 has not been observed in", "type": "text" } ], "index": 30 }, { "bbox": [ 106, 550, 506, 562 ], "spans": [ { "bbox": [ 106, 550, 506, 562 ], "score": 1.0, "content": "OPT-175B and BLOOM-176B (Cf. Figure 1 left). For zero-shot performance, GLM-130B is better", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 560, 505, 573 ], "spans": [ { "bbox": [ 105, 560, 179, 573 ], "score": 1.0, "content": "than GPT-3 175B", "type": "text" }, { "bbox": [ 180, 561, 213, 573 ], "score": 0.89, "content": "( + 5 . 0 \\% )", "type": "inline_equation" }, { "bbox": [ 213, 560, 262, 573 ], "score": 1.0, "content": ", OPT-175B", "type": "text" }, { "bbox": [ 263, 561, 296, 573 ], "score": 0.89, "content": "( + 6 . 5 \\% )", "type": "inline_equation" }, { "bbox": [ 297, 560, 381, 573 ], "score": 1.0, "content": ", and BLOOM-176B", "type": "text" }, { "bbox": [ 381, 561, 420, 572 ], "score": 0.87, "content": "( + 1 3 . 0 \\% )", "type": "inline_equation" }, { "bbox": [ 420, 560, 505, 573 ], "score": 1.0, "content": "on LAMBADA (Pa-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 572, 506, 584 ], "spans": [ { "bbox": [ 105, 572, 240, 584 ], "score": 1.0, "content": "perno et al., 2016), and achieves", "type": "text" }, { "bbox": [ 240, 573, 255, 583 ], "score": 0.86, "content": "3 \\times", "type": "inline_equation" }, { "bbox": [ 255, 572, 506, 584 ], "score": 1.0, "content": "better performance than GPT-3 on Big-bench-lite (Srivastava", "type": "text" } ], "index": 33 }, { "bbox": [ 106, 583, 504, 594 ], "spans": [ { "bbox": [ 106, 583, 504, 594 ], "score": 1.0, "content": "et al., 2022). For the 5-shot MMLU (Hendrycks et al., 2021) tasks, it is better than GPT-3 175B", "type": "text" } ], "index": 34 }, { "bbox": [ 107, 594, 505, 606 ], "spans": [ { "bbox": [ 107, 594, 141, 605 ], "score": 0.89, "content": "( + 0 . 9 \\% )", "type": "inline_equation" }, { "bbox": [ 141, 594, 223, 606 ], "score": 1.0, "content": "and BLOOM-176B", "type": "text" }, { "bbox": [ 224, 594, 262, 605 ], "score": 0.87, "content": "( + 1 2 . 7 \\% )", "type": "inline_equation" }, { "bbox": [ 262, 594, 505, 606 ], "score": 1.0, "content": ". As a bilingual LLM also in Chinese, it offers significantly", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 604, 505, 617 ], "spans": [ { "bbox": [ 106, 604, 505, 617 ], "score": 1.0, "content": "better results than ERNIE TITAN 3.0 260B (Wang et al., 2021)—the largest Chinese LLM—on 7", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 615, 504, 628 ], "spans": [ { "bbox": [ 106, 615, 279, 628 ], "score": 1.0, "content": "zero-shot CLUE (Xu et al., 2020) datasets", "type": "text" }, { "bbox": [ 280, 616, 323, 627 ], "score": 0.91, "content": "( + 2 4 . 2 6 \\% )", "type": "inline_equation" }, { "bbox": [ 324, 615, 504, 628 ], "score": 1.0, "content": "and 5 zero-shot FewCLUE (Xu et al., 2021)", "type": "text" } ], "index": 37 }, { "bbox": [ 106, 627, 505, 639 ], "spans": [ { "bbox": [ 106, 627, 128, 639 ], "score": 1.0, "content": "ones", "type": "text" }, { "bbox": [ 128, 627, 172, 638 ], "score": 0.91, "content": "( + 1 2 . 7 5 \\% )", "type": "inline_equation" }, { "bbox": [ 172, 627, 505, 639 ], "score": 1.0, "content": ". Importantly, as summarized in Figure 1 right, GLM-130B as an open model is", "type": "text" } ], "index": 38 }, { "bbox": [ 106, 638, 488, 650 ], "spans": [ { "bbox": [ 106, 638, 488, 650 ], "score": 1.0, "content": "associated with significantly less bias and generation toxicity than its 100B-scale counterparts.", "type": "text" } ], "index": 39 } ], "index": 33.5, "bbox_fs": [ 105, 517, 506, 650 ] }, { "type": "text", "bbox": [ 107, 655, 505, 732 ], "lines": [ { "bbox": [ 105, 654, 506, 668 ], "spans": [ { "bbox": [ 105, 654, 506, 668 ], "score": 1.0, "content": "Finally, we design GLM-130B to empower as many people as possible to conduct 100B-scale LLM", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 666, 505, 678 ], "spans": [ { "bbox": [ 105, 666, 228, 678 ], "score": 1.0, "content": "studies. First, instead of using", "type": "text" }, { "bbox": [ 228, 666, 257, 676 ], "score": 0.85, "content": "1 7 5 \\mathrm { B } +", "type": "inline_equation" }, { "bbox": [ 257, 666, 505, 678 ], "score": 1.0, "content": "parameters as OPT and BLOOM, the 130B size is decided be-", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 677, 505, 689 ], "spans": [ { "bbox": [ 105, 677, 325, 689 ], "score": 1.0, "content": "cause such a size supports inference on a single A100", "type": "text" }, { "bbox": [ 325, 677, 360, 688 ], "score": 0.85, "content": "( 8 \\times 4 0 \\mathrm { G } )", "type": "inline_equation" }, { "bbox": [ 361, 677, 505, 689 ], "score": 1.0, "content": "server. Second, to further lower the", "type": "text" } ], "index": 42 }, { "bbox": [ 106, 688, 505, 700 ], "spans": [ { "bbox": [ 106, 688, 505, 700 ], "score": 1.0, "content": "GPU requirements, we quantize GLM-130B into INT4 precision without post training while OPT", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 698, 507, 713 ], "spans": [ { "bbox": [ 105, 698, 507, 713 ], "score": 1.0, "content": "and BLOOM can only reach INT8. Due to a unique property of the GLM architecture, GLM-130B’s", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 709, 506, 723 ], "spans": [ { "bbox": [ 105, 709, 393, 723 ], "score": 1.0, "content": "INT4 quantization introduces negligible performance degradation, e.g.,", "type": "text" }, { "bbox": [ 393, 710, 423, 720 ], "score": 0.84, "content": "- 0 . 7 4 \\%", "type": "inline_equation" }, { "bbox": [ 423, 709, 506, 723 ], "score": 1.0, "content": "on LAMBADA and", "type": "text" } ], "index": 45 }, { "bbox": [ 105, 720, 505, 732 ], "spans": [ { "bbox": [ 105, 720, 127, 732 ], "score": 1.0, "content": "even", "type": "text" }, { "bbox": [ 128, 721, 161, 731 ], "score": 0.89, "content": "+ 0 . 0 5 \\%", "type": "inline_equation" }, { "bbox": [ 161, 720, 505, 732 ], "score": 1.0, "content": "on MMLU, making it still better than the uncompressed GPT-3. This enables GLM-", "type": "text" } ], "index": 46 } ], "index": 43, "bbox_fs": [ 105, 654, 507, 732 ] } ] }, { "preproc_blocks": [ { "type": "image", "bbox": [ 112, 80, 489, 193 ], "blocks": [ { "type": "image_body", "bbox": [ 112, 80, 489, 193 ], "group_id": 0, "lines": [ { "bbox": [ 121, 80, 485, 193 ], "spans": [ { "bbox": [ 121, 80, 485, 193 ], "score": 0.962, "type": "image", "image_path": "92a8e0bf109fb0deab682c32d3f0cff5ce4759650bc24ac9640318fbae75ccba.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 112, 80, 489, 117.66666666666666 ], "spans": [], "index": 0 }, { "bbox": [ 112, 117.66666666666666, 489, 155.33333333333331 ], "spans": [], "index": 1 }, { "bbox": [ 112, 155.33333333333331, 489, 192.99999999999997 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 108, 197, 502, 219 ], "group_id": 0, "lines": [ { "bbox": [ 106, 197, 504, 209 ], "spans": [ { "bbox": [ 106, 197, 504, 209 ], "score": 1.0, "content": "Figure 3: Trials on different LayerNorms for GLM-130B training. It turns out that DeepNorm is the", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 206, 473, 222 ], "spans": [ { "bbox": [ 105, 206, 473, 222 ], "score": 1.0, "content": "most stable one, as it has small gradient norm and does not spike in the early stage training.", "type": "text" } ], "index": 4 } ], "index": 3.5 } ], "index": 2.25 }, { "type": "text", "bbox": [ 107, 222, 503, 245 ], "lines": [ { "bbox": [ 106, 222, 505, 235 ], "spans": [ { "bbox": [ 106, 222, 372, 235 ], "score": 1.0, "content": "130B’s fast inference with performance guarantee on a server of", "type": "text" }, { "bbox": [ 373, 222, 430, 234 ], "score": 0.37, "content": "4 { \\times } \\mathrm { R T X } ~ 3 0 9 0", "type": "inline_equation" }, { "bbox": [ 430, 222, 470, 235 ], "score": 1.0, "content": "(24G) or", "type": "text" }, { "bbox": [ 470, 222, 505, 234 ], "score": 0.75, "content": "8 \\times \\mathrm { R T X }", "type": "inline_equation" } ], "index": 5 }, { "bbox": [ 106, 234, 450, 246 ], "spans": [ { "bbox": [ 106, 234, 450, 246 ], "score": 1.0, "content": "2080 Ti (11G), the most affordable GPU required for using 100B-scale LLMs to date.", "type": "text" } ], "index": 6 } ], "index": 5.5 }, { "type": "text", "bbox": [ 108, 250, 493, 262 ], "lines": [ { "bbox": [ 106, 250, 493, 264 ], "spans": [ { "bbox": [ 106, 250, 493, 264 ], "score": 1.0, "content": "We open-source the model checkpoints, code, training logs, related toolkits, and lessons learned.", "type": "text" } ], "index": 7 } ], "index": 7 }, { "type": "title", "bbox": [ 107, 268, 322, 282 ], "lines": [ { "bbox": [ 105, 268, 322, 284 ], "spans": [ { "bbox": [ 105, 268, 322, 284 ], "score": 1.0, "content": "2 THE DESIGN CHOICES OF GLM-130B", "type": "text" } ], "index": 8 } ], "index": 8 }, { "type": "text", "bbox": [ 107, 288, 505, 321 ], "lines": [ { "bbox": [ 106, 288, 504, 300 ], "spans": [ { "bbox": [ 106, 288, 504, 300 ], "score": 1.0, "content": "The architecture of a machine learning model defines its inductive bias. However, it has been real-", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 299, 505, 311 ], "spans": [ { "bbox": [ 106, 299, 505, 311 ], "score": 1.0, "content": "ized that it is computationally unaffordable to explore various architectural designs for LLMs. We", "type": "text" } ], "index": 10 }, { "bbox": [ 106, 310, 363, 322 ], "spans": [ { "bbox": [ 106, 310, 363, 322 ], "score": 1.0, "content": "introduce and explain the unique design choices of GLM-130B.", "type": "text" } ], "index": 11 } ], "index": 10 }, { "type": "title", "bbox": [ 108, 328, 263, 339 ], "lines": [ { "bbox": [ 106, 328, 263, 341 ], "spans": [ { "bbox": [ 106, 328, 263, 341 ], "score": 1.0, "content": "2.1 GLM-130B’S ARCHITECTURE", "type": "text" } ], "index": 12 } ], "index": 12 }, { "type": "text", "bbox": [ 107, 343, 505, 387 ], "lines": [ { "bbox": [ 105, 343, 505, 354 ], "spans": [ { "bbox": [ 105, 343, 505, 354 ], "score": 1.0, "content": "GLM as Backbone. Most recent 100B-scale LLMs, such as GPT-3, PaLM, OPT, and BLOOM,", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 353, 505, 366 ], "spans": [ { "bbox": [ 105, 353, 505, 366 ], "score": 1.0, "content": "follow the traditional GPT-style (Radford et al., 2019) architecture of decoder-only autoregressive", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 365, 505, 377 ], "spans": [ { "bbox": [ 105, 365, 505, 377 ], "score": 1.0, "content": "language modeling. In GLM-130B, we instead make an attempt to explore the potential of a bidi-", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 376, 422, 388 ], "spans": [ { "bbox": [ 105, 376, 422, 388 ], "score": 1.0, "content": "rectional GLM—General Language Model (Du et al., 2022)—as its backbone.", "type": "text" } ], "index": 16 } ], "index": 14.5 }, { "type": "text", "bbox": [ 107, 393, 505, 459 ], "lines": [ { "bbox": [ 105, 392, 504, 405 ], "spans": [ { "bbox": [ 105, 392, 504, 405 ], "score": 1.0, "content": "GLM is a transformer-based language model that leverages autoregressive blank infilling as its train-", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 403, 506, 417 ], "spans": [ { "bbox": [ 105, 403, 276, 417 ], "score": 1.0, "content": "ing objective. Briefly, for a text sequence", "type": "text" }, { "bbox": [ 276, 404, 349, 416 ], "score": 0.93, "content": "\\pmb { x } = [ x _ { 1 } , \\cdots , x _ { n } ]", "type": "inline_equation" }, { "bbox": [ 349, 403, 396, 417 ], "score": 1.0, "content": ", text spans", "type": "text" }, { "bbox": [ 396, 404, 453, 416 ], "score": 0.93, "content": "\\{ \\pmb { s } _ { 1 } , \\cdots , \\pmb { s } _ { m } \\}", "type": "inline_equation" }, { "bbox": [ 453, 403, 506, 417 ], "score": 1.0, "content": "are sampled", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 414, 506, 429 ], "spans": [ { "bbox": [ 105, 414, 198, 429 ], "score": 1.0, "content": "from it, each of which", "type": "text" }, { "bbox": [ 198, 416, 208, 426 ], "score": 0.84, "content": "s _ { i }", "type": "inline_equation" }, { "bbox": [ 208, 414, 360, 429 ], "score": 1.0, "content": "denotes a span of consecutive tokens", "type": "text" }, { "bbox": [ 360, 415, 420, 427 ], "score": 0.92, "content": "[ s _ { i , 1 } , \\cdots , s _ { i , l _ { i } } ]", "type": "inline_equation" }, { "bbox": [ 421, 414, 506, 429 ], "score": 1.0, "content": "and is replaced (i.e.,", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 425, 505, 439 ], "spans": [ { "bbox": [ 105, 425, 282, 439 ], "score": 1.0, "content": "corrupted) with a single mask token to form", "type": "text" }, { "bbox": [ 282, 427, 311, 438 ], "score": 0.65, "content": "\\pmb { x } _ { \\mathrm { c o r r u p t } }", "type": "inline_equation" }, { "bbox": [ 311, 425, 505, 439 ], "score": 1.0, "content": ". The model is asked to recover them autoregres-", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 436, 506, 450 ], "spans": [ { "bbox": [ 105, 436, 506, 450 ], "score": 1.0, "content": "sively. To allow interactions between corrupted spans, their visibility to each other is decided by a", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 448, 292, 460 ], "spans": [ { "bbox": [ 105, 448, 292, 460 ], "score": 1.0, "content": "randomly sampled permutation on their order.", "type": "text" } ], "index": 22 } ], "index": 19.5 }, { "type": "text", "bbox": [ 107, 464, 505, 498 ], "lines": [ { "bbox": [ 106, 465, 504, 477 ], "spans": [ { "bbox": [ 106, 465, 504, 477 ], "score": 1.0, "content": "GLM’s bidirectional attention over unmasked (i.e., uncorrupted) contexts distinguishes GLM-130B", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 474, 505, 489 ], "spans": [ { "bbox": [ 105, 474, 505, 489 ], "score": 1.0, "content": "from GPT-style LLMs in which the unidirectional attention is used. To support both understanding", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 486, 471, 499 ], "spans": [ { "bbox": [ 105, 486, 471, 499 ], "score": 1.0, "content": "and generation, it mixes two corruption objectives, each indicated by a special mask token:", "type": "text" } ], "index": 25 } ], "index": 24 }, { "type": "text", "bbox": [ 107, 503, 482, 528 ], "lines": [ { "bbox": [ 105, 503, 475, 516 ], "spans": [ { "bbox": [ 105, 503, 475, 516 ], "score": 1.0, "content": "• [MASK]: short blanks in sentences whose lengths add up to a certain portion of the input.", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 516, 484, 529 ], "spans": [ { "bbox": [ 105, 516, 484, 529 ], "score": 1.0, "content": "• [gMASK]: random-length long blanks at the end of sentences with prefix contexts provided.", "type": "text" } ], "index": 27 } ], "index": 26.5 }, { "type": "text", "bbox": [ 106, 533, 324, 610 ], "lines": [ { "bbox": [ 105, 532, 325, 545 ], "spans": [ { "bbox": [ 105, 532, 325, 545 ], "score": 1.0, "content": "Conceptually, the blank infilling objective with bidi-", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 543, 325, 556 ], "spans": [ { "bbox": [ 105, 543, 325, 556 ], "score": 1.0, "content": "rectional attention enables a more effective compre-", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 555, 324, 567 ], "spans": [ { "bbox": [ 105, 555, 324, 567 ], "score": 1.0, "content": "hension of contexts than GPT-style models: when us-", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 566, 325, 577 ], "spans": [ { "bbox": [ 105, 566, 325, 577 ], "score": 1.0, "content": "ing [MASK], GLM-130B behaves as BERT (Devlin", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 577, 325, 589 ], "spans": [ { "bbox": [ 105, 577, 325, 589 ], "score": 1.0, "content": "et al., 2019) and T5 (Raffel et al., 2020); when us-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 587, 325, 600 ], "spans": [ { "bbox": [ 105, 587, 325, 600 ], "score": 1.0, "content": "ing [gMASK], GLM-130B behaves similarly to Pre-", "type": "text" } ], "index": 33 }, { "bbox": [ 106, 599, 280, 611 ], "spans": [ { "bbox": [ 106, 599, 280, 611 ], "score": 1.0, "content": "fixLM (Liu et al., 2018; Dong et al., 2019).", "type": "text" } ], "index": 34 } ], "index": 31 }, { "type": "text", "bbox": [ 107, 616, 324, 693 ], "lines": [ { "bbox": [ 105, 614, 325, 629 ], "spans": [ { "bbox": [ 105, 614, 325, 629 ], "score": 1.0, "content": "Empirically, GLM-130B offers a record-high accuracy", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 624, 325, 640 ], "spans": [ { "bbox": [ 105, 624, 118, 640 ], "score": 1.0, "content": "of", "type": "text" }, { "bbox": [ 118, 627, 145, 637 ], "score": 0.86, "content": "8 0 . 2 \\%", "type": "inline_equation" }, { "bbox": [ 145, 624, 325, 640 ], "score": 1.0, "content": "on zero-shot LAMBADA by outperforming", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 637, 325, 650 ], "spans": [ { "bbox": [ 105, 637, 325, 650 ], "score": 1.0, "content": "both GPT-3 and PaLM 540B in Figure 2. By setting", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 649, 325, 660 ], "spans": [ { "bbox": [ 105, 649, 325, 660 ], "score": 1.0, "content": "the attention mask, GLM-130B’s unidirectional vari-", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 660, 325, 671 ], "spans": [ { "bbox": [ 105, 660, 325, 671 ], "score": 1.0, "content": "ant is comparable to GPT-3 and OPT-175B. Our ob-", "type": "text" } ], "index": 39 }, { "bbox": [ 106, 671, 325, 683 ], "spans": [ { "bbox": [ 106, 671, 325, 683 ], "score": 1.0, "content": "servations are in line with existing findings (Liu et al.,", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 681, 209, 694 ], "spans": [ { "bbox": [ 106, 681, 209, 694 ], "score": 1.0, "content": "2018; Dong et al., 2019).", "type": "text" } ], "index": 41 } ], "index": 38 }, { "type": "image", "bbox": [ 334, 531, 501, 646 ], "blocks": [ { "type": "image_body", "bbox": [ 334, 531, 501, 646 ], "group_id": 1, "lines": [ { "bbox": [ 334, 531, 501, 646 ], "spans": [ { "bbox": [ 334, 531, 501, 646 ], "score": 0.967, "type": "image", "image_path": "7eb937e7444a2dd34a6d4bbc01d4c86e84868280929c015f75e20936f987488c.jpg" } ] } ], "index": 45.5, "virtual_lines": [ { "bbox": [ 334, 531, 501, 545.375 ], "spans": [], "index": 42 }, { "bbox": [ 334, 545.375, 501, 559.75 ], "spans": [], "index": 43 }, { "bbox": [ 334, 559.75, 501, 574.125 ], "spans": [], "index": 44 }, { "bbox": [ 334, 574.125, 501, 588.5 ], "spans": [], "index": 45 }, { "bbox": [ 334, 588.5, 501, 602.875 ], "spans": [], "index": 46 }, { "bbox": [ 334, 602.875, 501, 617.25 ], "spans": [], "index": 47 }, { "bbox": [ 334, 617.25, 501, 631.625 ], "spans": [], "index": 48 }, { "bbox": [ 334, 631.625, 501, 646.0 ], "spans": [], "index": 49 } ] }, { "type": "image_caption", "bbox": [ 332, 647, 505, 691 ], "group_id": 1, "lines": [ { "bbox": [ 331, 647, 505, 659 ], "spans": [ { "bbox": [ 331, 647, 505, 659 ], "score": 1.0, "content": "Figure 2: GLM-130B and LLMs of similar", "type": "text" } ], "index": 50 }, { "bbox": [ 331, 658, 505, 671 ], "spans": [ { "bbox": [ 331, 658, 505, 671 ], "score": 1.0, "content": "scale on zero-shot LAMBADA language", "type": "text" } ], "index": 51 }, { "bbox": [ 331, 669, 505, 680 ], "spans": [ { "bbox": [ 331, 669, 505, 680 ], "score": 1.0, "content": "modeling. Details on GLM’s bidirectional", "type": "text" } ], "index": 52 }, { "bbox": [ 331, 680, 501, 692 ], "spans": [ { "bbox": [ 331, 680, 501, 692 ], "score": 1.0, "content": "attention are provided in Du et al. (2022).", "type": "text" } ], "index": 53 } ], "index": 51.5 } ], "index": 48.5 }, { "type": "text", "bbox": [ 107, 699, 504, 732 ], "lines": [ { "bbox": [ 105, 697, 506, 712 ], "spans": [ { "bbox": [ 105, 697, 506, 712 ], "score": 1.0, "content": "Layer Normalization (LN, Ba et al. (2016)). Training instability is one major challenge for training", "type": "text" } ], "index": 54 }, { "bbox": [ 105, 708, 505, 721 ], "spans": [ { "bbox": [ 105, 708, 505, 721 ], "score": 1.0, "content": "LLMs (Zhang et al., 2022; Scao et al., 2022; Chowdhery et al., 2022) (Cf. Figure 10 in Appendix", "type": "text" } ], "index": 55 }, { "bbox": [ 106, 720, 505, 732 ], "spans": [ { "bbox": [ 106, 720, 505, 732 ], "score": 1.0, "content": "for collapses in training several 100B-scale models). A proper choice of LNs can help stabilize", "type": "text" } ], "index": 56 } ], "index": 55 } ], "page_idx": 2, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 302, 751, 309, 760 ], "lines": [ { "bbox": [ 301, 750, 310, 762 ], "spans": [ { "bbox": [ 301, 750, 310, 762 ], "score": 1.0, "content": "3", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "image", "bbox": [ 112, 80, 489, 193 ], "blocks": [ { "type": "image_body", "bbox": [ 112, 80, 489, 193 ], "group_id": 0, "lines": [ { "bbox": [ 121, 80, 485, 193 ], "spans": [ { "bbox": [ 121, 80, 485, 193 ], "score": 0.962, "type": "image", "image_path": "92a8e0bf109fb0deab682c32d3f0cff5ce4759650bc24ac9640318fbae75ccba.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 112, 80, 489, 117.66666666666666 ], "spans": [], "index": 0 }, { "bbox": [ 112, 117.66666666666666, 489, 155.33333333333331 ], "spans": [], "index": 1 }, { "bbox": [ 112, 155.33333333333331, 489, 192.99999999999997 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 108, 197, 502, 219 ], "group_id": 0, "lines": [ { "bbox": [ 106, 197, 504, 209 ], "spans": [ { "bbox": [ 106, 197, 504, 209 ], "score": 1.0, "content": "Figure 3: Trials on different LayerNorms for GLM-130B training. It turns out that DeepNorm is the", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 206, 473, 222 ], "spans": [ { "bbox": [ 105, 206, 473, 222 ], "score": 1.0, "content": "most stable one, as it has small gradient norm and does not spike in the early stage training.", "type": "text" } ], "index": 4 } ], "index": 3.5 } ], "index": 2.25 }, { "type": "index", "bbox": [ 107, 222, 503, 245 ], "lines": [ { "bbox": [ 106, 222, 505, 235 ], "spans": [ { "bbox": [ 106, 222, 372, 235 ], "score": 1.0, "content": "130B’s fast inference with performance guarantee on a server of", "type": "text" }, { "bbox": [ 373, 222, 430, 234 ], "score": 0.37, "content": "4 { \\times } \\mathrm { R T X } ~ 3 0 9 0", "type": "inline_equation" }, { "bbox": [ 430, 222, 470, 235 ], "score": 1.0, "content": "(24G) or", "type": "text" }, { "bbox": [ 470, 222, 505, 234 ], "score": 0.75, "content": "8 \\times \\mathrm { R T X }", "type": "inline_equation" } ], "index": 5, "is_list_start_line": true }, { "bbox": [ 106, 234, 450, 246 ], "spans": [ { "bbox": [ 106, 234, 450, 246 ], "score": 1.0, "content": "2080 Ti (11G), the most affordable GPU required for using 100B-scale LLMs to date.", "type": "text" } ], "index": 6, "is_list_start_line": true } ], "index": 5.5, "bbox_fs": [ 106, 222, 505, 246 ] }, { "type": "text", "bbox": [ 108, 250, 493, 262 ], "lines": [ { "bbox": [ 106, 250, 493, 264 ], "spans": [ { "bbox": [ 106, 250, 493, 264 ], "score": 1.0, "content": "We open-source the model checkpoints, code, training logs, related toolkits, and lessons learned.", "type": "text" } ], "index": 7 } ], "index": 7, "bbox_fs": [ 106, 250, 493, 264 ] }, { "type": "title", "bbox": [ 107, 268, 322, 282 ], "lines": [ { "bbox": [ 105, 268, 322, 284 ], "spans": [ { "bbox": [ 105, 268, 322, 284 ], "score": 1.0, "content": "2 THE DESIGN CHOICES OF GLM-130B", "type": "text" } ], "index": 8 } ], "index": 8 }, { "type": "text", "bbox": [ 107, 288, 505, 321 ], "lines": [ { "bbox": [ 106, 288, 504, 300 ], "spans": [ { "bbox": [ 106, 288, 504, 300 ], "score": 1.0, "content": "The architecture of a machine learning model defines its inductive bias. However, it has been real-", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 299, 505, 311 ], "spans": [ { "bbox": [ 106, 299, 505, 311 ], "score": 1.0, "content": "ized that it is computationally unaffordable to explore various architectural designs for LLMs. We", "type": "text" } ], "index": 10 }, { "bbox": [ 106, 310, 363, 322 ], "spans": [ { "bbox": [ 106, 310, 363, 322 ], "score": 1.0, "content": "introduce and explain the unique design choices of GLM-130B.", "type": "text" } ], "index": 11 } ], "index": 10, "bbox_fs": [ 106, 288, 505, 322 ] }, { "type": "title", "bbox": [ 108, 328, 263, 339 ], "lines": [ { "bbox": [ 106, 328, 263, 341 ], "spans": [ { "bbox": [ 106, 328, 263, 341 ], "score": 1.0, "content": "2.1 GLM-130B’S ARCHITECTURE", "type": "text" } ], "index": 12 } ], "index": 12 }, { "type": "text", "bbox": [ 107, 343, 505, 387 ], "lines": [ { "bbox": [ 105, 343, 505, 354 ], "spans": [ { "bbox": [ 105, 343, 505, 354 ], "score": 1.0, "content": "GLM as Backbone. Most recent 100B-scale LLMs, such as GPT-3, PaLM, OPT, and BLOOM,", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 353, 505, 366 ], "spans": [ { "bbox": [ 105, 353, 505, 366 ], "score": 1.0, "content": "follow the traditional GPT-style (Radford et al., 2019) architecture of decoder-only autoregressive", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 365, 505, 377 ], "spans": [ { "bbox": [ 105, 365, 505, 377 ], "score": 1.0, "content": "language modeling. In GLM-130B, we instead make an attempt to explore the potential of a bidi-", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 376, 422, 388 ], "spans": [ { "bbox": [ 105, 376, 422, 388 ], "score": 1.0, "content": "rectional GLM—General Language Model (Du et al., 2022)—as its backbone.", "type": "text" } ], "index": 16 } ], "index": 14.5, "bbox_fs": [ 105, 343, 505, 388 ] }, { "type": "text", "bbox": [ 107, 393, 505, 459 ], "lines": [ { "bbox": [ 105, 392, 504, 405 ], "spans": [ { "bbox": [ 105, 392, 504, 405 ], "score": 1.0, "content": "GLM is a transformer-based language model that leverages autoregressive blank infilling as its train-", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 403, 506, 417 ], "spans": [ { "bbox": [ 105, 403, 276, 417 ], "score": 1.0, "content": "ing objective. Briefly, for a text sequence", "type": "text" }, { "bbox": [ 276, 404, 349, 416 ], "score": 0.93, "content": "\\pmb { x } = [ x _ { 1 } , \\cdots , x _ { n } ]", "type": "inline_equation" }, { "bbox": [ 349, 403, 396, 417 ], "score": 1.0, "content": ", text spans", "type": "text" }, { "bbox": [ 396, 404, 453, 416 ], "score": 0.93, "content": "\\{ \\pmb { s } _ { 1 } , \\cdots , \\pmb { s } _ { m } \\}", "type": "inline_equation" }, { "bbox": [ 453, 403, 506, 417 ], "score": 1.0, "content": "are sampled", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 414, 506, 429 ], "spans": [ { "bbox": [ 105, 414, 198, 429 ], "score": 1.0, "content": "from it, each of which", "type": "text" }, { "bbox": [ 198, 416, 208, 426 ], "score": 0.84, "content": "s _ { i }", "type": "inline_equation" }, { "bbox": [ 208, 414, 360, 429 ], "score": 1.0, "content": "denotes a span of consecutive tokens", "type": "text" }, { "bbox": [ 360, 415, 420, 427 ], "score": 0.92, "content": "[ s _ { i , 1 } , \\cdots , s _ { i , l _ { i } } ]", "type": "inline_equation" }, { "bbox": [ 421, 414, 506, 429 ], "score": 1.0, "content": "and is replaced (i.e.,", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 425, 505, 439 ], "spans": [ { "bbox": [ 105, 425, 282, 439 ], "score": 1.0, "content": "corrupted) with a single mask token to form", "type": "text" }, { "bbox": [ 282, 427, 311, 438 ], "score": 0.65, "content": "\\pmb { x } _ { \\mathrm { c o r r u p t } }", "type": "inline_equation" }, { "bbox": [ 311, 425, 505, 439 ], "score": 1.0, "content": ". The model is asked to recover them autoregres-", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 436, 506, 450 ], "spans": [ { "bbox": [ 105, 436, 506, 450 ], "score": 1.0, "content": "sively. To allow interactions between corrupted spans, their visibility to each other is decided by a", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 448, 292, 460 ], "spans": [ { "bbox": [ 105, 448, 292, 460 ], "score": 1.0, "content": "randomly sampled permutation on their order.", "type": "text" } ], "index": 22 } ], "index": 19.5, "bbox_fs": [ 105, 392, 506, 460 ] }, { "type": "text", "bbox": [ 107, 464, 505, 498 ], "lines": [ { "bbox": [ 106, 465, 504, 477 ], "spans": [ { "bbox": [ 106, 465, 504, 477 ], "score": 1.0, "content": "GLM’s bidirectional attention over unmasked (i.e., uncorrupted) contexts distinguishes GLM-130B", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 474, 505, 489 ], "spans": [ { "bbox": [ 105, 474, 505, 489 ], "score": 1.0, "content": "from GPT-style LLMs in which the unidirectional attention is used. To support both understanding", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 486, 471, 499 ], "spans": [ { "bbox": [ 105, 486, 471, 499 ], "score": 1.0, "content": "and generation, it mixes two corruption objectives, each indicated by a special mask token:", "type": "text" } ], "index": 25 } ], "index": 24, "bbox_fs": [ 105, 465, 505, 499 ] }, { "type": "list", "bbox": [ 107, 503, 482, 528 ], "lines": [ { "bbox": [ 105, 503, 475, 516 ], "spans": [ { "bbox": [ 105, 503, 475, 516 ], "score": 1.0, "content": "• [MASK]: short blanks in sentences whose lengths add up to a certain portion of the input.", "type": "text" } ], "index": 26, "is_list_end_line": true }, { "bbox": [ 105, 516, 484, 529 ], "spans": [ { "bbox": [ 105, 516, 484, 529 ], "score": 1.0, "content": "• [gMASK]: random-length long blanks at the end of sentences with prefix contexts provided.", "type": "text" } ], "index": 27, "is_list_start_line": true, "is_list_end_line": true } ], "index": 26.5, "bbox_fs": [ 105, 503, 484, 529 ] }, { "type": "text", "bbox": [ 106, 533, 324, 610 ], "lines": [ { "bbox": [ 105, 532, 325, 545 ], "spans": [ { "bbox": [ 105, 532, 325, 545 ], "score": 1.0, "content": "Conceptually, the blank infilling objective with bidi-", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 543, 325, 556 ], "spans": [ { "bbox": [ 105, 543, 325, 556 ], "score": 1.0, "content": "rectional attention enables a more effective compre-", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 555, 324, 567 ], "spans": [ { "bbox": [ 105, 555, 324, 567 ], "score": 1.0, "content": "hension of contexts than GPT-style models: when us-", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 566, 325, 577 ], "spans": [ { "bbox": [ 105, 566, 325, 577 ], "score": 1.0, "content": "ing [MASK], GLM-130B behaves as BERT (Devlin", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 577, 325, 589 ], "spans": [ { "bbox": [ 105, 577, 325, 589 ], "score": 1.0, "content": "et al., 2019) and T5 (Raffel et al., 2020); when us-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 587, 325, 600 ], "spans": [ { "bbox": [ 105, 587, 325, 600 ], "score": 1.0, "content": "ing [gMASK], GLM-130B behaves similarly to Pre-", "type": "text" } ], "index": 33 }, { "bbox": [ 106, 599, 280, 611 ], "spans": [ { "bbox": [ 106, 599, 280, 611 ], "score": 1.0, "content": "fixLM (Liu et al., 2018; Dong et al., 2019).", "type": "text" } ], "index": 34 } ], "index": 31, "bbox_fs": [ 105, 532, 325, 611 ] }, { "type": "text", "bbox": [ 107, 616, 324, 693 ], "lines": [ { "bbox": [ 105, 614, 325, 629 ], "spans": [ { "bbox": [ 105, 614, 325, 629 ], "score": 1.0, "content": "Empirically, GLM-130B offers a record-high accuracy", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 624, 325, 640 ], "spans": [ { "bbox": [ 105, 624, 118, 640 ], "score": 1.0, "content": "of", "type": "text" }, { "bbox": [ 118, 627, 145, 637 ], "score": 0.86, "content": "8 0 . 2 \\%", "type": "inline_equation" }, { "bbox": [ 145, 624, 325, 640 ], "score": 1.0, "content": "on zero-shot LAMBADA by outperforming", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 637, 325, 650 ], "spans": [ { "bbox": [ 105, 637, 325, 650 ], "score": 1.0, "content": "both GPT-3 and PaLM 540B in Figure 2. By setting", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 649, 325, 660 ], "spans": [ { "bbox": [ 105, 649, 325, 660 ], "score": 1.0, "content": "the attention mask, GLM-130B’s unidirectional vari-", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 660, 325, 671 ], "spans": [ { "bbox": [ 105, 660, 325, 671 ], "score": 1.0, "content": "ant is comparable to GPT-3 and OPT-175B. Our ob-", "type": "text" } ], "index": 39 }, { "bbox": [ 106, 671, 325, 683 ], "spans": [ { "bbox": [ 106, 671, 325, 683 ], "score": 1.0, "content": "servations are in line with existing findings (Liu et al.,", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 681, 209, 694 ], "spans": [ { "bbox": [ 106, 681, 209, 694 ], "score": 1.0, "content": "2018; Dong et al., 2019).", "type": "text" } ], "index": 41 } ], "index": 38, "bbox_fs": [ 105, 614, 325, 694 ] }, { "type": "image", "bbox": [ 334, 531, 501, 646 ], "blocks": [ { "type": "image_body", "bbox": [ 334, 531, 501, 646 ], "group_id": 1, "lines": [ { "bbox": [ 334, 531, 501, 646 ], "spans": [ { "bbox": [ 334, 531, 501, 646 ], "score": 0.967, "type": "image", "image_path": "7eb937e7444a2dd34a6d4bbc01d4c86e84868280929c015f75e20936f987488c.jpg" } ] } ], "index": 45.5, "virtual_lines": [ { "bbox": [ 334, 531, 501, 545.375 ], "spans": [], "index": 42 }, { "bbox": [ 334, 545.375, 501, 559.75 ], "spans": [], "index": 43 }, { "bbox": [ 334, 559.75, 501, 574.125 ], "spans": [], "index": 44 }, { "bbox": [ 334, 574.125, 501, 588.5 ], "spans": [], "index": 45 }, { "bbox": [ 334, 588.5, 501, 602.875 ], "spans": [], "index": 46 }, { "bbox": [ 334, 602.875, 501, 617.25 ], "spans": [], "index": 47 }, { "bbox": [ 334, 617.25, 501, 631.625 ], "spans": [], "index": 48 }, { "bbox": [ 334, 631.625, 501, 646.0 ], "spans": [], "index": 49 } ] }, { "type": "image_caption", "bbox": [ 332, 647, 505, 691 ], "group_id": 1, "lines": [ { "bbox": [ 331, 647, 505, 659 ], "spans": [ { "bbox": [ 331, 647, 505, 659 ], "score": 1.0, "content": "Figure 2: GLM-130B and LLMs of similar", "type": "text" } ], "index": 50 }, { "bbox": [ 331, 658, 505, 671 ], "spans": [ { "bbox": [ 331, 658, 505, 671 ], "score": 1.0, "content": "scale on zero-shot LAMBADA language", "type": "text" } ], "index": 51 }, { "bbox": [ 331, 669, 505, 680 ], "spans": [ { "bbox": [ 331, 669, 505, 680 ], "score": 1.0, "content": "modeling. Details on GLM’s bidirectional", "type": "text" } ], "index": 52 }, { "bbox": [ 331, 680, 501, 692 ], "spans": [ { "bbox": [ 331, 680, 501, 692 ], "score": 1.0, "content": "attention are provided in Du et al. (2022).", "type": "text" } ], "index": 53 } ], "index": 51.5 } ], "index": 48.5 }, { "type": "text", "bbox": [ 107, 699, 504, 732 ], "lines": [ { "bbox": [ 105, 697, 506, 712 ], "spans": [ { "bbox": [ 105, 697, 506, 712 ], "score": 1.0, "content": "Layer Normalization (LN, Ba et al. (2016)). Training instability is one major challenge for training", "type": "text" } ], "index": 54 }, { "bbox": [ 105, 708, 505, 721 ], "spans": [ { "bbox": [ 105, 708, 505, 721 ], "score": 1.0, "content": "LLMs (Zhang et al., 2022; Scao et al., 2022; Chowdhery et al., 2022) (Cf. Figure 10 in Appendix", "type": "text" } ], "index": 55 }, { "bbox": [ 106, 720, 505, 732 ], "spans": [ { "bbox": [ 106, 720, 505, 732 ], "score": 1.0, "content": "for collapses in training several 100B-scale models). A proper choice of LNs can help stabilize", "type": "text" } ], "index": 56 }, { "bbox": [ 106, 82, 504, 94 ], "spans": [ { "bbox": [ 106, 82, 504, 94 ], "score": 1.0, "content": "the training of LLMs. We experiment with existing practices, e.g., Pre-LN (Xiong et al., 2020),", "type": "text", "cross_page": true } ], "index": 0 }, { "bbox": [ 106, 94, 505, 105 ], "spans": [ { "bbox": [ 106, 94, 505, 105 ], "score": 1.0, "content": "Post-LN (Ba et al., 2016), Sandwich-LN (Ding et al., 2021), which are unfortunately incapable of", "type": "text", "cross_page": true } ], "index": 1 }, { "bbox": [ 106, 104, 444, 117 ], "spans": [ { "bbox": [ 106, 104, 444, 117 ], "score": 1.0, "content": "stabilizing our GLM-130B test runs (Cf. Figure 3 (a) and Appendix B.2 for details).", "type": "text", "cross_page": true } ], "index": 2 } ], "index": 55, "bbox_fs": [ 105, 697, 506, 732 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 108, 82, 504, 116 ], "lines": [ { "bbox": [ 106, 82, 504, 94 ], "spans": [ { "bbox": [ 106, 82, 504, 94 ], "score": 1.0, "content": "the training of LLMs. We experiment with existing practices, e.g., Pre-LN (Xiong et al., 2020),", "type": "text" } ], "index": 0 }, { "bbox": [ 106, 94, 505, 105 ], "spans": [ { "bbox": [ 106, 94, 505, 105 ], "score": 1.0, "content": "Post-LN (Ba et al., 2016), Sandwich-LN (Ding et al., 2021), which are unfortunately incapable of", "type": "text" } ], "index": 1 }, { "bbox": [ 106, 104, 444, 117 ], "spans": [ { "bbox": [ 106, 104, 444, 117 ], "score": 1.0, "content": "stabilizing our GLM-130B test runs (Cf. Figure 3 (a) and Appendix B.2 for details).", "type": "text" } ], "index": 2 } ], "index": 1 }, { "type": "text", "bbox": [ 106, 121, 505, 203 ], "lines": [ { "bbox": [ 106, 120, 505, 134 ], "spans": [ { "bbox": [ 106, 120, 505, 134 ], "score": 1.0, "content": "Our search is later focused on Post-LN due to its favorable downstream results in preliminary ex-", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 132, 505, 144 ], "spans": [ { "bbox": [ 105, 132, 505, 144 ], "score": 1.0, "content": "periments though it does not stabilize GLM-130B. Fortunately, one of the attempts on Post-LN", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 142, 506, 157 ], "spans": [ { "bbox": [ 105, 142, 506, 157 ], "score": 1.0, "content": "initialized with the newly-proposed DeepNorm (Wang et al., 2022b) generates promising training", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 153, 504, 168 ], "spans": [ { "bbox": [ 105, 153, 374, 168 ], "score": 1.0, "content": "stability. Specifically, given the number of GLM-130B’s layers", "type": "text" }, { "bbox": [ 374, 155, 384, 164 ], "score": 0.77, "content": "N", "type": "inline_equation" }, { "bbox": [ 384, 153, 430, 168 ], "score": 1.0, "content": ", we adopt", "type": "text" }, { "bbox": [ 431, 154, 504, 167 ], "score": 0.36, "content": "\\mathrm { D e e p N o r m } ( { \\pmb x } ) \\ =", "type": "inline_equation" } ], "index": 6 }, { "bbox": [ 105, 165, 505, 180 ], "spans": [ { "bbox": [ 105, 166, 151, 180 ], "score": 1.0, "content": "LayerNorm", "type": "text" }, { "bbox": [ 152, 167, 245, 179 ], "score": 0.66, "content": "1 ( { \\boldsymbol { \\alpha } } \\cdot { \\boldsymbol { \\mathbf { \\mathit { x } } } } + \\operatorname { N e t w o r k } ( { \\boldsymbol { \\mathbf { \\mathit { x } } } } ) )", "type": "inline_equation" }, { "bbox": [ 245, 166, 277, 180 ], "score": 1.0, "content": ", where", "type": "text" }, { "bbox": [ 277, 165, 327, 179 ], "score": 0.94, "content": "\\alpha = ( 2 N ) ^ { \\frac { 1 } { 2 } }", "type": "inline_equation" }, { "bbox": [ 328, 166, 505, 180 ], "score": 1.0, "content": ", and apply the Xavier normal initialization", "type": "text" } ], "index": 7 }, { "bbox": [ 106, 179, 505, 193 ], "spans": [ { "bbox": [ 106, 180, 211, 193 ], "score": 1.0, "content": "with the scaling factor of", "type": "text" }, { "bbox": [ 212, 179, 245, 192 ], "score": 0.92, "content": "( 2 N ) ^ { - { \\frac { 1 } { 2 } } }", "type": "inline_equation" }, { "bbox": [ 246, 180, 281, 193 ], "score": 1.0, "content": "to ffn,", "type": "text" }, { "bbox": [ 282, 181, 319, 192 ], "score": 0.36, "content": "\\mathtt { v \\_ p r o j }", "type": "inline_equation" }, { "bbox": [ 320, 180, 505, 193 ], "score": 1.0, "content": "and out_proj. Additionally, all bias terms", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 191, 498, 204 ], "spans": [ { "bbox": [ 105, 191, 498, 204 ], "score": 1.0, "content": "are initialized to zero. Figure 3 shows it significantly benefits the training stability of GLM-130B.", "type": "text" } ], "index": 9 } ], "index": 6 }, { "type": "text", "bbox": [ 107, 208, 505, 263 ], "lines": [ { "bbox": [ 105, 207, 505, 221 ], "spans": [ { "bbox": [ 105, 207, 505, 221 ], "score": 1.0, "content": "Positional Encoding and FFNs. We empirically test different options for positional encoding (PE)", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 217, 505, 232 ], "spans": [ { "bbox": [ 105, 217, 505, 232 ], "score": 1.0, "content": "and FFN improvements in terms of both training stability and downstream performance (Cf. Ap-", "type": "text" } ], "index": 11 }, { "bbox": [ 104, 229, 506, 243 ], "spans": [ { "bbox": [ 104, 229, 506, 243 ], "score": 1.0, "content": "pendix B.3 for details). For PEs in GLM-130B, we adopt Rotary Positional Encoding (RoPE, Su", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 240, 505, 253 ], "spans": [ { "bbox": [ 105, 240, 505, 253 ], "score": 1.0, "content": "et al. (2021)) rather than ALiBi (Press et al., 2021). To improve FFNs in Transformer, we pick GLU", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 251, 409, 265 ], "spans": [ { "bbox": [ 105, 251, 409, 265 ], "score": 1.0, "content": "with the GeLU (Hendrycks & Gimpel, 2016) activation as the replacement.", "type": "text" } ], "index": 14 } ], "index": 12 }, { "type": "title", "bbox": [ 108, 272, 289, 283 ], "lines": [ { "bbox": [ 105, 271, 290, 285 ], "spans": [ { "bbox": [ 105, 271, 290, 285 ], "score": 1.0, "content": "2.2 GLM-130B’S PRE-TRAINING SETUP", "type": "text" } ], "index": 15 } ], "index": 15 }, { "type": "text", "bbox": [ 108, 287, 505, 331 ], "lines": [ { "bbox": [ 105, 286, 505, 299 ], "spans": [ { "bbox": [ 105, 286, 505, 299 ], "score": 1.0, "content": "Inspired by recent works (Aribandi et al., 2022; Wei et al., 2022a; Sanh et al., 2022), the GLM-130B", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 298, 506, 310 ], "spans": [ { "bbox": [ 105, 298, 506, 310 ], "score": 1.0, "content": "pre-training objective includes not only the self-supervised GLM autoregressive blank infilling) but", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 309, 505, 322 ], "spans": [ { "bbox": [ 105, 309, 505, 322 ], "score": 1.0, "content": "also multi-task learning for a small portion of tokens. This is expected to help boost its downstream", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 320, 202, 333 ], "spans": [ { "bbox": [ 106, 320, 202, 333 ], "score": 1.0, "content": "zero-shot performance.", "type": "text" } ], "index": 19 } ], "index": 17.5 }, { "type": "text", "bbox": [ 107, 336, 505, 403 ], "lines": [ { "bbox": [ 106, 337, 505, 349 ], "spans": [ { "bbox": [ 106, 337, 245, 349 ], "score": 1.0, "content": "Self-Supervised Blank Infilling", "type": "text" }, { "bbox": [ 245, 337, 267, 348 ], "score": 0.84, "content": "9 5 \\%", "type": "inline_equation" }, { "bbox": [ 267, 337, 505, 349 ], "score": 1.0, "content": "tokens). Recall that GLM-130B uses both [MASK] and", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 348, 505, 361 ], "spans": [ { "bbox": [ 105, 348, 505, 361 ], "score": 1.0, "content": "[gMASK] for this task. Each training sequence is applied with one of them independently at a time.", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 359, 505, 371 ], "spans": [ { "bbox": [ 105, 359, 353, 371 ], "score": 1.0, "content": "Specifically, [MASK] is used to mask consecutive spans in", "type": "text" }, { "bbox": [ 353, 359, 373, 370 ], "score": 0.87, "content": "30 \\%", "type": "inline_equation" }, { "bbox": [ 373, 359, 505, 371 ], "score": 1.0, "content": "of training sequences for blank", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 370, 505, 383 ], "spans": [ { "bbox": [ 105, 370, 347, 383 ], "score": 1.0, "content": "infilling. The lengths of spans follow a Poisson distribution", "type": "text" }, { "bbox": [ 347, 371, 374, 381 ], "score": 0.85, "content": "\\lambda = 3", "type": "inline_equation" }, { "bbox": [ 374, 370, 434, 383 ], "score": 1.0, "content": ") and add up to", "type": "text" }, { "bbox": [ 434, 370, 453, 381 ], "score": 0.87, "content": "15 \\%", "type": "inline_equation" }, { "bbox": [ 453, 370, 505, 383 ], "score": 1.0, "content": "of the input.", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 380, 505, 393 ], "spans": [ { "bbox": [ 105, 380, 161, 393 ], "score": 1.0, "content": "For the other", "type": "text" }, { "bbox": [ 162, 381, 181, 392 ], "score": 0.86, "content": "70 \\%", "type": "inline_equation" }, { "bbox": [ 182, 380, 505, 393 ], "score": 1.0, "content": "sequences, the prefix of each sequence is kept as context and [gMASK] is used", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 393, 441, 404 ], "spans": [ { "bbox": [ 105, 393, 441, 404 ], "score": 1.0, "content": "to mask the rest of it. The masked length is sampled from the Uniform distribution.", "type": "text" } ], "index": 25 } ], "index": 22.5 }, { "type": "text", "bbox": [ 108, 409, 503, 442 ], "lines": [ { "bbox": [ 106, 408, 505, 421 ], "spans": [ { "bbox": [ 106, 408, 505, 421 ], "score": 1.0, "content": "The pre-training data includes 1.2T Pile (train split) (Gao et al., 2020) English, 1.0T Chinese Wudao-", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 420, 505, 432 ], "spans": [ { "bbox": [ 106, 420, 505, 432 ], "score": 1.0, "content": "Corpora (Yuan et al., 2021), and 250G Chinese corpora (including online forums, encyclopedia, and", "type": "text" } ], "index": 27 }, { "bbox": [ 106, 430, 502, 443 ], "spans": [ { "bbox": [ 106, 430, 502, 443 ], "score": 1.0, "content": "QA) we crawl from the web, which form a balanced composition of English and Chinese contents.", "type": "text" } ], "index": 28 } ], "index": 27 }, { "type": "text", "bbox": [ 107, 447, 504, 492 ], "lines": [ { "bbox": [ 106, 447, 506, 459 ], "spans": [ { "bbox": [ 106, 447, 305, 459 ], "score": 1.0, "content": "Multi-Task Instruction Pre-Training (MIP,", "type": "text" }, { "bbox": [ 305, 447, 322, 458 ], "score": 0.79, "content": "5 \\%", "type": "inline_equation" }, { "bbox": [ 322, 447, 506, 459 ], "score": 1.0, "content": "tokens). T5 (Raffel et al., 2020) and", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 457, 506, 471 ], "spans": [ { "bbox": [ 105, 457, 506, 471 ], "score": 1.0, "content": "ExT5 (Aribandi et al., 2022) suggest that multi-task learning in pre-training can be more helpful", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 469, 506, 483 ], "spans": [ { "bbox": [ 105, 469, 506, 483 ], "score": 1.0, "content": "than fine-tuning, we thus propose to include a variety of instruction prompted datasets including", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 480, 480, 494 ], "spans": [ { "bbox": [ 105, 480, 480, 494 ], "score": 1.0, "content": "language understanding, generation, and information extraction in GLM-130B’s pre-training.", "type": "text" } ], "index": 32 } ], "index": 30.5 }, { "type": "text", "bbox": [ 107, 497, 505, 564 ], "lines": [ { "bbox": [ 105, 496, 505, 510 ], "spans": [ { "bbox": [ 105, 496, 505, 510 ], "score": 1.0, "content": "Compared to recent works (Wei et al., 2022a; Sanh et al., 2022) that leverage multi-task prompted", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 508, 505, 521 ], "spans": [ { "bbox": [ 105, 508, 380, 521 ], "score": 1.0, "content": "fine-tuning to improve zero-shot task transfer, MIP only accounts for", "type": "text" }, { "bbox": [ 380, 509, 395, 519 ], "score": 0.86, "content": "5 \\%", "type": "inline_equation" }, { "bbox": [ 395, 508, 505, 521 ], "score": 1.0, "content": "tokens and is set in the pre-", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 519, 505, 532 ], "spans": [ { "bbox": [ 105, 519, 505, 532 ], "score": 1.0, "content": "training stage to prevent spoiling LLMs’ other general ability, e.g., unconditional free generation.", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 530, 505, 542 ], "spans": [ { "bbox": [ 105, 530, 505, 542 ], "score": 1.0, "content": "Specifically, we include 74 prompted datasets from (Sanh et al., 2022; Wang et al., 2022a), listed", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 541, 505, 554 ], "spans": [ { "bbox": [ 105, 541, 505, 554 ], "score": 1.0, "content": "in Appendix C and Table 12. GLM-130B users are suggested to avoid evaluating its zero-shot and", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 552, 459, 565 ], "spans": [ { "bbox": [ 105, 552, 459, 565 ], "score": 1.0, "content": "few-shot capabilities on these datasets according to the criterion illustrated in Section 5.", "type": "text" } ], "index": 38 } ], "index": 35.5 }, { "type": "title", "bbox": [ 109, 578, 452, 590 ], "lines": [ { "bbox": [ 106, 577, 453, 591 ], "spans": [ { "bbox": [ 106, 577, 453, 591 ], "score": 1.0, "content": "2.3 PLATFORM-AWARE PARALLEL STRATEGIES AND MODEL CONFIGURATIONS", "type": "text" } ], "index": 39 } ], "index": 39 }, { "type": "text", "bbox": [ 107, 599, 504, 632 ], "lines": [ { "bbox": [ 105, 597, 504, 611 ], "spans": [ { "bbox": [ 105, 597, 345, 611 ], "score": 1.0, "content": "GLM-130B is trained on a cluster of 96 DGX-A100 GPU", "type": "text" }, { "bbox": [ 346, 599, 381, 610 ], "score": 0.83, "content": "( 8 \\times 4 0 \\mathrm { G } )", "type": "inline_equation" }, { "bbox": [ 381, 597, 504, 611 ], "score": 1.0, "content": ") servers with a 60-day access.", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 609, 504, 622 ], "spans": [ { "bbox": [ 106, 609, 504, 622 ], "score": 1.0, "content": "The goal is to pass through as many tokens as possible, as a recent study (Hoffmann et al., 2022)", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 621, 346, 633 ], "spans": [ { "bbox": [ 105, 621, 346, 633 ], "score": 1.0, "content": "suggests that most existing LLMs are largely under-trained.", "type": "text" } ], "index": 42 } ], "index": 41 }, { "type": "text", "bbox": [ 107, 638, 504, 704 ], "lines": [ { "bbox": [ 106, 637, 505, 649 ], "spans": [ { "bbox": [ 106, 637, 505, 649 ], "score": 1.0, "content": "The 3D Parallel Strategy. The data parallelism (Valiant, 1990) and tensor model paral-", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 648, 506, 661 ], "spans": [ { "bbox": [ 105, 648, 506, 661 ], "score": 1.0, "content": "lelism (Shoeybi et al., 2019) are the de facto practices for training billion-scale models (Wang &", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 659, 506, 672 ], "spans": [ { "bbox": [ 105, 659, 506, 672 ], "score": 1.0, "content": "Komatsuzaki, 2021; Du et al., 2022). To further handle the huge GPU memory requirement and the", "type": "text" } ], "index": 45 }, { "bbox": [ 105, 669, 506, 683 ], "spans": [ { "bbox": [ 105, 669, 506, 683 ], "score": 1.0, "content": "decrease in overall GPU utilization resulted from applying tensor parallel between nodes—as 40G", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 681, 505, 693 ], "spans": [ { "bbox": [ 105, 681, 505, 693 ], "score": 1.0, "content": "rather than 80G A100s are used for training GLM-130B, we combine the pipeline model parallelism", "type": "text" } ], "index": 47 }, { "bbox": [ 105, 691, 343, 706 ], "spans": [ { "bbox": [ 105, 691, 343, 706 ], "score": 1.0, "content": "with the other two strategies to form a 3D parallel strategy.", "type": "text" } ], "index": 48 } ], "index": 45.5 }, { "type": "text", "bbox": [ 106, 709, 503, 732 ], "lines": [ { "bbox": [ 106, 709, 505, 722 ], "spans": [ { "bbox": [ 106, 709, 505, 722 ], "score": 1.0, "content": "The pipeline parallelism divides the model into sequential stages for each parallel group, and to fur-", "type": "text" } ], "index": 49 }, { "bbox": [ 106, 720, 505, 733 ], "spans": [ { "bbox": [ 106, 720, 505, 733 ], "score": 1.0, "content": "ther minimize bubbles introduced by pipeline, we leverage the PipeDream-Flush (Narayanan et al.,", "type": "text" } ], "index": 50 } ], "index": 49.5 } ], "page_idx": 3, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 302, 752, 308, 759 ], "lines": [] } ], "para_blocks": [ { "type": "text", "bbox": [ 108, 82, 504, 116 ], "lines": [], "index": 1, "bbox_fs": [ 106, 82, 505, 117 ], "lines_deleted": true }, { "type": "text", "bbox": [ 106, 121, 505, 203 ], "lines": [ { "bbox": [ 106, 120, 505, 134 ], "spans": [ { "bbox": [ 106, 120, 505, 134 ], "score": 1.0, "content": "Our search is later focused on Post-LN due to its favorable downstream results in preliminary ex-", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 132, 505, 144 ], "spans": [ { "bbox": [ 105, 132, 505, 144 ], "score": 1.0, "content": "periments though it does not stabilize GLM-130B. Fortunately, one of the attempts on Post-LN", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 142, 506, 157 ], "spans": [ { "bbox": [ 105, 142, 506, 157 ], "score": 1.0, "content": "initialized with the newly-proposed DeepNorm (Wang et al., 2022b) generates promising training", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 153, 504, 168 ], "spans": [ { "bbox": [ 105, 153, 374, 168 ], "score": 1.0, "content": "stability. Specifically, given the number of GLM-130B’s layers", "type": "text" }, { "bbox": [ 374, 155, 384, 164 ], "score": 0.77, "content": "N", "type": "inline_equation" }, { "bbox": [ 384, 153, 430, 168 ], "score": 1.0, "content": ", we adopt", "type": "text" }, { "bbox": [ 431, 154, 504, 167 ], "score": 0.36, "content": "\\mathrm { D e e p N o r m } ( { \\pmb x } ) \\ =", "type": "inline_equation" } ], "index": 6 }, { "bbox": [ 105, 165, 505, 180 ], "spans": [ { "bbox": [ 105, 166, 151, 180 ], "score": 1.0, "content": "LayerNorm", "type": "text" }, { "bbox": [ 152, 167, 245, 179 ], "score": 0.66, "content": "1 ( { \\boldsymbol { \\alpha } } \\cdot { \\boldsymbol { \\mathbf { \\mathit { x } } } } + \\operatorname { N e t w o r k } ( { \\boldsymbol { \\mathbf { \\mathit { x } } } } ) )", "type": "inline_equation" }, { "bbox": [ 245, 166, 277, 180 ], "score": 1.0, "content": ", where", "type": "text" }, { "bbox": [ 277, 165, 327, 179 ], "score": 0.94, "content": "\\alpha = ( 2 N ) ^ { \\frac { 1 } { 2 } }", "type": "inline_equation" }, { "bbox": [ 328, 166, 505, 180 ], "score": 1.0, "content": ", and apply the Xavier normal initialization", "type": "text" } ], "index": 7 }, { "bbox": [ 106, 179, 505, 193 ], "spans": [ { "bbox": [ 106, 180, 211, 193 ], "score": 1.0, "content": "with the scaling factor of", "type": "text" }, { "bbox": [ 212, 179, 245, 192 ], "score": 0.92, "content": "( 2 N ) ^ { - { \\frac { 1 } { 2 } } }", "type": "inline_equation" }, { "bbox": [ 246, 180, 281, 193 ], "score": 1.0, "content": "to ffn,", "type": "text" }, { "bbox": [ 282, 181, 319, 192 ], "score": 0.36, "content": "\\mathtt { v \\_ p r o j }", "type": "inline_equation" }, { "bbox": [ 320, 180, 505, 193 ], "score": 1.0, "content": "and out_proj. Additionally, all bias terms", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 191, 498, 204 ], "spans": [ { "bbox": [ 105, 191, 498, 204 ], "score": 1.0, "content": "are initialized to zero. Figure 3 shows it significantly benefits the training stability of GLM-130B.", "type": "text" } ], "index": 9 } ], "index": 6, "bbox_fs": [ 105, 120, 506, 204 ] }, { "type": "text", "bbox": [ 107, 208, 505, 263 ], "lines": [ { "bbox": [ 105, 207, 505, 221 ], "spans": [ { "bbox": [ 105, 207, 505, 221 ], "score": 1.0, "content": "Positional Encoding and FFNs. We empirically test different options for positional encoding (PE)", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 217, 505, 232 ], "spans": [ { "bbox": [ 105, 217, 505, 232 ], "score": 1.0, "content": "and FFN improvements in terms of both training stability and downstream performance (Cf. Ap-", "type": "text" } ], "index": 11 }, { "bbox": [ 104, 229, 506, 243 ], "spans": [ { "bbox": [ 104, 229, 506, 243 ], "score": 1.0, "content": "pendix B.3 for details). For PEs in GLM-130B, we adopt Rotary Positional Encoding (RoPE, Su", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 240, 505, 253 ], "spans": [ { "bbox": [ 105, 240, 505, 253 ], "score": 1.0, "content": "et al. (2021)) rather than ALiBi (Press et al., 2021). To improve FFNs in Transformer, we pick GLU", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 251, 409, 265 ], "spans": [ { "bbox": [ 105, 251, 409, 265 ], "score": 1.0, "content": "with the GeLU (Hendrycks & Gimpel, 2016) activation as the replacement.", "type": "text" } ], "index": 14 } ], "index": 12, "bbox_fs": [ 104, 207, 506, 265 ] }, { "type": "title", "bbox": [ 108, 272, 289, 283 ], "lines": [ { "bbox": [ 105, 271, 290, 285 ], "spans": [ { "bbox": [ 105, 271, 290, 285 ], "score": 1.0, "content": "2.2 GLM-130B’S PRE-TRAINING SETUP", "type": "text" } ], "index": 15 } ], "index": 15 }, { "type": "text", "bbox": [ 108, 287, 505, 331 ], "lines": [ { "bbox": [ 105, 286, 505, 299 ], "spans": [ { "bbox": [ 105, 286, 505, 299 ], "score": 1.0, "content": "Inspired by recent works (Aribandi et al., 2022; Wei et al., 2022a; Sanh et al., 2022), the GLM-130B", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 298, 506, 310 ], "spans": [ { "bbox": [ 105, 298, 506, 310 ], "score": 1.0, "content": "pre-training objective includes not only the self-supervised GLM autoregressive blank infilling) but", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 309, 505, 322 ], "spans": [ { "bbox": [ 105, 309, 505, 322 ], "score": 1.0, "content": "also multi-task learning for a small portion of tokens. This is expected to help boost its downstream", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 320, 202, 333 ], "spans": [ { "bbox": [ 106, 320, 202, 333 ], "score": 1.0, "content": "zero-shot performance.", "type": "text" } ], "index": 19 } ], "index": 17.5, "bbox_fs": [ 105, 286, 506, 333 ] }, { "type": "text", "bbox": [ 107, 336, 505, 403 ], "lines": [ { "bbox": [ 106, 337, 505, 349 ], "spans": [ { "bbox": [ 106, 337, 245, 349 ], "score": 1.0, "content": "Self-Supervised Blank Infilling", "type": "text" }, { "bbox": [ 245, 337, 267, 348 ], "score": 0.84, "content": "9 5 \\%", "type": "inline_equation" }, { "bbox": [ 267, 337, 505, 349 ], "score": 1.0, "content": "tokens). Recall that GLM-130B uses both [MASK] and", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 348, 505, 361 ], "spans": [ { "bbox": [ 105, 348, 505, 361 ], "score": 1.0, "content": "[gMASK] for this task. Each training sequence is applied with one of them independently at a time.", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 359, 505, 371 ], "spans": [ { "bbox": [ 105, 359, 353, 371 ], "score": 1.0, "content": "Specifically, [MASK] is used to mask consecutive spans in", "type": "text" }, { "bbox": [ 353, 359, 373, 370 ], "score": 0.87, "content": "30 \\%", "type": "inline_equation" }, { "bbox": [ 373, 359, 505, 371 ], "score": 1.0, "content": "of training sequences for blank", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 370, 505, 383 ], "spans": [ { "bbox": [ 105, 370, 347, 383 ], "score": 1.0, "content": "infilling. The lengths of spans follow a Poisson distribution", "type": "text" }, { "bbox": [ 347, 371, 374, 381 ], "score": 0.85, "content": "\\lambda = 3", "type": "inline_equation" }, { "bbox": [ 374, 370, 434, 383 ], "score": 1.0, "content": ") and add up to", "type": "text" }, { "bbox": [ 434, 370, 453, 381 ], "score": 0.87, "content": "15 \\%", "type": "inline_equation" }, { "bbox": [ 453, 370, 505, 383 ], "score": 1.0, "content": "of the input.", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 380, 505, 393 ], "spans": [ { "bbox": [ 105, 380, 161, 393 ], "score": 1.0, "content": "For the other", "type": "text" }, { "bbox": [ 162, 381, 181, 392 ], "score": 0.86, "content": "70 \\%", "type": "inline_equation" }, { "bbox": [ 182, 380, 505, 393 ], "score": 1.0, "content": "sequences, the prefix of each sequence is kept as context and [gMASK] is used", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 393, 441, 404 ], "spans": [ { "bbox": [ 105, 393, 441, 404 ], "score": 1.0, "content": "to mask the rest of it. The masked length is sampled from the Uniform distribution.", "type": "text" } ], "index": 25 } ], "index": 22.5, "bbox_fs": [ 105, 337, 505, 404 ] }, { "type": "text", "bbox": [ 108, 409, 503, 442 ], "lines": [ { "bbox": [ 106, 408, 505, 421 ], "spans": [ { "bbox": [ 106, 408, 505, 421 ], "score": 1.0, "content": "The pre-training data includes 1.2T Pile (train split) (Gao et al., 2020) English, 1.0T Chinese Wudao-", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 420, 505, 432 ], "spans": [ { "bbox": [ 106, 420, 505, 432 ], "score": 1.0, "content": "Corpora (Yuan et al., 2021), and 250G Chinese corpora (including online forums, encyclopedia, and", "type": "text" } ], "index": 27 }, { "bbox": [ 106, 430, 502, 443 ], "spans": [ { "bbox": [ 106, 430, 502, 443 ], "score": 1.0, "content": "QA) we crawl from the web, which form a balanced composition of English and Chinese contents.", "type": "text" } ], "index": 28 } ], "index": 27, "bbox_fs": [ 106, 408, 505, 443 ] }, { "type": "text", "bbox": [ 107, 447, 504, 492 ], "lines": [ { "bbox": [ 106, 447, 506, 459 ], "spans": [ { "bbox": [ 106, 447, 305, 459 ], "score": 1.0, "content": "Multi-Task Instruction Pre-Training (MIP,", "type": "text" }, { "bbox": [ 305, 447, 322, 458 ], "score": 0.79, "content": "5 \\%", "type": "inline_equation" }, { "bbox": [ 322, 447, 506, 459 ], "score": 1.0, "content": "tokens). T5 (Raffel et al., 2020) and", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 457, 506, 471 ], "spans": [ { "bbox": [ 105, 457, 506, 471 ], "score": 1.0, "content": "ExT5 (Aribandi et al., 2022) suggest that multi-task learning in pre-training can be more helpful", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 469, 506, 483 ], "spans": [ { "bbox": [ 105, 469, 506, 483 ], "score": 1.0, "content": "than fine-tuning, we thus propose to include a variety of instruction prompted datasets including", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 480, 480, 494 ], "spans": [ { "bbox": [ 105, 480, 480, 494 ], "score": 1.0, "content": "language understanding, generation, and information extraction in GLM-130B’s pre-training.", "type": "text" } ], "index": 32 } ], "index": 30.5, "bbox_fs": [ 105, 447, 506, 494 ] }, { "type": "text", "bbox": [ 107, 497, 505, 564 ], "lines": [ { "bbox": [ 105, 496, 505, 510 ], "spans": [ { "bbox": [ 105, 496, 505, 510 ], "score": 1.0, "content": "Compared to recent works (Wei et al., 2022a; Sanh et al., 2022) that leverage multi-task prompted", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 508, 505, 521 ], "spans": [ { "bbox": [ 105, 508, 380, 521 ], "score": 1.0, "content": "fine-tuning to improve zero-shot task transfer, MIP only accounts for", "type": "text" }, { "bbox": [ 380, 509, 395, 519 ], "score": 0.86, "content": "5 \\%", "type": "inline_equation" }, { "bbox": [ 395, 508, 505, 521 ], "score": 1.0, "content": "tokens and is set in the pre-", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 519, 505, 532 ], "spans": [ { "bbox": [ 105, 519, 505, 532 ], "score": 1.0, "content": "training stage to prevent spoiling LLMs’ other general ability, e.g., unconditional free generation.", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 530, 505, 542 ], "spans": [ { "bbox": [ 105, 530, 505, 542 ], "score": 1.0, "content": "Specifically, we include 74 prompted datasets from (Sanh et al., 2022; Wang et al., 2022a), listed", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 541, 505, 554 ], "spans": [ { "bbox": [ 105, 541, 505, 554 ], "score": 1.0, "content": "in Appendix C and Table 12. GLM-130B users are suggested to avoid evaluating its zero-shot and", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 552, 459, 565 ], "spans": [ { "bbox": [ 105, 552, 459, 565 ], "score": 1.0, "content": "few-shot capabilities on these datasets according to the criterion illustrated in Section 5.", "type": "text" } ], "index": 38 } ], "index": 35.5, "bbox_fs": [ 105, 496, 505, 565 ] }, { "type": "title", "bbox": [ 109, 578, 452, 590 ], "lines": [ { "bbox": [ 106, 577, 453, 591 ], "spans": [ { "bbox": [ 106, 577, 453, 591 ], "score": 1.0, "content": "2.3 PLATFORM-AWARE PARALLEL STRATEGIES AND MODEL CONFIGURATIONS", "type": "text" } ], "index": 39 } ], "index": 39 }, { "type": "text", "bbox": [ 107, 599, 504, 632 ], "lines": [ { "bbox": [ 105, 597, 504, 611 ], "spans": [ { "bbox": [ 105, 597, 345, 611 ], "score": 1.0, "content": "GLM-130B is trained on a cluster of 96 DGX-A100 GPU", "type": "text" }, { "bbox": [ 346, 599, 381, 610 ], "score": 0.83, "content": "( 8 \\times 4 0 \\mathrm { G } )", "type": "inline_equation" }, { "bbox": [ 381, 597, 504, 611 ], "score": 1.0, "content": ") servers with a 60-day access.", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 609, 504, 622 ], "spans": [ { "bbox": [ 106, 609, 504, 622 ], "score": 1.0, "content": "The goal is to pass through as many tokens as possible, as a recent study (Hoffmann et al., 2022)", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 621, 346, 633 ], "spans": [ { "bbox": [ 105, 621, 346, 633 ], "score": 1.0, "content": "suggests that most existing LLMs are largely under-trained.", "type": "text" } ], "index": 42 } ], "index": 41, "bbox_fs": [ 105, 597, 504, 633 ] }, { "type": "text", "bbox": [ 107, 638, 504, 704 ], "lines": [ { "bbox": [ 106, 637, 505, 649 ], "spans": [ { "bbox": [ 106, 637, 505, 649 ], "score": 1.0, "content": "The 3D Parallel Strategy. The data parallelism (Valiant, 1990) and tensor model paral-", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 648, 506, 661 ], "spans": [ { "bbox": [ 105, 648, 506, 661 ], "score": 1.0, "content": "lelism (Shoeybi et al., 2019) are the de facto practices for training billion-scale models (Wang &", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 659, 506, 672 ], "spans": [ { "bbox": [ 105, 659, 506, 672 ], "score": 1.0, "content": "Komatsuzaki, 2021; Du et al., 2022). To further handle the huge GPU memory requirement and the", "type": "text" } ], "index": 45 }, { "bbox": [ 105, 669, 506, 683 ], "spans": [ { "bbox": [ 105, 669, 506, 683 ], "score": 1.0, "content": "decrease in overall GPU utilization resulted from applying tensor parallel between nodes—as 40G", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 681, 505, 693 ], "spans": [ { "bbox": [ 105, 681, 505, 693 ], "score": 1.0, "content": "rather than 80G A100s are used for training GLM-130B, we combine the pipeline model parallelism", "type": "text" } ], "index": 47 }, { "bbox": [ 105, 691, 343, 706 ], "spans": [ { "bbox": [ 105, 691, 343, 706 ], "score": 1.0, "content": "with the other two strategies to form a 3D parallel strategy.", "type": "text" } ], "index": 48 } ], "index": 45.5, "bbox_fs": [ 105, 637, 506, 706 ] }, { "type": "text", "bbox": [ 106, 709, 503, 732 ], "lines": [ { "bbox": [ 106, 709, 505, 722 ], "spans": [ { "bbox": [ 106, 709, 505, 722 ], "score": 1.0, "content": "The pipeline parallelism divides the model into sequential stages for each parallel group, and to fur-", "type": "text" } ], "index": 49 }, { "bbox": [ 106, 720, 505, 733 ], "spans": [ { "bbox": [ 106, 720, 505, 733 ], "score": 1.0, "content": "ther minimize bubbles introduced by pipeline, we leverage the PipeDream-Flush (Narayanan et al.,", "type": "text" } ], "index": 50 } ], "index": 49.5, "bbox_fs": [ 106, 709, 505, 733 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 148 ], "lines": [ { "bbox": [ 105, 81, 505, 94 ], "spans": [ { "bbox": [ 105, 81, 505, 94 ], "score": 1.0, "content": "2021) implementation from DeepSpeed (Rasley et al., 2020) to train GLM-130B with a relative", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 93, 505, 106 ], "spans": [ { "bbox": [ 105, 93, 505, 106 ], "score": 1.0, "content": "big global batch size (4,224) to reduce time and GPU memory wasting. Through both numeri-", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 104, 505, 117 ], "spans": [ { "bbox": [ 105, 104, 505, 117 ], "score": 1.0, "content": "cal and empirical examinations, we adopt 4-way tensor parallelism and 8-way pipeline parallelism", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 115, 506, 128 ], "spans": [ { "bbox": [ 105, 115, 506, 128 ], "score": 1.0, "content": "(Cf. Appendix B.4 for details). Following the calculation in (Chowdhery et al., 2022), we report", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 125, 506, 139 ], "spans": [ { "bbox": [ 105, 125, 260, 139 ], "score": 1.0, "content": "hardware FLOPs utilization (HFU) of", "type": "text" }, { "bbox": [ 261, 127, 288, 137 ], "score": 0.91, "content": "4 3 . 3 \\%", "type": "inline_equation" }, { "bbox": [ 288, 125, 449, 139 ], "score": 1.0, "content": "and model FLOPs utilization (MFU) of", "type": "text" }, { "bbox": [ 450, 127, 477, 137 ], "score": 0.86, "content": "3 2 . 5 \\%", "type": "inline_equation" }, { "bbox": [ 477, 125, 506, 139 ], "score": 1.0, "content": "due to", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 138, 181, 149 ], "spans": [ { "bbox": [ 105, 138, 181, 149 ], "score": 1.0, "content": "re-materialization.", "type": "text" } ], "index": 5 } ], "index": 2.5 }, { "type": "text", "bbox": [ 107, 154, 505, 231 ], "lines": [ { "bbox": [ 106, 153, 505, 166 ], "spans": [ { "bbox": [ 106, 153, 505, 166 ], "score": 1.0, "content": "GLM-130B Configurations. We aim to enable our 100B-scale LLM to run a single DGX-A100", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 165, 505, 178 ], "spans": [ { "bbox": [ 106, 165, 505, 178 ], "score": 1.0, "content": "(40G) node in FP16 precision. Based on the hidden state dimension of 12,288 we adopt from", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 176, 505, 188 ], "spans": [ { "bbox": [ 105, 176, 505, 188 ], "score": 1.0, "content": "GPT-3, the resultant model size has to be no more than 130B parameters, thus GLM-130B. To", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 186, 505, 200 ], "spans": [ { "bbox": [ 105, 186, 505, 200 ], "score": 1.0, "content": "maximize GPU utilization, we configure the model based on the platform and its corresponding", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 198, 505, 210 ], "spans": [ { "bbox": [ 105, 198, 505, 210 ], "score": 1.0, "content": "parallel strategy. To avoid insufficient memory utilization in the middle stages due to the additional", "type": "text" } ], "index": 10 }, { "bbox": [ 106, 209, 505, 222 ], "spans": [ { "bbox": [ 106, 209, 505, 222 ], "score": 1.0, "content": "word embedding at both ends, we balance the pipeline partition by removing one layer from them,", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 220, 321, 232 ], "spans": [ { "bbox": [ 105, 220, 138, 232 ], "score": 1.0, "content": "making", "type": "text" }, { "bbox": [ 139, 220, 182, 231 ], "score": 0.88, "content": "9 \\times 8 - 2 = 7 0", "type": "inline_equation" }, { "bbox": [ 182, 220, 321, 232 ], "score": 1.0, "content": "transformer layers in GLM-130B.", "type": "text" } ], "index": 12 } ], "index": 9 }, { "type": "text", "bbox": [ 107, 237, 505, 336 ], "lines": [ { "bbox": [ 106, 237, 505, 249 ], "spans": [ { "bbox": [ 106, 237, 505, 249 ], "score": 1.0, "content": "During the 60-day access to the cluster, we manage to train GLM-130B for 400 billion tokens", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 248, 504, 260 ], "spans": [ { "bbox": [ 106, 248, 504, 260 ], "score": 1.0, "content": "(roughly 200 billion each for Chinese and English) with a fixed sequence length of 2,048 per sample.", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 259, 505, 272 ], "spans": [ { "bbox": [ 105, 259, 139, 272 ], "score": 1.0, "content": "For the", "type": "text" }, { "bbox": [ 139, 259, 180, 271 ], "score": 0.29, "content": "[ \\mathrm { g } \\mathbf { M } \\mathbf { A } \\mathbf { S } \\mathbf { K } ]", "type": "inline_equation" }, { "bbox": [ 181, 259, 505, 272 ], "score": 1.0, "content": "training objective, we use a context window of 2,048 tokens. For the [MASK]", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 270, 505, 282 ], "spans": [ { "bbox": [ 106, 270, 505, 282 ], "score": 1.0, "content": "and multi-task objectives, we use a context window of 512 and concatenate four samples together to", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 280, 504, 293 ], "spans": [ { "bbox": [ 105, 280, 481, 293 ], "score": 1.0, "content": "cater the 2,048-sequence-length. We warm-up the batch size from 192 to 4224 over the first", "type": "text" }, { "bbox": [ 482, 281, 504, 291 ], "score": 0.86, "content": "2 . 5 \\%", "type": "inline_equation" } ], "index": 17 }, { "bbox": [ 105, 291, 506, 304 ], "spans": [ { "bbox": [ 105, 291, 422, 304 ], "score": 1.0, "content": "samples. We use AdamW (Loshchilov & Hutter, 2019) as our optimizer with", "type": "text" }, { "bbox": [ 422, 292, 433, 303 ], "score": 0.88, "content": "\\beta _ { 1 }", "type": "inline_equation" }, { "bbox": [ 434, 291, 452, 304 ], "score": 1.0, "content": "and", "type": "text" }, { "bbox": [ 452, 292, 464, 303 ], "score": 0.88, "content": "\\beta _ { 2 }", "type": "inline_equation" }, { "bbox": [ 464, 291, 506, 304 ], "score": 1.0, "content": "set to 0.9", "type": "text" } ], "index": 18 }, { "bbox": [ 104, 301, 504, 316 ], "spans": [ { "bbox": [ 104, 301, 429, 316 ], "score": 1.0, "content": "and 0.95, and a weight decay value of 0.1. We warm up the learning rate from", "type": "text" }, { "bbox": [ 430, 302, 451, 313 ], "score": 0.89, "content": "1 0 ^ { - 7 }", "type": "inline_equation" }, { "bbox": [ 452, 301, 464, 316 ], "score": 1.0, "content": "to", "type": "text" }, { "bbox": [ 464, 302, 504, 313 ], "score": 0.91, "content": "8 \\times 1 0 ^ { - 5 }", "type": "inline_equation" } ], "index": 19 }, { "bbox": [ 105, 313, 505, 325 ], "spans": [ { "bbox": [ 105, 313, 160, 325 ], "score": 1.0, "content": "over the first", "type": "text" }, { "bbox": [ 160, 314, 183, 324 ], "score": 0.87, "content": "0 . 5 \\%", "type": "inline_equation" }, { "bbox": [ 183, 313, 296, 325 ], "score": 1.0, "content": "samples, then decay it by a", "type": "text" }, { "bbox": [ 297, 314, 316, 324 ], "score": 0.88, "content": "1 0 \\times", "type": "inline_equation" }, { "bbox": [ 316, 313, 505, 325 ], "score": 1.0, "content": "cosine schedule. We use a dropout rate of 0.1", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 325, 461, 338 ], "spans": [ { "bbox": [ 105, 325, 461, 338 ], "score": 1.0, "content": "and clip gradients using a clipping value of 1.0 (Cf. Table 11 for the full configurations).", "type": "text" } ], "index": 21 } ], "index": 17 }, { "type": "title", "bbox": [ 107, 356, 342, 370 ], "lines": [ { "bbox": [ 105, 356, 343, 371 ], "spans": [ { "bbox": [ 105, 356, 343, 371 ], "score": 1.0, "content": "3 THE TRAINING STABILITY OF GLM-130B", "type": "text" } ], "index": 22 } ], "index": 22 }, { "type": "text", "bbox": [ 106, 384, 504, 440 ], "lines": [ { "bbox": [ 106, 385, 505, 397 ], "spans": [ { "bbox": [ 106, 385, 505, 397 ], "score": 1.0, "content": "The training stability is the decisive factor in GLM-130B’s quality, which is also largely impacted", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 394, 506, 410 ], "spans": [ { "bbox": [ 105, 394, 506, 410 ], "score": 1.0, "content": "by the number of tokens it passes through (Hoffmann et al., 2022). Thus, given the computing", "type": "text" } ], "index": 24 }, { "bbox": [ 104, 405, 506, 422 ], "spans": [ { "bbox": [ 104, 405, 506, 422 ], "score": 1.0, "content": "usage constraint, there has to be a trade-off between efficiency and stability with regard to floating-", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 416, 506, 432 ], "spans": [ { "bbox": [ 105, 416, 506, 432 ], "score": 1.0, "content": "point (FP) formats: low-precision FP formats (e.g., 16-bit precision—FP16) improve computing", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 428, 460, 442 ], "spans": [ { "bbox": [ 105, 428, 460, 442 ], "score": 1.0, "content": "efficiency but are prone to overflow and underflow errors, resulting in training collapses.", "type": "text" } ], "index": 27 } ], "index": 25 }, { "type": "text", "bbox": [ 107, 446, 372, 610 ], "lines": [ { "bbox": [ 106, 445, 372, 457 ], "spans": [ { "bbox": [ 106, 445, 372, 457 ], "score": 1.0, "content": "Mixed-Precision. We follow the common practice of a mixed-", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 456, 373, 468 ], "spans": [ { "bbox": [ 105, 456, 373, 468 ], "score": 1.0, "content": "precision (Micikevicius et al., 2018) strategy (Apex O2), i.e., FP16", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 467, 373, 479 ], "spans": [ { "bbox": [ 105, 467, 373, 479 ], "score": 1.0, "content": "for forwards and backwards and FP32 for optimizer states and mas-", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 478, 373, 491 ], "spans": [ { "bbox": [ 105, 478, 373, 491 ], "score": 1.0, "content": "ter weights, to reduce the GPU memory usage and improve train-", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 488, 373, 503 ], "spans": [ { "bbox": [ 105, 488, 373, 503 ], "score": 1.0, "content": "ing efficiency. Similar to OPT-175B and BLOOM-176B (C.f. Fig-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 500, 374, 513 ], "spans": [ { "bbox": [ 105, 500, 374, 513 ], "score": 1.0, "content": "ure 10 in Appendix), the training of GLM-130B faces frequent loss", "type": "text" } ], "index": 33 }, { "bbox": [ 106, 511, 373, 523 ], "spans": [ { "bbox": [ 106, 511, 373, 523 ], "score": 1.0, "content": "spikes resulted from this choice, which tends to become increas-", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 522, 373, 534 ], "spans": [ { "bbox": [ 105, 522, 373, 534 ], "score": 1.0, "content": "ingly frequent as the training goes on. The precision related spikes", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 533, 373, 545 ], "spans": [ { "bbox": [ 105, 533, 373, 545 ], "score": 1.0, "content": "are often without clear reasons: some recover on their own; others", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 545, 373, 556 ], "spans": [ { "bbox": [ 106, 545, 373, 556 ], "score": 1.0, "content": "come with a portent of suddenly soaring gradient norm and even-", "type": "text" } ], "index": 37 }, { "bbox": [ 106, 555, 373, 568 ], "spans": [ { "bbox": [ 106, 555, 373, 568 ], "score": 1.0, "content": "tually a spike or even NaN in loss. OPT-175B attempted to fix by", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 566, 373, 578 ], "spans": [ { "bbox": [ 105, 566, 373, 578 ], "score": 1.0, "content": "manually skipping data and adjusting hyper-parameters; BLOOM-", "type": "text" } ], "index": 39 }, { "bbox": [ 106, 577, 372, 590 ], "spans": [ { "bbox": [ 106, 577, 372, 590 ], "score": 1.0, "content": "176B did so via the embedding norm technique (Dettmers et al.,", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 588, 374, 600 ], "spans": [ { "bbox": [ 105, 588, 374, 600 ], "score": 1.0, "content": "2021). We spent months to empirically investigate the spikes and", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 599, 349, 611 ], "spans": [ { "bbox": [ 105, 599, 349, 611 ], "score": 1.0, "content": "realize that a few issues emerge when transformers scale up:", "type": "text" } ], "index": 42 } ], "index": 35 }, { "type": "text", "bbox": [ 107, 616, 371, 660 ], "lines": [ { "bbox": [ 105, 615, 373, 628 ], "spans": [ { "bbox": [ 105, 615, 373, 628 ], "score": 1.0, "content": "First, the transformer main branch’s value scale can be extremely", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 627, 374, 638 ], "spans": [ { "bbox": [ 105, 627, 374, 638 ], "score": 1.0, "content": "large in deeper layers if using Pre-LN. This is addressed in GLM-", "type": "text" } ], "index": 45 }, { "bbox": [ 106, 638, 373, 650 ], "spans": [ { "bbox": [ 106, 638, 373, 650 ], "score": 1.0, "content": "130B by using DeepNorm based Post-LN (Cf. Section 2.1), which", "type": "text" } ], "index": 46 }, { "bbox": [ 106, 649, 264, 661 ], "spans": [ { "bbox": [ 106, 649, 264, 661 ], "score": 1.0, "content": "makes the value scale always bounded.", "type": "text" } ], "index": 47 } ], "index": 45.5 }, { "type": "image", "bbox": [ 380, 449, 503, 634 ], "blocks": [ { "type": "image_body", "bbox": [ 380, 449, 503, 634 ], "group_id": 0, "lines": [ { "bbox": [ 380, 449, 503, 634 ], "spans": [ { "bbox": [ 380, 449, 503, 634 ], "score": 0.96, "type": "image", "image_path": "5cda27883bad1a7034d0f6a575925c4b8eaee9a568db8bdcd271b739eb52bd32.jpg" } ] } ], "index": 43, "virtual_lines": [ { "bbox": [ 380, 449, 503, 634 ], "spans": [], "index": 43 } ] }, { "type": "image_caption", "bbox": [ 380, 637, 504, 670 ], "group_id": 0, "lines": [ { "bbox": [ 380, 635, 505, 649 ], "spans": [ { "bbox": [ 380, 635, 505, 649 ], "score": 1.0, "content": "Figure 4: EGS reduces gradi-", "type": "text" } ], "index": 48 }, { "bbox": [ 381, 648, 505, 659 ], "spans": [ { "bbox": [ 381, 648, 505, 659 ], "score": 1.0, "content": "ent scale and variance to stabi-", "type": "text" } ], "index": 50 }, { "bbox": [ 380, 657, 480, 672 ], "spans": [ { "bbox": [ 380, 657, 480, 672 ], "score": 1.0, "content": "lize LLMs’ pre-training.", "type": "text" } ], "index": 51 } ], "index": 50 } ], "index": 46.5 }, { "type": "text", "bbox": [ 108, 666, 372, 677 ], "lines": [ { "bbox": [ 106, 664, 373, 679 ], "spans": [ { "bbox": [ 106, 664, 373, 679 ], "score": 1.0, "content": "Second, the attention scores grow so large that they exceed FP16’s", "type": "text" } ], "index": 49 } ], "index": 49 }, { "type": "text", "bbox": [ 107, 676, 504, 732 ], "lines": [ { "bbox": [ 105, 676, 506, 690 ], "spans": [ { "bbox": [ 105, 676, 506, 690 ], "score": 1.0, "content": "range, as the model scales up. There are a few options to overcome this issue in LLMs. In", "type": "text" } ], "index": 52 }, { "bbox": [ 106, 687, 505, 700 ], "spans": [ { "bbox": [ 106, 687, 505, 700 ], "score": 1.0, "content": "CogView (Ding et al., 2021), PB-Relax is proposed to remove bias terms and deduct extremum", "type": "text" } ], "index": 53 }, { "bbox": [ 106, 699, 505, 711 ], "spans": [ { "bbox": [ 106, 699, 505, 711 ], "score": 1.0, "content": "value in attention computation to avoid the problem, which unfortunately does not help avoid dis-", "type": "text" } ], "index": 54 }, { "bbox": [ 105, 709, 505, 722 ], "spans": [ { "bbox": [ 105, 709, 505, 722 ], "score": 1.0, "content": "convergence in GLM-130B. In BLOOM-176B, the BF16 format is used instead of FP16, due to its", "type": "text" } ], "index": 55 }, { "bbox": [ 106, 720, 504, 732 ], "spans": [ { "bbox": [ 106, 720, 476, 732 ], "score": 1.0, "content": "wide range of values on NVIDIA Ampere GPUs (i.e., A100). However, BF16 consumes", "type": "text" }, { "bbox": [ 476, 721, 504, 731 ], "score": 0.88, "content": "{ \\sim } 1 5 \\%", "type": "inline_equation" } ], "index": 56 } ], "index": 54 } ], "page_idx": 4, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 302, 751, 309, 760 ], "lines": [ { "bbox": [ 301, 750, 310, 762 ], "spans": [ { "bbox": [ 301, 750, 310, 762 ], "score": 1.0, "content": "5", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 148 ], "lines": [ { "bbox": [ 105, 81, 505, 94 ], "spans": [ { "bbox": [ 105, 81, 505, 94 ], "score": 1.0, "content": "2021) implementation from DeepSpeed (Rasley et al., 2020) to train GLM-130B with a relative", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 93, 505, 106 ], "spans": [ { "bbox": [ 105, 93, 505, 106 ], "score": 1.0, "content": "big global batch size (4,224) to reduce time and GPU memory wasting. Through both numeri-", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 104, 505, 117 ], "spans": [ { "bbox": [ 105, 104, 505, 117 ], "score": 1.0, "content": "cal and empirical examinations, we adopt 4-way tensor parallelism and 8-way pipeline parallelism", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 115, 506, 128 ], "spans": [ { "bbox": [ 105, 115, 506, 128 ], "score": 1.0, "content": "(Cf. Appendix B.4 for details). Following the calculation in (Chowdhery et al., 2022), we report", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 125, 506, 139 ], "spans": [ { "bbox": [ 105, 125, 260, 139 ], "score": 1.0, "content": "hardware FLOPs utilization (HFU) of", "type": "text" }, { "bbox": [ 261, 127, 288, 137 ], "score": 0.91, "content": "4 3 . 3 \\%", "type": "inline_equation" }, { "bbox": [ 288, 125, 449, 139 ], "score": 1.0, "content": "and model FLOPs utilization (MFU) of", "type": "text" }, { "bbox": [ 450, 127, 477, 137 ], "score": 0.86, "content": "3 2 . 5 \\%", "type": "inline_equation" }, { "bbox": [ 477, 125, 506, 139 ], "score": 1.0, "content": "due to", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 138, 181, 149 ], "spans": [ { "bbox": [ 105, 138, 181, 149 ], "score": 1.0, "content": "re-materialization.", "type": "text" } ], "index": 5 } ], "index": 2.5, "bbox_fs": [ 105, 81, 506, 149 ] }, { "type": "text", "bbox": [ 107, 154, 505, 231 ], "lines": [ { "bbox": [ 106, 153, 505, 166 ], "spans": [ { "bbox": [ 106, 153, 505, 166 ], "score": 1.0, "content": "GLM-130B Configurations. We aim to enable our 100B-scale LLM to run a single DGX-A100", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 165, 505, 178 ], "spans": [ { "bbox": [ 106, 165, 505, 178 ], "score": 1.0, "content": "(40G) node in FP16 precision. Based on the hidden state dimension of 12,288 we adopt from", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 176, 505, 188 ], "spans": [ { "bbox": [ 105, 176, 505, 188 ], "score": 1.0, "content": "GPT-3, the resultant model size has to be no more than 130B parameters, thus GLM-130B. To", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 186, 505, 200 ], "spans": [ { "bbox": [ 105, 186, 505, 200 ], "score": 1.0, "content": "maximize GPU utilization, we configure the model based on the platform and its corresponding", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 198, 505, 210 ], "spans": [ { "bbox": [ 105, 198, 505, 210 ], "score": 1.0, "content": "parallel strategy. To avoid insufficient memory utilization in the middle stages due to the additional", "type": "text" } ], "index": 10 }, { "bbox": [ 106, 209, 505, 222 ], "spans": [ { "bbox": [ 106, 209, 505, 222 ], "score": 1.0, "content": "word embedding at both ends, we balance the pipeline partition by removing one layer from them,", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 220, 321, 232 ], "spans": [ { "bbox": [ 105, 220, 138, 232 ], "score": 1.0, "content": "making", "type": "text" }, { "bbox": [ 139, 220, 182, 231 ], "score": 0.88, "content": "9 \\times 8 - 2 = 7 0", "type": "inline_equation" }, { "bbox": [ 182, 220, 321, 232 ], "score": 1.0, "content": "transformer layers in GLM-130B.", "type": "text" } ], "index": 12 } ], "index": 9, "bbox_fs": [ 105, 153, 505, 232 ] }, { "type": "text", "bbox": [ 107, 237, 505, 336 ], "lines": [ { "bbox": [ 106, 237, 505, 249 ], "spans": [ { "bbox": [ 106, 237, 505, 249 ], "score": 1.0, "content": "During the 60-day access to the cluster, we manage to train GLM-130B for 400 billion tokens", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 248, 504, 260 ], "spans": [ { "bbox": [ 106, 248, 504, 260 ], "score": 1.0, "content": "(roughly 200 billion each for Chinese and English) with a fixed sequence length of 2,048 per sample.", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 259, 505, 272 ], "spans": [ { "bbox": [ 105, 259, 139, 272 ], "score": 1.0, "content": "For the", "type": "text" }, { "bbox": [ 139, 259, 180, 271 ], "score": 0.29, "content": "[ \\mathrm { g } \\mathbf { M } \\mathbf { A } \\mathbf { S } \\mathbf { K } ]", "type": "inline_equation" }, { "bbox": [ 181, 259, 505, 272 ], "score": 1.0, "content": "training objective, we use a context window of 2,048 tokens. For the [MASK]", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 270, 505, 282 ], "spans": [ { "bbox": [ 106, 270, 505, 282 ], "score": 1.0, "content": "and multi-task objectives, we use a context window of 512 and concatenate four samples together to", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 280, 504, 293 ], "spans": [ { "bbox": [ 105, 280, 481, 293 ], "score": 1.0, "content": "cater the 2,048-sequence-length. We warm-up the batch size from 192 to 4224 over the first", "type": "text" }, { "bbox": [ 482, 281, 504, 291 ], "score": 0.86, "content": "2 . 5 \\%", "type": "inline_equation" } ], "index": 17 }, { "bbox": [ 105, 291, 506, 304 ], "spans": [ { "bbox": [ 105, 291, 422, 304 ], "score": 1.0, "content": "samples. We use AdamW (Loshchilov & Hutter, 2019) as our optimizer with", "type": "text" }, { "bbox": [ 422, 292, 433, 303 ], "score": 0.88, "content": "\\beta _ { 1 }", "type": "inline_equation" }, { "bbox": [ 434, 291, 452, 304 ], "score": 1.0, "content": "and", "type": "text" }, { "bbox": [ 452, 292, 464, 303 ], "score": 0.88, "content": "\\beta _ { 2 }", "type": "inline_equation" }, { "bbox": [ 464, 291, 506, 304 ], "score": 1.0, "content": "set to 0.9", "type": "text" } ], "index": 18 }, { "bbox": [ 104, 301, 504, 316 ], "spans": [ { "bbox": [ 104, 301, 429, 316 ], "score": 1.0, "content": "and 0.95, and a weight decay value of 0.1. We warm up the learning rate from", "type": "text" }, { "bbox": [ 430, 302, 451, 313 ], "score": 0.89, "content": "1 0 ^ { - 7 }", "type": "inline_equation" }, { "bbox": [ 452, 301, 464, 316 ], "score": 1.0, "content": "to", "type": "text" }, { "bbox": [ 464, 302, 504, 313 ], "score": 0.91, "content": "8 \\times 1 0 ^ { - 5 }", "type": "inline_equation" } ], "index": 19 }, { "bbox": [ 105, 313, 505, 325 ], "spans": [ { "bbox": [ 105, 313, 160, 325 ], "score": 1.0, "content": "over the first", "type": "text" }, { "bbox": [ 160, 314, 183, 324 ], "score": 0.87, "content": "0 . 5 \\%", "type": "inline_equation" }, { "bbox": [ 183, 313, 296, 325 ], "score": 1.0, "content": "samples, then decay it by a", "type": "text" }, { "bbox": [ 297, 314, 316, 324 ], "score": 0.88, "content": "1 0 \\times", "type": "inline_equation" }, { "bbox": [ 316, 313, 505, 325 ], "score": 1.0, "content": "cosine schedule. We use a dropout rate of 0.1", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 325, 461, 338 ], "spans": [ { "bbox": [ 105, 325, 461, 338 ], "score": 1.0, "content": "and clip gradients using a clipping value of 1.0 (Cf. Table 11 for the full configurations).", "type": "text" } ], "index": 21 } ], "index": 17, "bbox_fs": [ 104, 237, 506, 338 ] }, { "type": "title", "bbox": [ 107, 356, 342, 370 ], "lines": [ { "bbox": [ 105, 356, 343, 371 ], "spans": [ { "bbox": [ 105, 356, 343, 371 ], "score": 1.0, "content": "3 THE TRAINING STABILITY OF GLM-130B", "type": "text" } ], "index": 22 } ], "index": 22 }, { "type": "text", "bbox": [ 106, 384, 504, 440 ], "lines": [ { "bbox": [ 106, 385, 505, 397 ], "spans": [ { "bbox": [ 106, 385, 505, 397 ], "score": 1.0, "content": "The training stability is the decisive factor in GLM-130B’s quality, which is also largely impacted", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 394, 506, 410 ], "spans": [ { "bbox": [ 105, 394, 506, 410 ], "score": 1.0, "content": "by the number of tokens it passes through (Hoffmann et al., 2022). Thus, given the computing", "type": "text" } ], "index": 24 }, { "bbox": [ 104, 405, 506, 422 ], "spans": [ { "bbox": [ 104, 405, 506, 422 ], "score": 1.0, "content": "usage constraint, there has to be a trade-off between efficiency and stability with regard to floating-", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 416, 506, 432 ], "spans": [ { "bbox": [ 105, 416, 506, 432 ], "score": 1.0, "content": "point (FP) formats: low-precision FP formats (e.g., 16-bit precision—FP16) improve computing", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 428, 460, 442 ], "spans": [ { "bbox": [ 105, 428, 460, 442 ], "score": 1.0, "content": "efficiency but are prone to overflow and underflow errors, resulting in training collapses.", "type": "text" } ], "index": 27 } ], "index": 25, "bbox_fs": [ 104, 385, 506, 442 ] }, { "type": "text", "bbox": [ 107, 446, 372, 610 ], "lines": [ { "bbox": [ 106, 445, 372, 457 ], "spans": [ { "bbox": [ 106, 445, 372, 457 ], "score": 1.0, "content": "Mixed-Precision. We follow the common practice of a mixed-", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 456, 373, 468 ], "spans": [ { "bbox": [ 105, 456, 373, 468 ], "score": 1.0, "content": "precision (Micikevicius et al., 2018) strategy (Apex O2), i.e., FP16", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 467, 373, 479 ], "spans": [ { "bbox": [ 105, 467, 373, 479 ], "score": 1.0, "content": "for forwards and backwards and FP32 for optimizer states and mas-", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 478, 373, 491 ], "spans": [ { "bbox": [ 105, 478, 373, 491 ], "score": 1.0, "content": "ter weights, to reduce the GPU memory usage and improve train-", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 488, 373, 503 ], "spans": [ { "bbox": [ 105, 488, 373, 503 ], "score": 1.0, "content": "ing efficiency. Similar to OPT-175B and BLOOM-176B (C.f. Fig-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 500, 374, 513 ], "spans": [ { "bbox": [ 105, 500, 374, 513 ], "score": 1.0, "content": "ure 10 in Appendix), the training of GLM-130B faces frequent loss", "type": "text" } ], "index": 33 }, { "bbox": [ 106, 511, 373, 523 ], "spans": [ { "bbox": [ 106, 511, 373, 523 ], "score": 1.0, "content": "spikes resulted from this choice, which tends to become increas-", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 522, 373, 534 ], "spans": [ { "bbox": [ 105, 522, 373, 534 ], "score": 1.0, "content": "ingly frequent as the training goes on. The precision related spikes", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 533, 373, 545 ], "spans": [ { "bbox": [ 105, 533, 373, 545 ], "score": 1.0, "content": "are often without clear reasons: some recover on their own; others", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 545, 373, 556 ], "spans": [ { "bbox": [ 106, 545, 373, 556 ], "score": 1.0, "content": "come with a portent of suddenly soaring gradient norm and even-", "type": "text" } ], "index": 37 }, { "bbox": [ 106, 555, 373, 568 ], "spans": [ { "bbox": [ 106, 555, 373, 568 ], "score": 1.0, "content": "tually a spike or even NaN in loss. OPT-175B attempted to fix by", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 566, 373, 578 ], "spans": [ { "bbox": [ 105, 566, 373, 578 ], "score": 1.0, "content": "manually skipping data and adjusting hyper-parameters; BLOOM-", "type": "text" } ], "index": 39 }, { "bbox": [ 106, 577, 372, 590 ], "spans": [ { "bbox": [ 106, 577, 372, 590 ], "score": 1.0, "content": "176B did so via the embedding norm technique (Dettmers et al.,", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 588, 374, 600 ], "spans": [ { "bbox": [ 105, 588, 374, 600 ], "score": 1.0, "content": "2021). We spent months to empirically investigate the spikes and", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 599, 349, 611 ], "spans": [ { "bbox": [ 105, 599, 349, 611 ], "score": 1.0, "content": "realize that a few issues emerge when transformers scale up:", "type": "text" } ], "index": 42 } ], "index": 35, "bbox_fs": [ 105, 445, 374, 611 ] }, { "type": "text", "bbox": [ 107, 616, 371, 660 ], "lines": [ { "bbox": [ 105, 615, 373, 628 ], "spans": [ { "bbox": [ 105, 615, 373, 628 ], "score": 1.0, "content": "First, the transformer main branch’s value scale can be extremely", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 627, 374, 638 ], "spans": [ { "bbox": [ 105, 627, 374, 638 ], "score": 1.0, "content": "large in deeper layers if using Pre-LN. This is addressed in GLM-", "type": "text" } ], "index": 45 }, { "bbox": [ 106, 638, 373, 650 ], "spans": [ { "bbox": [ 106, 638, 373, 650 ], "score": 1.0, "content": "130B by using DeepNorm based Post-LN (Cf. Section 2.1), which", "type": "text" } ], "index": 46 }, { "bbox": [ 106, 649, 264, 661 ], "spans": [ { "bbox": [ 106, 649, 264, 661 ], "score": 1.0, "content": "makes the value scale always bounded.", "type": "text" } ], "index": 47 } ], "index": 45.5, "bbox_fs": [ 105, 615, 374, 661 ] }, { "type": "image", "bbox": [ 380, 449, 503, 634 ], "blocks": [ { "type": "image_body", "bbox": [ 380, 449, 503, 634 ], "group_id": 0, "lines": [ { "bbox": [ 380, 449, 503, 634 ], "spans": [ { "bbox": [ 380, 449, 503, 634 ], "score": 0.96, "type": "image", "image_path": "5cda27883bad1a7034d0f6a575925c4b8eaee9a568db8bdcd271b739eb52bd32.jpg" } ] } ], "index": 43, "virtual_lines": [ { "bbox": [ 380, 449, 503, 634 ], "spans": [], "index": 43 } ] }, { "type": "image_caption", "bbox": [ 380, 637, 504, 670 ], "group_id": 0, "lines": [ { "bbox": [ 380, 635, 505, 649 ], "spans": [ { "bbox": [ 380, 635, 505, 649 ], "score": 1.0, "content": "Figure 4: EGS reduces gradi-", "type": "text" } ], "index": 48 }, { "bbox": [ 381, 648, 505, 659 ], "spans": [ { "bbox": [ 381, 648, 505, 659 ], "score": 1.0, "content": "ent scale and variance to stabi-", "type": "text" } ], "index": 50 }, { "bbox": [ 380, 657, 480, 672 ], "spans": [ { "bbox": [ 380, 657, 480, 672 ], "score": 1.0, "content": "lize LLMs’ pre-training.", "type": "text" } ], "index": 51 } ], "index": 50 } ], "index": 46.5 }, { "type": "text", "bbox": [ 108, 666, 372, 677 ], "lines": [ { "bbox": [ 106, 664, 373, 679 ], "spans": [ { "bbox": [ 106, 664, 373, 679 ], "score": 1.0, "content": "Second, the attention scores grow so large that they exceed FP16’s", "type": "text" } ], "index": 49 }, { "bbox": [ 105, 676, 506, 690 ], "spans": [ { "bbox": [ 105, 676, 506, 690 ], "score": 1.0, "content": "range, as the model scales up. There are a few options to overcome this issue in LLMs. In", "type": "text" } ], "index": 52 }, { "bbox": [ 106, 687, 505, 700 ], "spans": [ { "bbox": [ 106, 687, 505, 700 ], "score": 1.0, "content": "CogView (Ding et al., 2021), PB-Relax is proposed to remove bias terms and deduct extremum", "type": "text" } ], "index": 53 }, { "bbox": [ 106, 699, 505, 711 ], "spans": [ { "bbox": [ 106, 699, 505, 711 ], "score": 1.0, "content": "value in attention computation to avoid the problem, which unfortunately does not help avoid dis-", "type": "text" } ], "index": 54 }, { "bbox": [ 105, 709, 505, 722 ], "spans": [ { "bbox": [ 105, 709, 505, 722 ], "score": 1.0, "content": "convergence in GLM-130B. In BLOOM-176B, the BF16 format is used instead of FP16, due to its", "type": "text" } ], "index": 55 }, { "bbox": [ 106, 720, 504, 732 ], "spans": [ { "bbox": [ 106, 720, 476, 732 ], "score": 1.0, "content": "wide range of values on NVIDIA Ampere GPUs (i.e., A100). However, BF16 consumes", "type": "text" }, { "bbox": [ 476, 721, 504, 731 ], "score": 0.88, "content": "{ \\sim } 1 5 \\%", "type": "inline_equation" } ], "index": 56 }, { "bbox": [ 105, 82, 505, 95 ], "spans": [ { "bbox": [ 105, 82, 505, 95 ], "score": 1.0, "content": "more run-time GPU memory than FP16 in our experiments due to its conversion to FP32 in gradi-", "type": "text", "cross_page": true } ], "index": 0 }, { "bbox": [ 105, 93, 505, 106 ], "spans": [ { "bbox": [ 105, 93, 505, 106 ], "score": 1.0, "content": "ent accumulation, and more importantly it is not supported on other GPU platforms (e.g., NVIDIA", "type": "text", "cross_page": true } ], "index": 1 }, { "bbox": [ 105, 104, 505, 117 ], "spans": [ { "bbox": [ 105, 104, 505, 117 ], "score": 1.0, "content": "Tesla V100), limiting the accessibility of produced LLMs. Another option from BLOOM-176B is", "type": "text", "cross_page": true } ], "index": 2 }, { "bbox": [ 105, 114, 506, 129 ], "spans": [ { "bbox": [ 105, 114, 506, 129 ], "score": 1.0, "content": "to apply embedding norm with BF16, but in sacrifice of a significant penalty on model performance,", "type": "text", "cross_page": true } ], "index": 3 }, { "bbox": [ 105, 126, 506, 139 ], "spans": [ { "bbox": [ 105, 126, 506, 139 ], "score": 1.0, "content": "as they notice that embedding norm can harm model’s zero-shot learning (Cf. Section 4.3 in (Scao", "type": "text", "cross_page": true } ], "index": 4 }, { "bbox": [ 105, 136, 163, 150 ], "spans": [ { "bbox": [ 105, 136, 163, 150 ], "score": 1.0, "content": "et al., 2022)).", "type": "text", "cross_page": true } ], "index": 5 } ], "index": 49, "bbox_fs": [ 106, 664, 373, 679 ] }, { "type": "text", "bbox": [ 107, 676, 504, 732 ], "lines": [], "index": 54, "bbox_fs": [ 105, 676, 506, 732 ], "lines_deleted": true } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 149 ], "lines": [ { "bbox": [ 105, 82, 505, 95 ], "spans": [ { "bbox": [ 105, 82, 505, 95 ], "score": 1.0, "content": "more run-time GPU memory than FP16 in our experiments due to its conversion to FP32 in gradi-", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 93, 505, 106 ], "spans": [ { "bbox": [ 105, 93, 505, 106 ], "score": 1.0, "content": "ent accumulation, and more importantly it is not supported on other GPU platforms (e.g., NVIDIA", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 104, 505, 117 ], "spans": [ { "bbox": [ 105, 104, 505, 117 ], "score": 1.0, "content": "Tesla V100), limiting the accessibility of produced LLMs. Another option from BLOOM-176B is", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 114, 506, 129 ], "spans": [ { "bbox": [ 105, 114, 506, 129 ], "score": 1.0, "content": "to apply embedding norm with BF16, but in sacrifice of a significant penalty on model performance,", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 126, 506, 139 ], "spans": [ { "bbox": [ 105, 126, 506, 139 ], "score": 1.0, "content": "as they notice that embedding norm can harm model’s zero-shot learning (Cf. Section 4.3 in (Scao", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 136, 163, 150 ], "spans": [ { "bbox": [ 105, 136, 163, 150 ], "score": 1.0, "content": "et al., 2022)).", "type": "text" } ], "index": 5 } ], "index": 2.5 }, { "type": "text", "bbox": [ 106, 154, 505, 243 ], "lines": [ { "bbox": [ 105, 153, 505, 167 ], "spans": [ { "bbox": [ 105, 153, 505, 167 ], "score": 1.0, "content": "Embedding Layer Gradient Shrink (EGS). Our empirical search identifies that the gradient norm", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 164, 505, 178 ], "spans": [ { "bbox": [ 105, 164, 505, 178 ], "score": 1.0, "content": "can serve as an informative indicator of training collapses. Specifically, we find that a training", "type": "text" } ], "index": 7 }, { "bbox": [ 106, 176, 505, 189 ], "spans": [ { "bbox": [ 106, 176, 505, 189 ], "score": 1.0, "content": "collapse usually lags behind a “spike” in gradient norm by a few training steps. Such spikes are", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 187, 505, 199 ], "spans": [ { "bbox": [ 106, 187, 505, 199 ], "score": 1.0, "content": "usually caused by the embedding layer’s abnormal gradients, as we observe that its gradient norm", "type": "text" } ], "index": 9 }, { "bbox": [ 104, 197, 505, 211 ], "spans": [ { "bbox": [ 104, 197, 505, 211 ], "score": 1.0, "content": "is often several magnitude larger that those of other layers in GLM-130B’s early stage training (Cf.", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 209, 505, 222 ], "spans": [ { "bbox": [ 105, 209, 505, 222 ], "score": 1.0, "content": "Figure 4 (a)). In addition, it tends to fluctuate dramatically in the early training. The problem is", "type": "text" } ], "index": 11 }, { "bbox": [ 104, 218, 506, 233 ], "spans": [ { "bbox": [ 104, 218, 506, 233 ], "score": 1.0, "content": "handled in vision models (Chen et al., 2021) via freezing the patch projection layer. Unfortunately,", "type": "text" } ], "index": 12 }, { "bbox": [ 106, 231, 402, 243 ], "spans": [ { "bbox": [ 106, 231, 402, 243 ], "score": 1.0, "content": "we cannot freeze the training of the embedding layer in language models.", "type": "text" } ], "index": 13 } ], "index": 9.5 }, { "type": "text", "bbox": [ 107, 248, 504, 303 ], "lines": [ { "bbox": [ 106, 248, 505, 259 ], "spans": [ { "bbox": [ 106, 248, 505, 259 ], "score": 1.0, "content": "Finally, we find the gradient shrink on embedding layers could overcome loss spikes and thus sta-", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 259, 505, 271 ], "spans": [ { "bbox": [ 106, 259, 505, 271 ], "score": 1.0, "content": "bilize GLM-130B’s training. It is first used in the multi-modal transformer CogView (Ding et al.,", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 269, 505, 282 ], "spans": [ { "bbox": [ 106, 269, 150, 282 ], "score": 1.0, "content": "2021). Let", "type": "text" }, { "bbox": [ 151, 271, 159, 280 ], "score": 0.79, "content": "\\alpha", "type": "inline_equation" }, { "bbox": [ 159, 269, 493, 282 ], "score": 1.0, "content": "be the shrinking factor, the strategy can be easily implemented via word_embedding", "type": "text" }, { "bbox": [ 494, 271, 505, 280 ], "score": 0.77, "content": "=", "type": "inline_equation" } ], "index": 16 }, { "bbox": [ 105, 280, 505, 294 ], "spans": [ { "bbox": [ 105, 280, 177, 294 ], "score": 1.0, "content": "word_embedding", "type": "text" }, { "bbox": [ 178, 282, 201, 291 ], "score": 0.83, "content": "\\ast \\alpha +", "type": "inline_equation" }, { "bbox": [ 202, 280, 306, 294 ], "score": 1.0, "content": "word_embedding.detach(", "type": "text" }, { "bbox": [ 306, 281, 348, 293 ], "score": 0.88, "content": ") * ( 1 - \\alpha )", "type": "inline_equation" }, { "bbox": [ 348, 280, 505, 294 ], "score": 1.0, "content": ". Figure 4 (b) suggests that empirically,", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 291, 438, 305 ], "spans": [ { "bbox": [ 105, 291, 135, 305 ], "score": 1.0, "content": "setting", "type": "text" }, { "bbox": [ 136, 292, 169, 302 ], "score": 0.89, "content": "\\alpha = 0 . 1", "type": "inline_equation" }, { "bbox": [ 170, 291, 438, 305 ], "score": 1.0, "content": "wipes out most spikes we would have met, with negligible latency.", "type": "text" } ], "index": 18 } ], "index": 16 }, { "type": "text", "bbox": [ 107, 308, 505, 353 ], "lines": [ { "bbox": [ 105, 308, 505, 322 ], "spans": [ { "bbox": [ 105, 308, 505, 322 ], "score": 1.0, "content": "In fact, the final GLM-130B training run only experiences three late-stage loss divergence cases,", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 319, 506, 333 ], "spans": [ { "bbox": [ 105, 319, 506, 333 ], "score": 1.0, "content": "though it fails numerous times due to hardware failures. For the three unexpected spikes, it turns out", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 331, 505, 343 ], "spans": [ { "bbox": [ 105, 331, 505, 343 ], "score": 1.0, "content": "further shrinking the embedding gradient can still help stabilize the GLM-130B training. See the", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 342, 387, 354 ], "spans": [ { "bbox": [ 105, 342, 387, 354 ], "score": 1.0, "content": "training notes and Tensorboard logs in our code repository for details.", "type": "text" } ], "index": 22 } ], "index": 20.5 }, { "type": "title", "bbox": [ 107, 376, 339, 390 ], "lines": [ { "bbox": [ 106, 377, 340, 390 ], "spans": [ { "bbox": [ 106, 377, 340, 390 ], "score": 1.0, "content": "4 GLM-130B INFERENCE ON RTX 2080 TI", "type": "text" } ], "index": 23 } ], "index": 23 }, { "type": "text", "bbox": [ 108, 406, 503, 429 ], "lines": [ { "bbox": [ 106, 407, 504, 419 ], "spans": [ { "bbox": [ 106, 407, 504, 419 ], "score": 1.0, "content": "One of the major goals of GLM-130B is to lower the hardware requirements for accessing 100B-", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 416, 362, 431 ], "spans": [ { "bbox": [ 105, 416, 362, 431 ], "score": 1.0, "content": "scale LLMs without efficiency and effectiveness disadvantages.", "type": "text" } ], "index": 25 } ], "index": 24.5 }, { "type": "text", "bbox": [ 107, 434, 504, 501 ], "lines": [ { "bbox": [ 106, 434, 505, 447 ], "spans": [ { "bbox": [ 106, 434, 505, 447 ], "score": 1.0, "content": "As mentioned, the model size of 130B is determined for running the full GLM-130B model on a sin-", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 445, 505, 458 ], "spans": [ { "bbox": [ 105, 445, 148, 458 ], "score": 1.0, "content": "gle A100", "type": "text" }, { "bbox": [ 148, 446, 181, 457 ], "score": 0.81, "content": "( 4 0 \\mathrm { G } \\times 8 ", "type": "inline_equation" }, { "bbox": [ 182, 445, 338, 458 ], "score": 1.0, "content": ") server, rather than the high-end A100", "type": "text" }, { "bbox": [ 339, 446, 372, 457 ], "score": 0.8, "content": "( 8 0 0 \\times 8 )", "type": "inline_equation" }, { "bbox": [ 372, 445, 505, 458 ], "score": 1.0, "content": ") machine required by OPT-175B", "type": "text" } ], "index": 27 }, { "bbox": [ 106, 457, 505, 468 ], "spans": [ { "bbox": [ 106, 457, 505, 468 ], "score": 1.0, "content": "and BLOOM-176B. To accelerate GLM-130B inference, we also leverage FasterTransformer (Ti-", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 467, 505, 480 ], "spans": [ { "bbox": [ 105, 467, 305, 480 ], "score": 1.0, "content": "monin et al., 2022) to implement GLM-130B in", "type": "text" }, { "bbox": [ 306, 468, 325, 478 ], "score": 0.85, "content": "\\mathrm { C } { + } { + }", "type": "inline_equation" }, { "bbox": [ 326, 467, 505, 480 ], "score": 1.0, "content": ". Compared to the PyTorch implementation", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 477, 506, 491 ], "spans": [ { "bbox": [ 105, 477, 396, 491 ], "score": 1.0, "content": "of BLOOM-176B in Huggingface, GLM-130B’s decoding inference is", "type": "text" }, { "bbox": [ 397, 479, 427, 489 ], "score": 0.87, "content": "7 . 8 . 4 \\times", "type": "inline_equation" }, { "bbox": [ 427, 477, 506, 491 ], "score": 1.0, "content": "faster on the same", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 489, 312, 502 ], "spans": [ { "bbox": [ 105, 489, 312, 502 ], "score": 1.0, "content": "single A100 server. (Cf. Appendix B.5 for details).", "type": "text" } ], "index": 31 } ], "index": 28.5 }, { "type": "text", "bbox": [ 107, 506, 504, 551 ], "lines": [ { "bbox": [ 105, 505, 506, 519 ], "spans": [ { "bbox": [ 105, 505, 231, 519 ], "score": 1.0, "content": "INT4 Quantization for RTX", "type": "text" }, { "bbox": [ 231, 506, 283, 517 ], "score": 0.28, "content": "\\mathbf { 3 0 9 0 s } / 2 0 8 0 \\mathbf { s }", "type": "inline_equation" }, { "bbox": [ 283, 505, 506, 519 ], "score": 1.0, "content": ". To further support popularized GPUs, we attempt to", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 516, 506, 530 ], "spans": [ { "bbox": [ 105, 516, 506, 530 ], "score": 1.0, "content": "compress GLM-130B as much as possible while maintaining performance superiority, particularly", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 528, 506, 540 ], "spans": [ { "bbox": [ 105, 528, 506, 540 ], "score": 1.0, "content": "via quantization (Zafrir et al., 2019; Shen et al., 2020; Tao et al., 2022), which introduces little", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 539, 369, 551 ], "spans": [ { "bbox": [ 105, 539, 369, 551 ], "score": 1.0, "content": "task-agnostic performance drops for generative language models.", "type": "text" } ], "index": 35 } ], "index": 33.5 }, { "type": "text", "bbox": [ 107, 556, 324, 698 ], "lines": [ { "bbox": [ 106, 556, 325, 569 ], "spans": [ { "bbox": [ 106, 556, 325, 569 ], "score": 1.0, "content": "Typically, the practice is to quantize both model", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 567, 325, 579 ], "spans": [ { "bbox": [ 106, 567, 325, 579 ], "score": 1.0, "content": "weights and activations to INT8. However, our anal-", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 578, 325, 590 ], "spans": [ { "bbox": [ 105, 578, 325, 590 ], "score": 1.0, "content": "ysis in Appendix B.6 suggests that LLMs’ activations", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 589, 325, 601 ], "spans": [ { "bbox": [ 105, 589, 325, 601 ], "score": 1.0, "content": "may contain extreme outliers. Concurrently, the emer-", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 600, 325, 612 ], "spans": [ { "bbox": [ 105, 600, 325, 612 ], "score": 1.0, "content": "gent outliers in OPT-175B and BLOOM-176B are", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 611, 325, 623 ], "spans": [ { "bbox": [ 106, 611, 325, 623 ], "score": 1.0, "content": "also discovered (Dettmers et al., 2022), which influ-", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 622, 325, 633 ], "spans": [ { "bbox": [ 105, 622, 172, 633 ], "score": 1.0, "content": "ence only about", "type": "text" }, { "bbox": [ 172, 622, 195, 632 ], "score": 0.87, "content": "0 . 1 \\%", "type": "inline_equation" }, { "bbox": [ 195, 622, 325, 633 ], "score": 1.0, "content": "feature dimensions and are thus", "type": "text" } ], "index": 42 }, { "bbox": [ 106, 632, 325, 645 ], "spans": [ { "bbox": [ 106, 632, 325, 645 ], "score": 1.0, "content": "solved by matrix multiplication decomposition for the", "type": "text" } ], "index": 43 }, { "bbox": [ 106, 644, 325, 655 ], "spans": [ { "bbox": [ 106, 644, 325, 655 ], "score": 1.0, "content": "outlying dimensions. Differently, there exist about", "type": "text" } ], "index": 44 }, { "bbox": [ 106, 654, 325, 667 ], "spans": [ { "bbox": [ 106, 655, 126, 666 ], "score": 0.85, "content": "30 \\%", "type": "inline_equation" }, { "bbox": [ 127, 654, 325, 667 ], "score": 1.0, "content": "outliers in GLM-130B’s activations, making the", "type": "text" } ], "index": 45 }, { "bbox": [ 106, 666, 325, 677 ], "spans": [ { "bbox": [ 106, 666, 325, 677 ], "score": 1.0, "content": "technique above far less efficient. Thus, we decide", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 676, 325, 690 ], "spans": [ { "bbox": [ 105, 676, 325, 690 ], "score": 1.0, "content": "to focus on the quantization of model weights (i.e.,", "type": "text" } ], "index": 47 }, { "bbox": [ 105, 687, 325, 700 ], "spans": [ { "bbox": [ 105, 687, 325, 700 ], "score": 1.0, "content": "mostly linear layers) while keeping the FP16 precision", "type": "text" } ], "index": 48 } ], "index": 42 }, { "type": "image", "bbox": [ 334, 554, 502, 658 ], "blocks": [ { "type": "image_body", "bbox": [ 334, 554, 502, 658 ], "group_id": 0, "lines": [ { "bbox": [ 334, 554, 502, 658 ], "spans": [ { "bbox": [ 334, 554, 502, 658 ], "score": 0.966, "type": "image", "image_path": "51756d8e0cdfc8c8e5024bda110de214d1edbe16683f435f4b5879c6e57dba31.jpg" } ] } ], "index": 52.5, "virtual_lines": [ { "bbox": [ 334, 554, 502, 567.0 ], "spans": [], "index": 49 }, { "bbox": [ 334, 567.0, 502, 580.0 ], "spans": [], "index": 50 }, { "bbox": [ 334, 580.0, 502, 593.0 ], "spans": [], "index": 51 }, { "bbox": [ 334, 593.0, 502, 606.0 ], "spans": [], "index": 52 }, { "bbox": [ 334, 606.0, 502, 619.0 ], "spans": [], "index": 53 }, { "bbox": [ 334, 619.0, 502, 632.0 ], "spans": [], "index": 54 }, { "bbox": [ 334, 632.0, 502, 645.0 ], "spans": [], "index": 55 }, { "bbox": [ 334, 645.0, 502, 658.0 ], "spans": [], "index": 56 } ] }, { "type": "image_caption", "bbox": [ 332, 666, 504, 699 ], "group_id": 0, "lines": [ { "bbox": [ 332, 666, 505, 678 ], "spans": [ { "bbox": [ 332, 666, 505, 678 ], "score": 1.0, "content": "Figure 5: (Left) attn-dense and w2’s", "type": "text" } ], "index": 57 }, { "bbox": [ 332, 677, 505, 688 ], "spans": [ { "bbox": [ 332, 677, 505, 688 ], "score": 1.0, "content": "weight distributions; (Right) GLM-130B’s", "type": "text" } ], "index": 58 }, { "bbox": [ 332, 689, 487, 700 ], "spans": [ { "bbox": [ 332, 689, 487, 700 ], "score": 1.0, "content": "INT4 weight quantization scaling law.", "type": "text" } ], "index": 59 } ], "index": 58 } ], "index": 55.25 }, { "type": "text", "bbox": [ 108, 699, 504, 732 ], "lines": [ { "bbox": [ 105, 698, 505, 711 ], "spans": [ { "bbox": [ 105, 698, 505, 711 ], "score": 1.0, "content": "for activations. The quantized model is dynamically converted to FP16 precision at runtime, in-", "type": "text" } ], "index": 60 }, { "bbox": [ 105, 708, 506, 723 ], "spans": [ { "bbox": [ 105, 708, 506, 723 ], "score": 1.0, "content": "troducing a small computational overhead but greatly reducing the GPU memory usage for storing", "type": "text" } ], "index": 61 }, { "bbox": [ 106, 721, 169, 732 ], "spans": [ { "bbox": [ 106, 721, 169, 732 ], "score": 1.0, "content": "model weights.", "type": "text" } ], "index": 62 } ], "index": 61 } ], "page_idx": 5, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 302, 752, 309, 760 ], "lines": [ { "bbox": [ 302, 751, 310, 762 ], "spans": [ { "bbox": [ 302, 751, 310, 762 ], "score": 1.0, "content": "6", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 149 ], "lines": [], "index": 2.5, "bbox_fs": [ 105, 82, 506, 150 ], "lines_deleted": true }, { "type": "text", "bbox": [ 106, 154, 505, 243 ], "lines": [ { "bbox": [ 105, 153, 505, 167 ], "spans": [ { "bbox": [ 105, 153, 505, 167 ], "score": 1.0, "content": "Embedding Layer Gradient Shrink (EGS). Our empirical search identifies that the gradient norm", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 164, 505, 178 ], "spans": [ { "bbox": [ 105, 164, 505, 178 ], "score": 1.0, "content": "can serve as an informative indicator of training collapses. Specifically, we find that a training", "type": "text" } ], "index": 7 }, { "bbox": [ 106, 176, 505, 189 ], "spans": [ { "bbox": [ 106, 176, 505, 189 ], "score": 1.0, "content": "collapse usually lags behind a “spike” in gradient norm by a few training steps. Such spikes are", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 187, 505, 199 ], "spans": [ { "bbox": [ 106, 187, 505, 199 ], "score": 1.0, "content": "usually caused by the embedding layer’s abnormal gradients, as we observe that its gradient norm", "type": "text" } ], "index": 9 }, { "bbox": [ 104, 197, 505, 211 ], "spans": [ { "bbox": [ 104, 197, 505, 211 ], "score": 1.0, "content": "is often several magnitude larger that those of other layers in GLM-130B’s early stage training (Cf.", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 209, 505, 222 ], "spans": [ { "bbox": [ 105, 209, 505, 222 ], "score": 1.0, "content": "Figure 4 (a)). In addition, it tends to fluctuate dramatically in the early training. The problem is", "type": "text" } ], "index": 11 }, { "bbox": [ 104, 218, 506, 233 ], "spans": [ { "bbox": [ 104, 218, 506, 233 ], "score": 1.0, "content": "handled in vision models (Chen et al., 2021) via freezing the patch projection layer. Unfortunately,", "type": "text" } ], "index": 12 }, { "bbox": [ 106, 231, 402, 243 ], "spans": [ { "bbox": [ 106, 231, 402, 243 ], "score": 1.0, "content": "we cannot freeze the training of the embedding layer in language models.", "type": "text" } ], "index": 13 } ], "index": 9.5, "bbox_fs": [ 104, 153, 506, 243 ] }, { "type": "text", "bbox": [ 107, 248, 504, 303 ], "lines": [ { "bbox": [ 106, 248, 505, 259 ], "spans": [ { "bbox": [ 106, 248, 505, 259 ], "score": 1.0, "content": "Finally, we find the gradient shrink on embedding layers could overcome loss spikes and thus sta-", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 259, 505, 271 ], "spans": [ { "bbox": [ 106, 259, 505, 271 ], "score": 1.0, "content": "bilize GLM-130B’s training. It is first used in the multi-modal transformer CogView (Ding et al.,", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 269, 505, 282 ], "spans": [ { "bbox": [ 106, 269, 150, 282 ], "score": 1.0, "content": "2021). Let", "type": "text" }, { "bbox": [ 151, 271, 159, 280 ], "score": 0.79, "content": "\\alpha", "type": "inline_equation" }, { "bbox": [ 159, 269, 493, 282 ], "score": 1.0, "content": "be the shrinking factor, the strategy can be easily implemented via word_embedding", "type": "text" }, { "bbox": [ 494, 271, 505, 280 ], "score": 0.77, "content": "=", "type": "inline_equation" } ], "index": 16 }, { "bbox": [ 105, 280, 505, 294 ], "spans": [ { "bbox": [ 105, 280, 177, 294 ], "score": 1.0, "content": "word_embedding", "type": "text" }, { "bbox": [ 178, 282, 201, 291 ], "score": 0.83, "content": "\\ast \\alpha +", "type": "inline_equation" }, { "bbox": [ 202, 280, 306, 294 ], "score": 1.0, "content": "word_embedding.detach(", "type": "text" }, { "bbox": [ 306, 281, 348, 293 ], "score": 0.88, "content": ") * ( 1 - \\alpha )", "type": "inline_equation" }, { "bbox": [ 348, 280, 505, 294 ], "score": 1.0, "content": ". Figure 4 (b) suggests that empirically,", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 291, 438, 305 ], "spans": [ { "bbox": [ 105, 291, 135, 305 ], "score": 1.0, "content": "setting", "type": "text" }, { "bbox": [ 136, 292, 169, 302 ], "score": 0.89, "content": "\\alpha = 0 . 1", "type": "inline_equation" }, { "bbox": [ 170, 291, 438, 305 ], "score": 1.0, "content": "wipes out most spikes we would have met, with negligible latency.", "type": "text" } ], "index": 18 } ], "index": 16, "bbox_fs": [ 105, 248, 505, 305 ] }, { "type": "text", "bbox": [ 107, 308, 505, 353 ], "lines": [ { "bbox": [ 105, 308, 505, 322 ], "spans": [ { "bbox": [ 105, 308, 505, 322 ], "score": 1.0, "content": "In fact, the final GLM-130B training run only experiences three late-stage loss divergence cases,", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 319, 506, 333 ], "spans": [ { "bbox": [ 105, 319, 506, 333 ], "score": 1.0, "content": "though it fails numerous times due to hardware failures. For the three unexpected spikes, it turns out", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 331, 505, 343 ], "spans": [ { "bbox": [ 105, 331, 505, 343 ], "score": 1.0, "content": "further shrinking the embedding gradient can still help stabilize the GLM-130B training. See the", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 342, 387, 354 ], "spans": [ { "bbox": [ 105, 342, 387, 354 ], "score": 1.0, "content": "training notes and Tensorboard logs in our code repository for details.", "type": "text" } ], "index": 22 } ], "index": 20.5, "bbox_fs": [ 105, 308, 506, 354 ] }, { "type": "title", "bbox": [ 107, 376, 339, 390 ], "lines": [ { "bbox": [ 106, 377, 340, 390 ], "spans": [ { "bbox": [ 106, 377, 340, 390 ], "score": 1.0, "content": "4 GLM-130B INFERENCE ON RTX 2080 TI", "type": "text" } ], "index": 23 } ], "index": 23 }, { "type": "text", "bbox": [ 108, 406, 503, 429 ], "lines": [ { "bbox": [ 106, 407, 504, 419 ], "spans": [ { "bbox": [ 106, 407, 504, 419 ], "score": 1.0, "content": "One of the major goals of GLM-130B is to lower the hardware requirements for accessing 100B-", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 416, 362, 431 ], "spans": [ { "bbox": [ 105, 416, 362, 431 ], "score": 1.0, "content": "scale LLMs without efficiency and effectiveness disadvantages.", "type": "text" } ], "index": 25 } ], "index": 24.5, "bbox_fs": [ 105, 407, 504, 431 ] }, { "type": "text", "bbox": [ 107, 434, 504, 501 ], "lines": [ { "bbox": [ 106, 434, 505, 447 ], "spans": [ { "bbox": [ 106, 434, 505, 447 ], "score": 1.0, "content": "As mentioned, the model size of 130B is determined for running the full GLM-130B model on a sin-", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 445, 505, 458 ], "spans": [ { "bbox": [ 105, 445, 148, 458 ], "score": 1.0, "content": "gle A100", "type": "text" }, { "bbox": [ 148, 446, 181, 457 ], "score": 0.81, "content": "( 4 0 \\mathrm { G } \\times 8 ", "type": "inline_equation" }, { "bbox": [ 182, 445, 338, 458 ], "score": 1.0, "content": ") server, rather than the high-end A100", "type": "text" }, { "bbox": [ 339, 446, 372, 457 ], "score": 0.8, "content": "( 8 0 0 \\times 8 )", "type": "inline_equation" }, { "bbox": [ 372, 445, 505, 458 ], "score": 1.0, "content": ") machine required by OPT-175B", "type": "text" } ], "index": 27 }, { "bbox": [ 106, 457, 505, 468 ], "spans": [ { "bbox": [ 106, 457, 505, 468 ], "score": 1.0, "content": "and BLOOM-176B. To accelerate GLM-130B inference, we also leverage FasterTransformer (Ti-", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 467, 505, 480 ], "spans": [ { "bbox": [ 105, 467, 305, 480 ], "score": 1.0, "content": "monin et al., 2022) to implement GLM-130B in", "type": "text" }, { "bbox": [ 306, 468, 325, 478 ], "score": 0.85, "content": "\\mathrm { C } { + } { + }", "type": "inline_equation" }, { "bbox": [ 326, 467, 505, 480 ], "score": 1.0, "content": ". Compared to the PyTorch implementation", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 477, 506, 491 ], "spans": [ { "bbox": [ 105, 477, 396, 491 ], "score": 1.0, "content": "of BLOOM-176B in Huggingface, GLM-130B’s decoding inference is", "type": "text" }, { "bbox": [ 397, 479, 427, 489 ], "score": 0.87, "content": "7 . 8 . 4 \\times", "type": "inline_equation" }, { "bbox": [ 427, 477, 506, 491 ], "score": 1.0, "content": "faster on the same", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 489, 312, 502 ], "spans": [ { "bbox": [ 105, 489, 312, 502 ], "score": 1.0, "content": "single A100 server. (Cf. Appendix B.5 for details).", "type": "text" } ], "index": 31 } ], "index": 28.5, "bbox_fs": [ 105, 434, 506, 502 ] }, { "type": "text", "bbox": [ 107, 506, 504, 551 ], "lines": [ { "bbox": [ 105, 505, 506, 519 ], "spans": [ { "bbox": [ 105, 505, 231, 519 ], "score": 1.0, "content": "INT4 Quantization for RTX", "type": "text" }, { "bbox": [ 231, 506, 283, 517 ], "score": 0.28, "content": "\\mathbf { 3 0 9 0 s } / 2 0 8 0 \\mathbf { s }", "type": "inline_equation" }, { "bbox": [ 283, 505, 506, 519 ], "score": 1.0, "content": ". To further support popularized GPUs, we attempt to", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 516, 506, 530 ], "spans": [ { "bbox": [ 105, 516, 506, 530 ], "score": 1.0, "content": "compress GLM-130B as much as possible while maintaining performance superiority, particularly", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 528, 506, 540 ], "spans": [ { "bbox": [ 105, 528, 506, 540 ], "score": 1.0, "content": "via quantization (Zafrir et al., 2019; Shen et al., 2020; Tao et al., 2022), which introduces little", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 539, 369, 551 ], "spans": [ { "bbox": [ 105, 539, 369, 551 ], "score": 1.0, "content": "task-agnostic performance drops for generative language models.", "type": "text" } ], "index": 35 } ], "index": 33.5, "bbox_fs": [ 105, 505, 506, 551 ] }, { "type": "text", "bbox": [ 107, 556, 324, 698 ], "lines": [ { "bbox": [ 106, 556, 325, 569 ], "spans": [ { "bbox": [ 106, 556, 325, 569 ], "score": 1.0, "content": "Typically, the practice is to quantize both model", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 567, 325, 579 ], "spans": [ { "bbox": [ 106, 567, 325, 579 ], "score": 1.0, "content": "weights and activations to INT8. However, our anal-", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 578, 325, 590 ], "spans": [ { "bbox": [ 105, 578, 325, 590 ], "score": 1.0, "content": "ysis in Appendix B.6 suggests that LLMs’ activations", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 589, 325, 601 ], "spans": [ { "bbox": [ 105, 589, 325, 601 ], "score": 1.0, "content": "may contain extreme outliers. Concurrently, the emer-", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 600, 325, 612 ], "spans": [ { "bbox": [ 105, 600, 325, 612 ], "score": 1.0, "content": "gent outliers in OPT-175B and BLOOM-176B are", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 611, 325, 623 ], "spans": [ { "bbox": [ 106, 611, 325, 623 ], "score": 1.0, "content": "also discovered (Dettmers et al., 2022), which influ-", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 622, 325, 633 ], "spans": [ { "bbox": [ 105, 622, 172, 633 ], "score": 1.0, "content": "ence only about", "type": "text" }, { "bbox": [ 172, 622, 195, 632 ], "score": 0.87, "content": "0 . 1 \\%", "type": "inline_equation" }, { "bbox": [ 195, 622, 325, 633 ], "score": 1.0, "content": "feature dimensions and are thus", "type": "text" } ], "index": 42 }, { "bbox": [ 106, 632, 325, 645 ], "spans": [ { "bbox": [ 106, 632, 325, 645 ], "score": 1.0, "content": "solved by matrix multiplication decomposition for the", "type": "text" } ], "index": 43 }, { "bbox": [ 106, 644, 325, 655 ], "spans": [ { "bbox": [ 106, 644, 325, 655 ], "score": 1.0, "content": "outlying dimensions. Differently, there exist about", "type": "text" } ], "index": 44 }, { "bbox": [ 106, 654, 325, 667 ], "spans": [ { "bbox": [ 106, 655, 126, 666 ], "score": 0.85, "content": "30 \\%", "type": "inline_equation" }, { "bbox": [ 127, 654, 325, 667 ], "score": 1.0, "content": "outliers in GLM-130B’s activations, making the", "type": "text" } ], "index": 45 }, { "bbox": [ 106, 666, 325, 677 ], "spans": [ { "bbox": [ 106, 666, 325, 677 ], "score": 1.0, "content": "technique above far less efficient. Thus, we decide", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 676, 325, 690 ], "spans": [ { "bbox": [ 105, 676, 325, 690 ], "score": 1.0, "content": "to focus on the quantization of model weights (i.e.,", "type": "text" } ], "index": 47 }, { "bbox": [ 105, 687, 325, 700 ], "spans": [ { "bbox": [ 105, 687, 325, 700 ], "score": 1.0, "content": "mostly linear layers) while keeping the FP16 precision", "type": "text" } ], "index": 48 }, { "bbox": [ 105, 698, 505, 711 ], "spans": [ { "bbox": [ 105, 698, 505, 711 ], "score": 1.0, "content": "for activations. The quantized model is dynamically converted to FP16 precision at runtime, in-", "type": "text" } ], "index": 60 }, { "bbox": [ 105, 708, 506, 723 ], "spans": [ { "bbox": [ 105, 708, 506, 723 ], "score": 1.0, "content": "troducing a small computational overhead but greatly reducing the GPU memory usage for storing", "type": "text" } ], "index": 61 }, { "bbox": [ 106, 721, 169, 732 ], "spans": [ { "bbox": [ 106, 721, 169, 732 ], "score": 1.0, "content": "model weights.", "type": "text" } ], "index": 62 } ], "index": 42, "bbox_fs": [ 105, 556, 325, 700 ] }, { "type": "image", "bbox": [ 334, 554, 502, 658 ], "blocks": [ { "type": "image_body", "bbox": [ 334, 554, 502, 658 ], "group_id": 0, "lines": [ { "bbox": [ 334, 554, 502, 658 ], "spans": [ { "bbox": [ 334, 554, 502, 658 ], "score": 0.966, "type": "image", "image_path": "51756d8e0cdfc8c8e5024bda110de214d1edbe16683f435f4b5879c6e57dba31.jpg" } ] } ], "index": 52.5, "virtual_lines": [ { "bbox": [ 334, 554, 502, 567.0 ], "spans": [], "index": 49 }, { "bbox": [ 334, 567.0, 502, 580.0 ], "spans": [], "index": 50 }, { "bbox": [ 334, 580.0, 502, 593.0 ], "spans": [], "index": 51 }, { "bbox": [ 334, 593.0, 502, 606.0 ], "spans": [], "index": 52 }, { "bbox": [ 334, 606.0, 502, 619.0 ], "spans": [], "index": 53 }, { "bbox": [ 334, 619.0, 502, 632.0 ], "spans": [], "index": 54 }, { "bbox": [ 334, 632.0, 502, 645.0 ], "spans": [], "index": 55 }, { "bbox": [ 334, 645.0, 502, 658.0 ], "spans": [], "index": 56 } ] }, { "type": "image_caption", "bbox": [ 332, 666, 504, 699 ], "group_id": 0, "lines": [ { "bbox": [ 332, 666, 505, 678 ], "spans": [ { "bbox": [ 332, 666, 505, 678 ], "score": 1.0, "content": "Figure 5: (Left) attn-dense and w2’s", "type": "text" } ], "index": 57 }, { "bbox": [ 332, 677, 505, 688 ], "spans": [ { "bbox": [ 332, 677, 505, 688 ], "score": 1.0, "content": "weight distributions; (Right) GLM-130B’s", "type": "text" } ], "index": 58 }, { "bbox": [ 332, 689, 487, 700 ], "spans": [ { "bbox": [ 332, 689, 487, 700 ], "score": 1.0, "content": "INT4 weight quantization scaling law.", "type": "text" } ], "index": 59 } ], "index": 58 } ], "index": 55.25 }, { "type": "text", "bbox": [ 108, 699, 504, 732 ], "lines": [], "index": 61, "bbox_fs": [ 105, 698, 506, 732 ], "lines_deleted": true } ] }, { "preproc_blocks": [ { "type": "table", "bbox": [ 106, 106, 502, 168 ], "blocks": [ { "type": "table_caption", "bbox": [ 107, 80, 504, 102 ], "group_id": 0, "lines": [ { "bbox": [ 106, 80, 505, 93 ], "spans": [ { "bbox": [ 106, 80, 505, 93 ], "score": 1.0, "content": "Table 2: Left: Quantized GLM-130B’s performance on several benchmarks; Right: INT4 quantized", "type": "text" } ], "index": 0 }, { "bbox": [ 106, 91, 410, 104 ], "spans": [ { "bbox": [ 106, 91, 410, 104 ], "score": 1.0, "content": "GLM-130B’s inference speed (encode and decode) with FasterTransformer.", "type": "text" } ], "index": 1 } ], "index": 0.5 }, { "type": "table_body", "bbox": [ 106, 106, 502, 168 ], "group_id": 0, "lines": [ { "bbox": [ 106, 106, 502, 168 ], "spans": [ { "bbox": [ 106, 106, 502, 168 ], "score": 0.966, "html": "
Model PrecisionGLM-130BGPT-3GPU Type128 Enc./Dec.512 Enc./Dec,
FP16INT8INT4FP168× A100 (40G)0.15s4.29s0.18s17.7s
MMLU (acc, ↑)44.7544.7144.8043.98 × V100 (32G)0.31s6.97s0.67s28.1s
LAMBADA (acc, ↑)80.2180.2179.4776.24 × RTX 3090 (24G)0.37s8.16s1.30s32.3s
Pile (a part,BPB,↓)0.6340.6380.6410.748 × RTX 2080 Ti(11G) 0.39s6.77s1.04s27.3s
", "type": "table", "image_path": "8834ad1ebf074045e06df7130c86c900bbb12336986d30c5eac182041f4e0735.jpg" } ] } ], "index": 3, "virtual_lines": [ { "bbox": [ 106, 106, 502, 126.66666666666667 ], "spans": [], "index": 2 }, { "bbox": [ 106, 126.66666666666667, 502, 147.33333333333334 ], "spans": [], "index": 3 }, { "bbox": [ 106, 147.33333333333334, 502, 168.0 ], "spans": [], "index": 4 } ] } ], "index": 1.75 }, { "type": "text", "bbox": [ 106, 176, 505, 243 ], "lines": [ { "bbox": [ 105, 176, 505, 190 ], "spans": [ { "bbox": [ 105, 176, 505, 190 ], "score": 1.0, "content": "Excitingly, we manage to reach the INT4 weight quantization for GLM-130B while existing suc-", "type": "text" } ], "index": 5 }, { "bbox": [ 106, 187, 505, 200 ], "spans": [ { "bbox": [ 106, 187, 505, 200 ], "score": 1.0, "content": "cesses have thus far only come to the INT8. Memory-wise, by comparing to INT8, the INT4 version", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 199, 505, 212 ], "spans": [ { "bbox": [ 105, 199, 505, 212 ], "score": 1.0, "content": "helps additionally save half of the required GPU memory to 70GB, thus allowing GLM-130B infer-", "type": "text" } ], "index": 7 }, { "bbox": [ 106, 209, 505, 222 ], "spans": [ { "bbox": [ 106, 209, 139, 222 ], "score": 1.0, "content": "ence on", "type": "text" }, { "bbox": [ 139, 210, 234, 221 ], "score": 0.34, "content": "4 \\times \\mathrm { R T X } 3 0 9 0 \\mathrm { T i } \\left( 2 4 \\mathrm { G } \\right)", "type": "inline_equation" }, { "bbox": [ 234, 209, 505, 222 ], "score": 1.0, "content": "or 8 × RTX 2080 Ti (11G). Performance-wise, Table 2 left indicates", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 221, 505, 234 ], "spans": [ { "bbox": [ 106, 221, 505, 234 ], "score": 1.0, "content": "that without post-training at all, the INT4-version GLM-130B experiences almost no performance", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 232, 493, 244 ], "spans": [ { "bbox": [ 106, 232, 493, 244 ], "score": 1.0, "content": "degradation, thus maintaining the performance advantages over GPT-3 on common benchmarks.", "type": "text" } ], "index": 10 } ], "index": 7.5 }, { "type": "text", "bbox": [ 106, 248, 505, 337 ], "lines": [ { "bbox": [ 106, 248, 505, 261 ], "spans": [ { "bbox": [ 106, 248, 505, 261 ], "score": 1.0, "content": "GLM’s INT4 Weight Quantization Scaling Law. We examine the underlying mechanism of this", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 260, 505, 272 ], "spans": [ { "bbox": [ 106, 260, 505, 272 ], "score": 1.0, "content": "unique INT4 weight quantization scaling law exhibited in Figure 5 right. We plot the weight value", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 270, 505, 283 ], "spans": [ { "bbox": [ 105, 270, 505, 283 ], "score": 1.0, "content": "distributions in Figure 5 left, which turns out to directly impact the quantization quality. Specifically,", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 281, 505, 294 ], "spans": [ { "bbox": [ 105, 281, 505, 294 ], "score": 1.0, "content": "a wider-distributed linear layer needs to be quantized with larger bins, leading to more precision loss.", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 293, 505, 304 ], "spans": [ { "bbox": [ 106, 293, 290, 304 ], "score": 1.0, "content": "Thus the wide-distributed attn-dense and", "type": "text" }, { "bbox": [ 290, 293, 303, 303 ], "score": 0.45, "content": "\\mathtt { w } 2", "type": "inline_equation" }, { "bbox": [ 303, 293, 505, 304 ], "score": 1.0, "content": "matrices explain the INT4 quantization failure for", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 303, 506, 315 ], "spans": [ { "bbox": [ 106, 303, 506, 315 ], "score": 1.0, "content": "GPT-style BLOOM. Conversely, GLMs tend to have much narrower distributions than those of", "type": "text" } ], "index": 16 }, { "bbox": [ 106, 315, 505, 327 ], "spans": [ { "bbox": [ 106, 315, 505, 327 ], "score": 1.0, "content": "similar-sized GPTs, and the gap between INT4 and FP16 versions keeps further decreasing as the", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 325, 375, 338 ], "spans": [ { "bbox": [ 106, 325, 375, 338 ], "score": 1.0, "content": "GLM model size scales up (Cf. Figure 15 in Appendix for details).", "type": "text" } ], "index": 18 } ], "index": 14.5 }, { "type": "title", "bbox": [ 108, 352, 198, 365 ], "lines": [ { "bbox": [ 105, 351, 199, 367 ], "spans": [ { "bbox": [ 105, 351, 199, 367 ], "score": 1.0, "content": "5 THE RESULTS", "type": "text" } ], "index": 19 } ], "index": 19 }, { "type": "text", "bbox": [ 107, 377, 504, 400 ], "lines": [ { "bbox": [ 106, 376, 505, 390 ], "spans": [ { "bbox": [ 106, 376, 505, 390 ], "score": 1.0, "content": "We follow the common settings in LLMs such as GPT-3 and PaLM to evaluate GLM-130B for", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 388, 505, 401 ], "spans": [ { "bbox": [ 106, 388, 505, 401 ], "score": 1.0, "content": "English 1. As a bilingual LLM with Chinese, GLM-130B is also evaluated on Chinese benchmarks.", "type": "text" } ], "index": 21 } ], "index": 20.5 }, { "type": "text", "bbox": [ 107, 405, 505, 471 ], "lines": [ { "bbox": [ 106, 406, 504, 417 ], "spans": [ { "bbox": [ 106, 406, 504, 417 ], "score": 1.0, "content": "Discussion on the Scope of Zero-Shot Learning in GLM-130B. Since GLM-130B has been", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 416, 506, 429 ], "spans": [ { "bbox": [ 105, 416, 506, 429 ], "score": 1.0, "content": "trained with MIP, here we clarify its scope of zero-shot evaluation. In fact, “zero-shot” seems to", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 427, 505, 440 ], "spans": [ { "bbox": [ 105, 427, 505, 440 ], "score": 1.0, "content": "have controversial interpretations without a consensus in the community. We follow one of the in-", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 437, 505, 452 ], "spans": [ { "bbox": [ 105, 437, 505, 452 ], "score": 1.0, "content": "fluential related surveys (Xian et al., 2018), which says “At test time, in zero-shot learning setting,", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 449, 506, 462 ], "spans": [ { "bbox": [ 105, 449, 506, 462 ], "score": 1.0, "content": "the aim is to assign a test image to an unseen class label” where involving unseen class labels is a", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 460, 497, 473 ], "spans": [ { "bbox": [ 105, 460, 497, 473 ], "score": 1.0, "content": "key. Therefore, we derive our criterion to pick GLM-130B’s zero-shot (and few-shot) datasets as:", "type": "text" } ], "index": 27 } ], "index": 24.5 }, { "type": "text", "bbox": [ 107, 477, 504, 523 ], "lines": [ { "bbox": [ 105, 476, 506, 491 ], "spans": [ { "bbox": [ 105, 476, 506, 491 ], "score": 1.0, "content": "• English: 1) For tasks with fixed labels (e.g., natural language inference): no datasets in such tasks", "type": "text" } ], "index": 28 }, { "bbox": [ 113, 487, 506, 501 ], "spans": [ { "bbox": [ 113, 487, 435, 501 ], "score": 1.0, "content": "should be evaluated on; 2) For tasks without fixed labels (e.g., (multiple-choice)", "type": "text" }, { "bbox": [ 436, 489, 450, 500 ], "score": 0.31, "content": "Q A", "type": "inline_equation" }, { "bbox": [ 450, 487, 506, 501 ], "score": 1.0, "content": ", topic classi-", "type": "text" } ], "index": 29 }, { "bbox": [ 112, 500, 505, 510 ], "spans": [ { "bbox": [ 112, 500, 505, 510 ], "score": 1.0, "content": "fication): only datasets with an obvious domain transfer from those in MIP should be considered.", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 511, 465, 524 ], "spans": [ { "bbox": [ 105, 511, 465, 524 ], "score": 1.0, "content": "• Chinese: All datasets can be evaluated as there exists a zero-shot cross-lingual transfer.", "type": "text" } ], "index": 31 } ], "index": 29.5 }, { "type": "text", "bbox": [ 106, 529, 505, 573 ], "lines": [ { "bbox": [ 106, 529, 505, 541 ], "spans": [ { "bbox": [ 106, 529, 505, 541 ], "score": 1.0, "content": "Filtering Test Datasets. Following prior practices (Brown et al., 2020; Rae et al., 2021) and our", "type": "text" } ], "index": 32 }, { "bbox": [ 106, 540, 505, 551 ], "spans": [ { "bbox": [ 106, 540, 505, 551 ], "score": 1.0, "content": "criterion mentioned above, we filter and refrain to report potentially contaminated datasets’ evalua-", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 551, 505, 563 ], "spans": [ { "bbox": [ 105, 551, 505, 563 ], "score": 1.0, "content": "tion results. For LAMBADA and CLUE, we find minimal overlap under the 13-gram setting. Pile,", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 561, 466, 574 ], "spans": [ { "bbox": [ 105, 561, 466, 574 ], "score": 1.0, "content": "MMLU, and BIG-bench are either held-out or released later than the crawling of corpora.", "type": "text" } ], "index": 35 } ], "index": 33.5 }, { "type": "title", "bbox": [ 108, 586, 232, 598 ], "lines": [ { "bbox": [ 106, 586, 232, 599 ], "spans": [ { "bbox": [ 106, 586, 232, 599 ], "score": 1.0, "content": "5.1 LANGUAGE MODELING", "type": "text" } ], "index": 36 } ], "index": 36 }, { "type": "text", "bbox": [ 106, 607, 504, 641 ], "lines": [ { "bbox": [ 106, 607, 505, 619 ], "spans": [ { "bbox": [ 106, 607, 505, 619 ], "score": 1.0, "content": "LAMBADA. LAMBADA (Paperno et al., 2016) is a dataset to test the last word language model-", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 618, 506, 630 ], "spans": [ { "bbox": [ 105, 618, 506, 630 ], "score": 1.0, "content": "ing capability. The results previously shown in Figure 2 suggest GLM-130B achieves a zero-shot", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 629, 462, 641 ], "spans": [ { "bbox": [ 105, 629, 462, 641 ], "score": 1.0, "content": "accuracy of 80.2 with its bidirectional attention, setting up a new record on LAMBADA.", "type": "text" } ], "index": 39 } ], "index": 38 }, { "type": "text", "bbox": [ 107, 646, 339, 712 ], "lines": [ { "bbox": [ 106, 645, 339, 658 ], "spans": [ { "bbox": [ 106, 645, 339, 658 ], "score": 1.0, "content": "Pile. The Pile test-set (Gao et al., 2020) includes a series", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 657, 339, 669 ], "spans": [ { "bbox": [ 106, 657, 339, 669 ], "score": 1.0, "content": "of benchmarks for language modeling. On average, GLM-", "type": "text" } ], "index": 41 }, { "bbox": [ 106, 668, 339, 680 ], "spans": [ { "bbox": [ 106, 668, 339, 680 ], "score": 1.0, "content": "130B performs the best on its 18 shared test sets in terms", "type": "text" } ], "index": 42 }, { "bbox": [ 106, 679, 338, 690 ], "spans": [ { "bbox": [ 106, 679, 338, 690 ], "score": 1.0, "content": "of weighted BPB when compared to GPT-3 and Jurassic-", "type": "text" } ], "index": 43 }, { "bbox": [ 106, 689, 340, 702 ], "spans": [ { "bbox": [ 106, 689, 340, 702 ], "score": 1.0, "content": "1 (Lieber et al., 2021) whose results are directly adopted", "type": "text" } ], "index": 44 } ], "index": 42 }, { "type": "table", "bbox": [ 349, 666, 499, 699 ], "blocks": [ { "type": "table_caption", "bbox": [ 347, 643, 504, 664 ], "group_id": 1, "lines": [ { "bbox": [ 345, 642, 505, 655 ], "spans": [ { "bbox": [ 345, 642, 505, 655 ], "score": 1.0, "content": "Table 3: GLM-130B’s average BPB on", "type": "text" } ], "index": 45 }, { "bbox": [ 346, 653, 480, 665 ], "spans": [ { "bbox": [ 346, 653, 480, 665 ], "score": 1.0, "content": "Pile evaluation (18 sub-datasets).", "type": "text" } ], "index": 46 } ], "index": 45.5 }, { "type": "table_body", "bbox": [ 349, 666, 499, 699 ], "group_id": 1, "lines": [ { "bbox": [ 349, 666, 499, 699 ], "spans": [ { "bbox": [ 349, 666, 499, 699 ], "score": 0.959, "html": "
Jurassic-1 GPT-3 GLM-130B
Avg. BPB0.650 0.7420.634
", "type": "table", "image_path": "6437c700ba4036b38b14e83f6b96d2fe5938067ad83a3447f0f0c3cf8cab28fe.jpg" } ] } ], "index": 47.5, "virtual_lines": [ { "bbox": [ 349, 666, 499, 682.5 ], "spans": [], "index": 47 }, { "bbox": [ 349, 682.5, 499, 699.0 ], "spans": [], "index": 48 } ] } ], "index": 46.5 } ], "page_idx": 6, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 114, 721, 501, 732 ], "lines": [ { "bbox": [ 119, 719, 502, 734 ], "spans": [ { "bbox": [ 119, 719, 502, 734 ], "score": 1.0, "content": "1Results in OPT-175B’s paper are reported as applications to access it have not been approved for months.", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 302, 751, 309, 759 ], "lines": [ { "bbox": [ 302, 750, 309, 762 ], "spans": [ { "bbox": [ 302, 750, 309, 762 ], "score": 1.0, "content": "7", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 113, 702, 474, 713 ], "lines": [ { "bbox": [ 110, 700, 473, 714 ], "spans": [ { "bbox": [ 110, 700, 473, 714 ], "score": 1.0, "content": "rom the latter, demonstrating its strong language capability (Cf. Appendix C.4 for details).", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "table", "bbox": [ 106, 106, 502, 168 ], "blocks": [ { "type": "table_caption", "bbox": [ 107, 80, 504, 102 ], "group_id": 0, "lines": [ { "bbox": [ 106, 80, 505, 93 ], "spans": [ { "bbox": [ 106, 80, 505, 93 ], "score": 1.0, "content": "Table 2: Left: Quantized GLM-130B’s performance on several benchmarks; Right: INT4 quantized", "type": "text" } ], "index": 0 }, { "bbox": [ 106, 91, 410, 104 ], "spans": [ { "bbox": [ 106, 91, 410, 104 ], "score": 1.0, "content": "GLM-130B’s inference speed (encode and decode) with FasterTransformer.", "type": "text" } ], "index": 1 } ], "index": 0.5 }, { "type": "table_body", "bbox": [ 106, 106, 502, 168 ], "group_id": 0, "lines": [ { "bbox": [ 106, 106, 502, 168 ], "spans": [ { "bbox": [ 106, 106, 502, 168 ], "score": 0.966, "html": "
Model PrecisionGLM-130BGPT-3GPU Type128 Enc./Dec.512 Enc./Dec,
FP16INT8INT4FP168× A100 (40G)0.15s4.29s0.18s17.7s
MMLU (acc, ↑)44.7544.7144.8043.98 × V100 (32G)0.31s6.97s0.67s28.1s
LAMBADA (acc, ↑)80.2180.2179.4776.24 × RTX 3090 (24G)0.37s8.16s1.30s32.3s
Pile (a part,BPB,↓)0.6340.6380.6410.748 × RTX 2080 Ti(11G) 0.39s6.77s1.04s27.3s
", "type": "table", "image_path": "8834ad1ebf074045e06df7130c86c900bbb12336986d30c5eac182041f4e0735.jpg" } ] } ], "index": 3, "virtual_lines": [ { "bbox": [ 106, 106, 502, 126.66666666666667 ], "spans": [], "index": 2 }, { "bbox": [ 106, 126.66666666666667, 502, 147.33333333333334 ], "spans": [], "index": 3 }, { "bbox": [ 106, 147.33333333333334, 502, 168.0 ], "spans": [], "index": 4 } ] } ], "index": 1.75 }, { "type": "text", "bbox": [ 106, 176, 505, 243 ], "lines": [ { "bbox": [ 105, 176, 505, 190 ], "spans": [ { "bbox": [ 105, 176, 505, 190 ], "score": 1.0, "content": "Excitingly, we manage to reach the INT4 weight quantization for GLM-130B while existing suc-", "type": "text" } ], "index": 5 }, { "bbox": [ 106, 187, 505, 200 ], "spans": [ { "bbox": [ 106, 187, 505, 200 ], "score": 1.0, "content": "cesses have thus far only come to the INT8. Memory-wise, by comparing to INT8, the INT4 version", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 199, 505, 212 ], "spans": [ { "bbox": [ 105, 199, 505, 212 ], "score": 1.0, "content": "helps additionally save half of the required GPU memory to 70GB, thus allowing GLM-130B infer-", "type": "text" } ], "index": 7 }, { "bbox": [ 106, 209, 505, 222 ], "spans": [ { "bbox": [ 106, 209, 139, 222 ], "score": 1.0, "content": "ence on", "type": "text" }, { "bbox": [ 139, 210, 234, 221 ], "score": 0.34, "content": "4 \\times \\mathrm { R T X } 3 0 9 0 \\mathrm { T i } \\left( 2 4 \\mathrm { G } \\right)", "type": "inline_equation" }, { "bbox": [ 234, 209, 505, 222 ], "score": 1.0, "content": "or 8 × RTX 2080 Ti (11G). Performance-wise, Table 2 left indicates", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 221, 505, 234 ], "spans": [ { "bbox": [ 106, 221, 505, 234 ], "score": 1.0, "content": "that without post-training at all, the INT4-version GLM-130B experiences almost no performance", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 232, 493, 244 ], "spans": [ { "bbox": [ 106, 232, 493, 244 ], "score": 1.0, "content": "degradation, thus maintaining the performance advantages over GPT-3 on common benchmarks.", "type": "text" } ], "index": 10 } ], "index": 7.5, "bbox_fs": [ 105, 176, 505, 244 ] }, { "type": "text", "bbox": [ 106, 248, 505, 337 ], "lines": [ { "bbox": [ 106, 248, 505, 261 ], "spans": [ { "bbox": [ 106, 248, 505, 261 ], "score": 1.0, "content": "GLM’s INT4 Weight Quantization Scaling Law. We examine the underlying mechanism of this", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 260, 505, 272 ], "spans": [ { "bbox": [ 106, 260, 505, 272 ], "score": 1.0, "content": "unique INT4 weight quantization scaling law exhibited in Figure 5 right. We plot the weight value", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 270, 505, 283 ], "spans": [ { "bbox": [ 105, 270, 505, 283 ], "score": 1.0, "content": "distributions in Figure 5 left, which turns out to directly impact the quantization quality. Specifically,", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 281, 505, 294 ], "spans": [ { "bbox": [ 105, 281, 505, 294 ], "score": 1.0, "content": "a wider-distributed linear layer needs to be quantized with larger bins, leading to more precision loss.", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 293, 505, 304 ], "spans": [ { "bbox": [ 106, 293, 290, 304 ], "score": 1.0, "content": "Thus the wide-distributed attn-dense and", "type": "text" }, { "bbox": [ 290, 293, 303, 303 ], "score": 0.45, "content": "\\mathtt { w } 2", "type": "inline_equation" }, { "bbox": [ 303, 293, 505, 304 ], "score": 1.0, "content": "matrices explain the INT4 quantization failure for", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 303, 506, 315 ], "spans": [ { "bbox": [ 106, 303, 506, 315 ], "score": 1.0, "content": "GPT-style BLOOM. Conversely, GLMs tend to have much narrower distributions than those of", "type": "text" } ], "index": 16 }, { "bbox": [ 106, 315, 505, 327 ], "spans": [ { "bbox": [ 106, 315, 505, 327 ], "score": 1.0, "content": "similar-sized GPTs, and the gap between INT4 and FP16 versions keeps further decreasing as the", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 325, 375, 338 ], "spans": [ { "bbox": [ 106, 325, 375, 338 ], "score": 1.0, "content": "GLM model size scales up (Cf. Figure 15 in Appendix for details).", "type": "text" } ], "index": 18 } ], "index": 14.5, "bbox_fs": [ 105, 248, 506, 338 ] }, { "type": "title", "bbox": [ 108, 352, 198, 365 ], "lines": [ { "bbox": [ 105, 351, 199, 367 ], "spans": [ { "bbox": [ 105, 351, 199, 367 ], "score": 1.0, "content": "5 THE RESULTS", "type": "text" } ], "index": 19 } ], "index": 19 }, { "type": "text", "bbox": [ 107, 377, 504, 400 ], "lines": [ { "bbox": [ 106, 376, 505, 390 ], "spans": [ { "bbox": [ 106, 376, 505, 390 ], "score": 1.0, "content": "We follow the common settings in LLMs such as GPT-3 and PaLM to evaluate GLM-130B for", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 388, 505, 401 ], "spans": [ { "bbox": [ 106, 388, 505, 401 ], "score": 1.0, "content": "English 1. As a bilingual LLM with Chinese, GLM-130B is also evaluated on Chinese benchmarks.", "type": "text" } ], "index": 21 } ], "index": 20.5, "bbox_fs": [ 106, 376, 505, 401 ] }, { "type": "text", "bbox": [ 107, 405, 505, 471 ], "lines": [ { "bbox": [ 106, 406, 504, 417 ], "spans": [ { "bbox": [ 106, 406, 504, 417 ], "score": 1.0, "content": "Discussion on the Scope of Zero-Shot Learning in GLM-130B. Since GLM-130B has been", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 416, 506, 429 ], "spans": [ { "bbox": [ 105, 416, 506, 429 ], "score": 1.0, "content": "trained with MIP, here we clarify its scope of zero-shot evaluation. In fact, “zero-shot” seems to", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 427, 505, 440 ], "spans": [ { "bbox": [ 105, 427, 505, 440 ], "score": 1.0, "content": "have controversial interpretations without a consensus in the community. We follow one of the in-", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 437, 505, 452 ], "spans": [ { "bbox": [ 105, 437, 505, 452 ], "score": 1.0, "content": "fluential related surveys (Xian et al., 2018), which says “At test time, in zero-shot learning setting,", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 449, 506, 462 ], "spans": [ { "bbox": [ 105, 449, 506, 462 ], "score": 1.0, "content": "the aim is to assign a test image to an unseen class label” where involving unseen class labels is a", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 460, 497, 473 ], "spans": [ { "bbox": [ 105, 460, 497, 473 ], "score": 1.0, "content": "key. Therefore, we derive our criterion to pick GLM-130B’s zero-shot (and few-shot) datasets as:", "type": "text" } ], "index": 27 } ], "index": 24.5, "bbox_fs": [ 105, 406, 506, 473 ] }, { "type": "text", "bbox": [ 107, 477, 504, 523 ], "lines": [ { "bbox": [ 105, 476, 506, 491 ], "spans": [ { "bbox": [ 105, 476, 506, 491 ], "score": 1.0, "content": "• English: 1) For tasks with fixed labels (e.g., natural language inference): no datasets in such tasks", "type": "text" } ], "index": 28 }, { "bbox": [ 113, 487, 506, 501 ], "spans": [ { "bbox": [ 113, 487, 435, 501 ], "score": 1.0, "content": "should be evaluated on; 2) For tasks without fixed labels (e.g., (multiple-choice)", "type": "text" }, { "bbox": [ 436, 489, 450, 500 ], "score": 0.31, "content": "Q A", "type": "inline_equation" }, { "bbox": [ 450, 487, 506, 501 ], "score": 1.0, "content": ", topic classi-", "type": "text" } ], "index": 29 }, { "bbox": [ 112, 500, 505, 510 ], "spans": [ { "bbox": [ 112, 500, 505, 510 ], "score": 1.0, "content": "fication): only datasets with an obvious domain transfer from those in MIP should be considered.", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 511, 465, 524 ], "spans": [ { "bbox": [ 105, 511, 465, 524 ], "score": 1.0, "content": "• Chinese: All datasets can be evaluated as there exists a zero-shot cross-lingual transfer.", "type": "text" } ], "index": 31 } ], "index": 29.5, "bbox_fs": [ 105, 476, 506, 524 ] }, { "type": "text", "bbox": [ 106, 529, 505, 573 ], "lines": [ { "bbox": [ 106, 529, 505, 541 ], "spans": [ { "bbox": [ 106, 529, 505, 541 ], "score": 1.0, "content": "Filtering Test Datasets. Following prior practices (Brown et al., 2020; Rae et al., 2021) and our", "type": "text" } ], "index": 32 }, { "bbox": [ 106, 540, 505, 551 ], "spans": [ { "bbox": [ 106, 540, 505, 551 ], "score": 1.0, "content": "criterion mentioned above, we filter and refrain to report potentially contaminated datasets’ evalua-", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 551, 505, 563 ], "spans": [ { "bbox": [ 105, 551, 505, 563 ], "score": 1.0, "content": "tion results. For LAMBADA and CLUE, we find minimal overlap under the 13-gram setting. Pile,", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 561, 466, 574 ], "spans": [ { "bbox": [ 105, 561, 466, 574 ], "score": 1.0, "content": "MMLU, and BIG-bench are either held-out or released later than the crawling of corpora.", "type": "text" } ], "index": 35 } ], "index": 33.5, "bbox_fs": [ 105, 529, 505, 574 ] }, { "type": "title", "bbox": [ 108, 586, 232, 598 ], "lines": [ { "bbox": [ 106, 586, 232, 599 ], "spans": [ { "bbox": [ 106, 586, 232, 599 ], "score": 1.0, "content": "5.1 LANGUAGE MODELING", "type": "text" } ], "index": 36 } ], "index": 36 }, { "type": "text", "bbox": [ 106, 607, 504, 641 ], "lines": [ { "bbox": [ 106, 607, 505, 619 ], "spans": [ { "bbox": [ 106, 607, 505, 619 ], "score": 1.0, "content": "LAMBADA. LAMBADA (Paperno et al., 2016) is a dataset to test the last word language model-", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 618, 506, 630 ], "spans": [ { "bbox": [ 105, 618, 506, 630 ], "score": 1.0, "content": "ing capability. The results previously shown in Figure 2 suggest GLM-130B achieves a zero-shot", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 629, 462, 641 ], "spans": [ { "bbox": [ 105, 629, 462, 641 ], "score": 1.0, "content": "accuracy of 80.2 with its bidirectional attention, setting up a new record on LAMBADA.", "type": "text" } ], "index": 39 } ], "index": 38, "bbox_fs": [ 105, 607, 506, 641 ] }, { "type": "text", "bbox": [ 107, 646, 339, 712 ], "lines": [ { "bbox": [ 106, 645, 339, 658 ], "spans": [ { "bbox": [ 106, 645, 339, 658 ], "score": 1.0, "content": "Pile. The Pile test-set (Gao et al., 2020) includes a series", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 657, 339, 669 ], "spans": [ { "bbox": [ 106, 657, 339, 669 ], "score": 1.0, "content": "of benchmarks for language modeling. On average, GLM-", "type": "text" } ], "index": 41 }, { "bbox": [ 106, 668, 339, 680 ], "spans": [ { "bbox": [ 106, 668, 339, 680 ], "score": 1.0, "content": "130B performs the best on its 18 shared test sets in terms", "type": "text" } ], "index": 42 }, { "bbox": [ 106, 679, 338, 690 ], "spans": [ { "bbox": [ 106, 679, 338, 690 ], "score": 1.0, "content": "of weighted BPB when compared to GPT-3 and Jurassic-", "type": "text" } ], "index": 43 }, { "bbox": [ 106, 689, 340, 702 ], "spans": [ { "bbox": [ 106, 689, 340, 702 ], "score": 1.0, "content": "1 (Lieber et al., 2021) whose results are directly adopted", "type": "text" } ], "index": 44 } ], "index": 42, "bbox_fs": [ 106, 645, 340, 702 ] }, { "type": "table", "bbox": [ 349, 666, 499, 699 ], "blocks": [ { "type": "table_caption", "bbox": [ 347, 643, 504, 664 ], "group_id": 1, "lines": [ { "bbox": [ 345, 642, 505, 655 ], "spans": [ { "bbox": [ 345, 642, 505, 655 ], "score": 1.0, "content": "Table 3: GLM-130B’s average BPB on", "type": "text" } ], "index": 45 }, { "bbox": [ 346, 653, 480, 665 ], "spans": [ { "bbox": [ 346, 653, 480, 665 ], "score": 1.0, "content": "Pile evaluation (18 sub-datasets).", "type": "text" } ], "index": 46 } ], "index": 45.5 }, { "type": "table_body", "bbox": [ 349, 666, 499, 699 ], "group_id": 1, "lines": [ { "bbox": [ 349, 666, 499, 699 ], "spans": [ { "bbox": [ 349, 666, 499, 699 ], "score": 0.959, "html": "
Jurassic-1 GPT-3 GLM-130B
Avg. BPB0.650 0.7420.634
", "type": "table", "image_path": "6437c700ba4036b38b14e83f6b96d2fe5938067ad83a3447f0f0c3cf8cab28fe.jpg" } ] } ], "index": 47.5, "virtual_lines": [ { "bbox": [ 349, 666, 499, 682.5 ], "spans": [], "index": 47 }, { "bbox": [ 349, 682.5, 499, 699.0 ], "spans": [], "index": 48 } ] } ], "index": 46.5 } ] }, { "preproc_blocks": [ { "type": "table", "bbox": [ 390, 80, 501, 177 ], "blocks": [ { "type": "table_body", "bbox": [ 390, 80, 501, 177 ], "group_id": 0, "lines": [ { "bbox": [ 390, 80, 501, 177 ], "spans": [ { "bbox": [ 390, 80, 501, 177 ], "score": 0.846, "html": "
O-shot 1-shot 3-shot
GPT-3 2.6B 0.600.71 1.83
GPT-3 6.7B -0.062.93 5.40
GPT-3 13B 1.775.43 7.95
GPT-3 175B 4.3511.34 13.18
PaLM540B 8.0537.77 -
GLM-130B 13.3114.91 15.12
", "type": "table", "image_path": "f6af3e3328a015002125f16e6ee9f536b782597efba077c914ae6e70d0aa3a2d.jpg" } ] } ], "index": 3.5, "virtual_lines": [ { "bbox": [ 390, 80, 501, 128.5 ], "spans": [], "index": 2 }, { "bbox": [ 390, 128.5, 501, 177.0 ], "spans": [], "index": 5 } ] } ], "index": 3.5 }, { "type": "image", "bbox": [ 105, 80, 238, 184 ], "blocks": [ { "type": "image_body", "bbox": [ 105, 80, 238, 184 ], "group_id": 0, "lines": [ { "bbox": [ 105, 80, 238, 184 ], "spans": [ { "bbox": [ 105, 80, 238, 184 ], "score": 0.963, "type": "image", "image_path": "bc768f0500dbcbce18ed7d112cb5264715b388e301cc64dbb2e37b835ba3e30d.jpg" } ] } ], "index": 1.5, "virtual_lines": [ { "bbox": [ 105, 80, 238, 132.0 ], "spans": [], "index": 0 }, { "bbox": [ 105, 132.0, 238, 184.0 ], "spans": [], "index": 3 } ] }, { "type": "image_caption", "bbox": [ 107, 191, 239, 214 ], "group_id": 0, "lines": [ { "bbox": [ 106, 191, 239, 202 ], "spans": [ { "bbox": [ 106, 191, 239, 202 ], "score": 1.0, "content": "Figure 6: GLM-130B on MMLU", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 201, 231, 215 ], "spans": [ { "bbox": [ 106, 201, 231, 215 ], "score": 1.0, "content": "(57 tasks) along training steps.", "type": "text" } ], "index": 8 } ], "index": 7.0 } ], "index": 4.25 }, { "type": "image", "bbox": [ 252, 80, 385, 183 ], "blocks": [ { "type": "image_body", "bbox": [ 252, 80, 385, 183 ], "group_id": 1, "lines": [ { "bbox": [ 252, 80, 385, 183 ], "spans": [ { "bbox": [ 252, 80, 385, 183 ], "score": 0.955, "type": "image", "image_path": "4e9e6dbb3574da88d111b6e7da6c681aed8234ee747f2191e2f3ec553ffce069.jpg" } ] } ], "index": 2.5, "virtual_lines": [ { "bbox": [ 252, 80, 385, 131.5 ], "spans": [], "index": 1 }, { "bbox": [ 252, 131.5, 385, 183.0 ], "spans": [], "index": 4 } ] }, { "type": "image_caption", "bbox": [ 251, 189, 498, 212 ], "group_id": 1, "lines": [ { "bbox": [ 251, 189, 498, 201 ], "spans": [ { "bbox": [ 251, 189, 498, 201 ], "score": 1.0, "content": "Figure 7: BIG-bench-lite evalua- Table 4: Details on BIG-", "type": "text" } ], "index": 7 }, { "bbox": [ 251, 200, 475, 212 ], "spans": [ { "bbox": [ 251, 200, 367, 212 ], "score": 1.0, "content": "tion (24 tasks) across scales.", "type": "text" }, { "bbox": [ 389, 200, 475, 212 ], "score": 1.0, "content": "bench-lite (24 tasks).", "type": "text" } ], "index": 9 } ], "index": 8.0 } ], "index": 5.25 }, { "type": "title", "bbox": [ 108, 220, 397, 231 ], "lines": [ { "bbox": [ 104, 218, 399, 234 ], "spans": [ { "bbox": [ 104, 218, 399, 234 ], "score": 1.0, "content": "5.2 MASSIVE MULTITASK LANGUAGE UNDERSTANDING (MMLU)", "type": "text" } ], "index": 10 } ], "index": 10 }, { "type": "text", "bbox": [ 107, 241, 504, 297 ], "lines": [ { "bbox": [ 106, 241, 505, 253 ], "spans": [ { "bbox": [ 106, 241, 505, 253 ], "score": 1.0, "content": "MMLU (Hendrycks et al., 2021) is a diverse benchmark including 57 multi-choice question an-", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 252, 506, 264 ], "spans": [ { "bbox": [ 105, 252, 506, 264 ], "score": 1.0, "content": "swering tasks concerning human knowledge ranging from high-school-level to expert-level. It is", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 263, 506, 276 ], "spans": [ { "bbox": [ 105, 263, 506, 276 ], "score": 1.0, "content": "released after the crawling of Pile and serves as an ideal test-bed for LLMs’ few-shot learning. The", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 272, 506, 288 ], "spans": [ { "bbox": [ 105, 272, 506, 288 ], "score": 1.0, "content": "GPT-3 result is adopted from MMLU and BLOOM-176B is tested by using the same prompts as", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 285, 342, 297 ], "spans": [ { "bbox": [ 106, 285, 342, 297 ], "score": 1.0, "content": "GLM-130B’s (Cf. Appendix C.6 and Table 15 for details).", "type": "text" } ], "index": 15 } ], "index": 13 }, { "type": "text", "bbox": [ 107, 302, 504, 346 ], "lines": [ { "bbox": [ 105, 300, 506, 315 ], "spans": [ { "bbox": [ 105, 300, 506, 315 ], "score": 1.0, "content": "GLM-130B’s few-shot (5-shot) performance on MMLU approaches GPT-3 (43.9) after viewing", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 313, 505, 325 ], "spans": [ { "bbox": [ 105, 313, 505, 325 ], "score": 1.0, "content": "about 300B tokens in Figure 6. It continues moving up as the training proceeds, achieving an", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 324, 505, 336 ], "spans": [ { "bbox": [ 105, 324, 505, 336 ], "score": 1.0, "content": "accuracy of 44.8 when the training has to end (i.e., viewing 400B tokens in total). This aligns with", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 335, 495, 347 ], "spans": [ { "bbox": [ 105, 335, 495, 347 ], "score": 1.0, "content": "the observation (Hoffmann et al., 2022) that most existing LLMs are far from adequately trained.", "type": "text" } ], "index": 19 } ], "index": 17.5 }, { "type": "title", "bbox": [ 107, 360, 387, 372 ], "lines": [ { "bbox": [ 105, 359, 388, 374 ], "spans": [ { "bbox": [ 105, 359, 388, 374 ], "score": 1.0, "content": "5.3 BEYOND THE IMITATION GAME BENCHMARK (BIG-BENCH)", "type": "text" } ], "index": 20 } ], "index": 20 }, { "type": "text", "bbox": [ 106, 381, 505, 470 ], "lines": [ { "bbox": [ 105, 381, 505, 394 ], "spans": [ { "bbox": [ 105, 381, 505, 394 ], "score": 1.0, "content": "BIG-bench (Srivastava et al., 2022) benchmarks challenging tasks concerning models’ ability on", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 392, 505, 404 ], "spans": [ { "bbox": [ 105, 392, 505, 404 ], "score": 1.0, "content": "reasoning, knowledge, and commonsense. Given evaluating on its 150 tasks is time-consuming for", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 403, 505, 415 ], "spans": [ { "bbox": [ 106, 403, 505, 415 ], "score": 1.0, "content": "LLMs, we report the BIG-bench-lite—an official 24-task sub-collection—for now. Observed from", "type": "text" } ], "index": 23 }, { "bbox": [ 106, 415, 505, 427 ], "spans": [ { "bbox": [ 106, 415, 449, 427 ], "score": 1.0, "content": "Figure 7 and Table 4, GLM-130B outperforms GPT-3 175B and even PaLM 540B", "type": "text" }, { "bbox": [ 449, 415, 464, 426 ], "score": 0.83, "content": "4 \\times", "type": "inline_equation" }, { "bbox": [ 464, 415, 505, 427 ], "score": 1.0, "content": "larger) in", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 426, 505, 437 ], "spans": [ { "bbox": [ 105, 426, 505, 437 ], "score": 1.0, "content": "zero-shot setting. This is probably owing to GLM-130B’s bidirectional context attention and MIP,", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 437, 505, 449 ], "spans": [ { "bbox": [ 106, 437, 505, 449 ], "score": 1.0, "content": "which has been proved to improve zero-shot results in unseen tasks (Wei et al., 2022a; Sanh et al.,", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 447, 505, 460 ], "spans": [ { "bbox": [ 105, 447, 505, 460 ], "score": 1.0, "content": "2022). As the number of shots increases, GLM-130B’s performance keeps going up, maintaining its", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 458, 496, 470 ], "spans": [ { "bbox": [ 105, 458, 496, 470 ], "score": 1.0, "content": "outperformance over GPT-3 (Cf. Appendix C.5 and Table 14 for details on each model and task).", "type": "text" } ], "index": 28 } ], "index": 24.5 }, { "type": "text", "bbox": [ 107, 475, 505, 508 ], "lines": [ { "bbox": [ 105, 475, 505, 488 ], "spans": [ { "bbox": [ 105, 475, 505, 488 ], "score": 1.0, "content": "Limitations and Discussions. In the experiments above, we observe that GLM-130B’s performance", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 487, 505, 498 ], "spans": [ { "bbox": [ 105, 487, 505, 498 ], "score": 1.0, "content": "growth (13.31 to 15.12) with the increase of few-shot samples is not as significant as GPT-3’s (4.35", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 498, 390, 510 ], "spans": [ { "bbox": [ 105, 498, 390, 510 ], "score": 1.0, "content": "to 13.18). Here is our intuitive attempt to understand the phenomenon.", "type": "text" } ], "index": 31 } ], "index": 30 }, { "type": "text", "bbox": [ 107, 514, 505, 602 ], "lines": [ { "bbox": [ 105, 513, 505, 526 ], "spans": [ { "bbox": [ 105, 513, 505, 526 ], "score": 1.0, "content": "First, the bidirectional nature of GLM-130B could lead to strong zero-shot performance (as is indi-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 525, 505, 538 ], "spans": [ { "bbox": [ 105, 525, 505, 538 ], "score": 1.0, "content": "cated in zero-shot language modeling), thus getting closer to the few-shot “upper-bound” for models", "type": "text" } ], "index": 33 }, { "bbox": [ 106, 537, 505, 547 ], "spans": [ { "bbox": [ 106, 537, 505, 547 ], "score": 1.0, "content": "of similar scale (i.e., 100B-scale) than unidirectional LLMs. Second, it may be also attributed to a", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 547, 506, 559 ], "spans": [ { "bbox": [ 105, 547, 506, 559 ], "score": 1.0, "content": "deficit of existing MIP paradigms (Wei et al., 2022a; Sanh et al., 2022), which only involve zero-shot", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 558, 506, 571 ], "spans": [ { "bbox": [ 105, 558, 506, 571 ], "score": 1.0, "content": "prediction in the training and will be likely to bias GLM-130B for stronger zero-shot learning but", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 569, 505, 581 ], "spans": [ { "bbox": [ 105, 569, 505, 581 ], "score": 1.0, "content": "relatively weaker in-context few-shot performance. To correct the bias, a potential solution we came", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 580, 506, 592 ], "spans": [ { "bbox": [ 105, 580, 506, 592 ], "score": 1.0, "content": "up with would be to employ MIP with varied shots of in-context samples rather than only zero-shot", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 591, 144, 604 ], "spans": [ { "bbox": [ 105, 591, 144, 604 ], "score": 1.0, "content": "samples.", "type": "text" } ], "index": 39 } ], "index": 35.5 }, { "type": "text", "bbox": [ 107, 608, 505, 663 ], "lines": [ { "bbox": [ 106, 608, 505, 620 ], "spans": [ { "bbox": [ 106, 608, 505, 620 ], "score": 1.0, "content": "Finally, despite almost the same GPT architecture as GPT-3, PaLM 540B’s relative growth with few-", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 619, 505, 631 ], "spans": [ { "bbox": [ 106, 619, 505, 631 ], "score": 1.0, "content": "shot in-context learning is substantially more significant than GPT-3’s. We conjecture this further", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 630, 505, 642 ], "spans": [ { "bbox": [ 105, 630, 505, 642 ], "score": 1.0, "content": "acceleration in performance growth is a source of PaLM’s high-quality and diverse private-collected", "type": "text" } ], "index": 42 }, { "bbox": [ 105, 640, 506, 654 ], "spans": [ { "bbox": [ 105, 640, 506, 654 ], "score": 1.0, "content": "training corpora. By combining our experiences with (Hoffmann et al., 2022)’s insights, we came to", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 652, 495, 664 ], "spans": [ { "bbox": [ 105, 652, 495, 664 ], "score": 1.0, "content": "realize that better architectures, better data, and more training FLOPS should be further invested.", "type": "text" } ], "index": 44 } ], "index": 42 }, { "type": "title", "bbox": [ 107, 677, 396, 689 ], "lines": [ { "bbox": [ 105, 676, 396, 691 ], "spans": [ { "bbox": [ 105, 676, 396, 691 ], "score": 1.0, "content": "5.4 CHINESE LANGUAGE UNDERSTANDING EVALUATION (CLUE)", "type": "text" } ], "index": 45 } ], "index": 45 }, { "type": "text", "bbox": [ 108, 699, 505, 732 ], "lines": [ { "bbox": [ 105, 697, 506, 711 ], "spans": [ { "bbox": [ 105, 697, 506, 711 ], "score": 1.0, "content": "We evaluate GLM-130B’s Chinese zero-shot performance on established Chinese NLP benchmarks,", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 709, 505, 722 ], "spans": [ { "bbox": [ 105, 709, 272, 722 ], "score": 1.0, "content": "CLUE (Xu et al., 2020) and FewCLUE (", "type": "text" }, { "bbox": [ 272, 710, 285, 720 ], "score": 0.29, "content": "\\mathrm { \\Delta X u }", "type": "inline_equation" }, { "bbox": [ 286, 709, 505, 722 ], "score": 1.0, "content": "et al., 2021).Note that we do not include any Chinese", "type": "text" } ], "index": 47 }, { "bbox": [ 106, 720, 505, 733 ], "spans": [ { "bbox": [ 106, 720, 505, 733 ], "score": 1.0, "content": "downstream tasks in MIP. To date, we have finished testing on part of the two benchmarks, including", "type": "text" } ], "index": 48 } ], "index": 47 } ], "page_idx": 7, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 302, 752, 308, 759 ], "lines": [ { "bbox": [ 302, 750, 309, 761 ], "spans": [ { "bbox": [ 302, 750, 309, 761 ], "score": 1.0, "content": "8", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "table", "bbox": [ 390, 80, 501, 177 ], "blocks": [ { "type": "table_body", "bbox": [ 390, 80, 501, 177 ], "group_id": 0, "lines": [ { "bbox": [ 390, 80, 501, 177 ], "spans": [ { "bbox": [ 390, 80, 501, 177 ], "score": 0.846, "html": "
O-shot 1-shot 3-shot
GPT-3 2.6B 0.600.71 1.83
GPT-3 6.7B -0.062.93 5.40
GPT-3 13B 1.775.43 7.95
GPT-3 175B 4.3511.34 13.18
PaLM540B 8.0537.77 -
GLM-130B 13.3114.91 15.12
", "type": "table", "image_path": "f6af3e3328a015002125f16e6ee9f536b782597efba077c914ae6e70d0aa3a2d.jpg" } ] } ], "index": 3.5, "virtual_lines": [ { "bbox": [ 390, 80, 501, 128.5 ], "spans": [], "index": 2 }, { "bbox": [ 390, 128.5, 501, 177.0 ], "spans": [], "index": 5 } ] } ], "index": 3.5 }, { "type": "image", "bbox": [ 105, 80, 238, 184 ], "blocks": [ { "type": "image_body", "bbox": [ 105, 80, 238, 184 ], "group_id": 0, "lines": [ { "bbox": [ 105, 80, 238, 184 ], "spans": [ { "bbox": [ 105, 80, 238, 184 ], "score": 0.963, "type": "image", "image_path": "bc768f0500dbcbce18ed7d112cb5264715b388e301cc64dbb2e37b835ba3e30d.jpg" } ] } ], "index": 1.5, "virtual_lines": [ { "bbox": [ 105, 80, 238, 132.0 ], "spans": [], "index": 0 }, { "bbox": [ 105, 132.0, 238, 184.0 ], "spans": [], "index": 3 } ] }, { "type": "image_caption", "bbox": [ 107, 191, 239, 214 ], "group_id": 0, "lines": [ { "bbox": [ 106, 191, 239, 202 ], "spans": [ { "bbox": [ 106, 191, 239, 202 ], "score": 1.0, "content": "Figure 6: GLM-130B on MMLU", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 201, 231, 215 ], "spans": [ { "bbox": [ 106, 201, 231, 215 ], "score": 1.0, "content": "(57 tasks) along training steps.", "type": "text" } ], "index": 8 } ], "index": 7.0 } ], "index": 4.25 }, { "type": "image", "bbox": [ 252, 80, 385, 183 ], "blocks": [ { "type": "image_body", "bbox": [ 252, 80, 385, 183 ], "group_id": 1, "lines": [ { "bbox": [ 252, 80, 385, 183 ], "spans": [ { "bbox": [ 252, 80, 385, 183 ], "score": 0.955, "type": "image", "image_path": "4e9e6dbb3574da88d111b6e7da6c681aed8234ee747f2191e2f3ec553ffce069.jpg" } ] } ], "index": 2.5, "virtual_lines": [ { "bbox": [ 252, 80, 385, 131.5 ], "spans": [], "index": 1 }, { "bbox": [ 252, 131.5, 385, 183.0 ], "spans": [], "index": 4 } ] }, { "type": "image_caption", "bbox": [ 251, 189, 498, 212 ], "group_id": 1, "lines": [ { "bbox": [ 251, 189, 498, 201 ], "spans": [ { "bbox": [ 251, 189, 498, 201 ], "score": 1.0, "content": "Figure 7: BIG-bench-lite evalua- Table 4: Details on BIG-", "type": "text" } ], "index": 7 }, { "bbox": [ 251, 200, 475, 212 ], "spans": [ { "bbox": [ 251, 200, 367, 212 ], "score": 1.0, "content": "tion (24 tasks) across scales.", "type": "text" }, { "bbox": [ 389, 200, 475, 212 ], "score": 1.0, "content": "bench-lite (24 tasks).", "type": "text" } ], "index": 9 } ], "index": 8.0 } ], "index": 5.25 }, { "type": "title", "bbox": [ 108, 220, 397, 231 ], "lines": [ { "bbox": [ 104, 218, 399, 234 ], "spans": [ { "bbox": [ 104, 218, 399, 234 ], "score": 1.0, "content": "5.2 MASSIVE MULTITASK LANGUAGE UNDERSTANDING (MMLU)", "type": "text" } ], "index": 10 } ], "index": 10 }, { "type": "text", "bbox": [ 107, 241, 504, 297 ], "lines": [ { "bbox": [ 106, 241, 505, 253 ], "spans": [ { "bbox": [ 106, 241, 505, 253 ], "score": 1.0, "content": "MMLU (Hendrycks et al., 2021) is a diverse benchmark including 57 multi-choice question an-", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 252, 506, 264 ], "spans": [ { "bbox": [ 105, 252, 506, 264 ], "score": 1.0, "content": "swering tasks concerning human knowledge ranging from high-school-level to expert-level. It is", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 263, 506, 276 ], "spans": [ { "bbox": [ 105, 263, 506, 276 ], "score": 1.0, "content": "released after the crawling of Pile and serves as an ideal test-bed for LLMs’ few-shot learning. The", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 272, 506, 288 ], "spans": [ { "bbox": [ 105, 272, 506, 288 ], "score": 1.0, "content": "GPT-3 result is adopted from MMLU and BLOOM-176B is tested by using the same prompts as", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 285, 342, 297 ], "spans": [ { "bbox": [ 106, 285, 342, 297 ], "score": 1.0, "content": "GLM-130B’s (Cf. Appendix C.6 and Table 15 for details).", "type": "text" } ], "index": 15 } ], "index": 13, "bbox_fs": [ 105, 241, 506, 297 ] }, { "type": "text", "bbox": [ 107, 302, 504, 346 ], "lines": [ { "bbox": [ 105, 300, 506, 315 ], "spans": [ { "bbox": [ 105, 300, 506, 315 ], "score": 1.0, "content": "GLM-130B’s few-shot (5-shot) performance on MMLU approaches GPT-3 (43.9) after viewing", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 313, 505, 325 ], "spans": [ { "bbox": [ 105, 313, 505, 325 ], "score": 1.0, "content": "about 300B tokens in Figure 6. It continues moving up as the training proceeds, achieving an", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 324, 505, 336 ], "spans": [ { "bbox": [ 105, 324, 505, 336 ], "score": 1.0, "content": "accuracy of 44.8 when the training has to end (i.e., viewing 400B tokens in total). This aligns with", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 335, 495, 347 ], "spans": [ { "bbox": [ 105, 335, 495, 347 ], "score": 1.0, "content": "the observation (Hoffmann et al., 2022) that most existing LLMs are far from adequately trained.", "type": "text" } ], "index": 19 } ], "index": 17.5, "bbox_fs": [ 105, 300, 506, 347 ] }, { "type": "title", "bbox": [ 107, 360, 387, 372 ], "lines": [ { "bbox": [ 105, 359, 388, 374 ], "spans": [ { "bbox": [ 105, 359, 388, 374 ], "score": 1.0, "content": "5.3 BEYOND THE IMITATION GAME BENCHMARK (BIG-BENCH)", "type": "text" } ], "index": 20 } ], "index": 20 }, { "type": "text", "bbox": [ 106, 381, 505, 470 ], "lines": [ { "bbox": [ 105, 381, 505, 394 ], "spans": [ { "bbox": [ 105, 381, 505, 394 ], "score": 1.0, "content": "BIG-bench (Srivastava et al., 2022) benchmarks challenging tasks concerning models’ ability on", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 392, 505, 404 ], "spans": [ { "bbox": [ 105, 392, 505, 404 ], "score": 1.0, "content": "reasoning, knowledge, and commonsense. Given evaluating on its 150 tasks is time-consuming for", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 403, 505, 415 ], "spans": [ { "bbox": [ 106, 403, 505, 415 ], "score": 1.0, "content": "LLMs, we report the BIG-bench-lite—an official 24-task sub-collection—for now. Observed from", "type": "text" } ], "index": 23 }, { "bbox": [ 106, 415, 505, 427 ], "spans": [ { "bbox": [ 106, 415, 449, 427 ], "score": 1.0, "content": "Figure 7 and Table 4, GLM-130B outperforms GPT-3 175B and even PaLM 540B", "type": "text" }, { "bbox": [ 449, 415, 464, 426 ], "score": 0.83, "content": "4 \\times", "type": "inline_equation" }, { "bbox": [ 464, 415, 505, 427 ], "score": 1.0, "content": "larger) in", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 426, 505, 437 ], "spans": [ { "bbox": [ 105, 426, 505, 437 ], "score": 1.0, "content": "zero-shot setting. This is probably owing to GLM-130B’s bidirectional context attention and MIP,", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 437, 505, 449 ], "spans": [ { "bbox": [ 106, 437, 505, 449 ], "score": 1.0, "content": "which has been proved to improve zero-shot results in unseen tasks (Wei et al., 2022a; Sanh et al.,", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 447, 505, 460 ], "spans": [ { "bbox": [ 105, 447, 505, 460 ], "score": 1.0, "content": "2022). As the number of shots increases, GLM-130B’s performance keeps going up, maintaining its", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 458, 496, 470 ], "spans": [ { "bbox": [ 105, 458, 496, 470 ], "score": 1.0, "content": "outperformance over GPT-3 (Cf. Appendix C.5 and Table 14 for details on each model and task).", "type": "text" } ], "index": 28 } ], "index": 24.5, "bbox_fs": [ 105, 381, 505, 470 ] }, { "type": "text", "bbox": [ 107, 475, 505, 508 ], "lines": [ { "bbox": [ 105, 475, 505, 488 ], "spans": [ { "bbox": [ 105, 475, 505, 488 ], "score": 1.0, "content": "Limitations and Discussions. In the experiments above, we observe that GLM-130B’s performance", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 487, 505, 498 ], "spans": [ { "bbox": [ 105, 487, 505, 498 ], "score": 1.0, "content": "growth (13.31 to 15.12) with the increase of few-shot samples is not as significant as GPT-3’s (4.35", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 498, 390, 510 ], "spans": [ { "bbox": [ 105, 498, 390, 510 ], "score": 1.0, "content": "to 13.18). Here is our intuitive attempt to understand the phenomenon.", "type": "text" } ], "index": 31 } ], "index": 30, "bbox_fs": [ 105, 475, 505, 510 ] }, { "type": "text", "bbox": [ 107, 514, 505, 602 ], "lines": [ { "bbox": [ 105, 513, 505, 526 ], "spans": [ { "bbox": [ 105, 513, 505, 526 ], "score": 1.0, "content": "First, the bidirectional nature of GLM-130B could lead to strong zero-shot performance (as is indi-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 525, 505, 538 ], "spans": [ { "bbox": [ 105, 525, 505, 538 ], "score": 1.0, "content": "cated in zero-shot language modeling), thus getting closer to the few-shot “upper-bound” for models", "type": "text" } ], "index": 33 }, { "bbox": [ 106, 537, 505, 547 ], "spans": [ { "bbox": [ 106, 537, 505, 547 ], "score": 1.0, "content": "of similar scale (i.e., 100B-scale) than unidirectional LLMs. Second, it may be also attributed to a", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 547, 506, 559 ], "spans": [ { "bbox": [ 105, 547, 506, 559 ], "score": 1.0, "content": "deficit of existing MIP paradigms (Wei et al., 2022a; Sanh et al., 2022), which only involve zero-shot", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 558, 506, 571 ], "spans": [ { "bbox": [ 105, 558, 506, 571 ], "score": 1.0, "content": "prediction in the training and will be likely to bias GLM-130B for stronger zero-shot learning but", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 569, 505, 581 ], "spans": [ { "bbox": [ 105, 569, 505, 581 ], "score": 1.0, "content": "relatively weaker in-context few-shot performance. To correct the bias, a potential solution we came", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 580, 506, 592 ], "spans": [ { "bbox": [ 105, 580, 506, 592 ], "score": 1.0, "content": "up with would be to employ MIP with varied shots of in-context samples rather than only zero-shot", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 591, 144, 604 ], "spans": [ { "bbox": [ 105, 591, 144, 604 ], "score": 1.0, "content": "samples.", "type": "text" } ], "index": 39 } ], "index": 35.5, "bbox_fs": [ 105, 513, 506, 604 ] }, { "type": "text", "bbox": [ 107, 608, 505, 663 ], "lines": [ { "bbox": [ 106, 608, 505, 620 ], "spans": [ { "bbox": [ 106, 608, 505, 620 ], "score": 1.0, "content": "Finally, despite almost the same GPT architecture as GPT-3, PaLM 540B’s relative growth with few-", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 619, 505, 631 ], "spans": [ { "bbox": [ 106, 619, 505, 631 ], "score": 1.0, "content": "shot in-context learning is substantially more significant than GPT-3’s. We conjecture this further", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 630, 505, 642 ], "spans": [ { "bbox": [ 105, 630, 505, 642 ], "score": 1.0, "content": "acceleration in performance growth is a source of PaLM’s high-quality and diverse private-collected", "type": "text" } ], "index": 42 }, { "bbox": [ 105, 640, 506, 654 ], "spans": [ { "bbox": [ 105, 640, 506, 654 ], "score": 1.0, "content": "training corpora. By combining our experiences with (Hoffmann et al., 2022)’s insights, we came to", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 652, 495, 664 ], "spans": [ { "bbox": [ 105, 652, 495, 664 ], "score": 1.0, "content": "realize that better architectures, better data, and more training FLOPS should be further invested.", "type": "text" } ], "index": 44 } ], "index": 42, "bbox_fs": [ 105, 608, 506, 664 ] }, { "type": "title", "bbox": [ 107, 677, 396, 689 ], "lines": [ { "bbox": [ 105, 676, 396, 691 ], "spans": [ { "bbox": [ 105, 676, 396, 691 ], "score": 1.0, "content": "5.4 CHINESE LANGUAGE UNDERSTANDING EVALUATION (CLUE)", "type": "text" } ], "index": 45 } ], "index": 45 }, { "type": "text", "bbox": [ 108, 699, 505, 732 ], "lines": [ { "bbox": [ 105, 697, 506, 711 ], "spans": [ { "bbox": [ 105, 697, 506, 711 ], "score": 1.0, "content": "We evaluate GLM-130B’s Chinese zero-shot performance on established Chinese NLP benchmarks,", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 709, 505, 722 ], "spans": [ { "bbox": [ 105, 709, 272, 722 ], "score": 1.0, "content": "CLUE (Xu et al., 2020) and FewCLUE (", "type": "text" }, { "bbox": [ 272, 710, 285, 720 ], "score": 0.29, "content": "\\mathrm { \\Delta X u }", "type": "inline_equation" }, { "bbox": [ 286, 709, 505, 722 ], "score": 1.0, "content": "et al., 2021).Note that we do not include any Chinese", "type": "text" } ], "index": 47 }, { "bbox": [ 106, 720, 505, 733 ], "spans": [ { "bbox": [ 106, 720, 505, 733 ], "score": 1.0, "content": "downstream tasks in MIP. To date, we have finished testing on part of the two benchmarks, including", "type": "text" } ], "index": 48 } ], "index": 47, "bbox_fs": [ 105, 697, 506, 733 ] } ] }, { "preproc_blocks": [ { "type": "image", "bbox": [ 106, 78, 502, 138 ], "blocks": [ { "type": "image_body", "bbox": [ 106, 78, 502, 138 ], "group_id": 0, "lines": [ { "bbox": [ 106, 78, 502, 138 ], "spans": [ { "bbox": [ 106, 78, 502, 138 ], "score": 0.95, "type": "image", "image_path": "cf741e7d068482c8c779765e1751682f1682af62a7dee0e1d2c918bcee48744a.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 106, 78, 502, 98.0 ], "spans": [], "index": 0 }, { "bbox": [ 106, 98.0, 502, 118.0 ], "spans": [], "index": 1 }, { "bbox": [ 106, 118.0, 502, 138.0 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 110, 140, 500, 152 ], "group_id": 0, "lines": [ { "bbox": [ 111, 139, 499, 153 ], "spans": [ { "bbox": [ 111, 139, 499, 153 ], "score": 1.0, "content": "Figure 8: GLM-130B and ERNIE Titan 3.0 260B evaluated on zero-shot CLUE and FewCLUE.", "type": "text" } ], "index": 3 } ], "index": 3 } ], "index": 2.0 }, { "type": "text", "bbox": [ 106, 168, 505, 235 ], "lines": [ { "bbox": [ 105, 169, 505, 182 ], "spans": [ { "bbox": [ 105, 169, 505, 182 ], "score": 1.0, "content": "7 CLUE and 5 FewCLUE datasets (Cf. Appendix C.7 for details). We compare GLM-130B to the", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 180, 505, 192 ], "spans": [ { "bbox": [ 105, 180, 505, 192 ], "score": 1.0, "content": "largest existing Chinese monolingual language model—the 260B ERNIE Titan 3.0 (Wang et al.,", "type": "text" } ], "index": 5 }, { "bbox": [ 104, 190, 505, 204 ], "spans": [ { "bbox": [ 104, 190, 505, 204 ], "score": 1.0, "content": "2021). We follow its setting to report zero-shot results on dev datasets. GLM-130B consistently", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 202, 506, 214 ], "spans": [ { "bbox": [ 105, 202, 506, 214 ], "score": 1.0, "content": "outperforms ERNIE Titan 3.0 across 12 tasks (Cf. Figure 8). Interestingly, GLM-130B performs at", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 212, 505, 226 ], "spans": [ { "bbox": [ 105, 212, 127, 226 ], "score": 1.0, "content": "least", "type": "text" }, { "bbox": [ 127, 213, 152, 223 ], "score": 0.86, "content": "260 \\%", "type": "inline_equation" }, { "bbox": [ 152, 212, 505, 226 ], "score": 1.0, "content": "better than ERNIE on two abstractive MRC datasets (DRCD and CMRC2018), possibly", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 225, 484, 236 ], "spans": [ { "bbox": [ 106, 225, 484, 236 ], "score": 1.0, "content": "due to GLM-130B’s pre-training objective that naturally resonates to abstractive MRC’s form.", "type": "text" } ], "index": 9 } ], "index": 6.5 }, { "type": "title", "bbox": [ 108, 258, 210, 271 ], "lines": [ { "bbox": [ 105, 257, 213, 273 ], "spans": [ { "bbox": [ 105, 257, 213, 273 ], "score": 1.0, "content": "6 RELATED WORK", "type": "text" } ], "index": 10 } ], "index": 10 }, { "type": "text", "bbox": [ 107, 288, 504, 310 ], "lines": [ { "bbox": [ 105, 287, 506, 301 ], "spans": [ { "bbox": [ 105, 287, 506, 301 ], "score": 1.0, "content": "In this section, we review related work to GLM-130B on topics of pre-training, transferring, and", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 298, 404, 311 ], "spans": [ { "bbox": [ 106, 298, 404, 311 ], "score": 1.0, "content": "inference of pre-trained LLMs (Qiu et al., 2020; Bommasani et al., 2021).", "type": "text" } ], "index": 12 } ], "index": 11.5 }, { "type": "text", "bbox": [ 107, 315, 505, 437 ], "lines": [ { "bbox": [ 105, 313, 505, 330 ], "spans": [ { "bbox": [ 105, 313, 505, 330 ], "score": 1.0, "content": "Pre-Training. Vanilla language modeling refers to decoder-only autoregressive models (e.g.,", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 326, 505, 339 ], "spans": [ { "bbox": [ 106, 326, 505, 339 ], "score": 1.0, "content": "GPT (Radford et al., 2018)), but it also recognizes any forms of self-supervised objectives on texts.", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 336, 505, 350 ], "spans": [ { "bbox": [ 105, 336, 505, 350 ], "score": 1.0, "content": "Recently, transformer-based (Vaswani et al., 2017) language models present a fascinating scaling", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 348, 505, 361 ], "spans": [ { "bbox": [ 105, 348, 505, 361 ], "score": 1.0, "content": "law: new abilities (Wei et al., 2022b) arise as models scale up, from 1.5B (Radford et al., 2019),", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 358, 505, 372 ], "spans": [ { "bbox": [ 105, 358, 505, 372 ], "score": 1.0, "content": "10B-scale language models (Raffel et al., 2020; Shoeybi et al., 2019; Black et al., 2022), to 100B-", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 370, 505, 383 ], "spans": [ { "bbox": [ 105, 370, 505, 383 ], "score": 1.0, "content": "scale GPT-3 (Brown et al., 2020). Later, despite many 100B-scale LLMs (Lieber et al., 2021; Thop-", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 380, 505, 394 ], "spans": [ { "bbox": [ 105, 380, 505, 394 ], "score": 1.0, "content": "pilan et al., 2022; Rae et al., 2021; Smith et al., 2022; Chowdhery et al., 2022; Wu et al., 2021; Zeng", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 392, 505, 405 ], "spans": [ { "bbox": [ 106, 392, 505, 405 ], "score": 1.0, "content": "et al., 2021; Wang et al., 2021) in both English and Chinese, they are not available to public or only", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 402, 505, 415 ], "spans": [ { "bbox": [ 105, 402, 505, 415 ], "score": 1.0, "content": "accessible via limited APIs. The closeness of LLMs severely stymies its development. GLM-130B’s", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 415, 504, 426 ], "spans": [ { "bbox": [ 106, 415, 504, 426 ], "score": 1.0, "content": "efforts, along with recent ElutherAI, OPT-175B (Zhang et al., 2022), and BLOOM-176B (Scao et al.,", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 424, 394, 438 ], "spans": [ { "bbox": [ 106, 424, 394, 438 ], "score": 1.0, "content": "2022), aim to offer high-quality open-sourced LLMs to our community.", "type": "text" } ], "index": 23 } ], "index": 18 }, { "type": "text", "bbox": [ 107, 442, 505, 509 ], "lines": [ { "bbox": [ 105, 441, 506, 455 ], "spans": [ { "bbox": [ 105, 441, 506, 455 ], "score": 1.0, "content": "Transferring. Though fine-tuning has been a de facto way for transfer learning, the evaluation for", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 452, 506, 465 ], "spans": [ { "bbox": [ 105, 452, 506, 465 ], "score": 1.0, "content": "LLMs has been focused on prompting and in-context learning due to their tremendous sizes (Brown", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 463, 506, 477 ], "spans": [ { "bbox": [ 105, 463, 506, 477 ], "score": 1.0, "content": "et al., 2020; Liu et al., 2021a). Nevertheless, some recent attempts has been on parameter-efficient", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 474, 505, 488 ], "spans": [ { "bbox": [ 105, 474, 505, 488 ], "score": 1.0, "content": "learning on language models (Houlsby et al., 2019) and prompt tuning (i.e., P-tuning, Li & Liang", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 486, 505, 499 ], "spans": [ { "bbox": [ 105, 486, 505, 499 ], "score": 1.0, "content": "(2021); Liu et al. (2021b); Lester et al. (2021); Liu et al. (2022)). For now we do not focus on them", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 496, 429, 510 ], "spans": [ { "bbox": [ 105, 496, 429, 510 ], "score": 1.0, "content": "and will leave the comprehensive testing of them on GLM-130B in future study.", "type": "text" } ], "index": 29 } ], "index": 26.5 }, { "type": "text", "bbox": [ 107, 514, 505, 602 ], "lines": [ { "bbox": [ 105, 514, 505, 526 ], "spans": [ { "bbox": [ 105, 514, 505, 526 ], "score": 1.0, "content": "Inference. Most public-accessible LLMs nowadays are providing their services via limited APIs.In", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 524, 505, 536 ], "spans": [ { "bbox": [ 105, 524, 505, 536 ], "score": 1.0, "content": "this work, an important part of our endeavor has been on LLMs’ efficient and fast inference. Related", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 536, 504, 548 ], "spans": [ { "bbox": [ 105, 536, 504, 548 ], "score": 1.0, "content": "work may include distillation (Sanh et al., 2019; Jiao et al., 2020; Wang et al., 2020), quantiza-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 546, 505, 559 ], "spans": [ { "bbox": [ 105, 546, 505, 559 ], "score": 1.0, "content": "tion (Zafrir et al., 2019; Shen et al., 2020; Tao et al., 2022), and pruning (Michel et al., 2019; Fan", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 558, 505, 570 ], "spans": [ { "bbox": [ 105, 558, 505, 570 ], "score": 1.0, "content": "et al., 2019). Very recent work (Dettmers et al., 2022) shows that LLMs such as OPT-175B and", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 567, 506, 581 ], "spans": [ { "bbox": [ 105, 567, 506, 581 ], "score": 1.0, "content": "BLOOM-176B can be quantized to 8 bit due to special distribution of outlier dimensions. In this", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 580, 505, 591 ], "spans": [ { "bbox": [ 105, 580, 505, 591 ], "score": 1.0, "content": "work, we demonstrate GLM’s scaling law for INT4 weight quantization, which allows GLM-130B", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 590, 451, 603 ], "spans": [ { "bbox": [ 105, 590, 207, 603 ], "score": 1.0, "content": "to inference on as few as", "type": "text" }, { "bbox": [ 208, 591, 221, 601 ], "score": 0.41, "content": "4 \\times", "type": "inline_equation" }, { "bbox": [ 222, 590, 327, 603 ], "score": 1.0, "content": "RTX 3090 (24G) GPUs or", "type": "text" }, { "bbox": [ 328, 591, 342, 601 ], "score": 0.38, "content": "8 \\times", "type": "inline_equation" }, { "bbox": [ 342, 590, 451, 603 ], "score": 1.0, "content": "RTX 2080 Ti (11G) GPUs.", "type": "text" } ], "index": 37 } ], "index": 33.5 }, { "type": "title", "bbox": [ 108, 625, 271, 638 ], "lines": [ { "bbox": [ 105, 624, 272, 640 ], "spans": [ { "bbox": [ 105, 624, 272, 640 ], "score": 1.0, "content": "7 CONCLUSION AND LESSONS", "type": "text" } ], "index": 38 } ], "index": 38 }, { "type": "text", "bbox": [ 107, 654, 504, 731 ], "lines": [ { "bbox": [ 105, 654, 505, 668 ], "spans": [ { "bbox": [ 105, 654, 505, 668 ], "score": 1.0, "content": "We introduce GLM-130B, a bilingual pre-trained language model that aims to facilitate open and", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 665, 505, 678 ], "spans": [ { "bbox": [ 105, 665, 505, 678 ], "score": 1.0, "content": "inclusive LLM research. GLM-130B’s technical and engineering undertakings generate insight into", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 676, 506, 690 ], "spans": [ { "bbox": [ 105, 676, 506, 690 ], "score": 1.0, "content": "LLMs’ architectures, pre-training objectives, training stability and efficiency, and affordable infer-", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 687, 505, 700 ], "spans": [ { "bbox": [ 105, 687, 505, 700 ], "score": 1.0, "content": "ence. Altogether, it contributes to the high quality of GLM-130B in terms of both language perfor-", "type": "text" } ], "index": 42 }, { "bbox": [ 105, 699, 505, 711 ], "spans": [ { "bbox": [ 105, 699, 505, 711 ], "score": 1.0, "content": "mance on 112 tasks and ethical results on bias and toxicity benchmarks. Our experiences of both", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 710, 506, 722 ], "spans": [ { "bbox": [ 105, 710, 506, 722 ], "score": 1.0, "content": "success and failure are condensed into the lessons for training 100B-scale LLMs, attached in the", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 720, 173, 732 ], "spans": [ { "bbox": [ 105, 720, 173, 732 ], "score": 1.0, "content": "Appendix B.10.", "type": "text" } ], "index": 45 } ], "index": 42 } ], "page_idx": 8, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 25, 294, 38 ], "spans": [ { "bbox": [ 106, 25, 294, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 302, 751, 308, 759 ], "lines": [ { "bbox": [ 302, 751, 309, 762 ], "spans": [ { "bbox": [ 302, 751, 309, 762 ], "score": 1.0, "content": "9", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "image", "bbox": [ 106, 78, 502, 138 ], "blocks": [ { "type": "image_body", "bbox": [ 106, 78, 502, 138 ], "group_id": 0, "lines": [ { "bbox": [ 106, 78, 502, 138 ], "spans": [ { "bbox": [ 106, 78, 502, 138 ], "score": 0.95, "type": "image", "image_path": "cf741e7d068482c8c779765e1751682f1682af62a7dee0e1d2c918bcee48744a.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 106, 78, 502, 98.0 ], "spans": [], "index": 0 }, { "bbox": [ 106, 98.0, 502, 118.0 ], "spans": [], "index": 1 }, { "bbox": [ 106, 118.0, 502, 138.0 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 110, 140, 500, 152 ], "group_id": 0, "lines": [ { "bbox": [ 111, 139, 499, 153 ], "spans": [ { "bbox": [ 111, 139, 499, 153 ], "score": 1.0, "content": "Figure 8: GLM-130B and ERNIE Titan 3.0 260B evaluated on zero-shot CLUE and FewCLUE.", "type": "text" } ], "index": 3 } ], "index": 3 } ], "index": 2.0 }, { "type": "text", "bbox": [ 106, 168, 505, 235 ], "lines": [ { "bbox": [ 105, 169, 505, 182 ], "spans": [ { "bbox": [ 105, 169, 505, 182 ], "score": 1.0, "content": "7 CLUE and 5 FewCLUE datasets (Cf. Appendix C.7 for details). We compare GLM-130B to the", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 180, 505, 192 ], "spans": [ { "bbox": [ 105, 180, 505, 192 ], "score": 1.0, "content": "largest existing Chinese monolingual language model—the 260B ERNIE Titan 3.0 (Wang et al.,", "type": "text" } ], "index": 5 }, { "bbox": [ 104, 190, 505, 204 ], "spans": [ { "bbox": [ 104, 190, 505, 204 ], "score": 1.0, "content": "2021). We follow its setting to report zero-shot results on dev datasets. GLM-130B consistently", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 202, 506, 214 ], "spans": [ { "bbox": [ 105, 202, 506, 214 ], "score": 1.0, "content": "outperforms ERNIE Titan 3.0 across 12 tasks (Cf. Figure 8). Interestingly, GLM-130B performs at", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 212, 505, 226 ], "spans": [ { "bbox": [ 105, 212, 127, 226 ], "score": 1.0, "content": "least", "type": "text" }, { "bbox": [ 127, 213, 152, 223 ], "score": 0.86, "content": "260 \\%", "type": "inline_equation" }, { "bbox": [ 152, 212, 505, 226 ], "score": 1.0, "content": "better than ERNIE on two abstractive MRC datasets (DRCD and CMRC2018), possibly", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 225, 484, 236 ], "spans": [ { "bbox": [ 106, 225, 484, 236 ], "score": 1.0, "content": "due to GLM-130B’s pre-training objective that naturally resonates to abstractive MRC’s form.", "type": "text" } ], "index": 9 } ], "index": 6.5, "bbox_fs": [ 104, 169, 506, 236 ] }, { "type": "title", "bbox": [ 108, 258, 210, 271 ], "lines": [ { "bbox": [ 105, 257, 213, 273 ], "spans": [ { "bbox": [ 105, 257, 213, 273 ], "score": 1.0, "content": "6 RELATED WORK", "type": "text" } ], "index": 10 } ], "index": 10 }, { "type": "text", "bbox": [ 107, 288, 504, 310 ], "lines": [ { "bbox": [ 105, 287, 506, 301 ], "spans": [ { "bbox": [ 105, 287, 506, 301 ], "score": 1.0, "content": "In this section, we review related work to GLM-130B on topics of pre-training, transferring, and", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 298, 404, 311 ], "spans": [ { "bbox": [ 106, 298, 404, 311 ], "score": 1.0, "content": "inference of pre-trained LLMs (Qiu et al., 2020; Bommasani et al., 2021).", "type": "text" } ], "index": 12 } ], "index": 11.5, "bbox_fs": [ 105, 287, 506, 311 ] }, { "type": "text", "bbox": [ 107, 315, 505, 437 ], "lines": [ { "bbox": [ 105, 313, 505, 330 ], "spans": [ { "bbox": [ 105, 313, 505, 330 ], "score": 1.0, "content": "Pre-Training. Vanilla language modeling refers to decoder-only autoregressive models (e.g.,", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 326, 505, 339 ], "spans": [ { "bbox": [ 106, 326, 505, 339 ], "score": 1.0, "content": "GPT (Radford et al., 2018)), but it also recognizes any forms of self-supervised objectives on texts.", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 336, 505, 350 ], "spans": [ { "bbox": [ 105, 336, 505, 350 ], "score": 1.0, "content": "Recently, transformer-based (Vaswani et al., 2017) language models present a fascinating scaling", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 348, 505, 361 ], "spans": [ { "bbox": [ 105, 348, 505, 361 ], "score": 1.0, "content": "law: new abilities (Wei et al., 2022b) arise as models scale up, from 1.5B (Radford et al., 2019),", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 358, 505, 372 ], "spans": [ { "bbox": [ 105, 358, 505, 372 ], "score": 1.0, "content": "10B-scale language models (Raffel et al., 2020; Shoeybi et al., 2019; Black et al., 2022), to 100B-", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 370, 505, 383 ], "spans": [ { "bbox": [ 105, 370, 505, 383 ], "score": 1.0, "content": "scale GPT-3 (Brown et al., 2020). Later, despite many 100B-scale LLMs (Lieber et al., 2021; Thop-", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 380, 505, 394 ], "spans": [ { "bbox": [ 105, 380, 505, 394 ], "score": 1.0, "content": "pilan et al., 2022; Rae et al., 2021; Smith et al., 2022; Chowdhery et al., 2022; Wu et al., 2021; Zeng", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 392, 505, 405 ], "spans": [ { "bbox": [ 106, 392, 505, 405 ], "score": 1.0, "content": "et al., 2021; Wang et al., 2021) in both English and Chinese, they are not available to public or only", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 402, 505, 415 ], "spans": [ { "bbox": [ 105, 402, 505, 415 ], "score": 1.0, "content": "accessible via limited APIs. The closeness of LLMs severely stymies its development. GLM-130B’s", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 415, 504, 426 ], "spans": [ { "bbox": [ 106, 415, 504, 426 ], "score": 1.0, "content": "efforts, along with recent ElutherAI, OPT-175B (Zhang et al., 2022), and BLOOM-176B (Scao et al.,", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 424, 394, 438 ], "spans": [ { "bbox": [ 106, 424, 394, 438 ], "score": 1.0, "content": "2022), aim to offer high-quality open-sourced LLMs to our community.", "type": "text" } ], "index": 23 } ], "index": 18, "bbox_fs": [ 105, 313, 505, 438 ] }, { "type": "text", "bbox": [ 107, 442, 505, 509 ], "lines": [ { "bbox": [ 105, 441, 506, 455 ], "spans": [ { "bbox": [ 105, 441, 506, 455 ], "score": 1.0, "content": "Transferring. Though fine-tuning has been a de facto way for transfer learning, the evaluation for", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 452, 506, 465 ], "spans": [ { "bbox": [ 105, 452, 506, 465 ], "score": 1.0, "content": "LLMs has been focused on prompting and in-context learning due to their tremendous sizes (Brown", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 463, 506, 477 ], "spans": [ { "bbox": [ 105, 463, 506, 477 ], "score": 1.0, "content": "et al., 2020; Liu et al., 2021a). Nevertheless, some recent attempts has been on parameter-efficient", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 474, 505, 488 ], "spans": [ { "bbox": [ 105, 474, 505, 488 ], "score": 1.0, "content": "learning on language models (Houlsby et al., 2019) and prompt tuning (i.e., P-tuning, Li & Liang", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 486, 505, 499 ], "spans": [ { "bbox": [ 105, 486, 505, 499 ], "score": 1.0, "content": "(2021); Liu et al. (2021b); Lester et al. (2021); Liu et al. (2022)). For now we do not focus on them", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 496, 429, 510 ], "spans": [ { "bbox": [ 105, 496, 429, 510 ], "score": 1.0, "content": "and will leave the comprehensive testing of them on GLM-130B in future study.", "type": "text" } ], "index": 29 } ], "index": 26.5, "bbox_fs": [ 105, 441, 506, 510 ] }, { "type": "text", "bbox": [ 107, 514, 505, 602 ], "lines": [ { "bbox": [ 105, 514, 505, 526 ], "spans": [ { "bbox": [ 105, 514, 505, 526 ], "score": 1.0, "content": "Inference. Most public-accessible LLMs nowadays are providing their services via limited APIs.In", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 524, 505, 536 ], "spans": [ { "bbox": [ 105, 524, 505, 536 ], "score": 1.0, "content": "this work, an important part of our endeavor has been on LLMs’ efficient and fast inference. Related", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 536, 504, 548 ], "spans": [ { "bbox": [ 105, 536, 504, 548 ], "score": 1.0, "content": "work may include distillation (Sanh et al., 2019; Jiao et al., 2020; Wang et al., 2020), quantiza-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 546, 505, 559 ], "spans": [ { "bbox": [ 105, 546, 505, 559 ], "score": 1.0, "content": "tion (Zafrir et al., 2019; Shen et al., 2020; Tao et al., 2022), and pruning (Michel et al., 2019; Fan", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 558, 505, 570 ], "spans": [ { "bbox": [ 105, 558, 505, 570 ], "score": 1.0, "content": "et al., 2019). Very recent work (Dettmers et al., 2022) shows that LLMs such as OPT-175B and", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 567, 506, 581 ], "spans": [ { "bbox": [ 105, 567, 506, 581 ], "score": 1.0, "content": "BLOOM-176B can be quantized to 8 bit due to special distribution of outlier dimensions. In this", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 580, 505, 591 ], "spans": [ { "bbox": [ 105, 580, 505, 591 ], "score": 1.0, "content": "work, we demonstrate GLM’s scaling law for INT4 weight quantization, which allows GLM-130B", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 590, 451, 603 ], "spans": [ { "bbox": [ 105, 590, 207, 603 ], "score": 1.0, "content": "to inference on as few as", "type": "text" }, { "bbox": [ 208, 591, 221, 601 ], "score": 0.41, "content": "4 \\times", "type": "inline_equation" }, { "bbox": [ 222, 590, 327, 603 ], "score": 1.0, "content": "RTX 3090 (24G) GPUs or", "type": "text" }, { "bbox": [ 328, 591, 342, 601 ], "score": 0.38, "content": "8 \\times", "type": "inline_equation" }, { "bbox": [ 342, 590, 451, 603 ], "score": 1.0, "content": "RTX 2080 Ti (11G) GPUs.", "type": "text" } ], "index": 37 } ], "index": 33.5, "bbox_fs": [ 105, 514, 506, 603 ] }, { "type": "title", "bbox": [ 108, 625, 271, 638 ], "lines": [ { "bbox": [ 105, 624, 272, 640 ], "spans": [ { "bbox": [ 105, 624, 272, 640 ], "score": 1.0, "content": "7 CONCLUSION AND LESSONS", "type": "text" } ], "index": 38 } ], "index": 38 }, { "type": "text", "bbox": [ 107, 654, 504, 731 ], "lines": [ { "bbox": [ 105, 654, 505, 668 ], "spans": [ { "bbox": [ 105, 654, 505, 668 ], "score": 1.0, "content": "We introduce GLM-130B, a bilingual pre-trained language model that aims to facilitate open and", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 665, 505, 678 ], "spans": [ { "bbox": [ 105, 665, 505, 678 ], "score": 1.0, "content": "inclusive LLM research. GLM-130B’s technical and engineering undertakings generate insight into", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 676, 506, 690 ], "spans": [ { "bbox": [ 105, 676, 506, 690 ], "score": 1.0, "content": "LLMs’ architectures, pre-training objectives, training stability and efficiency, and affordable infer-", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 687, 505, 700 ], "spans": [ { "bbox": [ 105, 687, 505, 700 ], "score": 1.0, "content": "ence. Altogether, it contributes to the high quality of GLM-130B in terms of both language perfor-", "type": "text" } ], "index": 42 }, { "bbox": [ 105, 699, 505, 711 ], "spans": [ { "bbox": [ 105, 699, 505, 711 ], "score": 1.0, "content": "mance on 112 tasks and ethical results on bias and toxicity benchmarks. Our experiences of both", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 710, 506, 722 ], "spans": [ { "bbox": [ 105, 710, 506, 722 ], "score": 1.0, "content": "success and failure are condensed into the lessons for training 100B-scale LLMs, attached in the", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 720, 173, 732 ], "spans": [ { "bbox": [ 105, 720, 173, 732 ], "score": 1.0, "content": "Appendix B.10.", "type": "text" } ], "index": 45 } ], "index": 42, "bbox_fs": [ 105, 654, 506, 732 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 108, 82, 218, 93 ], "lines": [ { "bbox": [ 107, 82, 220, 96 ], "spans": [ { "bbox": [ 107, 82, 220, 96 ], "score": 1.0, "content": "ACKNOWLEDGEMENT", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 107, 108, 505, 164 ], "lines": [ { "bbox": [ 106, 108, 505, 120 ], "spans": [ { "bbox": [ 106, 108, 505, 120 ], "score": 1.0, "content": "This research was supported by Natural Science Foundation of China (NSFC) 61825602, 62276148", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 117, 506, 134 ], "spans": [ { "bbox": [ 105, 117, 506, 134 ], "score": 1.0, "content": "and Zhipu.AI. We thank all our collaborators and partners from the Knowledge Engineering Group", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 129, 505, 143 ], "spans": [ { "bbox": [ 106, 129, 505, 143 ], "score": 1.0, "content": "(KEG), Parallel Architecture & Compiler technology of Mobile, Accelerated, and Networked sys-", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 140, 505, 156 ], "spans": [ { "bbox": [ 105, 140, 505, 156 ], "score": 1.0, "content": "tems Group (PACMAN), Natural Language Processing Group (THUNLP) at Tsinghua University,", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 151, 165, 165 ], "spans": [ { "bbox": [ 105, 151, 165, 165 ], "score": 1.0, "content": "and Zhipu.AI.", "type": "text" } ], "index": 5 } ], "index": 3 }, { "type": "title", "bbox": [ 107, 183, 210, 195 ], "lines": [ { "bbox": [ 106, 182, 213, 197 ], "spans": [ { "bbox": [ 106, 182, 213, 197 ], "score": 1.0, "content": "ETHICS STATEMENT", "type": "text" } ], "index": 6 } ], "index": 6 }, { "type": "text", "bbox": [ 107, 210, 505, 276 ], "lines": [ { "bbox": [ 106, 210, 505, 222 ], "spans": [ { "bbox": [ 106, 210, 505, 222 ], "score": 1.0, "content": "We hereby acknowledge that all of the co-authors of this work are aware of the provided ICLR Code", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 220, 505, 234 ], "spans": [ { "bbox": [ 105, 220, 505, 234 ], "score": 1.0, "content": "of Ethics and honor the code of conduct. This work introduces an open-source Large Language", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 232, 505, 244 ], "spans": [ { "bbox": [ 106, 232, 505, 244 ], "score": 1.0, "content": "Model (LLM), which could be used to generate synthetic text for harmful applications, such as tele-", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 243, 504, 254 ], "spans": [ { "bbox": [ 105, 243, 504, 254 ], "score": 1.0, "content": "marketing fraud, political propaganda, and personal harassment as is discussed in (Weidinger et al.,", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 253, 504, 266 ], "spans": [ { "bbox": [ 105, 253, 504, 266 ], "score": 1.0, "content": "2021; Sheng et al., 2021; Dev et al., 2021). We do not anticipate any hazardous outputs, especially", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 264, 473, 277 ], "spans": [ { "bbox": [ 105, 264, 473, 277 ], "score": 1.0, "content": "towards vulnerable and historically disadvantaged groups of peoples, after using the model.", "type": "text" } ], "index": 12 } ], "index": 9.5 }, { "type": "text", "bbox": [ 106, 282, 502, 304 ], "lines": [ { "bbox": [ 106, 281, 504, 294 ], "spans": [ { "bbox": [ 106, 281, 504, 294 ], "score": 1.0, "content": "And to better collaborate with our community to prevent and ultimately eliminate the risks techni-", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 293, 356, 304 ], "spans": [ { "bbox": [ 106, 293, 356, 304 ], "score": 1.0, "content": "cally, we make the following crucial open efforts in this work:", "type": "text" } ], "index": 14 } ], "index": 13.5 }, { "type": "text", "bbox": [ 107, 309, 505, 375 ], "lines": [ { "bbox": [ 106, 309, 505, 322 ], "spans": [ { "bbox": [ 106, 309, 505, 322 ], "score": 1.0, "content": "Open-Sourced LLMs for Ethical Risk Study. While some people think that restricting the access", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 321, 505, 334 ], "spans": [ { "bbox": [ 105, 321, 505, 334 ], "score": 1.0, "content": "of LLMs can prevent such harmful applications, we argue that promoting LLM inclusivity can lead", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 331, 505, 344 ], "spans": [ { "bbox": [ 105, 331, 505, 344 ], "score": 1.0, "content": "to better defense against potential harms caused by LLMs. Currently, only governments and large", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 342, 506, 356 ], "spans": [ { "bbox": [ 105, 342, 506, 356 ], "score": 1.0, "content": "corporations can afford the considerable costs of pre-training LLMs. There is no guarantee that", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 354, 505, 366 ], "spans": [ { "bbox": [ 105, 354, 505, 366 ], "score": 1.0, "content": "organizations having the the substantial financial resources will not do harm using a LLM. Without", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 365, 441, 376 ], "spans": [ { "bbox": [ 105, 365, 441, 376 ], "score": 1.0, "content": "access to such LLMs, individuals cannot even realize the role of LLMs in the harm.", "type": "text" } ], "index": 20 } ], "index": 17.5 }, { "type": "text", "bbox": [ 107, 381, 505, 459 ], "lines": [ { "bbox": [ 106, 381, 505, 394 ], "spans": [ { "bbox": [ 106, 381, 505, 394 ], "score": 1.0, "content": "Conversely, releasing an open LLM can provide access and transparency to all the researchers and", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 392, 505, 405 ], "spans": [ { "bbox": [ 105, 392, 505, 405 ], "score": 1.0, "content": "promote the research to reduce the potential harm of LLMs, like algorithms to identify the synthetic", "type": "text" } ], "index": 22 }, { "bbox": [ 104, 402, 506, 416 ], "spans": [ { "bbox": [ 104, 402, 506, 416 ], "score": 1.0, "content": "text Gehrmann et al. (2019). Also, it is known that LLMs can suffer from problems in fairness,", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 414, 505, 426 ], "spans": [ { "bbox": [ 105, 414, 505, 426 ], "score": 1.0, "content": "bias, privacy, and truthfulness Zhang et al. (2021); Lin et al. (2022); Liang et al. (2021); Bender", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 424, 505, 438 ], "spans": [ { "bbox": [ 105, 424, 505, 438 ], "score": 1.0, "content": "et al. (2021). An open LLM can reveal the model parameters and internal states corresponding", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 437, 504, 448 ], "spans": [ { "bbox": [ 106, 437, 504, 448 ], "score": 1.0, "content": "to specific inputs instead of providing APIs to black-box models. In conclusion, researchers can", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 448, 502, 459 ], "spans": [ { "bbox": [ 106, 448, 502, 459 ], "score": 1.0, "content": "conduct analysis of LLMs’ flaws in depth and propose improved algorithms to solve the problems.", "type": "text" } ], "index": 27 } ], "index": 24 }, { "type": "text", "bbox": [ 107, 464, 504, 519 ], "lines": [ { "bbox": [ 105, 463, 505, 475 ], "spans": [ { "bbox": [ 105, 463, 505, 475 ], "score": 1.0, "content": "Ethical Evaluation and Improvements. We also evaluate our model over a wide range of English", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 474, 505, 487 ], "spans": [ { "bbox": [ 105, 474, 505, 487 ], "score": 1.0, "content": "ethical evaluation benchmarks, including bias measurement (Nadeem et al., 2021; Nangia et al.,", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 484, 505, 499 ], "spans": [ { "bbox": [ 105, 484, 505, 499 ], "score": 1.0, "content": "2020), hate speech detection (Mollas et al., 2020), and toxic generation estimation (Gehman et al.,", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 496, 506, 509 ], "spans": [ { "bbox": [ 105, 496, 506, 509 ], "score": 1.0, "content": "2020). Notwithstanding their deficiency (Blodgett et al., 2021; Jacobs & Wallach, 2021), these", "type": "text" } ], "index": 31 }, { "bbox": [ 106, 508, 463, 520 ], "spans": [ { "bbox": [ 106, 508, 463, 520 ], "score": 1.0, "content": "datasets serve as a meaningful initial step towards an open quantitative evaluation LLMs.", "type": "text" } ], "index": 32 } ], "index": 30 }, { "type": "text", "bbox": [ 108, 525, 504, 569 ], "lines": [ { "bbox": [ 106, 524, 505, 537 ], "spans": [ { "bbox": [ 106, 524, 505, 537 ], "score": 1.0, "content": "Our evaluation implies that our algorithm designs, especially the bilingual pre-training of a LLM,", "type": "text" } ], "index": 33 }, { "bbox": [ 104, 534, 506, 550 ], "spans": [ { "bbox": [ 104, 534, 506, 550 ], "score": 1.0, "content": "can significantly mitigate the biases and toxicity an LLM may present while keeping its strong", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 546, 506, 559 ], "spans": [ { "bbox": [ 105, 546, 506, 559 ], "score": 1.0, "content": "language performance compared to other LLMs (Brown et al., 2020; Zhang et al., 2022) trained", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 558, 388, 570 ], "spans": [ { "bbox": [ 106, 558, 388, 570 ], "score": 1.0, "content": "with monolingual English corpora (Cf. Appendix A for more details).", "type": "text" } ], "index": 36 } ], "index": 34.5 }, { "type": "title", "bbox": [ 108, 589, 203, 601 ], "lines": [ { "bbox": [ 106, 589, 204, 603 ], "spans": [ { "bbox": [ 106, 589, 204, 603 ], "score": 1.0, "content": "REPRODUCIBILITY", "type": "text" } ], "index": 37 } ], "index": 37 }, { "type": "text", "bbox": [ 107, 615, 504, 660 ], "lines": [ { "bbox": [ 106, 615, 506, 627 ], "spans": [ { "bbox": [ 106, 615, 506, 627 ], "score": 1.0, "content": "Compared to mainstream closed-sourced LLMs including GPT-3 175B(Brown et al., 2020), PaLM", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 625, 506, 639 ], "spans": [ { "bbox": [ 105, 625, 506, 639 ], "score": 1.0, "content": "540B (Chowdhery et al., 2022), Gopher (Rae et al., 2021), Chinchilla (Hoffmann et al., 2022),", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 637, 505, 650 ], "spans": [ { "bbox": [ 105, 637, 505, 650 ], "score": 1.0, "content": "LaMDA (Thoppilan et al., 2022), FLAN (Wei et al., 2022a), and many others, GLM-130B is open-", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 648, 505, 662 ], "spans": [ { "bbox": [ 105, 648, 505, 662 ], "score": 1.0, "content": "sourced and devotes to promote openness and inclusivity in LLM research from the very beginning.", "type": "text" } ], "index": 41 } ], "index": 39.5 }, { "type": "text", "bbox": [ 107, 666, 504, 731 ], "lines": [ { "bbox": [ 106, 665, 505, 678 ], "spans": [ { "bbox": [ 106, 665, 505, 678 ], "score": 1.0, "content": "We have paid great effort to ensure the reproducibility of our evaluation. For pre-training section,", "type": "text" } ], "index": 42 }, { "bbox": [ 106, 676, 505, 689 ], "spans": [ { "bbox": [ 106, 676, 505, 689 ], "score": 1.0, "content": "despite the unaffordable costs it needs to reproduce at present, we still make our best efforts to dis-", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 687, 505, 700 ], "spans": [ { "bbox": [ 105, 687, 505, 700 ], "score": 1.0, "content": "close the code, details, and the whole process of GLM-130B’s pre-training. Our endeavor to allow", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 699, 505, 711 ], "spans": [ { "bbox": [ 105, 699, 505, 711 ], "score": 1.0, "content": "GLM-130B inference on few popularized GPUs such as 3090/2080 Ti also aligns with the repro-", "type": "text" } ], "index": 45 }, { "bbox": [ 106, 709, 506, 722 ], "spans": [ { "bbox": [ 106, 709, 506, 722 ], "score": 1.0, "content": "ducibility undertaking, as it allows most academic researchers to reproduce GLM-130B’s results on", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 720, 499, 733 ], "spans": [ { "bbox": [ 105, 720, 499, 733 ], "score": 1.0, "content": "their offline machines. We also provide free APIs for individual users to test GLM-130B’s ability.", "type": "text" } ], "index": 47 } ], "index": 44.5 } ], "page_idx": 9, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 25, 293, 38 ], "spans": [ { "bbox": [ 106, 25, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 301, 751, 311, 760 ], "lines": [ { "bbox": [ 299, 750, 313, 765 ], "spans": [ { "bbox": [ 299, 750, 313, 765 ], "score": 1.0, "content": "", "type": "text", "height": 15, "width": 14 } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 108, 82, 218, 93 ], "lines": [ { "bbox": [ 107, 82, 220, 96 ], "spans": [ { "bbox": [ 107, 82, 220, 96 ], "score": 1.0, "content": "ACKNOWLEDGEMENT", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 107, 108, 505, 164 ], "lines": [ { "bbox": [ 106, 108, 505, 120 ], "spans": [ { "bbox": [ 106, 108, 505, 120 ], "score": 1.0, "content": "This research was supported by Natural Science Foundation of China (NSFC) 61825602, 62276148", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 117, 506, 134 ], "spans": [ { "bbox": [ 105, 117, 506, 134 ], "score": 1.0, "content": "and Zhipu.AI. We thank all our collaborators and partners from the Knowledge Engineering Group", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 129, 505, 143 ], "spans": [ { "bbox": [ 106, 129, 505, 143 ], "score": 1.0, "content": "(KEG), Parallel Architecture & Compiler technology of Mobile, Accelerated, and Networked sys-", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 140, 505, 156 ], "spans": [ { "bbox": [ 105, 140, 505, 156 ], "score": 1.0, "content": "tems Group (PACMAN), Natural Language Processing Group (THUNLP) at Tsinghua University,", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 151, 165, 165 ], "spans": [ { "bbox": [ 105, 151, 165, 165 ], "score": 1.0, "content": "and Zhipu.AI.", "type": "text" } ], "index": 5 } ], "index": 3, "bbox_fs": [ 105, 108, 506, 165 ] }, { "type": "title", "bbox": [ 107, 183, 210, 195 ], "lines": [ { "bbox": [ 106, 182, 213, 197 ], "spans": [ { "bbox": [ 106, 182, 213, 197 ], "score": 1.0, "content": "ETHICS STATEMENT", "type": "text" } ], "index": 6 } ], "index": 6 }, { "type": "text", "bbox": [ 107, 210, 505, 276 ], "lines": [ { "bbox": [ 106, 210, 505, 222 ], "spans": [ { "bbox": [ 106, 210, 505, 222 ], "score": 1.0, "content": "We hereby acknowledge that all of the co-authors of this work are aware of the provided ICLR Code", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 220, 505, 234 ], "spans": [ { "bbox": [ 105, 220, 505, 234 ], "score": 1.0, "content": "of Ethics and honor the code of conduct. This work introduces an open-source Large Language", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 232, 505, 244 ], "spans": [ { "bbox": [ 106, 232, 505, 244 ], "score": 1.0, "content": "Model (LLM), which could be used to generate synthetic text for harmful applications, such as tele-", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 243, 504, 254 ], "spans": [ { "bbox": [ 105, 243, 504, 254 ], "score": 1.0, "content": "marketing fraud, political propaganda, and personal harassment as is discussed in (Weidinger et al.,", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 253, 504, 266 ], "spans": [ { "bbox": [ 105, 253, 504, 266 ], "score": 1.0, "content": "2021; Sheng et al., 2021; Dev et al., 2021). We do not anticipate any hazardous outputs, especially", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 264, 473, 277 ], "spans": [ { "bbox": [ 105, 264, 473, 277 ], "score": 1.0, "content": "towards vulnerable and historically disadvantaged groups of peoples, after using the model.", "type": "text" } ], "index": 12 } ], "index": 9.5, "bbox_fs": [ 105, 210, 505, 277 ] }, { "type": "text", "bbox": [ 106, 282, 502, 304 ], "lines": [ { "bbox": [ 106, 281, 504, 294 ], "spans": [ { "bbox": [ 106, 281, 504, 294 ], "score": 1.0, "content": "And to better collaborate with our community to prevent and ultimately eliminate the risks techni-", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 293, 356, 304 ], "spans": [ { "bbox": [ 106, 293, 356, 304 ], "score": 1.0, "content": "cally, we make the following crucial open efforts in this work:", "type": "text" } ], "index": 14 } ], "index": 13.5, "bbox_fs": [ 106, 281, 504, 304 ] }, { "type": "text", "bbox": [ 107, 309, 505, 375 ], "lines": [ { "bbox": [ 106, 309, 505, 322 ], "spans": [ { "bbox": [ 106, 309, 505, 322 ], "score": 1.0, "content": "Open-Sourced LLMs for Ethical Risk Study. While some people think that restricting the access", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 321, 505, 334 ], "spans": [ { "bbox": [ 105, 321, 505, 334 ], "score": 1.0, "content": "of LLMs can prevent such harmful applications, we argue that promoting LLM inclusivity can lead", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 331, 505, 344 ], "spans": [ { "bbox": [ 105, 331, 505, 344 ], "score": 1.0, "content": "to better defense against potential harms caused by LLMs. Currently, only governments and large", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 342, 506, 356 ], "spans": [ { "bbox": [ 105, 342, 506, 356 ], "score": 1.0, "content": "corporations can afford the considerable costs of pre-training LLMs. There is no guarantee that", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 354, 505, 366 ], "spans": [ { "bbox": [ 105, 354, 505, 366 ], "score": 1.0, "content": "organizations having the the substantial financial resources will not do harm using a LLM. Without", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 365, 441, 376 ], "spans": [ { "bbox": [ 105, 365, 441, 376 ], "score": 1.0, "content": "access to such LLMs, individuals cannot even realize the role of LLMs in the harm.", "type": "text" } ], "index": 20 } ], "index": 17.5, "bbox_fs": [ 105, 309, 506, 376 ] }, { "type": "text", "bbox": [ 107, 381, 505, 459 ], "lines": [ { "bbox": [ 106, 381, 505, 394 ], "spans": [ { "bbox": [ 106, 381, 505, 394 ], "score": 1.0, "content": "Conversely, releasing an open LLM can provide access and transparency to all the researchers and", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 392, 505, 405 ], "spans": [ { "bbox": [ 105, 392, 505, 405 ], "score": 1.0, "content": "promote the research to reduce the potential harm of LLMs, like algorithms to identify the synthetic", "type": "text" } ], "index": 22 }, { "bbox": [ 104, 402, 506, 416 ], "spans": [ { "bbox": [ 104, 402, 506, 416 ], "score": 1.0, "content": "text Gehrmann et al. (2019). Also, it is known that LLMs can suffer from problems in fairness,", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 414, 505, 426 ], "spans": [ { "bbox": [ 105, 414, 505, 426 ], "score": 1.0, "content": "bias, privacy, and truthfulness Zhang et al. (2021); Lin et al. (2022); Liang et al. (2021); Bender", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 424, 505, 438 ], "spans": [ { "bbox": [ 105, 424, 505, 438 ], "score": 1.0, "content": "et al. (2021). An open LLM can reveal the model parameters and internal states corresponding", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 437, 504, 448 ], "spans": [ { "bbox": [ 106, 437, 504, 448 ], "score": 1.0, "content": "to specific inputs instead of providing APIs to black-box models. In conclusion, researchers can", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 448, 502, 459 ], "spans": [ { "bbox": [ 106, 448, 502, 459 ], "score": 1.0, "content": "conduct analysis of LLMs’ flaws in depth and propose improved algorithms to solve the problems.", "type": "text" } ], "index": 27 } ], "index": 24, "bbox_fs": [ 104, 381, 506, 459 ] }, { "type": "text", "bbox": [ 107, 464, 504, 519 ], "lines": [ { "bbox": [ 105, 463, 505, 475 ], "spans": [ { "bbox": [ 105, 463, 505, 475 ], "score": 1.0, "content": "Ethical Evaluation and Improvements. We also evaluate our model over a wide range of English", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 474, 505, 487 ], "spans": [ { "bbox": [ 105, 474, 505, 487 ], "score": 1.0, "content": "ethical evaluation benchmarks, including bias measurement (Nadeem et al., 2021; Nangia et al.,", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 484, 505, 499 ], "spans": [ { "bbox": [ 105, 484, 505, 499 ], "score": 1.0, "content": "2020), hate speech detection (Mollas et al., 2020), and toxic generation estimation (Gehman et al.,", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 496, 506, 509 ], "spans": [ { "bbox": [ 105, 496, 506, 509 ], "score": 1.0, "content": "2020). Notwithstanding their deficiency (Blodgett et al., 2021; Jacobs & Wallach, 2021), these", "type": "text" } ], "index": 31 }, { "bbox": [ 106, 508, 463, 520 ], "spans": [ { "bbox": [ 106, 508, 463, 520 ], "score": 1.0, "content": "datasets serve as a meaningful initial step towards an open quantitative evaluation LLMs.", "type": "text" } ], "index": 32 } ], "index": 30, "bbox_fs": [ 105, 463, 506, 520 ] }, { "type": "text", "bbox": [ 108, 525, 504, 569 ], "lines": [ { "bbox": [ 106, 524, 505, 537 ], "spans": [ { "bbox": [ 106, 524, 505, 537 ], "score": 1.0, "content": "Our evaluation implies that our algorithm designs, especially the bilingual pre-training of a LLM,", "type": "text" } ], "index": 33 }, { "bbox": [ 104, 534, 506, 550 ], "spans": [ { "bbox": [ 104, 534, 506, 550 ], "score": 1.0, "content": "can significantly mitigate the biases and toxicity an LLM may present while keeping its strong", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 546, 506, 559 ], "spans": [ { "bbox": [ 105, 546, 506, 559 ], "score": 1.0, "content": "language performance compared to other LLMs (Brown et al., 2020; Zhang et al., 2022) trained", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 558, 388, 570 ], "spans": [ { "bbox": [ 106, 558, 388, 570 ], "score": 1.0, "content": "with monolingual English corpora (Cf. Appendix A for more details).", "type": "text" } ], "index": 36 } ], "index": 34.5, "bbox_fs": [ 104, 524, 506, 570 ] }, { "type": "title", "bbox": [ 108, 589, 203, 601 ], "lines": [ { "bbox": [ 106, 589, 204, 603 ], "spans": [ { "bbox": [ 106, 589, 204, 603 ], "score": 1.0, "content": "REPRODUCIBILITY", "type": "text" } ], "index": 37 } ], "index": 37 }, { "type": "text", "bbox": [ 107, 615, 504, 660 ], "lines": [ { "bbox": [ 106, 615, 506, 627 ], "spans": [ { "bbox": [ 106, 615, 506, 627 ], "score": 1.0, "content": "Compared to mainstream closed-sourced LLMs including GPT-3 175B(Brown et al., 2020), PaLM", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 625, 506, 639 ], "spans": [ { "bbox": [ 105, 625, 506, 639 ], "score": 1.0, "content": "540B (Chowdhery et al., 2022), Gopher (Rae et al., 2021), Chinchilla (Hoffmann et al., 2022),", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 637, 505, 650 ], "spans": [ { "bbox": [ 105, 637, 505, 650 ], "score": 1.0, "content": "LaMDA (Thoppilan et al., 2022), FLAN (Wei et al., 2022a), and many others, GLM-130B is open-", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 648, 505, 662 ], "spans": [ { "bbox": [ 105, 648, 505, 662 ], "score": 1.0, "content": "sourced and devotes to promote openness and inclusivity in LLM research from the very beginning.", "type": "text" } ], "index": 41 } ], "index": 39.5, "bbox_fs": [ 105, 615, 506, 662 ] }, { "type": "text", "bbox": [ 107, 666, 504, 731 ], "lines": [ { "bbox": [ 106, 665, 505, 678 ], "spans": [ { "bbox": [ 106, 665, 505, 678 ], "score": 1.0, "content": "We have paid great effort to ensure the reproducibility of our evaluation. For pre-training section,", "type": "text" } ], "index": 42 }, { "bbox": [ 106, 676, 505, 689 ], "spans": [ { "bbox": [ 106, 676, 505, 689 ], "score": 1.0, "content": "despite the unaffordable costs it needs to reproduce at present, we still make our best efforts to dis-", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 687, 505, 700 ], "spans": [ { "bbox": [ 105, 687, 505, 700 ], "score": 1.0, "content": "close the code, details, and the whole process of GLM-130B’s pre-training. Our endeavor to allow", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 699, 505, 711 ], "spans": [ { "bbox": [ 105, 699, 505, 711 ], "score": 1.0, "content": "GLM-130B inference on few popularized GPUs such as 3090/2080 Ti also aligns with the repro-", "type": "text" } ], "index": 45 }, { "bbox": [ 106, 709, 506, 722 ], "spans": [ { "bbox": [ 106, 709, 506, 722 ], "score": 1.0, "content": "ducibility undertaking, as it allows most academic researchers to reproduce GLM-130B’s results on", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 720, 499, 733 ], "spans": [ { "bbox": [ 105, 720, 499, 733 ], "score": 1.0, "content": "their offline machines. We also provide free APIs for individual users to test GLM-130B’s ability.", "type": "text" } ], "index": 47 } ], "index": 44.5, "bbox_fs": [ 105, 665, 506, 733 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 107, 82, 504, 126 ], "lines": [ { "bbox": [ 105, 82, 505, 95 ], "spans": [ { "bbox": [ 105, 82, 505, 95 ], "score": 1.0, "content": "Pre-Training. We provide the complete training notes, Tensorboard logs, and code for our pre-", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 93, 505, 106 ], "spans": [ { "bbox": [ 105, 93, 505, 106 ], "score": 1.0, "content": "training in our repository (Cf. Abstract). The pre-training hyper-parameters and cluster configu-", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 105, 506, 118 ], "spans": [ { "bbox": [ 105, 105, 506, 118 ], "score": 1.0, "content": "ration are provided in Section 2.3 and Table 11. The training corpora composition and details for", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 115, 468, 128 ], "spans": [ { "bbox": [ 105, 115, 468, 128 ], "score": 1.0, "content": "Multi-task Instruction Pre-training are provided in Section 2.2 and Appendix C.1 and C.2.", "type": "text" } ], "index": 3 } ], "index": 1.5 }, { "type": "text", "bbox": [ 107, 132, 505, 209 ], "lines": [ { "bbox": [ 105, 132, 505, 144 ], "spans": [ { "bbox": [ 105, 132, 505, 144 ], "score": 1.0, "content": "Evaluation. We organize all the evaluation, including language benchmarks (LAMBADA, Pile,", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 142, 505, 156 ], "spans": [ { "bbox": [ 105, 142, 505, 156 ], "score": 1.0, "content": "MMLU, BIG-bench, CLUE, and FewCLUE) and ethical benchmarks (CrowS-Pairs, StereoSet,", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 153, 505, 167 ], "spans": [ { "bbox": [ 105, 153, 505, 167 ], "score": 1.0, "content": "ETHOS, RealToxicPrompts), into one-command-to-run bash scripts in our code repository. Data", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 165, 505, 178 ], "spans": [ { "bbox": [ 105, 165, 505, 178 ], "score": 1.0, "content": "processing details for language modeling benchmarks are provided in Section 5.1 and Appendix C.4,", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 176, 505, 187 ], "spans": [ { "bbox": [ 105, 176, 505, 187 ], "score": 1.0, "content": "for MMLU are provided in Section 5.2 and Appendix C.6, for BIG-bench are provided in Section 5.3", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 187, 505, 199 ], "spans": [ { "bbox": [ 105, 187, 505, 199 ], "score": 1.0, "content": "and Appendix C.5, for CLUE and FewCLUE are provided in 5.4. For all ethical evaluation, please", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 198, 235, 210 ], "spans": [ { "bbox": [ 105, 198, 235, 210 ], "score": 1.0, "content": "refer to Appendix A for details.", "type": "text" } ], "index": 10 } ], "index": 7 }, { "type": "title", "bbox": [ 107, 227, 175, 239 ], "lines": [ { "bbox": [ 106, 227, 176, 239 ], "spans": [ { "bbox": [ 106, 227, 176, 239 ], "score": 1.0, "content": "REFERENCES", "type": "text" } ], "index": 11 } ], "index": 11 }, { "type": "text", "bbox": [ 107, 251, 505, 295 ], "lines": [ { "bbox": [ 106, 251, 505, 264 ], "spans": [ { "bbox": [ 106, 251, 505, 264 ], "score": 1.0, "content": "Oshin Agarwal, Heming Ge, Siamak Shakeri, and Rami Al-Rfou. Knowledge graph based synthetic", "type": "text" } ], "index": 12 }, { "bbox": [ 115, 262, 505, 275 ], "spans": [ { "bbox": [ 115, 262, 505, 275 ], "score": 1.0, "content": "corpus generation for knowledge-enhanced language model pre-training. In Proceedings of the", "type": "text" } ], "index": 13 }, { "bbox": [ 115, 272, 505, 286 ], "spans": [ { "bbox": [ 115, 272, 505, 286 ], "score": 1.0, "content": "2021 Conference of the North American Chapter of the Association for Computational Linguis-", "type": "text" } ], "index": 14 }, { "bbox": [ 115, 284, 358, 296 ], "spans": [ { "bbox": [ 115, 284, 358, 296 ], "score": 1.0, "content": "tics: Human Language Technologies, pp. 3554–3565, 2021.", "type": "text" } ], "index": 15 } ], "index": 13.5 }, { "type": "text", "bbox": [ 108, 304, 504, 338 ], "lines": [ { "bbox": [ 106, 303, 506, 318 ], "spans": [ { "bbox": [ 106, 303, 506, 318 ], "score": 1.0, "content": "Vamsi Aribandi, Yi Tay, Tal Schuster, Jinfeng Rao, Huaixiu Steven Zheng, Sanket Vaibhav Mehta,", "type": "text" } ], "index": 16 }, { "bbox": [ 116, 316, 506, 328 ], "spans": [ { "bbox": [ 116, 316, 506, 328 ], "score": 1.0, "content": "Honglei Zhuang, Vinh Q Tran, Dara Bahri, Jianmo Ni, et al. Ext5: Towards extreme multi-task", "type": "text" } ], "index": 17 }, { "bbox": [ 116, 327, 491, 339 ], "spans": [ { "bbox": [ 116, 327, 491, 339 ], "score": 1.0, "content": "scaling for transfer learning. In International Conference on Learning Representations, 2022.", "type": "text" } ], "index": 18 } ], "index": 17 }, { "type": "text", "bbox": [ 106, 346, 504, 380 ], "lines": [ { "bbox": [ 105, 346, 505, 360 ], "spans": [ { "bbox": [ 105, 346, 505, 360 ], "score": 1.0, "content": "Mikel Artetxe, Shruti Bhosale, Naman Goyal, Todor Mihaylov, Myle Ott, Sam Shleifer, Xi Victo-", "type": "text" } ], "index": 19 }, { "bbox": [ 115, 357, 506, 372 ], "spans": [ { "bbox": [ 115, 357, 506, 372 ], "score": 1.0, "content": "ria Lin, Jingfei Du, Srinivasan Iyer, Ramakanth Pasunuru, et al. Efficient large scale language", "type": "text" } ], "index": 20 }, { "bbox": [ 117, 369, 422, 381 ], "spans": [ { "bbox": [ 117, 369, 422, 381 ], "score": 1.0, "content": "modeling with mixtures of experts. arXiv preprint arXiv:2112.10684, 2021.", "type": "text" } ], "index": 21 } ], "index": 20 }, { "type": "text", "bbox": [ 105, 389, 504, 412 ], "lines": [ { "bbox": [ 105, 388, 505, 402 ], "spans": [ { "bbox": [ 105, 388, 505, 402 ], "score": 1.0, "content": "Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint", "type": "text" } ], "index": 22 }, { "bbox": [ 115, 400, 219, 411 ], "spans": [ { "bbox": [ 115, 400, 219, 411 ], "score": 1.0, "content": "arXiv:1607.06450, 2016.", "type": "text" } ], "index": 23 } ], "index": 22.5 }, { "type": "text", "bbox": [ 107, 420, 505, 476 ], "lines": [ { "bbox": [ 106, 420, 505, 434 ], "spans": [ { "bbox": [ 106, 420, 505, 434 ], "score": 1.0, "content": "Stephen Bach, Victor Sanh, Zheng Xin Yong, Albert Webson, Colin Raffel, Nihal V Nayak, Ab-", "type": "text" } ], "index": 24 }, { "bbox": [ 116, 432, 505, 444 ], "spans": [ { "bbox": [ 116, 432, 505, 444 ], "score": 1.0, "content": "heesht Sharma, Taewoon Kim, M Saiful Bari, Thibault Févry, et al. Promptsource: An integrated", "type": "text" } ], "index": 25 }, { "bbox": [ 115, 442, 505, 456 ], "spans": [ { "bbox": [ 115, 442, 505, 456 ], "score": 1.0, "content": "development environment and repository for natural language prompts. In Proceedings of the", "type": "text" } ], "index": 26 }, { "bbox": [ 115, 452, 506, 467 ], "spans": [ { "bbox": [ 115, 452, 506, 467 ], "score": 1.0, "content": "60th Annual Meeting of the Association for Computational Linguistics: System Demonstrations,", "type": "text" } ], "index": 27 }, { "bbox": [ 114, 465, 191, 476 ], "spans": [ { "bbox": [ 114, 465, 191, 476 ], "score": 1.0, "content": "pp. 93–104, 2022.", "type": "text" } ], "index": 28 } ], "index": 26 }, { "type": "text", "bbox": [ 106, 484, 505, 529 ], "lines": [ { "bbox": [ 106, 486, 505, 497 ], "spans": [ { "bbox": [ 106, 486, 505, 497 ], "score": 1.0, "content": "Emily M. Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell. On the", "type": "text" } ], "index": 29 }, { "bbox": [ 115, 496, 505, 508 ], "spans": [ { "bbox": [ 115, 496, 505, 508 ], "score": 1.0, "content": "dangers of stochastic parrots: Can language models be too big? In FAccT ’21: 2021 ACM Con-", "type": "text" } ], "index": 30 }, { "bbox": [ 114, 507, 506, 520 ], "spans": [ { "bbox": [ 114, 507, 506, 520 ], "score": 1.0, "content": "ference on Fairness, Accountability, and Transparency, Virtual Event / Toronto, Canada, March", "type": "text" } ], "index": 31 }, { "bbox": [ 115, 518, 272, 530 ], "spans": [ { "bbox": [ 115, 518, 272, 530 ], "score": 1.0, "content": "3-10, 2021, pp. 610–623. ACM, 2021.", "type": "text" } ], "index": 32 } ], "index": 30.5 }, { "type": "text", "bbox": [ 106, 538, 504, 572 ], "lines": [ { "bbox": [ 106, 538, 505, 551 ], "spans": [ { "bbox": [ 106, 538, 505, 551 ], "score": 1.0, "content": "Jonathan Berant, Andrew Chou, Roy Frostig, and Percy Liang. Semantic parsing on freebase from", "type": "text" } ], "index": 33 }, { "bbox": [ 115, 549, 506, 562 ], "spans": [ { "bbox": [ 115, 549, 506, 562 ], "score": 1.0, "content": "question-answer pairs. In Proceedings of the 2013 conference on empirical methods in natural", "type": "text" } ], "index": 34 }, { "bbox": [ 116, 561, 294, 573 ], "spans": [ { "bbox": [ 116, 561, 294, 573 ], "score": 1.0, "content": "language processing, pp. 1533–1544, 2013.", "type": "text" } ], "index": 35 } ], "index": 34 }, { "type": "text", "bbox": [ 107, 580, 505, 614 ], "lines": [ { "bbox": [ 106, 579, 505, 594 ], "spans": [ { "bbox": [ 106, 579, 505, 594 ], "score": 1.0, "content": "Yonatan Bisk, Rowan Zellers, Jianfeng Gao, Yejin Choi, et al. Piqa: Reasoning about physical com-", "type": "text" } ], "index": 36 }, { "bbox": [ 115, 592, 505, 605 ], "spans": [ { "bbox": [ 115, 592, 505, 605 ], "score": 1.0, "content": "monsense in natural language. In Proceedings of the AAAI conference on artificial intelligence,", "type": "text" } ], "index": 37 }, { "bbox": [ 117, 603, 253, 615 ], "spans": [ { "bbox": [ 117, 603, 253, 615 ], "score": 1.0, "content": "volume 34, pp. 7432–7439, 2020.", "type": "text" } ], "index": 38 } ], "index": 37 }, { "type": "text", "bbox": [ 107, 623, 505, 668 ], "lines": [ { "bbox": [ 106, 623, 504, 635 ], "spans": [ { "bbox": [ 106, 623, 504, 635 ], "score": 1.0, "content": "Sidney Black, Stella Biderman, Eric Hallahan, Quentin Anthony, Leo Gao, Laurence Golding, Ho-", "type": "text" } ], "index": 39 }, { "bbox": [ 115, 635, 505, 647 ], "spans": [ { "bbox": [ 115, 635, 505, 647 ], "score": 1.0, "content": "race He, Connor Leahy, Kyle McDonell, Jason Phang, et al. Gpt-neox-20b: An open-source", "type": "text" } ], "index": 40 }, { "bbox": [ 117, 646, 505, 658 ], "spans": [ { "bbox": [ 117, 646, 505, 658 ], "score": 1.0, "content": "autoregressive language model. In Proceedings of BigScience Episode\\# 5–Workshop on Chal-", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 656, 431, 669 ], "spans": [ { "bbox": [ 115, 656, 431, 669 ], "score": 1.0, "content": "lenges & Perspectives in Creating Large Language Models, pp. 95–136, 2022.", "type": "text" } ], "index": 42 } ], "index": 40.5 }, { "type": "text", "bbox": [ 107, 676, 505, 731 ], "lines": [ { "bbox": [ 105, 675, 505, 690 ], "spans": [ { "bbox": [ 105, 675, 505, 690 ], "score": 1.0, "content": "Su Lin Blodgett, Gilsinia Lopez, Alexandra Olteanu, Robert Sim, and Hanna Wallach. Stereotyping", "type": "text" } ], "index": 43 }, { "bbox": [ 115, 687, 505, 700 ], "spans": [ { "bbox": [ 115, 687, 505, 700 ], "score": 1.0, "content": "norwegian salmon: An inventory of pitfalls in fairness benchmark datasets. In Proceedings of the", "type": "text" } ], "index": 44 }, { "bbox": [ 115, 698, 505, 712 ], "spans": [ { "bbox": [ 115, 698, 505, 712 ], "score": 1.0, "content": "59th Annual Meeting of the Association for Computational Linguistics and the 11th International", "type": "text" } ], "index": 45 }, { "bbox": [ 114, 709, 505, 722 ], "spans": [ { "bbox": [ 114, 709, 505, 722 ], "score": 1.0, "content": "Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 1004–1015,", "type": "text" } ], "index": 46 }, { "bbox": [ 115, 719, 142, 733 ], "spans": [ { "bbox": [ 115, 719, 142, 733 ], "score": 1.0, "content": "2021.", "type": "text" } ], "index": 47 } ], "index": 45 } ], "page_idx": 10, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 310, 760 ], "lines": [ { "bbox": [ 299, 750, 312, 764 ], "spans": [ { "bbox": [ 299, 750, 312, 764 ], "score": 1.0, "content": "", "type": "text", "height": 14, "width": 13 } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 107, 82, 504, 126 ], "lines": [ { "bbox": [ 105, 82, 505, 95 ], "spans": [ { "bbox": [ 105, 82, 505, 95 ], "score": 1.0, "content": "Pre-Training. We provide the complete training notes, Tensorboard logs, and code for our pre-", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 93, 505, 106 ], "spans": [ { "bbox": [ 105, 93, 505, 106 ], "score": 1.0, "content": "training in our repository (Cf. Abstract). The pre-training hyper-parameters and cluster configu-", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 105, 506, 118 ], "spans": [ { "bbox": [ 105, 105, 506, 118 ], "score": 1.0, "content": "ration are provided in Section 2.3 and Table 11. The training corpora composition and details for", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 115, 468, 128 ], "spans": [ { "bbox": [ 105, 115, 468, 128 ], "score": 1.0, "content": "Multi-task Instruction Pre-training are provided in Section 2.2 and Appendix C.1 and C.2.", "type": "text" } ], "index": 3 } ], "index": 1.5, "bbox_fs": [ 105, 82, 506, 128 ] }, { "type": "text", "bbox": [ 107, 132, 505, 209 ], "lines": [ { "bbox": [ 105, 132, 505, 144 ], "spans": [ { "bbox": [ 105, 132, 505, 144 ], "score": 1.0, "content": "Evaluation. We organize all the evaluation, including language benchmarks (LAMBADA, Pile,", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 142, 505, 156 ], "spans": [ { "bbox": [ 105, 142, 505, 156 ], "score": 1.0, "content": "MMLU, BIG-bench, CLUE, and FewCLUE) and ethical benchmarks (CrowS-Pairs, StereoSet,", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 153, 505, 167 ], "spans": [ { "bbox": [ 105, 153, 505, 167 ], "score": 1.0, "content": "ETHOS, RealToxicPrompts), into one-command-to-run bash scripts in our code repository. Data", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 165, 505, 178 ], "spans": [ { "bbox": [ 105, 165, 505, 178 ], "score": 1.0, "content": "processing details for language modeling benchmarks are provided in Section 5.1 and Appendix C.4,", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 176, 505, 187 ], "spans": [ { "bbox": [ 105, 176, 505, 187 ], "score": 1.0, "content": "for MMLU are provided in Section 5.2 and Appendix C.6, for BIG-bench are provided in Section 5.3", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 187, 505, 199 ], "spans": [ { "bbox": [ 105, 187, 505, 199 ], "score": 1.0, "content": "and Appendix C.5, for CLUE and FewCLUE are provided in 5.4. For all ethical evaluation, please", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 198, 235, 210 ], "spans": [ { "bbox": [ 105, 198, 235, 210 ], "score": 1.0, "content": "refer to Appendix A for details.", "type": "text" } ], "index": 10 } ], "index": 7, "bbox_fs": [ 105, 132, 505, 210 ] }, { "type": "title", "bbox": [ 107, 227, 175, 239 ], "lines": [ { "bbox": [ 106, 227, 176, 239 ], "spans": [ { "bbox": [ 106, 227, 176, 239 ], "score": 1.0, "content": "REFERENCES", "type": "text" } ], "index": 11 } ], "index": 11 }, { "type": "text", "bbox": [ 107, 251, 505, 295 ], "lines": [ { "bbox": [ 106, 251, 505, 264 ], "spans": [ { "bbox": [ 106, 251, 505, 264 ], "score": 1.0, "content": "Oshin Agarwal, Heming Ge, Siamak Shakeri, and Rami Al-Rfou. Knowledge graph based synthetic", "type": "text" } ], "index": 12 }, { "bbox": [ 115, 262, 505, 275 ], "spans": [ { "bbox": [ 115, 262, 505, 275 ], "score": 1.0, "content": "corpus generation for knowledge-enhanced language model pre-training. In Proceedings of the", "type": "text" } ], "index": 13 }, { "bbox": [ 115, 272, 505, 286 ], "spans": [ { "bbox": [ 115, 272, 505, 286 ], "score": 1.0, "content": "2021 Conference of the North American Chapter of the Association for Computational Linguis-", "type": "text" } ], "index": 14 }, { "bbox": [ 115, 284, 358, 296 ], "spans": [ { "bbox": [ 115, 284, 358, 296 ], "score": 1.0, "content": "tics: Human Language Technologies, pp. 3554–3565, 2021.", "type": "text" } ], "index": 15 } ], "index": 13.5, "bbox_fs": [ 106, 251, 505, 296 ] }, { "type": "text", "bbox": [ 108, 304, 504, 338 ], "lines": [ { "bbox": [ 106, 303, 506, 318 ], "spans": [ { "bbox": [ 106, 303, 506, 318 ], "score": 1.0, "content": "Vamsi Aribandi, Yi Tay, Tal Schuster, Jinfeng Rao, Huaixiu Steven Zheng, Sanket Vaibhav Mehta,", "type": "text" } ], "index": 16 }, { "bbox": [ 116, 316, 506, 328 ], "spans": [ { "bbox": [ 116, 316, 506, 328 ], "score": 1.0, "content": "Honglei Zhuang, Vinh Q Tran, Dara Bahri, Jianmo Ni, et al. Ext5: Towards extreme multi-task", "type": "text" } ], "index": 17 }, { "bbox": [ 116, 327, 491, 339 ], "spans": [ { "bbox": [ 116, 327, 491, 339 ], "score": 1.0, "content": "scaling for transfer learning. In International Conference on Learning Representations, 2022.", "type": "text" } ], "index": 18 } ], "index": 17, "bbox_fs": [ 106, 303, 506, 339 ] }, { "type": "text", "bbox": [ 106, 346, 504, 380 ], "lines": [ { "bbox": [ 105, 346, 505, 360 ], "spans": [ { "bbox": [ 105, 346, 505, 360 ], "score": 1.0, "content": "Mikel Artetxe, Shruti Bhosale, Naman Goyal, Todor Mihaylov, Myle Ott, Sam Shleifer, Xi Victo-", "type": "text" } ], "index": 19 }, { "bbox": [ 115, 357, 506, 372 ], "spans": [ { "bbox": [ 115, 357, 506, 372 ], "score": 1.0, "content": "ria Lin, Jingfei Du, Srinivasan Iyer, Ramakanth Pasunuru, et al. Efficient large scale language", "type": "text" } ], "index": 20 }, { "bbox": [ 117, 369, 422, 381 ], "spans": [ { "bbox": [ 117, 369, 422, 381 ], "score": 1.0, "content": "modeling with mixtures of experts. arXiv preprint arXiv:2112.10684, 2021.", "type": "text" } ], "index": 21 } ], "index": 20, "bbox_fs": [ 105, 346, 506, 381 ] }, { "type": "text", "bbox": [ 105, 389, 504, 412 ], "lines": [ { "bbox": [ 105, 388, 505, 402 ], "spans": [ { "bbox": [ 105, 388, 505, 402 ], "score": 1.0, "content": "Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint", "type": "text" } ], "index": 22 }, { "bbox": [ 115, 400, 219, 411 ], "spans": [ { "bbox": [ 115, 400, 219, 411 ], "score": 1.0, "content": "arXiv:1607.06450, 2016.", "type": "text" } ], "index": 23 } ], "index": 22.5, "bbox_fs": [ 105, 388, 505, 411 ] }, { "type": "text", "bbox": [ 107, 420, 505, 476 ], "lines": [ { "bbox": [ 106, 420, 505, 434 ], "spans": [ { "bbox": [ 106, 420, 505, 434 ], "score": 1.0, "content": "Stephen Bach, Victor Sanh, Zheng Xin Yong, Albert Webson, Colin Raffel, Nihal V Nayak, Ab-", "type": "text" } ], "index": 24 }, { "bbox": [ 116, 432, 505, 444 ], "spans": [ { "bbox": [ 116, 432, 505, 444 ], "score": 1.0, "content": "heesht Sharma, Taewoon Kim, M Saiful Bari, Thibault Févry, et al. Promptsource: An integrated", "type": "text" } ], "index": 25 }, { "bbox": [ 115, 442, 505, 456 ], "spans": [ { "bbox": [ 115, 442, 505, 456 ], "score": 1.0, "content": "development environment and repository for natural language prompts. In Proceedings of the", "type": "text" } ], "index": 26 }, { "bbox": [ 115, 452, 506, 467 ], "spans": [ { "bbox": [ 115, 452, 506, 467 ], "score": 1.0, "content": "60th Annual Meeting of the Association for Computational Linguistics: System Demonstrations,", "type": "text" } ], "index": 27 }, { "bbox": [ 114, 465, 191, 476 ], "spans": [ { "bbox": [ 114, 465, 191, 476 ], "score": 1.0, "content": "pp. 93–104, 2022.", "type": "text" } ], "index": 28 } ], "index": 26, "bbox_fs": [ 106, 420, 506, 476 ] }, { "type": "text", "bbox": [ 106, 484, 505, 529 ], "lines": [ { "bbox": [ 106, 486, 505, 497 ], "spans": [ { "bbox": [ 106, 486, 505, 497 ], "score": 1.0, "content": "Emily M. Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell. On the", "type": "text" } ], "index": 29 }, { "bbox": [ 115, 496, 505, 508 ], "spans": [ { "bbox": [ 115, 496, 505, 508 ], "score": 1.0, "content": "dangers of stochastic parrots: Can language models be too big? In FAccT ’21: 2021 ACM Con-", "type": "text" } ], "index": 30 }, { "bbox": [ 114, 507, 506, 520 ], "spans": [ { "bbox": [ 114, 507, 506, 520 ], "score": 1.0, "content": "ference on Fairness, Accountability, and Transparency, Virtual Event / Toronto, Canada, March", "type": "text" } ], "index": 31 }, { "bbox": [ 115, 518, 272, 530 ], "spans": [ { "bbox": [ 115, 518, 272, 530 ], "score": 1.0, "content": "3-10, 2021, pp. 610–623. ACM, 2021.", "type": "text" } ], "index": 32 } ], "index": 30.5, "bbox_fs": [ 106, 486, 506, 530 ] }, { "type": "text", "bbox": [ 106, 538, 504, 572 ], "lines": [ { "bbox": [ 106, 538, 505, 551 ], "spans": [ { "bbox": [ 106, 538, 505, 551 ], "score": 1.0, "content": "Jonathan Berant, Andrew Chou, Roy Frostig, and Percy Liang. Semantic parsing on freebase from", "type": "text" } ], "index": 33 }, { "bbox": [ 115, 549, 506, 562 ], "spans": [ { "bbox": [ 115, 549, 506, 562 ], "score": 1.0, "content": "question-answer pairs. In Proceedings of the 2013 conference on empirical methods in natural", "type": "text" } ], "index": 34 }, { "bbox": [ 116, 561, 294, 573 ], "spans": [ { "bbox": [ 116, 561, 294, 573 ], "score": 1.0, "content": "language processing, pp. 1533–1544, 2013.", "type": "text" } ], "index": 35 } ], "index": 34, "bbox_fs": [ 106, 538, 506, 573 ] }, { "type": "text", "bbox": [ 107, 580, 505, 614 ], "lines": [ { "bbox": [ 106, 579, 505, 594 ], "spans": [ { "bbox": [ 106, 579, 505, 594 ], "score": 1.0, "content": "Yonatan Bisk, Rowan Zellers, Jianfeng Gao, Yejin Choi, et al. Piqa: Reasoning about physical com-", "type": "text" } ], "index": 36 }, { "bbox": [ 115, 592, 505, 605 ], "spans": [ { "bbox": [ 115, 592, 505, 605 ], "score": 1.0, "content": "monsense in natural language. In Proceedings of the AAAI conference on artificial intelligence,", "type": "text" } ], "index": 37 }, { "bbox": [ 117, 603, 253, 615 ], "spans": [ { "bbox": [ 117, 603, 253, 615 ], "score": 1.0, "content": "volume 34, pp. 7432–7439, 2020.", "type": "text" } ], "index": 38 } ], "index": 37, "bbox_fs": [ 106, 579, 505, 615 ] }, { "type": "text", "bbox": [ 107, 623, 505, 668 ], "lines": [ { "bbox": [ 106, 623, 504, 635 ], "spans": [ { "bbox": [ 106, 623, 504, 635 ], "score": 1.0, "content": "Sidney Black, Stella Biderman, Eric Hallahan, Quentin Anthony, Leo Gao, Laurence Golding, Ho-", "type": "text" } ], "index": 39 }, { "bbox": [ 115, 635, 505, 647 ], "spans": [ { "bbox": [ 115, 635, 505, 647 ], "score": 1.0, "content": "race He, Connor Leahy, Kyle McDonell, Jason Phang, et al. Gpt-neox-20b: An open-source", "type": "text" } ], "index": 40 }, { "bbox": [ 117, 646, 505, 658 ], "spans": [ { "bbox": [ 117, 646, 505, 658 ], "score": 1.0, "content": "autoregressive language model. In Proceedings of BigScience Episode\\# 5–Workshop on Chal-", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 656, 431, 669 ], "spans": [ { "bbox": [ 115, 656, 431, 669 ], "score": 1.0, "content": "lenges & Perspectives in Creating Large Language Models, pp. 95–136, 2022.", "type": "text" } ], "index": 42 } ], "index": 40.5, "bbox_fs": [ 106, 623, 505, 669 ] }, { "type": "text", "bbox": [ 107, 676, 505, 731 ], "lines": [ { "bbox": [ 105, 675, 505, 690 ], "spans": [ { "bbox": [ 105, 675, 505, 690 ], "score": 1.0, "content": "Su Lin Blodgett, Gilsinia Lopez, Alexandra Olteanu, Robert Sim, and Hanna Wallach. Stereotyping", "type": "text" } ], "index": 43 }, { "bbox": [ 115, 687, 505, 700 ], "spans": [ { "bbox": [ 115, 687, 505, 700 ], "score": 1.0, "content": "norwegian salmon: An inventory of pitfalls in fairness benchmark datasets. In Proceedings of the", "type": "text" } ], "index": 44 }, { "bbox": [ 115, 698, 505, 712 ], "spans": [ { "bbox": [ 115, 698, 505, 712 ], "score": 1.0, "content": "59th Annual Meeting of the Association for Computational Linguistics and the 11th International", "type": "text" } ], "index": 45 }, { "bbox": [ 114, 709, 505, 722 ], "spans": [ { "bbox": [ 114, 709, 505, 722 ], "score": 1.0, "content": "Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 1004–1015,", "type": "text" } ], "index": 46 }, { "bbox": [ 115, 719, 142, 733 ], "spans": [ { "bbox": [ 115, 719, 142, 733 ], "score": 1.0, "content": "2021.", "type": "text" } ], "index": 47 } ], "index": 45, "bbox_fs": [ 105, 675, 505, 733 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 108, 82, 502, 116 ], "lines": [ { "bbox": [ 105, 82, 504, 96 ], "spans": [ { "bbox": [ 105, 82, 504, 96 ], "score": 1.0, "content": "Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx,", "type": "text" } ], "index": 0 }, { "bbox": [ 115, 92, 504, 107 ], "spans": [ { "bbox": [ 115, 92, 504, 107 ], "score": 1.0, "content": "Michael S Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, et al. On the opportu-", "type": "text" } ], "index": 1 }, { "bbox": [ 116, 104, 433, 117 ], "spans": [ { "bbox": [ 116, 104, 433, 117 ], "score": 1.0, "content": "nities and risks of foundation models. arXiv preprint arXiv:2108.07258, 2021.", "type": "text" } ], "index": 2 } ], "index": 1 }, { "type": "text", "bbox": [ 109, 122, 503, 156 ], "lines": [ { "bbox": [ 106, 122, 505, 136 ], "spans": [ { "bbox": [ 106, 122, 505, 136 ], "score": 1.0, "content": "Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal,", "type": "text" } ], "index": 3 }, { "bbox": [ 116, 134, 505, 146 ], "spans": [ { "bbox": [ 116, 134, 505, 146 ], "score": 1.0, "content": "Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are", "type": "text" } ], "index": 4 }, { "bbox": [ 116, 144, 488, 158 ], "spans": [ { "bbox": [ 116, 144, 488, 158 ], "score": 1.0, "content": "few-shot learners. Advances in neural information processing systems, 33:1877–1901, 2020.", "type": "text" } ], "index": 5 } ], "index": 4 }, { "type": "text", "bbox": [ 106, 162, 506, 208 ], "lines": [ { "bbox": [ 105, 162, 506, 176 ], "spans": [ { "bbox": [ 105, 162, 506, 176 ], "score": 1.0, "content": "Nicola De Cao, Wilker Aziz, and Ivan Titov. Editing factual knowledge in language models. In", "type": "text" } ], "index": 6 }, { "bbox": [ 115, 173, 505, 188 ], "spans": [ { "bbox": [ 115, 173, 505, 188 ], "score": 1.0, "content": "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing,", "type": "text" } ], "index": 7 }, { "bbox": [ 115, 185, 506, 198 ], "spans": [ { "bbox": [ 115, 185, 506, 198 ], "score": 1.0, "content": "EMNLP 2021, Virtual Event / Punta Cana, Dominican Republic, 7-11 November, 2021, pp. 6491–", "type": "text" } ], "index": 8 }, { "bbox": [ 116, 196, 342, 208 ], "spans": [ { "bbox": [ 116, 196, 342, 208 ], "score": 1.0, "content": "6506. Association for Computational Linguistics, 2021.", "type": "text" } ], "index": 9 } ], "index": 7.5 }, { "type": "text", "bbox": [ 106, 214, 503, 237 ], "lines": [ { "bbox": [ 106, 213, 505, 227 ], "spans": [ { "bbox": [ 106, 213, 505, 227 ], "score": 1.0, "content": "Xavier Carreras and Lluís Màrquez. Introduction to the conll-2005 shared task: Semantic role", "type": "text" } ], "index": 10 }, { "bbox": [ 115, 225, 280, 237 ], "spans": [ { "bbox": [ 115, 225, 280, 237 ], "score": 1.0, "content": "labeling. In CoNLL, pp. 152–164, 2005.", "type": "text" } ], "index": 11 } ], "index": 10.5 }, { "type": "text", "bbox": [ 107, 243, 505, 311 ], "lines": [ { "bbox": [ 106, 242, 505, 256 ], "spans": [ { "bbox": [ 106, 242, 505, 256 ], "score": 1.0, "content": "Thiago Castro Ferreira, Claire Gardent, Nikolai Ilinykh, Chris van der Lee, Simon Mille, Diego", "type": "text" } ], "index": 12 }, { "bbox": [ 115, 254, 505, 267 ], "spans": [ { "bbox": [ 115, 254, 467, 267 ], "score": 1.0, "content": "Moussallem, and Anastasia Shimorina. The 2020 bilingual, bi-directional WebNLG", "type": "text" }, { "bbox": [ 468, 256, 475, 265 ], "score": 0.47, "content": "^ +", "type": "inline_equation" }, { "bbox": [ 475, 254, 505, 267 ], "score": 1.0, "content": "shared", "type": "text" } ], "index": 13 }, { "bbox": [ 115, 266, 505, 277 ], "spans": [ { "bbox": [ 115, 266, 322, 277 ], "score": 1.0, "content": "task: Overview and evaluation results (WebNLG", "type": "text" }, { "bbox": [ 323, 267, 330, 276 ], "score": 0.5, "content": "^ +", "type": "inline_equation" }, { "bbox": [ 331, 266, 505, 277 ], "score": 1.0, "content": "2020). In Proceedings of the 3rd Inter-", "type": "text" } ], "index": 14 }, { "bbox": [ 114, 275, 505, 291 ], "spans": [ { "bbox": [ 114, 275, 435, 291 ], "score": 1.0, "content": "national Workshop on Natural Language Generation from the Semantic Web", "type": "text" }, { "bbox": [ 436, 277, 483, 288 ], "score": 0.34, "content": "( W e b N L G + ,", "type": "inline_equation" }, { "bbox": [ 483, 275, 505, 291 ], "score": 1.0, "content": "), pp.", "type": "text" } ], "index": 15 }, { "bbox": [ 115, 286, 505, 300 ], "spans": [ { "bbox": [ 115, 286, 505, 300 ], "score": 1.0, "content": "55–76, Dublin, Ireland (Virtual), 12 2020. Association for Computational Linguistics. URL", "type": "text" } ], "index": 16 }, { "bbox": [ 115, 298, 362, 311 ], "spans": [ { "bbox": [ 115, 298, 362, 311 ], "score": 1.0, "content": "https://aclanthology.org/2020.webnlg-1.7.", "type": "text" } ], "index": 17 } ], "index": 14.5 }, { "type": "text", "bbox": [ 107, 317, 505, 350 ], "lines": [ { "bbox": [ 105, 316, 505, 330 ], "spans": [ { "bbox": [ 105, 316, 505, 330 ], "score": 1.0, "content": "Xinlei Chen, Saining Xie, and Kaiming He. An empirical study of training self-supervised vision", "type": "text" } ], "index": 18 }, { "bbox": [ 115, 327, 505, 342 ], "spans": [ { "bbox": [ 115, 327, 505, 342 ], "score": 1.0, "content": "transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp.", "type": "text" } ], "index": 19 }, { "bbox": [ 117, 339, 191, 351 ], "spans": [ { "bbox": [ 117, 339, 191, 351 ], "score": 1.0, "content": "9640–9649, 2021.", "type": "text" } ], "index": 20 } ], "index": 19 }, { "type": "text", "bbox": [ 105, 357, 504, 380 ], "lines": [ { "bbox": [ 105, 355, 505, 371 ], "spans": [ { "bbox": [ 105, 355, 505, 371 ], "score": 1.0, "content": "Ke-Li Chiu and Rohan Alexander. Detecting hate speech with gpt-3. arXiv preprint", "type": "text" } ], "index": 21 }, { "bbox": [ 115, 368, 219, 380 ], "spans": [ { "bbox": [ 115, 368, 219, 380 ], "score": 1.0, "content": "arXiv:2103.12407, 2021.", "type": "text" } ], "index": 22 } ], "index": 21.5 }, { "type": "text", "bbox": [ 107, 386, 504, 420 ], "lines": [ { "bbox": [ 106, 387, 505, 399 ], "spans": [ { "bbox": [ 106, 387, 505, 399 ], "score": 1.0, "content": "Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam", "type": "text" } ], "index": 23 }, { "bbox": [ 116, 398, 505, 410 ], "spans": [ { "bbox": [ 116, 398, 505, 410 ], "score": 1.0, "content": "Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. Palm:", "type": "text" } ], "index": 24 }, { "bbox": [ 116, 408, 453, 422 ], "spans": [ { "bbox": [ 116, 408, 453, 422 ], "score": 1.0, "content": "Scaling language modeling with pathways. arXiv preprint arXiv:2204.02311, 2022.", "type": "text" } ], "index": 25 } ], "index": 24 }, { "type": "text", "bbox": [ 107, 426, 504, 460 ], "lines": [ { "bbox": [ 105, 426, 505, 439 ], "spans": [ { "bbox": [ 105, 426, 505, 439 ], "score": 1.0, "content": "Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and", "type": "text" } ], "index": 26 }, { "bbox": [ 116, 438, 505, 451 ], "spans": [ { "bbox": [ 116, 438, 505, 451 ], "score": 1.0, "content": "Oyvind Tafjord. Think you have solved question answering? try arc, the ai2 reasoning challenge.", "type": "text" } ], "index": 27 }, { "bbox": [ 116, 449, 279, 461 ], "spans": [ { "bbox": [ 116, 449, 279, 461 ], "score": 1.0, "content": "arXiv preprint arXiv:1803.05457, 2018.", "type": "text" } ], "index": 28 } ], "index": 27 }, { "type": "text", "bbox": [ 107, 467, 504, 501 ], "lines": [ { "bbox": [ 105, 467, 505, 480 ], "spans": [ { "bbox": [ 105, 467, 505, 480 ], "score": 1.0, "content": "Zihang Dai, Zhilin Yang, Yiming Yang, Jaime G Carbonell, Quoc Le, and Ruslan Salakhutdinov.", "type": "text" } ], "index": 29 }, { "bbox": [ 116, 477, 505, 491 ], "spans": [ { "bbox": [ 116, 477, 505, 491 ], "score": 1.0, "content": "Transformer-xl: Attentive language models beyond a fixed-length context. In Proceedings of the", "type": "text" } ], "index": 30 }, { "bbox": [ 115, 488, 492, 503 ], "spans": [ { "bbox": [ 115, 488, 492, 503 ], "score": 1.0, "content": "57th Annual Meeting of the Association for Computational Linguistics, pp. 2978–2988, 2019.", "type": "text" } ], "index": 31 } ], "index": 30 }, { "type": "text", "bbox": [ 105, 507, 504, 531 ], "lines": [ { "bbox": [ 106, 507, 505, 522 ], "spans": [ { "bbox": [ 106, 507, 505, 522 ], "score": 1.0, "content": "Tim Dettmers, Mike Lewis, Sam Shleifer, and Luke Zettlemoyer. 8-bit optimizers via block-wise", "type": "text" } ], "index": 32 }, { "bbox": [ 116, 519, 334, 531 ], "spans": [ { "bbox": [ 116, 519, 334, 531 ], "score": 1.0, "content": "quantization. arXiv preprint arXiv:2110.02861, 2021.", "type": "text" } ], "index": 33 } ], "index": 32.5 }, { "type": "text", "bbox": [ 104, 536, 503, 560 ], "lines": [ { "bbox": [ 106, 536, 505, 550 ], "spans": [ { "bbox": [ 106, 536, 505, 550 ], "score": 1.0, "content": "Tim Dettmers, Mike Lewis, Younes Belkada, and Luke Zettlemoyer. Llm. int8 (): 8-bit matrix", "type": "text" } ], "index": 34 }, { "bbox": [ 116, 548, 439, 560 ], "spans": [ { "bbox": [ 116, 548, 439, 560 ], "score": 1.0, "content": "multiplication for transformers at scale. arXiv preprint arXiv:2208.07339, 2022.", "type": "text" } ], "index": 35 } ], "index": 34.5 }, { "type": "text", "bbox": [ 107, 566, 505, 600 ], "lines": [ { "bbox": [ 105, 566, 505, 579 ], "spans": [ { "bbox": [ 105, 566, 505, 579 ], "score": 1.0, "content": "Sunipa Dev, Masoud Monajatipoor, Anaelia Ovalle, Arjun Subramonian, J. M. Phillips, and Kai Wei", "type": "text" } ], "index": 36 }, { "bbox": [ 115, 577, 505, 591 ], "spans": [ { "bbox": [ 115, 577, 505, 591 ], "score": 1.0, "content": "Chang. Harms of gender exclusivity and challenges in non-binary representation in language", "type": "text" } ], "index": 37 }, { "bbox": [ 116, 588, 294, 600 ], "spans": [ { "bbox": [ 116, 588, 294, 600 ], "score": 1.0, "content": "technologies. ArXiv, abs/2108.12084, 2021.", "type": "text" } ], "index": 38 } ], "index": 37 }, { "type": "text", "bbox": [ 106, 606, 505, 651 ], "lines": [ { "bbox": [ 105, 606, 505, 619 ], "spans": [ { "bbox": [ 105, 606, 505, 619 ], "score": 1.0, "content": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep", "type": "text" } ], "index": 39 }, { "bbox": [ 115, 616, 506, 632 ], "spans": [ { "bbox": [ 115, 616, 506, 632 ], "score": 1.0, "content": "bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of", "type": "text" } ], "index": 40 }, { "bbox": [ 115, 628, 505, 642 ], "spans": [ { "bbox": [ 115, 628, 505, 642 ], "score": 1.0, "content": "the North American Chapter of the Association for Computational Linguistics: Human Language", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 640, 406, 652 ], "spans": [ { "bbox": [ 115, 640, 406, 652 ], "score": 1.0, "content": "Technologies, Volume 1 (Long and Short Papers), pp. 4171–4186, 2019.", "type": "text" } ], "index": 42 } ], "index": 40.5 }, { "type": "text", "bbox": [ 108, 657, 503, 692 ], "lines": [ { "bbox": [ 105, 657, 505, 671 ], "spans": [ { "bbox": [ 105, 657, 505, 671 ], "score": 1.0, "content": "Ming Ding, Zhuoyi Yang, Wenyi Hong, Wendi Zheng, Chang Zhou, Da Yin, Junyang Lin, Xu Zou,", "type": "text" } ], "index": 43 }, { "bbox": [ 115, 668, 505, 682 ], "spans": [ { "bbox": [ 115, 668, 505, 682 ], "score": 1.0, "content": "Zhou Shao, Hongxia Yang, et al. Cogview: Mastering text-to-image generation via transformers.", "type": "text" } ], "index": 44 }, { "bbox": [ 115, 680, 429, 693 ], "spans": [ { "bbox": [ 115, 680, 429, 693 ], "score": 1.0, "content": "Advances in Neural Information Processing Systems, 34:19822–19835, 2021.", "type": "text" } ], "index": 45 } ], "index": 44 }, { "type": "text", "bbox": [ 107, 698, 505, 732 ], "lines": [ { "bbox": [ 105, 697, 505, 712 ], "spans": [ { "bbox": [ 105, 697, 505, 712 ], "score": 1.0, "content": "Li Dong, Nan Yang, Wenhui Wang, Furu Wei, Xiaodong Liu, Yu Wang, Jianfeng Gao, Ming Zhou,", "type": "text" } ], "index": 46 }, { "bbox": [ 115, 709, 505, 723 ], "spans": [ { "bbox": [ 115, 709, 505, 723 ], "score": 1.0, "content": "and Hsiao-Wuen Hon. Unified language model pre-training for natural language understanding", "type": "text" } ], "index": 47 }, { "bbox": [ 115, 720, 436, 733 ], "spans": [ { "bbox": [ 115, 720, 436, 733 ], "score": 1.0, "content": "and generation. Advances in Neural Information Processing Systems, 32, 2019.", "type": "text" } ], "index": 48 } ], "index": 47 } ], "page_idx": 11, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 299, 750, 313, 764 ], "spans": [ { "bbox": [ 299, 750, 313, 764 ], "score": 1.0, "content": "12", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 108, 82, 502, 116 ], "lines": [ { "bbox": [ 105, 82, 504, 96 ], "spans": [ { "bbox": [ 105, 82, 504, 96 ], "score": 1.0, "content": "Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx,", "type": "text" } ], "index": 0 }, { "bbox": [ 115, 92, 504, 107 ], "spans": [ { "bbox": [ 115, 92, 504, 107 ], "score": 1.0, "content": "Michael S Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, et al. On the opportu-", "type": "text" } ], "index": 1 }, { "bbox": [ 116, 104, 433, 117 ], "spans": [ { "bbox": [ 116, 104, 433, 117 ], "score": 1.0, "content": "nities and risks of foundation models. arXiv preprint arXiv:2108.07258, 2021.", "type": "text" } ], "index": 2 } ], "index": 1, "bbox_fs": [ 105, 82, 504, 117 ] }, { "type": "text", "bbox": [ 109, 122, 503, 156 ], "lines": [ { "bbox": [ 106, 122, 505, 136 ], "spans": [ { "bbox": [ 106, 122, 505, 136 ], "score": 1.0, "content": "Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal,", "type": "text" } ], "index": 3 }, { "bbox": [ 116, 134, 505, 146 ], "spans": [ { "bbox": [ 116, 134, 505, 146 ], "score": 1.0, "content": "Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are", "type": "text" } ], "index": 4 }, { "bbox": [ 116, 144, 488, 158 ], "spans": [ { "bbox": [ 116, 144, 488, 158 ], "score": 1.0, "content": "few-shot learners. Advances in neural information processing systems, 33:1877–1901, 2020.", "type": "text" } ], "index": 5 } ], "index": 4, "bbox_fs": [ 106, 122, 505, 158 ] }, { "type": "text", "bbox": [ 106, 162, 506, 208 ], "lines": [ { "bbox": [ 105, 162, 506, 176 ], "spans": [ { "bbox": [ 105, 162, 506, 176 ], "score": 1.0, "content": "Nicola De Cao, Wilker Aziz, and Ivan Titov. Editing factual knowledge in language models. In", "type": "text" } ], "index": 6 }, { "bbox": [ 115, 173, 505, 188 ], "spans": [ { "bbox": [ 115, 173, 505, 188 ], "score": 1.0, "content": "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing,", "type": "text" } ], "index": 7 }, { "bbox": [ 115, 185, 506, 198 ], "spans": [ { "bbox": [ 115, 185, 506, 198 ], "score": 1.0, "content": "EMNLP 2021, Virtual Event / Punta Cana, Dominican Republic, 7-11 November, 2021, pp. 6491–", "type": "text" } ], "index": 8 }, { "bbox": [ 116, 196, 342, 208 ], "spans": [ { "bbox": [ 116, 196, 342, 208 ], "score": 1.0, "content": "6506. Association for Computational Linguistics, 2021.", "type": "text" } ], "index": 9 } ], "index": 7.5, "bbox_fs": [ 105, 162, 506, 208 ] }, { "type": "text", "bbox": [ 106, 214, 503, 237 ], "lines": [ { "bbox": [ 106, 213, 505, 227 ], "spans": [ { "bbox": [ 106, 213, 505, 227 ], "score": 1.0, "content": "Xavier Carreras and Lluís Màrquez. Introduction to the conll-2005 shared task: Semantic role", "type": "text" } ], "index": 10 }, { "bbox": [ 115, 225, 280, 237 ], "spans": [ { "bbox": [ 115, 225, 280, 237 ], "score": 1.0, "content": "labeling. In CoNLL, pp. 152–164, 2005.", "type": "text" } ], "index": 11 } ], "index": 10.5, "bbox_fs": [ 106, 213, 505, 237 ] }, { "type": "text", "bbox": [ 107, 243, 505, 311 ], "lines": [ { "bbox": [ 106, 242, 505, 256 ], "spans": [ { "bbox": [ 106, 242, 505, 256 ], "score": 1.0, "content": "Thiago Castro Ferreira, Claire Gardent, Nikolai Ilinykh, Chris van der Lee, Simon Mille, Diego", "type": "text" } ], "index": 12 }, { "bbox": [ 115, 254, 505, 267 ], "spans": [ { "bbox": [ 115, 254, 467, 267 ], "score": 1.0, "content": "Moussallem, and Anastasia Shimorina. The 2020 bilingual, bi-directional WebNLG", "type": "text" }, { "bbox": [ 468, 256, 475, 265 ], "score": 0.47, "content": "^ +", "type": "inline_equation" }, { "bbox": [ 475, 254, 505, 267 ], "score": 1.0, "content": "shared", "type": "text" } ], "index": 13 }, { "bbox": [ 115, 266, 505, 277 ], "spans": [ { "bbox": [ 115, 266, 322, 277 ], "score": 1.0, "content": "task: Overview and evaluation results (WebNLG", "type": "text" }, { "bbox": [ 323, 267, 330, 276 ], "score": 0.5, "content": "^ +", "type": "inline_equation" }, { "bbox": [ 331, 266, 505, 277 ], "score": 1.0, "content": "2020). In Proceedings of the 3rd Inter-", "type": "text" } ], "index": 14 }, { "bbox": [ 114, 275, 505, 291 ], "spans": [ { "bbox": [ 114, 275, 435, 291 ], "score": 1.0, "content": "national Workshop on Natural Language Generation from the Semantic Web", "type": "text" }, { "bbox": [ 436, 277, 483, 288 ], "score": 0.34, "content": "( W e b N L G + ,", "type": "inline_equation" }, { "bbox": [ 483, 275, 505, 291 ], "score": 1.0, "content": "), pp.", "type": "text" } ], "index": 15 }, { "bbox": [ 115, 286, 505, 300 ], "spans": [ { "bbox": [ 115, 286, 505, 300 ], "score": 1.0, "content": "55–76, Dublin, Ireland (Virtual), 12 2020. Association for Computational Linguistics. URL", "type": "text" } ], "index": 16 }, { "bbox": [ 115, 298, 362, 311 ], "spans": [ { "bbox": [ 115, 298, 362, 311 ], "score": 1.0, "content": "https://aclanthology.org/2020.webnlg-1.7.", "type": "text" } ], "index": 17 } ], "index": 14.5, "bbox_fs": [ 106, 242, 505, 311 ] }, { "type": "text", "bbox": [ 107, 317, 505, 350 ], "lines": [ { "bbox": [ 105, 316, 505, 330 ], "spans": [ { "bbox": [ 105, 316, 505, 330 ], "score": 1.0, "content": "Xinlei Chen, Saining Xie, and Kaiming He. An empirical study of training self-supervised vision", "type": "text" } ], "index": 18 }, { "bbox": [ 115, 327, 505, 342 ], "spans": [ { "bbox": [ 115, 327, 505, 342 ], "score": 1.0, "content": "transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp.", "type": "text" } ], "index": 19 }, { "bbox": [ 117, 339, 191, 351 ], "spans": [ { "bbox": [ 117, 339, 191, 351 ], "score": 1.0, "content": "9640–9649, 2021.", "type": "text" } ], "index": 20 } ], "index": 19, "bbox_fs": [ 105, 316, 505, 351 ] }, { "type": "text", "bbox": [ 105, 357, 504, 380 ], "lines": [ { "bbox": [ 105, 355, 505, 371 ], "spans": [ { "bbox": [ 105, 355, 505, 371 ], "score": 1.0, "content": "Ke-Li Chiu and Rohan Alexander. Detecting hate speech with gpt-3. arXiv preprint", "type": "text" } ], "index": 21 }, { "bbox": [ 115, 368, 219, 380 ], "spans": [ { "bbox": [ 115, 368, 219, 380 ], "score": 1.0, "content": "arXiv:2103.12407, 2021.", "type": "text" } ], "index": 22 } ], "index": 21.5, "bbox_fs": [ 105, 355, 505, 380 ] }, { "type": "text", "bbox": [ 107, 386, 504, 420 ], "lines": [ { "bbox": [ 106, 387, 505, 399 ], "spans": [ { "bbox": [ 106, 387, 505, 399 ], "score": 1.0, "content": "Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam", "type": "text" } ], "index": 23 }, { "bbox": [ 116, 398, 505, 410 ], "spans": [ { "bbox": [ 116, 398, 505, 410 ], "score": 1.0, "content": "Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. Palm:", "type": "text" } ], "index": 24 }, { "bbox": [ 116, 408, 453, 422 ], "spans": [ { "bbox": [ 116, 408, 453, 422 ], "score": 1.0, "content": "Scaling language modeling with pathways. arXiv preprint arXiv:2204.02311, 2022.", "type": "text" } ], "index": 25 } ], "index": 24, "bbox_fs": [ 106, 387, 505, 422 ] }, { "type": "text", "bbox": [ 107, 426, 504, 460 ], "lines": [ { "bbox": [ 105, 426, 505, 439 ], "spans": [ { "bbox": [ 105, 426, 505, 439 ], "score": 1.0, "content": "Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and", "type": "text" } ], "index": 26 }, { "bbox": [ 116, 438, 505, 451 ], "spans": [ { "bbox": [ 116, 438, 505, 451 ], "score": 1.0, "content": "Oyvind Tafjord. Think you have solved question answering? try arc, the ai2 reasoning challenge.", "type": "text" } ], "index": 27 }, { "bbox": [ 116, 449, 279, 461 ], "spans": [ { "bbox": [ 116, 449, 279, 461 ], "score": 1.0, "content": "arXiv preprint arXiv:1803.05457, 2018.", "type": "text" } ], "index": 28 } ], "index": 27, "bbox_fs": [ 105, 426, 505, 461 ] }, { "type": "text", "bbox": [ 107, 467, 504, 501 ], "lines": [ { "bbox": [ 105, 467, 505, 480 ], "spans": [ { "bbox": [ 105, 467, 505, 480 ], "score": 1.0, "content": "Zihang Dai, Zhilin Yang, Yiming Yang, Jaime G Carbonell, Quoc Le, and Ruslan Salakhutdinov.", "type": "text" } ], "index": 29 }, { "bbox": [ 116, 477, 505, 491 ], "spans": [ { "bbox": [ 116, 477, 505, 491 ], "score": 1.0, "content": "Transformer-xl: Attentive language models beyond a fixed-length context. In Proceedings of the", "type": "text" } ], "index": 30 }, { "bbox": [ 115, 488, 492, 503 ], "spans": [ { "bbox": [ 115, 488, 492, 503 ], "score": 1.0, "content": "57th Annual Meeting of the Association for Computational Linguistics, pp. 2978–2988, 2019.", "type": "text" } ], "index": 31 } ], "index": 30, "bbox_fs": [ 105, 467, 505, 503 ] }, { "type": "text", "bbox": [ 105, 507, 504, 531 ], "lines": [ { "bbox": [ 106, 507, 505, 522 ], "spans": [ { "bbox": [ 106, 507, 505, 522 ], "score": 1.0, "content": "Tim Dettmers, Mike Lewis, Sam Shleifer, and Luke Zettlemoyer. 8-bit optimizers via block-wise", "type": "text" } ], "index": 32 }, { "bbox": [ 116, 519, 334, 531 ], "spans": [ { "bbox": [ 116, 519, 334, 531 ], "score": 1.0, "content": "quantization. arXiv preprint arXiv:2110.02861, 2021.", "type": "text" } ], "index": 33 } ], "index": 32.5, "bbox_fs": [ 106, 507, 505, 531 ] }, { "type": "text", "bbox": [ 104, 536, 503, 560 ], "lines": [ { "bbox": [ 106, 536, 505, 550 ], "spans": [ { "bbox": [ 106, 536, 505, 550 ], "score": 1.0, "content": "Tim Dettmers, Mike Lewis, Younes Belkada, and Luke Zettlemoyer. Llm. int8 (): 8-bit matrix", "type": "text" } ], "index": 34 }, { "bbox": [ 116, 548, 439, 560 ], "spans": [ { "bbox": [ 116, 548, 439, 560 ], "score": 1.0, "content": "multiplication for transformers at scale. arXiv preprint arXiv:2208.07339, 2022.", "type": "text" } ], "index": 35 } ], "index": 34.5, "bbox_fs": [ 106, 536, 505, 560 ] }, { "type": "text", "bbox": [ 107, 566, 505, 600 ], "lines": [ { "bbox": [ 105, 566, 505, 579 ], "spans": [ { "bbox": [ 105, 566, 505, 579 ], "score": 1.0, "content": "Sunipa Dev, Masoud Monajatipoor, Anaelia Ovalle, Arjun Subramonian, J. M. Phillips, and Kai Wei", "type": "text" } ], "index": 36 }, { "bbox": [ 115, 577, 505, 591 ], "spans": [ { "bbox": [ 115, 577, 505, 591 ], "score": 1.0, "content": "Chang. Harms of gender exclusivity and challenges in non-binary representation in language", "type": "text" } ], "index": 37 }, { "bbox": [ 116, 588, 294, 600 ], "spans": [ { "bbox": [ 116, 588, 294, 600 ], "score": 1.0, "content": "technologies. ArXiv, abs/2108.12084, 2021.", "type": "text" } ], "index": 38 } ], "index": 37, "bbox_fs": [ 105, 566, 505, 600 ] }, { "type": "text", "bbox": [ 106, 606, 505, 651 ], "lines": [ { "bbox": [ 105, 606, 505, 619 ], "spans": [ { "bbox": [ 105, 606, 505, 619 ], "score": 1.0, "content": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep", "type": "text" } ], "index": 39 }, { "bbox": [ 115, 616, 506, 632 ], "spans": [ { "bbox": [ 115, 616, 506, 632 ], "score": 1.0, "content": "bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of", "type": "text" } ], "index": 40 }, { "bbox": [ 115, 628, 505, 642 ], "spans": [ { "bbox": [ 115, 628, 505, 642 ], "score": 1.0, "content": "the North American Chapter of the Association for Computational Linguistics: Human Language", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 640, 406, 652 ], "spans": [ { "bbox": [ 115, 640, 406, 652 ], "score": 1.0, "content": "Technologies, Volume 1 (Long and Short Papers), pp. 4171–4186, 2019.", "type": "text" } ], "index": 42 } ], "index": 40.5, "bbox_fs": [ 105, 606, 506, 652 ] }, { "type": "text", "bbox": [ 108, 657, 503, 692 ], "lines": [ { "bbox": [ 105, 657, 505, 671 ], "spans": [ { "bbox": [ 105, 657, 505, 671 ], "score": 1.0, "content": "Ming Ding, Zhuoyi Yang, Wenyi Hong, Wendi Zheng, Chang Zhou, Da Yin, Junyang Lin, Xu Zou,", "type": "text" } ], "index": 43 }, { "bbox": [ 115, 668, 505, 682 ], "spans": [ { "bbox": [ 115, 668, 505, 682 ], "score": 1.0, "content": "Zhou Shao, Hongxia Yang, et al. Cogview: Mastering text-to-image generation via transformers.", "type": "text" } ], "index": 44 }, { "bbox": [ 115, 680, 429, 693 ], "spans": [ { "bbox": [ 115, 680, 429, 693 ], "score": 1.0, "content": "Advances in Neural Information Processing Systems, 34:19822–19835, 2021.", "type": "text" } ], "index": 45 } ], "index": 44, "bbox_fs": [ 105, 657, 505, 693 ] }, { "type": "text", "bbox": [ 107, 698, 505, 732 ], "lines": [ { "bbox": [ 105, 697, 505, 712 ], "spans": [ { "bbox": [ 105, 697, 505, 712 ], "score": 1.0, "content": "Li Dong, Nan Yang, Wenhui Wang, Furu Wei, Xiaodong Liu, Yu Wang, Jianfeng Gao, Ming Zhou,", "type": "text" } ], "index": 46 }, { "bbox": [ 115, 709, 505, 723 ], "spans": [ { "bbox": [ 115, 709, 505, 723 ], "score": 1.0, "content": "and Hsiao-Wuen Hon. Unified language model pre-training for natural language understanding", "type": "text" } ], "index": 47 }, { "bbox": [ 115, 720, 436, 733 ], "spans": [ { "bbox": [ 115, 720, 436, 733 ], "score": 1.0, "content": "and generation. Advances in Neural Information Processing Systems, 32, 2019.", "type": "text" } ], "index": 48 } ], "index": 47, "bbox_fs": [ 105, 697, 505, 733 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 126 ], "lines": [ { "bbox": [ 105, 82, 505, 95 ], "spans": [ { "bbox": [ 105, 82, 505, 95 ], "score": 1.0, "content": "Zhengxiao Du, Yujie Qian, Xiao Liu, Ming Ding, Jiezhong Qiu, Zhilin Yang, and Jie Tang. Glm:", "type": "text" } ], "index": 0 }, { "bbox": [ 115, 93, 505, 106 ], "spans": [ { "bbox": [ 115, 93, 505, 106 ], "score": 1.0, "content": "General language model pretraining with autoregressive blank infilling. In Proceedings of the", "type": "text" } ], "index": 1 }, { "bbox": [ 115, 104, 506, 118 ], "spans": [ { "bbox": [ 115, 104, 506, 118 ], "score": 1.0, "content": "60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers),", "type": "text" } ], "index": 2 }, { "bbox": [ 114, 115, 197, 127 ], "spans": [ { "bbox": [ 114, 115, 197, 127 ], "score": 1.0, "content": "pp. 320–335, 2022.", "type": "text" } ], "index": 3 } ], "index": 1.5 }, { "type": "text", "bbox": [ 106, 134, 505, 189 ], "lines": [ { "bbox": [ 106, 134, 505, 146 ], "spans": [ { "bbox": [ 106, 134, 505, 146 ], "score": 1.0, "content": "Ondˇrej Dušek, David M. Howcroft, and Verena Rieser. Semantic noise matters for neural natural", "type": "text" } ], "index": 4 }, { "bbox": [ 115, 144, 506, 159 ], "spans": [ { "bbox": [ 115, 144, 506, 159 ], "score": 1.0, "content": "language generation. In Proceedings of the 12th International Conference on Natural Language", "type": "text" } ], "index": 5 }, { "bbox": [ 116, 156, 505, 169 ], "spans": [ { "bbox": [ 116, 156, 505, 169 ], "score": 1.0, "content": "Generation, pp. 421–426, Tokyo, Japan, October–November 2019. Association for Computa-", "type": "text" } ], "index": 6 }, { "bbox": [ 115, 165, 505, 180 ], "spans": [ { "bbox": [ 115, 165, 505, 180 ], "score": 1.0, "content": "tional Linguistics. doi: 10.18653/v1/W19-8652. URL https://aclanthology.org/W19", "type": "text" } ], "index": 7 }, { "bbox": [ 115, 176, 153, 191 ], "spans": [ { "bbox": [ 115, 176, 153, 191 ], "score": 1.0, "content": "-8652.", "type": "text" } ], "index": 8 } ], "index": 6 }, { "type": "text", "bbox": [ 106, 196, 505, 241 ], "lines": [ { "bbox": [ 105, 196, 505, 210 ], "spans": [ { "bbox": [ 105, 196, 505, 210 ], "score": 1.0, "content": "Hady Elsahar, Pavlos Vougiouklis, Arslen Remaci, Christophe Gravier, Jonathon Hare, Frederique", "type": "text" } ], "index": 9 }, { "bbox": [ 114, 207, 505, 221 ], "spans": [ { "bbox": [ 114, 207, 505, 221 ], "score": 1.0, "content": "Laforest, and Elena Simperl. T-rex: A large scale alignment of natural language with knowledge", "type": "text" } ], "index": 10 }, { "bbox": [ 116, 219, 505, 231 ], "spans": [ { "bbox": [ 116, 219, 505, 231 ], "score": 1.0, "content": "base triples. In Proceedings of the Eleventh International Conference on Language Resources", "type": "text" } ], "index": 11 }, { "bbox": [ 116, 230, 263, 242 ], "spans": [ { "bbox": [ 116, 230, 263, 242 ], "score": 1.0, "content": "and Evaluation (LREC 2018), 2018.", "type": "text" } ], "index": 12 } ], "index": 10.5 }, { "type": "text", "bbox": [ 108, 248, 505, 282 ], "lines": [ { "bbox": [ 105, 248, 505, 261 ], "spans": [ { "bbox": [ 105, 248, 505, 261 ], "score": 1.0, "content": "Mihail Eric, Rahul Goel, Shachi Paul, Abhishek Sethi, Sanchit Agarwal, Shuyang Gao, Adarsh", "type": "text" } ], "index": 13 }, { "bbox": [ 116, 260, 505, 272 ], "spans": [ { "bbox": [ 116, 260, 505, 272 ], "score": 1.0, "content": "Kumar, Anuj Kumar Goyal, Peter Ku, and Dilek Hakkani-Tür. Multiwoz 2.1: A consolidated", "type": "text" } ], "index": 14 }, { "bbox": [ 116, 271, 505, 283 ], "spans": [ { "bbox": [ 116, 271, 505, 283 ], "score": 1.0, "content": "multi-domain dialogue dataset with state corrections and state tracking baselines. In LREC, 2020.", "type": "text" } ], "index": 15 } ], "index": 14 }, { "type": "text", "bbox": [ 104, 289, 504, 312 ], "lines": [ { "bbox": [ 106, 289, 505, 303 ], "spans": [ { "bbox": [ 106, 289, 505, 303 ], "score": 1.0, "content": "Angela Fan, Edouard Grave, and Armand Joulin. Reducing transformer depth on demand with", "type": "text" } ], "index": 16 }, { "bbox": [ 115, 301, 358, 312 ], "spans": [ { "bbox": [ 115, 301, 358, 312 ], "score": 1.0, "content": "structured dropout. arXiv preprint arXiv:1909.11556, 2019.", "type": "text" } ], "index": 17 } ], "index": 16.5 }, { "type": "text", "bbox": [ 107, 319, 504, 353 ], "lines": [ { "bbox": [ 105, 318, 505, 333 ], "spans": [ { "bbox": [ 105, 318, 505, 333 ], "score": 1.0, "content": "Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason", "type": "text" } ], "index": 18 }, { "bbox": [ 115, 330, 506, 344 ], "spans": [ { "bbox": [ 115, 330, 506, 344 ], "score": 1.0, "content": "Phang, Horace He, Anish Thite, Noa Nabeshima, et al. The pile: An 800gb dataset of diverse text", "type": "text" } ], "index": 19 }, { "bbox": [ 115, 341, 375, 354 ], "spans": [ { "bbox": [ 115, 341, 375, 354 ], "score": 1.0, "content": "for language modeling. arXiv preprint arXiv:2101.00027, 2020.", "type": "text" } ], "index": 20 } ], "index": 19 }, { "type": "text", "bbox": [ 108, 360, 504, 394 ], "lines": [ { "bbox": [ 106, 361, 505, 372 ], "spans": [ { "bbox": [ 106, 361, 505, 372 ], "score": 1.0, "content": "Samuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi, and Noah A. Smith. Realtoxic-", "type": "text" } ], "index": 21 }, { "bbox": [ 114, 371, 505, 385 ], "spans": [ { "bbox": [ 114, 371, 505, 385 ], "score": 1.0, "content": "ityprompts: Evaluating Neural Toxic Degeneration in Language Models. dblp://journals/dblp,", "type": "text" } ], "index": 22 }, { "bbox": [ 114, 381, 142, 396 ], "spans": [ { "bbox": [ 114, 381, 142, 396 ], "score": 1.0, "content": "2020.", "type": "text" } ], "index": 23 } ], "index": 22 }, { "type": "text", "bbox": [ 107, 401, 505, 446 ], "lines": [ { "bbox": [ 106, 401, 505, 413 ], "spans": [ { "bbox": [ 106, 401, 505, 413 ], "score": 1.0, "content": "Sebastian Gehrmann, Hendrik Strobelt, and Alexander Rush. GLTR: Statistical detection and vi-", "type": "text" } ], "index": 24 }, { "bbox": [ 115, 412, 505, 425 ], "spans": [ { "bbox": [ 115, 412, 505, 425 ], "score": 1.0, "content": "sualization of generated text. In Proceedings of the 57th Annual Meeting of the Association for", "type": "text" } ], "index": 25 }, { "bbox": [ 116, 423, 505, 436 ], "spans": [ { "bbox": [ 116, 423, 505, 436 ], "score": 1.0, "content": "Computational Linguistics: System Demonstrations, pp. 111–116, Florence, Italy, July 2019. As-", "type": "text" } ], "index": 26 }, { "bbox": [ 117, 435, 280, 447 ], "spans": [ { "bbox": [ 117, 435, 280, 447 ], "score": 1.0, "content": "sociation for Computational Linguistics.", "type": "text" } ], "index": 27 } ], "index": 25.5 }, { "type": "text", "bbox": [ 106, 453, 505, 498 ], "lines": [ { "bbox": [ 106, 453, 505, 465 ], "spans": [ { "bbox": [ 106, 453, 505, 465 ], "score": 1.0, "content": "Sebastian Gehrmann, Tosin Adewumi, Karmanya Aggarwal, Pawan Sasanka Ammanamanchi,", "type": "text" } ], "index": 28 }, { "bbox": [ 116, 464, 505, 477 ], "spans": [ { "bbox": [ 116, 464, 505, 477 ], "score": 1.0, "content": "Aremu Anuoluwapo, Antoine Bosselut, Khyathi Raghavi Chandu, Miruna Clinciu, Dipanjan Das,", "type": "text" } ], "index": 29 }, { "bbox": [ 116, 475, 506, 488 ], "spans": [ { "bbox": [ 116, 475, 506, 488 ], "score": 1.0, "content": "Kaustubh D Dhole, et al. The gem benchmark: Natural language generation, its evaluation and", "type": "text" } ], "index": 30 }, { "bbox": [ 115, 487, 258, 498 ], "spans": [ { "bbox": [ 115, 487, 258, 498 ], "score": 1.0, "content": "metrics. GEM 2021, pp. 96, 2021.", "type": "text" } ], "index": 31 } ], "index": 29.5 }, { "type": "text", "bbox": [ 106, 505, 506, 539 ], "lines": [ { "bbox": [ 105, 504, 506, 517 ], "spans": [ { "bbox": [ 105, 504, 506, 517 ], "score": 1.0, "content": "Mor Geva, Daniel Khashabi, Elad Segal, Tushar Khot, Dan Roth, and Jonathan Berant. Did aristotle", "type": "text" } ], "index": 32 }, { "bbox": [ 116, 516, 506, 529 ], "spans": [ { "bbox": [ 116, 516, 506, 529 ], "score": 1.0, "content": "use a laptop? a question answering benchmark with implicit reasoning strategies. Transactions of", "type": "text" } ], "index": 33 }, { "bbox": [ 116, 527, 377, 540 ], "spans": [ { "bbox": [ 116, 527, 377, 540 ], "score": 1.0, "content": "the Association for Computational Linguistics, 9:346–361, 2021.", "type": "text" } ], "index": 34 } ], "index": 33 }, { "type": "text", "bbox": [ 108, 546, 505, 580 ], "lines": [ { "bbox": [ 105, 545, 505, 558 ], "spans": [ { "bbox": [ 105, 545, 505, 558 ], "score": 1.0, "content": "Peter Hase, Mona T. Diab, Asli Celikyilmaz, Xian Li, Zornitsa Kozareva, Veselin Stoyanov, Mohit", "type": "text" } ], "index": 35 }, { "bbox": [ 114, 554, 506, 572 ], "spans": [ { "bbox": [ 114, 554, 506, 572 ], "score": 1.0, "content": "Bansal, and Srinivasan Iyer. Do language models have beliefs? methods for detecting, updating,", "type": "text" } ], "index": 36 }, { "bbox": [ 116, 568, 362, 580 ], "spans": [ { "bbox": [ 116, 568, 362, 580 ], "score": 1.0, "content": "and visualizing model beliefs. CoRR, abs/2111.13654, 2021.", "type": "text" } ], "index": 37 } ], "index": 36 }, { "type": "text", "bbox": [ 106, 586, 505, 621 ], "lines": [ { "bbox": [ 106, 586, 505, 599 ], "spans": [ { "bbox": [ 106, 586, 505, 599 ], "score": 1.0, "content": "Ruining He, Anirudh Ravula, Bhargav Kanagal, and Joshua Ainslie. Realformer: Transformer likes", "type": "text" } ], "index": 38 }, { "bbox": [ 115, 598, 505, 610 ], "spans": [ { "bbox": [ 115, 598, 505, 610 ], "score": 1.0, "content": "residual attention. In Findings of the Association for Computational Linguistics: ACL-IJCNLP", "type": "text" } ], "index": 39 }, { "bbox": [ 116, 609, 221, 621 ], "spans": [ { "bbox": [ 116, 609, 221, 621 ], "score": 1.0, "content": "2021, pp. 929–943, 2021.", "type": "text" } ], "index": 40 } ], "index": 39 }, { "type": "text", "bbox": [ 104, 627, 505, 650 ], "lines": [ { "bbox": [ 105, 626, 506, 641 ], "spans": [ { "bbox": [ 105, 626, 506, 641 ], "score": 1.0, "content": "Dan Hendrycks and Kevin Gimpel. Gaussian error linear units (gelus). arXiv preprint", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 638, 220, 650 ], "spans": [ { "bbox": [ 115, 638, 220, 650 ], "score": 1.0, "content": "arXiv:1606.08415, 2016.", "type": "text" } ], "index": 42 } ], "index": 41.5 }, { "type": "text", "bbox": [ 107, 657, 504, 691 ], "lines": [ { "bbox": [ 106, 658, 505, 670 ], "spans": [ { "bbox": [ 106, 658, 505, 670 ], "score": 1.0, "content": "Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob", "type": "text" } ], "index": 43 }, { "bbox": [ 116, 668, 505, 681 ], "spans": [ { "bbox": [ 116, 668, 505, 681 ], "score": 1.0, "content": "Steinhardt. Measuring massive multitask language understanding. In International Conference", "type": "text" } ], "index": 44 }, { "bbox": [ 116, 680, 262, 692 ], "spans": [ { "bbox": [ 116, 680, 262, 692 ], "score": 1.0, "content": "on Learning Representations, 2021.", "type": "text" } ], "index": 45 } ], "index": 44 }, { "type": "text", "bbox": [ 107, 699, 505, 732 ], "lines": [ { "bbox": [ 105, 698, 505, 711 ], "spans": [ { "bbox": [ 105, 698, 505, 711 ], "score": 1.0, "content": "Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza", "type": "text" } ], "index": 46 }, { "bbox": [ 116, 710, 505, 722 ], "spans": [ { "bbox": [ 116, 710, 505, 722 ], "score": 1.0, "content": "Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, et al. Train-", "type": "text" } ], "index": 47 }, { "bbox": [ 116, 721, 459, 733 ], "spans": [ { "bbox": [ 116, 721, 459, 733 ], "score": 1.0, "content": "ing compute-optimal large language models. arXiv preprint arXiv:2203.15556, 2022.", "type": "text" } ], "index": 48 } ], "index": 47 } ], "page_idx": 12, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 299, 750, 312, 764 ], "spans": [ { "bbox": [ 299, 750, 312, 764 ], "score": 1.0, "content": "13", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 126 ], "lines": [ { "bbox": [ 105, 82, 505, 95 ], "spans": [ { "bbox": [ 105, 82, 505, 95 ], "score": 1.0, "content": "Zhengxiao Du, Yujie Qian, Xiao Liu, Ming Ding, Jiezhong Qiu, Zhilin Yang, and Jie Tang. Glm:", "type": "text" } ], "index": 0 }, { "bbox": [ 115, 93, 505, 106 ], "spans": [ { "bbox": [ 115, 93, 505, 106 ], "score": 1.0, "content": "General language model pretraining with autoregressive blank infilling. In Proceedings of the", "type": "text" } ], "index": 1 }, { "bbox": [ 115, 104, 506, 118 ], "spans": [ { "bbox": [ 115, 104, 506, 118 ], "score": 1.0, "content": "60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers),", "type": "text" } ], "index": 2 }, { "bbox": [ 114, 115, 197, 127 ], "spans": [ { "bbox": [ 114, 115, 197, 127 ], "score": 1.0, "content": "pp. 320–335, 2022.", "type": "text" } ], "index": 3 } ], "index": 1.5, "bbox_fs": [ 105, 82, 506, 127 ] }, { "type": "text", "bbox": [ 106, 134, 505, 189 ], "lines": [ { "bbox": [ 106, 134, 505, 146 ], "spans": [ { "bbox": [ 106, 134, 505, 146 ], "score": 1.0, "content": "Ondˇrej Dušek, David M. Howcroft, and Verena Rieser. Semantic noise matters for neural natural", "type": "text" } ], "index": 4 }, { "bbox": [ 115, 144, 506, 159 ], "spans": [ { "bbox": [ 115, 144, 506, 159 ], "score": 1.0, "content": "language generation. In Proceedings of the 12th International Conference on Natural Language", "type": "text" } ], "index": 5 }, { "bbox": [ 116, 156, 505, 169 ], "spans": [ { "bbox": [ 116, 156, 505, 169 ], "score": 1.0, "content": "Generation, pp. 421–426, Tokyo, Japan, October–November 2019. Association for Computa-", "type": "text" } ], "index": 6 }, { "bbox": [ 115, 165, 505, 180 ], "spans": [ { "bbox": [ 115, 165, 505, 180 ], "score": 1.0, "content": "tional Linguistics. doi: 10.18653/v1/W19-8652. URL https://aclanthology.org/W19", "type": "text" } ], "index": 7 }, { "bbox": [ 115, 176, 153, 191 ], "spans": [ { "bbox": [ 115, 176, 153, 191 ], "score": 1.0, "content": "-8652.", "type": "text" } ], "index": 8 } ], "index": 6, "bbox_fs": [ 106, 134, 506, 191 ] }, { "type": "text", "bbox": [ 106, 196, 505, 241 ], "lines": [ { "bbox": [ 105, 196, 505, 210 ], "spans": [ { "bbox": [ 105, 196, 505, 210 ], "score": 1.0, "content": "Hady Elsahar, Pavlos Vougiouklis, Arslen Remaci, Christophe Gravier, Jonathon Hare, Frederique", "type": "text" } ], "index": 9 }, { "bbox": [ 114, 207, 505, 221 ], "spans": [ { "bbox": [ 114, 207, 505, 221 ], "score": 1.0, "content": "Laforest, and Elena Simperl. T-rex: A large scale alignment of natural language with knowledge", "type": "text" } ], "index": 10 }, { "bbox": [ 116, 219, 505, 231 ], "spans": [ { "bbox": [ 116, 219, 505, 231 ], "score": 1.0, "content": "base triples. In Proceedings of the Eleventh International Conference on Language Resources", "type": "text" } ], "index": 11 }, { "bbox": [ 116, 230, 263, 242 ], "spans": [ { "bbox": [ 116, 230, 263, 242 ], "score": 1.0, "content": "and Evaluation (LREC 2018), 2018.", "type": "text" } ], "index": 12 } ], "index": 10.5, "bbox_fs": [ 105, 196, 505, 242 ] }, { "type": "text", "bbox": [ 108, 248, 505, 282 ], "lines": [ { "bbox": [ 105, 248, 505, 261 ], "spans": [ { "bbox": [ 105, 248, 505, 261 ], "score": 1.0, "content": "Mihail Eric, Rahul Goel, Shachi Paul, Abhishek Sethi, Sanchit Agarwal, Shuyang Gao, Adarsh", "type": "text" } ], "index": 13 }, { "bbox": [ 116, 260, 505, 272 ], "spans": [ { "bbox": [ 116, 260, 505, 272 ], "score": 1.0, "content": "Kumar, Anuj Kumar Goyal, Peter Ku, and Dilek Hakkani-Tür. Multiwoz 2.1: A consolidated", "type": "text" } ], "index": 14 }, { "bbox": [ 116, 271, 505, 283 ], "spans": [ { "bbox": [ 116, 271, 505, 283 ], "score": 1.0, "content": "multi-domain dialogue dataset with state corrections and state tracking baselines. In LREC, 2020.", "type": "text" } ], "index": 15 } ], "index": 14, "bbox_fs": [ 105, 248, 505, 283 ] }, { "type": "text", "bbox": [ 104, 289, 504, 312 ], "lines": [ { "bbox": [ 106, 289, 505, 303 ], "spans": [ { "bbox": [ 106, 289, 505, 303 ], "score": 1.0, "content": "Angela Fan, Edouard Grave, and Armand Joulin. Reducing transformer depth on demand with", "type": "text" } ], "index": 16 }, { "bbox": [ 115, 301, 358, 312 ], "spans": [ { "bbox": [ 115, 301, 358, 312 ], "score": 1.0, "content": "structured dropout. arXiv preprint arXiv:1909.11556, 2019.", "type": "text" } ], "index": 17 } ], "index": 16.5, "bbox_fs": [ 106, 289, 505, 312 ] }, { "type": "text", "bbox": [ 107, 319, 504, 353 ], "lines": [ { "bbox": [ 105, 318, 505, 333 ], "spans": [ { "bbox": [ 105, 318, 505, 333 ], "score": 1.0, "content": "Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason", "type": "text" } ], "index": 18 }, { "bbox": [ 115, 330, 506, 344 ], "spans": [ { "bbox": [ 115, 330, 506, 344 ], "score": 1.0, "content": "Phang, Horace He, Anish Thite, Noa Nabeshima, et al. The pile: An 800gb dataset of diverse text", "type": "text" } ], "index": 19 }, { "bbox": [ 115, 341, 375, 354 ], "spans": [ { "bbox": [ 115, 341, 375, 354 ], "score": 1.0, "content": "for language modeling. arXiv preprint arXiv:2101.00027, 2020.", "type": "text" } ], "index": 20 } ], "index": 19, "bbox_fs": [ 105, 318, 506, 354 ] }, { "type": "text", "bbox": [ 108, 360, 504, 394 ], "lines": [ { "bbox": [ 106, 361, 505, 372 ], "spans": [ { "bbox": [ 106, 361, 505, 372 ], "score": 1.0, "content": "Samuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi, and Noah A. Smith. Realtoxic-", "type": "text" } ], "index": 21 }, { "bbox": [ 114, 371, 505, 385 ], "spans": [ { "bbox": [ 114, 371, 505, 385 ], "score": 1.0, "content": "ityprompts: Evaluating Neural Toxic Degeneration in Language Models. dblp://journals/dblp,", "type": "text" } ], "index": 22 }, { "bbox": [ 114, 381, 142, 396 ], "spans": [ { "bbox": [ 114, 381, 142, 396 ], "score": 1.0, "content": "2020.", "type": "text" } ], "index": 23 } ], "index": 22, "bbox_fs": [ 106, 361, 505, 396 ] }, { "type": "text", "bbox": [ 107, 401, 505, 446 ], "lines": [ { "bbox": [ 106, 401, 505, 413 ], "spans": [ { "bbox": [ 106, 401, 505, 413 ], "score": 1.0, "content": "Sebastian Gehrmann, Hendrik Strobelt, and Alexander Rush. GLTR: Statistical detection and vi-", "type": "text" } ], "index": 24 }, { "bbox": [ 115, 412, 505, 425 ], "spans": [ { "bbox": [ 115, 412, 505, 425 ], "score": 1.0, "content": "sualization of generated text. In Proceedings of the 57th Annual Meeting of the Association for", "type": "text" } ], "index": 25 }, { "bbox": [ 116, 423, 505, 436 ], "spans": [ { "bbox": [ 116, 423, 505, 436 ], "score": 1.0, "content": "Computational Linguistics: System Demonstrations, pp. 111–116, Florence, Italy, July 2019. As-", "type": "text" } ], "index": 26 }, { "bbox": [ 117, 435, 280, 447 ], "spans": [ { "bbox": [ 117, 435, 280, 447 ], "score": 1.0, "content": "sociation for Computational Linguistics.", "type": "text" } ], "index": 27 } ], "index": 25.5, "bbox_fs": [ 106, 401, 505, 447 ] }, { "type": "text", "bbox": [ 106, 453, 505, 498 ], "lines": [ { "bbox": [ 106, 453, 505, 465 ], "spans": [ { "bbox": [ 106, 453, 505, 465 ], "score": 1.0, "content": "Sebastian Gehrmann, Tosin Adewumi, Karmanya Aggarwal, Pawan Sasanka Ammanamanchi,", "type": "text" } ], "index": 28 }, { "bbox": [ 116, 464, 505, 477 ], "spans": [ { "bbox": [ 116, 464, 505, 477 ], "score": 1.0, "content": "Aremu Anuoluwapo, Antoine Bosselut, Khyathi Raghavi Chandu, Miruna Clinciu, Dipanjan Das,", "type": "text" } ], "index": 29 }, { "bbox": [ 116, 475, 506, 488 ], "spans": [ { "bbox": [ 116, 475, 506, 488 ], "score": 1.0, "content": "Kaustubh D Dhole, et al. The gem benchmark: Natural language generation, its evaluation and", "type": "text" } ], "index": 30 }, { "bbox": [ 115, 487, 258, 498 ], "spans": [ { "bbox": [ 115, 487, 258, 498 ], "score": 1.0, "content": "metrics. GEM 2021, pp. 96, 2021.", "type": "text" } ], "index": 31 } ], "index": 29.5, "bbox_fs": [ 106, 453, 506, 498 ] }, { "type": "text", "bbox": [ 106, 505, 506, 539 ], "lines": [ { "bbox": [ 105, 504, 506, 517 ], "spans": [ { "bbox": [ 105, 504, 506, 517 ], "score": 1.0, "content": "Mor Geva, Daniel Khashabi, Elad Segal, Tushar Khot, Dan Roth, and Jonathan Berant. Did aristotle", "type": "text" } ], "index": 32 }, { "bbox": [ 116, 516, 506, 529 ], "spans": [ { "bbox": [ 116, 516, 506, 529 ], "score": 1.0, "content": "use a laptop? a question answering benchmark with implicit reasoning strategies. Transactions of", "type": "text" } ], "index": 33 }, { "bbox": [ 116, 527, 377, 540 ], "spans": [ { "bbox": [ 116, 527, 377, 540 ], "score": 1.0, "content": "the Association for Computational Linguistics, 9:346–361, 2021.", "type": "text" } ], "index": 34 } ], "index": 33, "bbox_fs": [ 105, 504, 506, 540 ] }, { "type": "text", "bbox": [ 108, 546, 505, 580 ], "lines": [ { "bbox": [ 105, 545, 505, 558 ], "spans": [ { "bbox": [ 105, 545, 505, 558 ], "score": 1.0, "content": "Peter Hase, Mona T. Diab, Asli Celikyilmaz, Xian Li, Zornitsa Kozareva, Veselin Stoyanov, Mohit", "type": "text" } ], "index": 35 }, { "bbox": [ 114, 554, 506, 572 ], "spans": [ { "bbox": [ 114, 554, 506, 572 ], "score": 1.0, "content": "Bansal, and Srinivasan Iyer. Do language models have beliefs? methods for detecting, updating,", "type": "text" } ], "index": 36 }, { "bbox": [ 116, 568, 362, 580 ], "spans": [ { "bbox": [ 116, 568, 362, 580 ], "score": 1.0, "content": "and visualizing model beliefs. CoRR, abs/2111.13654, 2021.", "type": "text" } ], "index": 37 } ], "index": 36, "bbox_fs": [ 105, 545, 506, 580 ] }, { "type": "text", "bbox": [ 106, 586, 505, 621 ], "lines": [ { "bbox": [ 106, 586, 505, 599 ], "spans": [ { "bbox": [ 106, 586, 505, 599 ], "score": 1.0, "content": "Ruining He, Anirudh Ravula, Bhargav Kanagal, and Joshua Ainslie. Realformer: Transformer likes", "type": "text" } ], "index": 38 }, { "bbox": [ 115, 598, 505, 610 ], "spans": [ { "bbox": [ 115, 598, 505, 610 ], "score": 1.0, "content": "residual attention. In Findings of the Association for Computational Linguistics: ACL-IJCNLP", "type": "text" } ], "index": 39 }, { "bbox": [ 116, 609, 221, 621 ], "spans": [ { "bbox": [ 116, 609, 221, 621 ], "score": 1.0, "content": "2021, pp. 929–943, 2021.", "type": "text" } ], "index": 40 } ], "index": 39, "bbox_fs": [ 106, 586, 505, 621 ] }, { "type": "text", "bbox": [ 104, 627, 505, 650 ], "lines": [ { "bbox": [ 105, 626, 506, 641 ], "spans": [ { "bbox": [ 105, 626, 506, 641 ], "score": 1.0, "content": "Dan Hendrycks and Kevin Gimpel. Gaussian error linear units (gelus). arXiv preprint", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 638, 220, 650 ], "spans": [ { "bbox": [ 115, 638, 220, 650 ], "score": 1.0, "content": "arXiv:1606.08415, 2016.", "type": "text" } ], "index": 42 } ], "index": 41.5, "bbox_fs": [ 105, 626, 506, 650 ] }, { "type": "text", "bbox": [ 107, 657, 504, 691 ], "lines": [ { "bbox": [ 106, 658, 505, 670 ], "spans": [ { "bbox": [ 106, 658, 505, 670 ], "score": 1.0, "content": "Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob", "type": "text" } ], "index": 43 }, { "bbox": [ 116, 668, 505, 681 ], "spans": [ { "bbox": [ 116, 668, 505, 681 ], "score": 1.0, "content": "Steinhardt. Measuring massive multitask language understanding. In International Conference", "type": "text" } ], "index": 44 }, { "bbox": [ 116, 680, 262, 692 ], "spans": [ { "bbox": [ 116, 680, 262, 692 ], "score": 1.0, "content": "on Learning Representations, 2021.", "type": "text" } ], "index": 45 } ], "index": 44, "bbox_fs": [ 106, 658, 505, 692 ] }, { "type": "text", "bbox": [ 107, 699, 505, 732 ], "lines": [ { "bbox": [ 105, 698, 505, 711 ], "spans": [ { "bbox": [ 105, 698, 505, 711 ], "score": 1.0, "content": "Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza", "type": "text" } ], "index": 46 }, { "bbox": [ 116, 710, 505, 722 ], "spans": [ { "bbox": [ 116, 710, 505, 722 ], "score": 1.0, "content": "Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, et al. Train-", "type": "text" } ], "index": 47 }, { "bbox": [ 116, 721, 459, 733 ], "spans": [ { "bbox": [ 116, 721, 459, 733 ], "score": 1.0, "content": "ing compute-optimal large language models. arXiv preprint arXiv:2203.15556, 2022.", "type": "text" } ], "index": 48 } ], "index": 47, "bbox_fs": [ 105, 698, 505, 733 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 105, 82, 503, 105 ], "lines": [ { "bbox": [ 106, 81, 505, 95 ], "spans": [ { "bbox": [ 106, 81, 505, 95 ], "score": 1.0, "content": "Wenyi Hong, Ming Ding, Wendi Zheng, Xinghan Liu, and Jie Tang. Cogvideo: Large-scale pre-", "type": "text" } ], "index": 0 }, { "bbox": [ 115, 93, 495, 106 ], "spans": [ { "bbox": [ 115, 93, 495, 106 ], "score": 1.0, "content": "training for text-to-video generation via transformers. arXiv preprint arXiv:2205.15868, 2022.", "type": "text" } ], "index": 1 } ], "index": 0.5 }, { "type": "text", "bbox": [ 107, 113, 505, 147 ], "lines": [ { "bbox": [ 105, 114, 504, 127 ], "spans": [ { "bbox": [ 105, 114, 504, 127 ], "score": 1.0, "content": "Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin De Laroussilhe, An-", "type": "text" } ], "index": 2 }, { "bbox": [ 115, 125, 505, 138 ], "spans": [ { "bbox": [ 115, 125, 505, 138 ], "score": 1.0, "content": "drea Gesmundo, Mona Attariyan, and Sylvain Gelly. Parameter-efficient transfer learning for nlp.", "type": "text" } ], "index": 3 }, { "bbox": [ 115, 136, 444, 149 ], "spans": [ { "bbox": [ 115, 136, 444, 149 ], "score": 1.0, "content": "In International Conference on Machine Learning, pp. 2790–2799. PMLR, 2019.", "type": "text" } ], "index": 4 } ], "index": 3 }, { "type": "text", "bbox": [ 107, 156, 505, 200 ], "lines": [ { "bbox": [ 106, 155, 506, 170 ], "spans": [ { "bbox": [ 106, 155, 506, 170 ], "score": 1.0, "content": "Yanping Huang, Youlong Cheng, Ankur Bapna, Orhan Firat, Dehao Chen, Mia Chen, HyoukJoong", "type": "text" } ], "index": 5 }, { "bbox": [ 115, 168, 505, 180 ], "spans": [ { "bbox": [ 115, 168, 505, 180 ], "score": 1.0, "content": "Lee, Jiquan Ngiam, Quoc V Le, Yonghui Wu, et al. Gpipe: Efficient training of giant neural", "type": "text" } ], "index": 6 }, { "bbox": [ 115, 179, 505, 192 ], "spans": [ { "bbox": [ 115, 179, 505, 192 ], "score": 1.0, "content": "networks using pipeline parallelism. Advances in neural information processing systems, 32,", "type": "text" } ], "index": 7 }, { "bbox": [ 115, 189, 143, 201 ], "spans": [ { "bbox": [ 115, 189, 143, 201 ], "score": 1.0, "content": "2019.", "type": "text" } ], "index": 8 } ], "index": 6.5 }, { "type": "text", "bbox": [ 105, 210, 504, 233 ], "lines": [ { "bbox": [ 106, 210, 505, 223 ], "spans": [ { "bbox": [ 106, 210, 505, 223 ], "score": 1.0, "content": "Abigail Z Jacobs and Hanna Wallach. Measurement and fairness. In Proceedings of the 2021 ACM", "type": "text" } ], "index": 9 }, { "bbox": [ 116, 221, 427, 234 ], "spans": [ { "bbox": [ 116, 221, 427, 234 ], "score": 1.0, "content": "conference on fairness, accountability, and transparency, pp. 375–385, 2021.", "type": "text" } ], "index": 10 } ], "index": 9.5 }, { "type": "text", "bbox": [ 110, 241, 504, 275 ], "lines": [ { "bbox": [ 108, 241, 505, 254 ], "spans": [ { "bbox": [ 108, 241, 505, 254 ], "score": 1.0, "content": "Xiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang, Xiao Chen, Linlin Li, Fang Wang, and Qun Liu.", "type": "text" } ], "index": 11 }, { "bbox": [ 116, 252, 505, 266 ], "spans": [ { "bbox": [ 116, 252, 505, 266 ], "score": 1.0, "content": "Tinybert: Distilling bert for natural language understanding. In Findings of the Association for", "type": "text" } ], "index": 12 }, { "bbox": [ 116, 263, 379, 276 ], "spans": [ { "bbox": [ 116, 263, 379, 276 ], "score": 1.0, "content": "Computational Linguistics: EMNLP 2020, pp. 4163–4174, 2020.", "type": "text" } ], "index": 13 } ], "index": 12 }, { "type": "text", "bbox": [ 107, 283, 505, 328 ], "lines": [ { "bbox": [ 105, 283, 505, 297 ], "spans": [ { "bbox": [ 105, 283, 505, 297 ], "score": 1.0, "content": "Mandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. Triviaqa: A large scale distantly", "type": "text" } ], "index": 14 }, { "bbox": [ 115, 295, 505, 308 ], "spans": [ { "bbox": [ 115, 295, 505, 308 ], "score": 1.0, "content": "supervised challenge dataset for reading comprehension. In Proceedings of the 55th Annual Meet-", "type": "text" } ], "index": 15 }, { "bbox": [ 115, 306, 506, 319 ], "spans": [ { "bbox": [ 115, 306, 506, 319 ], "score": 1.0, "content": "ing of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1601–1611,", "type": "text" } ], "index": 16 }, { "bbox": [ 115, 316, 143, 330 ], "spans": [ { "bbox": [ 115, 316, 143, 330 ], "score": 1.0, "content": "2017.", "type": "text" } ], "index": 17 } ], "index": 15.5 }, { "type": "text", "bbox": [ 107, 337, 412, 349 ], "lines": [ { "bbox": [ 105, 336, 414, 352 ], "spans": [ { "bbox": [ 105, 336, 414, 352 ], "score": 1.0, "content": "Paul R Kingsbury and Martha Palmer. From treebank to propbank. Citeseer.", "type": "text" } ], "index": 18 } ], "index": 18 }, { "type": "text", "bbox": [ 107, 358, 505, 402 ], "lines": [ { "bbox": [ 106, 358, 505, 370 ], "spans": [ { "bbox": [ 106, 358, 505, 370 ], "score": 1.0, "content": "Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris", "type": "text" } ], "index": 19 }, { "bbox": [ 117, 369, 505, 381 ], "spans": [ { "bbox": [ 117, 369, 505, 381 ], "score": 1.0, "content": "Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. Natural questions: a", "type": "text" } ], "index": 20 }, { "bbox": [ 115, 380, 506, 393 ], "spans": [ { "bbox": [ 115, 380, 506, 393 ], "score": 1.0, "content": "benchmark for question answering research. Transactions of the Association for Computational", "type": "text" } ], "index": 21 }, { "bbox": [ 115, 392, 238, 403 ], "spans": [ { "bbox": [ 115, 392, 238, 403 ], "score": 1.0, "content": "Linguistics, 7:453–466, 2019.", "type": "text" } ], "index": 22 } ], "index": 20.5 }, { "type": "text", "bbox": [ 106, 411, 504, 434 ], "lines": [ { "bbox": [ 106, 410, 505, 425 ], "spans": [ { "bbox": [ 106, 410, 505, 425 ], "score": 1.0, "content": "Alexandre Lacoste, Alexandra Luccioni, Victor Schmidt, and Thomas Dandres. Quantifying the", "type": "text" } ], "index": 23 }, { "bbox": [ 115, 422, 396, 435 ], "spans": [ { "bbox": [ 115, 422, 396, 435 ], "score": 1.0, "content": "carbon emissions of machine learning. CoRR, abs/1910.09700, 2019.", "type": "text" } ], "index": 24 } ], "index": 23.5 }, { "type": "text", "bbox": [ 107, 443, 505, 477 ], "lines": [ { "bbox": [ 105, 442, 505, 457 ], "spans": [ { "bbox": [ 105, 442, 505, 457 ], "score": 1.0, "content": "Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt", "type": "text" } ], "index": 25 }, { "bbox": [ 117, 455, 505, 467 ], "spans": [ { "bbox": [ 117, 455, 505, 467 ], "score": 1.0, "content": "tuning. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Pro-", "type": "text" } ], "index": 26 }, { "bbox": [ 116, 465, 241, 477 ], "spans": [ { "bbox": [ 116, 465, 241, 477 ], "score": 1.0, "content": "cessing, pp. 3045–3059, 2021.", "type": "text" } ], "index": 27 } ], "index": 26 }, { "type": "text", "bbox": [ 107, 486, 505, 519 ], "lines": [ { "bbox": [ 105, 485, 505, 498 ], "spans": [ { "bbox": [ 105, 485, 505, 498 ], "score": 1.0, "content": "Hector Levesque, Ernest Davis, and Leora Morgenstern. The winograd schema challenge. In Thir-", "type": "text" } ], "index": 28 }, { "bbox": [ 115, 496, 506, 510 ], "spans": [ { "bbox": [ 115, 496, 506, 510 ], "score": 1.0, "content": "teenth international conference on the principles of knowledge representation and reasoning,", "type": "text" } ], "index": 29 }, { "bbox": [ 115, 507, 142, 519 ], "spans": [ { "bbox": [ 115, 507, 142, 519 ], "score": 1.0, "content": "2012.", "type": "text" } ], "index": 30 } ], "index": 29 }, { "type": "text", "bbox": [ 106, 528, 505, 573 ], "lines": [ { "bbox": [ 105, 527, 505, 542 ], "spans": [ { "bbox": [ 105, 527, 505, 542 ], "score": 1.0, "content": "Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. In", "type": "text" } ], "index": 31 }, { "bbox": [ 115, 538, 505, 552 ], "spans": [ { "bbox": [ 115, 538, 505, 552 ], "score": 1.0, "content": "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the", "type": "text" } ], "index": 32 }, { "bbox": [ 115, 550, 505, 564 ], "spans": [ { "bbox": [ 115, 550, 505, 564 ], "score": 1.0, "content": "11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers),", "type": "text" } ], "index": 33 }, { "bbox": [ 115, 561, 207, 573 ], "spans": [ { "bbox": [ 115, 561, 207, 573 ], "score": 1.0, "content": "pp. 4582–4597, 2021.", "type": "text" } ], "index": 34 } ], "index": 32.5 }, { "type": "text", "bbox": [ 106, 581, 503, 604 ], "lines": [ { "bbox": [ 106, 581, 505, 594 ], "spans": [ { "bbox": [ 106, 581, 505, 594 ], "score": 1.0, "content": "Xiangyang Li, Yu Xia, Xiang Long, Zheng Li, and Sujian Li. Exploring text-transformers in aaai", "type": "text" } ], "index": 35 }, { "bbox": [ 116, 592, 486, 605 ], "spans": [ { "bbox": [ 116, 592, 486, 605 ], "score": 1.0, "content": "2021 shared task: Covid-19 fake news detection in english. In CONSTRAINT@AAAI, 2021.", "type": "text" } ], "index": 36 } ], "index": 35.5 }, { "type": "text", "bbox": [ 106, 613, 505, 658 ], "lines": [ { "bbox": [ 105, 613, 505, 626 ], "spans": [ { "bbox": [ 105, 613, 505, 626 ], "score": 1.0, "content": "Paul Pu Liang, Chiyu Wu, Louis-Philippe Morency, and Ruslan Salakhutdinov. Towards under-", "type": "text" } ], "index": 37 }, { "bbox": [ 116, 625, 505, 637 ], "spans": [ { "bbox": [ 116, 625, 505, 637 ], "score": 1.0, "content": "standing and mitigating social biases in language models. In Proceedings of the 38th Interna-", "type": "text" } ], "index": 38 }, { "bbox": [ 115, 635, 505, 648 ], "spans": [ { "bbox": [ 115, 635, 505, 648 ], "score": 1.0, "content": "tional Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event, volume", "type": "text" } ], "index": 39 }, { "bbox": [ 116, 647, 447, 659 ], "spans": [ { "bbox": [ 116, 647, 447, 659 ], "score": 1.0, "content": "139 of Proceedings of Machine Learning Research, pp. 6565–6576. PMLR, 2021.", "type": "text" } ], "index": 40 } ], "index": 38.5 }, { "type": "text", "bbox": [ 105, 667, 504, 690 ], "lines": [ { "bbox": [ 105, 666, 505, 679 ], "spans": [ { "bbox": [ 105, 666, 505, 679 ], "score": 1.0, "content": "Opher Lieber, Or Sharir, Barak Lenz, and Yoav Shoham. Jurassic-1: Technical details and evalua-", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 678, 262, 689 ], "spans": [ { "bbox": [ 115, 678, 262, 689 ], "score": 1.0, "content": "tion. White Paper. AI21 Labs, 2021.", "type": "text" } ], "index": 42 } ], "index": 41.5 }, { "type": "text", "bbox": [ 107, 699, 504, 732 ], "lines": [ { "bbox": [ 106, 698, 505, 711 ], "spans": [ { "bbox": [ 106, 698, 505, 711 ], "score": 1.0, "content": "Chin-Yew Lin. ROUGE: A package for automatic evaluation of summaries. In Text Summarization", "type": "text" } ], "index": 43 }, { "bbox": [ 115, 709, 505, 722 ], "spans": [ { "bbox": [ 115, 709, 505, 722 ], "score": 1.0, "content": "Branches Out, pp. 74–81, Barcelona, Spain, July 2004. Association for Computational Linguis-", "type": "text" } ], "index": 44 }, { "bbox": [ 115, 719, 362, 734 ], "spans": [ { "bbox": [ 115, 719, 362, 734 ], "score": 1.0, "content": "tics. URL https://aclanthology.org/W04-1013.", "type": "text" } ], "index": 45 } ], "index": 44 } ], "page_idx": 13, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 752, 311, 760 ], "lines": [ { "bbox": [ 299, 750, 313, 764 ], "spans": [ { "bbox": [ 299, 750, 313, 764 ], "score": 1.0, "content": "", "type": "text", "height": 14, "width": 14 } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 105, 82, 503, 105 ], "lines": [ { "bbox": [ 106, 81, 505, 95 ], "spans": [ { "bbox": [ 106, 81, 505, 95 ], "score": 1.0, "content": "Wenyi Hong, Ming Ding, Wendi Zheng, Xinghan Liu, and Jie Tang. Cogvideo: Large-scale pre-", "type": "text" } ], "index": 0 }, { "bbox": [ 115, 93, 495, 106 ], "spans": [ { "bbox": [ 115, 93, 495, 106 ], "score": 1.0, "content": "training for text-to-video generation via transformers. arXiv preprint arXiv:2205.15868, 2022.", "type": "text" } ], "index": 1 } ], "index": 0.5, "bbox_fs": [ 106, 81, 505, 106 ] }, { "type": "text", "bbox": [ 107, 113, 505, 147 ], "lines": [ { "bbox": [ 105, 114, 504, 127 ], "spans": [ { "bbox": [ 105, 114, 504, 127 ], "score": 1.0, "content": "Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin De Laroussilhe, An-", "type": "text" } ], "index": 2 }, { "bbox": [ 115, 125, 505, 138 ], "spans": [ { "bbox": [ 115, 125, 505, 138 ], "score": 1.0, "content": "drea Gesmundo, Mona Attariyan, and Sylvain Gelly. Parameter-efficient transfer learning for nlp.", "type": "text" } ], "index": 3 }, { "bbox": [ 115, 136, 444, 149 ], "spans": [ { "bbox": [ 115, 136, 444, 149 ], "score": 1.0, "content": "In International Conference on Machine Learning, pp. 2790–2799. PMLR, 2019.", "type": "text" } ], "index": 4 } ], "index": 3, "bbox_fs": [ 105, 114, 505, 149 ] }, { "type": "text", "bbox": [ 107, 156, 505, 200 ], "lines": [ { "bbox": [ 106, 155, 506, 170 ], "spans": [ { "bbox": [ 106, 155, 506, 170 ], "score": 1.0, "content": "Yanping Huang, Youlong Cheng, Ankur Bapna, Orhan Firat, Dehao Chen, Mia Chen, HyoukJoong", "type": "text" } ], "index": 5 }, { "bbox": [ 115, 168, 505, 180 ], "spans": [ { "bbox": [ 115, 168, 505, 180 ], "score": 1.0, "content": "Lee, Jiquan Ngiam, Quoc V Le, Yonghui Wu, et al. Gpipe: Efficient training of giant neural", "type": "text" } ], "index": 6 }, { "bbox": [ 115, 179, 505, 192 ], "spans": [ { "bbox": [ 115, 179, 505, 192 ], "score": 1.0, "content": "networks using pipeline parallelism. Advances in neural information processing systems, 32,", "type": "text" } ], "index": 7 }, { "bbox": [ 115, 189, 143, 201 ], "spans": [ { "bbox": [ 115, 189, 143, 201 ], "score": 1.0, "content": "2019.", "type": "text" } ], "index": 8 } ], "index": 6.5, "bbox_fs": [ 106, 155, 506, 201 ] }, { "type": "text", "bbox": [ 105, 210, 504, 233 ], "lines": [ { "bbox": [ 106, 210, 505, 223 ], "spans": [ { "bbox": [ 106, 210, 505, 223 ], "score": 1.0, "content": "Abigail Z Jacobs and Hanna Wallach. Measurement and fairness. In Proceedings of the 2021 ACM", "type": "text" } ], "index": 9 }, { "bbox": [ 116, 221, 427, 234 ], "spans": [ { "bbox": [ 116, 221, 427, 234 ], "score": 1.0, "content": "conference on fairness, accountability, and transparency, pp. 375–385, 2021.", "type": "text" } ], "index": 10 } ], "index": 9.5, "bbox_fs": [ 106, 210, 505, 234 ] }, { "type": "text", "bbox": [ 110, 241, 504, 275 ], "lines": [ { "bbox": [ 108, 241, 505, 254 ], "spans": [ { "bbox": [ 108, 241, 505, 254 ], "score": 1.0, "content": "Xiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang, Xiao Chen, Linlin Li, Fang Wang, and Qun Liu.", "type": "text" } ], "index": 11 }, { "bbox": [ 116, 252, 505, 266 ], "spans": [ { "bbox": [ 116, 252, 505, 266 ], "score": 1.0, "content": "Tinybert: Distilling bert for natural language understanding. In Findings of the Association for", "type": "text" } ], "index": 12 }, { "bbox": [ 116, 263, 379, 276 ], "spans": [ { "bbox": [ 116, 263, 379, 276 ], "score": 1.0, "content": "Computational Linguistics: EMNLP 2020, pp. 4163–4174, 2020.", "type": "text" } ], "index": 13 } ], "index": 12, "bbox_fs": [ 108, 241, 505, 276 ] }, { "type": "text", "bbox": [ 107, 283, 505, 328 ], "lines": [ { "bbox": [ 105, 283, 505, 297 ], "spans": [ { "bbox": [ 105, 283, 505, 297 ], "score": 1.0, "content": "Mandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. Triviaqa: A large scale distantly", "type": "text" } ], "index": 14 }, { "bbox": [ 115, 295, 505, 308 ], "spans": [ { "bbox": [ 115, 295, 505, 308 ], "score": 1.0, "content": "supervised challenge dataset for reading comprehension. In Proceedings of the 55th Annual Meet-", "type": "text" } ], "index": 15 }, { "bbox": [ 115, 306, 506, 319 ], "spans": [ { "bbox": [ 115, 306, 506, 319 ], "score": 1.0, "content": "ing of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1601–1611,", "type": "text" } ], "index": 16 }, { "bbox": [ 115, 316, 143, 330 ], "spans": [ { "bbox": [ 115, 316, 143, 330 ], "score": 1.0, "content": "2017.", "type": "text" } ], "index": 17 } ], "index": 15.5, "bbox_fs": [ 105, 283, 506, 330 ] }, { "type": "text", "bbox": [ 107, 337, 412, 349 ], "lines": [ { "bbox": [ 105, 336, 414, 352 ], "spans": [ { "bbox": [ 105, 336, 414, 352 ], "score": 1.0, "content": "Paul R Kingsbury and Martha Palmer. From treebank to propbank. Citeseer.", "type": "text" } ], "index": 18 } ], "index": 18, "bbox_fs": [ 105, 336, 414, 352 ] }, { "type": "text", "bbox": [ 107, 358, 505, 402 ], "lines": [ { "bbox": [ 106, 358, 505, 370 ], "spans": [ { "bbox": [ 106, 358, 505, 370 ], "score": 1.0, "content": "Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris", "type": "text" } ], "index": 19 }, { "bbox": [ 117, 369, 505, 381 ], "spans": [ { "bbox": [ 117, 369, 505, 381 ], "score": 1.0, "content": "Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. Natural questions: a", "type": "text" } ], "index": 20 }, { "bbox": [ 115, 380, 506, 393 ], "spans": [ { "bbox": [ 115, 380, 506, 393 ], "score": 1.0, "content": "benchmark for question answering research. Transactions of the Association for Computational", "type": "text" } ], "index": 21 }, { "bbox": [ 115, 392, 238, 403 ], "spans": [ { "bbox": [ 115, 392, 238, 403 ], "score": 1.0, "content": "Linguistics, 7:453–466, 2019.", "type": "text" } ], "index": 22 } ], "index": 20.5, "bbox_fs": [ 106, 358, 506, 403 ] }, { "type": "text", "bbox": [ 106, 411, 504, 434 ], "lines": [ { "bbox": [ 106, 410, 505, 425 ], "spans": [ { "bbox": [ 106, 410, 505, 425 ], "score": 1.0, "content": "Alexandre Lacoste, Alexandra Luccioni, Victor Schmidt, and Thomas Dandres. Quantifying the", "type": "text" } ], "index": 23 }, { "bbox": [ 115, 422, 396, 435 ], "spans": [ { "bbox": [ 115, 422, 396, 435 ], "score": 1.0, "content": "carbon emissions of machine learning. CoRR, abs/1910.09700, 2019.", "type": "text" } ], "index": 24 } ], "index": 23.5, "bbox_fs": [ 106, 410, 505, 435 ] }, { "type": "text", "bbox": [ 107, 443, 505, 477 ], "lines": [ { "bbox": [ 105, 442, 505, 457 ], "spans": [ { "bbox": [ 105, 442, 505, 457 ], "score": 1.0, "content": "Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt", "type": "text" } ], "index": 25 }, { "bbox": [ 117, 455, 505, 467 ], "spans": [ { "bbox": [ 117, 455, 505, 467 ], "score": 1.0, "content": "tuning. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Pro-", "type": "text" } ], "index": 26 }, { "bbox": [ 116, 465, 241, 477 ], "spans": [ { "bbox": [ 116, 465, 241, 477 ], "score": 1.0, "content": "cessing, pp. 3045–3059, 2021.", "type": "text" } ], "index": 27 } ], "index": 26, "bbox_fs": [ 105, 442, 505, 477 ] }, { "type": "text", "bbox": [ 107, 486, 505, 519 ], "lines": [ { "bbox": [ 105, 485, 505, 498 ], "spans": [ { "bbox": [ 105, 485, 505, 498 ], "score": 1.0, "content": "Hector Levesque, Ernest Davis, and Leora Morgenstern. The winograd schema challenge. In Thir-", "type": "text" } ], "index": 28 }, { "bbox": [ 115, 496, 506, 510 ], "spans": [ { "bbox": [ 115, 496, 506, 510 ], "score": 1.0, "content": "teenth international conference on the principles of knowledge representation and reasoning,", "type": "text" } ], "index": 29 }, { "bbox": [ 115, 507, 142, 519 ], "spans": [ { "bbox": [ 115, 507, 142, 519 ], "score": 1.0, "content": "2012.", "type": "text" } ], "index": 30 } ], "index": 29, "bbox_fs": [ 105, 485, 506, 519 ] }, { "type": "text", "bbox": [ 106, 528, 505, 573 ], "lines": [ { "bbox": [ 105, 527, 505, 542 ], "spans": [ { "bbox": [ 105, 527, 505, 542 ], "score": 1.0, "content": "Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. In", "type": "text" } ], "index": 31 }, { "bbox": [ 115, 538, 505, 552 ], "spans": [ { "bbox": [ 115, 538, 505, 552 ], "score": 1.0, "content": "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the", "type": "text" } ], "index": 32 }, { "bbox": [ 115, 550, 505, 564 ], "spans": [ { "bbox": [ 115, 550, 505, 564 ], "score": 1.0, "content": "11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers),", "type": "text" } ], "index": 33 }, { "bbox": [ 115, 561, 207, 573 ], "spans": [ { "bbox": [ 115, 561, 207, 573 ], "score": 1.0, "content": "pp. 4582–4597, 2021.", "type": "text" } ], "index": 34 } ], "index": 32.5, "bbox_fs": [ 105, 527, 505, 573 ] }, { "type": "text", "bbox": [ 106, 581, 503, 604 ], "lines": [ { "bbox": [ 106, 581, 505, 594 ], "spans": [ { "bbox": [ 106, 581, 505, 594 ], "score": 1.0, "content": "Xiangyang Li, Yu Xia, Xiang Long, Zheng Li, and Sujian Li. Exploring text-transformers in aaai", "type": "text" } ], "index": 35 }, { "bbox": [ 116, 592, 486, 605 ], "spans": [ { "bbox": [ 116, 592, 486, 605 ], "score": 1.0, "content": "2021 shared task: Covid-19 fake news detection in english. In CONSTRAINT@AAAI, 2021.", "type": "text" } ], "index": 36 } ], "index": 35.5, "bbox_fs": [ 106, 581, 505, 605 ] }, { "type": "text", "bbox": [ 106, 613, 505, 658 ], "lines": [ { "bbox": [ 105, 613, 505, 626 ], "spans": [ { "bbox": [ 105, 613, 505, 626 ], "score": 1.0, "content": "Paul Pu Liang, Chiyu Wu, Louis-Philippe Morency, and Ruslan Salakhutdinov. Towards under-", "type": "text" } ], "index": 37 }, { "bbox": [ 116, 625, 505, 637 ], "spans": [ { "bbox": [ 116, 625, 505, 637 ], "score": 1.0, "content": "standing and mitigating social biases in language models. In Proceedings of the 38th Interna-", "type": "text" } ], "index": 38 }, { "bbox": [ 115, 635, 505, 648 ], "spans": [ { "bbox": [ 115, 635, 505, 648 ], "score": 1.0, "content": "tional Conference on Machine Learning, ICML 2021, 18-24 July 2021, Virtual Event, volume", "type": "text" } ], "index": 39 }, { "bbox": [ 116, 647, 447, 659 ], "spans": [ { "bbox": [ 116, 647, 447, 659 ], "score": 1.0, "content": "139 of Proceedings of Machine Learning Research, pp. 6565–6576. PMLR, 2021.", "type": "text" } ], "index": 40 } ], "index": 38.5, "bbox_fs": [ 105, 613, 505, 659 ] }, { "type": "text", "bbox": [ 105, 667, 504, 690 ], "lines": [ { "bbox": [ 105, 666, 505, 679 ], "spans": [ { "bbox": [ 105, 666, 505, 679 ], "score": 1.0, "content": "Opher Lieber, Or Sharir, Barak Lenz, and Yoav Shoham. Jurassic-1: Technical details and evalua-", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 678, 262, 689 ], "spans": [ { "bbox": [ 115, 678, 262, 689 ], "score": 1.0, "content": "tion. White Paper. AI21 Labs, 2021.", "type": "text" } ], "index": 42 } ], "index": 41.5, "bbox_fs": [ 105, 666, 505, 689 ] }, { "type": "text", "bbox": [ 107, 699, 504, 732 ], "lines": [ { "bbox": [ 106, 698, 505, 711 ], "spans": [ { "bbox": [ 106, 698, 505, 711 ], "score": 1.0, "content": "Chin-Yew Lin. ROUGE: A package for automatic evaluation of summaries. In Text Summarization", "type": "text" } ], "index": 43 }, { "bbox": [ 115, 709, 505, 722 ], "spans": [ { "bbox": [ 115, 709, 505, 722 ], "score": 1.0, "content": "Branches Out, pp. 74–81, Barcelona, Spain, July 2004. Association for Computational Linguis-", "type": "text" } ], "index": 44 }, { "bbox": [ 115, 719, 362, 734 ], "spans": [ { "bbox": [ 115, 719, 362, 734 ], "score": 1.0, "content": "tics. URL https://aclanthology.org/W04-1013.", "type": "text" } ], "index": 45 } ], "index": 44, "bbox_fs": [ 106, 698, 505, 734 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 127 ], "lines": [ { "bbox": [ 106, 83, 505, 95 ], "spans": [ { "bbox": [ 106, 83, 505, 95 ], "score": 1.0, "content": "Stephanie Lin, Jacob Hilton, and Owain Evans. TruthfulQA: Measuring how models mimic human", "type": "text" } ], "index": 0 }, { "bbox": [ 115, 93, 505, 106 ], "spans": [ { "bbox": [ 115, 93, 505, 106 ], "score": 1.0, "content": "falsehoods. In Proceedings of the 60th Annual Meeting of the Association for Computational", "type": "text" } ], "index": 1 }, { "bbox": [ 115, 104, 505, 117 ], "spans": [ { "bbox": [ 115, 104, 505, 117 ], "score": 1.0, "content": "Linguistics (Volume 1: Long Papers), pp. 3214–3252, Dublin, Ireland, May 2022. Association for", "type": "text" } ], "index": 2 }, { "bbox": [ 116, 115, 227, 128 ], "spans": [ { "bbox": [ 116, 115, 227, 128 ], "score": 1.0, "content": "Computational Linguistics.", "type": "text" } ], "index": 3 } ], "index": 1.5 }, { "type": "text", "bbox": [ 106, 136, 505, 170 ], "lines": [ { "bbox": [ 105, 136, 505, 150 ], "spans": [ { "bbox": [ 105, 136, 505, 150 ], "score": 1.0, "content": "Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. Pre-", "type": "text" } ], "index": 4 }, { "bbox": [ 116, 148, 505, 160 ], "spans": [ { "bbox": [ 116, 148, 505, 160 ], "score": 1.0, "content": "train, prompt, and predict: A systematic survey of prompting methods in natural language pro-", "type": "text" } ], "index": 5 }, { "bbox": [ 115, 159, 318, 170 ], "spans": [ { "bbox": [ 115, 159, 318, 170 ], "score": 1.0, "content": "cessing. arXiv preprint arXiv:2107.13586, 2021a.", "type": "text" } ], "index": 6 } ], "index": 5 }, { "type": "text", "bbox": [ 107, 180, 504, 213 ], "lines": [ { "bbox": [ 105, 180, 504, 192 ], "spans": [ { "bbox": [ 105, 180, 504, 192 ], "score": 1.0, "content": "Peter J Liu, Mohammad Saleh, Etienne Pot, Ben Goodrich, Ryan Sepassi, Lukasz Kaiser, and Noam", "type": "text" } ], "index": 7 }, { "bbox": [ 116, 191, 505, 203 ], "spans": [ { "bbox": [ 116, 191, 505, 203 ], "score": 1.0, "content": "Shazeer. Generating wikipedia by summarizing long sequences. In International Conference on", "type": "text" } ], "index": 8 }, { "bbox": [ 116, 202, 250, 214 ], "spans": [ { "bbox": [ 116, 202, 250, 214 ], "score": 1.0, "content": "Learning Representations, 2018.", "type": "text" } ], "index": 9 } ], "index": 8 }, { "type": "text", "bbox": [ 104, 222, 504, 246 ], "lines": [ { "bbox": [ 105, 221, 505, 237 ], "spans": [ { "bbox": [ 105, 221, 505, 237 ], "score": 1.0, "content": "Xiao Liu, Yanan Zheng, Zhengxiao Du, Ming Ding, Yujie Qian, Zhilin Yang, and Jie Tang. Gpt", "type": "text" } ], "index": 10 }, { "bbox": [ 115, 234, 354, 246 ], "spans": [ { "bbox": [ 115, 234, 354, 246 ], "score": 1.0, "content": "understands, too. arXiv preprint arXiv:2103.10385, 2021b.", "type": "text" } ], "index": 11 } ], "index": 10.5 }, { "type": "text", "bbox": [ 106, 254, 505, 300 ], "lines": [ { "bbox": [ 105, 254, 505, 268 ], "spans": [ { "bbox": [ 105, 254, 505, 268 ], "score": 1.0, "content": "Xiao Liu, Kaixuan Ji, Yicheng Fu, Weng Tam, Zhengxiao Du, Zhilin Yang, and Jie Tang. P-tuning:", "type": "text" } ], "index": 12 }, { "bbox": [ 116, 267, 505, 279 ], "spans": [ { "bbox": [ 116, 267, 505, 279 ], "score": 1.0, "content": "Prompt tuning can be comparable to fine-tuning across scales and tasks. In Proceedings of the", "type": "text" } ], "index": 13 }, { "bbox": [ 115, 276, 506, 290 ], "spans": [ { "bbox": [ 115, 276, 506, 290 ], "score": 1.0, "content": "60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers),", "type": "text" } ], "index": 14 }, { "bbox": [ 115, 289, 185, 300 ], "spans": [ { "bbox": [ 115, 289, 185, 300 ], "score": 1.0, "content": "pp. 61–68, 2022.", "type": "text" } ], "index": 15 } ], "index": 13.5 }, { "type": "text", "bbox": [ 107, 309, 504, 342 ], "lines": [ { "bbox": [ 106, 309, 505, 322 ], "spans": [ { "bbox": [ 106, 309, 505, 322 ], "score": 1.0, "content": "Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In 7th International", "type": "text" } ], "index": 16 }, { "bbox": [ 115, 320, 506, 333 ], "spans": [ { "bbox": [ 115, 320, 506, 333 ], "score": 1.0, "content": "Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019,", "type": "text" } ], "index": 17 }, { "bbox": [ 115, 330, 143, 344 ], "spans": [ { "bbox": [ 115, 330, 143, 344 ], "score": 1.0, "content": "2019.", "type": "text" } ], "index": 18 } ], "index": 17 }, { "type": "text", "bbox": [ 106, 352, 504, 375 ], "lines": [ { "bbox": [ 105, 351, 505, 366 ], "spans": [ { "bbox": [ 105, 351, 505, 366 ], "score": 1.0, "content": "Paul Michel, Omer Levy, and Graham Neubig. Are sixteen heads really better than one? Advances", "type": "text" } ], "index": 19 }, { "bbox": [ 115, 364, 325, 376 ], "spans": [ { "bbox": [ 115, 364, 325, 376 ], "score": 1.0, "content": "in neural information processing systems, 32, 2019.", "type": "text" } ], "index": 20 } ], "index": 19.5 }, { "type": "text", "bbox": [ 106, 384, 505, 419 ], "lines": [ { "bbox": [ 105, 384, 505, 398 ], "spans": [ { "bbox": [ 105, 384, 505, 398 ], "score": 1.0, "content": "Paulius Micikevicius, Sharan Narang, Jonah Alben, Gregory Diamos, Erich Elsen, David Garcia,", "type": "text" } ], "index": 21 }, { "bbox": [ 115, 396, 505, 408 ], "spans": [ { "bbox": [ 115, 396, 505, 408 ], "score": 1.0, "content": "Boris Ginsburg, Michael Houston, Oleksii Kuchaiev, Ganesh Venkatesh, and Hao Wu. Mixed", "type": "text" } ], "index": 22 }, { "bbox": [ 115, 407, 452, 419 ], "spans": [ { "bbox": [ 115, 407, 452, 419 ], "score": 1.0, "content": "precision training. In International Conference on Learning Representations, 2018.", "type": "text" } ], "index": 23 } ], "index": 22 }, { "type": "text", "bbox": [ 108, 428, 504, 462 ], "lines": [ { "bbox": [ 106, 428, 505, 441 ], "spans": [ { "bbox": [ 106, 428, 505, 441 ], "score": 1.0, "content": "Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. Can a suit of armor conduct elec-", "type": "text" } ], "index": 24 }, { "bbox": [ 116, 439, 505, 452 ], "spans": [ { "bbox": [ 116, 439, 505, 452 ], "score": 1.0, "content": "tricity? a new dataset for open book question answering. In Proceedings of the 2018 Conference", "type": "text" } ], "index": 25 }, { "bbox": [ 116, 450, 432, 463 ], "spans": [ { "bbox": [ 116, 450, 432, 463 ], "score": 1.0, "content": "on Empirical Methods in Natural Language Processing, pp. 2381–2391, 2018.", "type": "text" } ], "index": 26 } ], "index": 25 }, { "type": "text", "bbox": [ 106, 471, 505, 516 ], "lines": [ { "bbox": [ 105, 470, 505, 485 ], "spans": [ { "bbox": [ 105, 470, 505, 485 ], "score": 1.0, "content": "Eric Mitchell, Charles Lin, Antoine Bosselut, Christopher D. Manning, and Chelsea Finn. Memory-", "type": "text" } ], "index": 27 }, { "bbox": [ 115, 482, 505, 495 ], "spans": [ { "bbox": [ 115, 482, 505, 495 ], "score": 1.0, "content": "based model editing at scale. In International Conference on Machine Learning, ICML 2022,", "type": "text" } ], "index": 28 }, { "bbox": [ 116, 493, 505, 507 ], "spans": [ { "bbox": [ 116, 493, 505, 507 ], "score": 1.0, "content": "17-23 July 2022, Baltimore, Maryland, USA, volume 162 of Proceedings of Machine Learning", "type": "text" } ], "index": 29 }, { "bbox": [ 115, 505, 289, 516 ], "spans": [ { "bbox": [ 115, 505, 289, 516 ], "score": 1.0, "content": "Research, pp. 15817–15831. PMLR, 2022.", "type": "text" } ], "index": 30 } ], "index": 28.5 }, { "type": "text", "bbox": [ 105, 525, 505, 549 ], "lines": [ { "bbox": [ 106, 525, 505, 538 ], "spans": [ { "bbox": [ 106, 525, 505, 538 ], "score": 1.0, "content": "Ioannis Mollas, Zoe Chrysopoulou, Stamatis Karlos, and Grigorios Tsoumakas. Ethos: an online", "type": "text" } ], "index": 31 }, { "bbox": [ 115, 536, 400, 549 ], "spans": [ { "bbox": [ 115, 536, 400, 549 ], "score": 1.0, "content": "hate speech detection dataset. arXiv preprint arXiv:2006.08328, 2020.", "type": "text" } ], "index": 32 } ], "index": 31.5 }, { "type": "text", "bbox": [ 106, 558, 505, 603 ], "lines": [ { "bbox": [ 105, 557, 506, 571 ], "spans": [ { "bbox": [ 105, 557, 506, 571 ], "score": 1.0, "content": "Moin Nadeem, Anna Bethke, and Siva Reddy. Stereoset: Measuring stereotypical bias in pretrained", "type": "text" } ], "index": 33 }, { "bbox": [ 115, 568, 505, 582 ], "spans": [ { "bbox": [ 115, 568, 505, 582 ], "score": 1.0, "content": "language models. In Proceedings of the 59th Annual Meeting of the Association for Computa-", "type": "text" } ], "index": 34 }, { "bbox": [ 115, 580, 505, 593 ], "spans": [ { "bbox": [ 115, 580, 505, 593 ], "score": 1.0, "content": "tional Linguistics and the 11th International Joint Conference on Natural Language Processing", "type": "text" } ], "index": 35 }, { "bbox": [ 115, 591, 311, 603 ], "spans": [ { "bbox": [ 115, 591, 311, 603 ], "score": 1.0, "content": "(Volume 1: Long Papers), pp. 5356–5371, 2021.", "type": "text" } ], "index": 36 } ], "index": 34.5 }, { "type": "text", "bbox": [ 106, 612, 505, 657 ], "lines": [ { "bbox": [ 105, 610, 506, 625 ], "spans": [ { "bbox": [ 105, 610, 506, 625 ], "score": 1.0, "content": "Nikita Nangia, Clara Vania, Rasika Bhalerao, and Samuel Bowman. Crows-pairs: A challenge", "type": "text" } ], "index": 37 }, { "bbox": [ 115, 623, 505, 635 ], "spans": [ { "bbox": [ 115, 623, 505, 635 ], "score": 1.0, "content": "dataset for measuring social biases in masked language models. In Proceedings of the 2020", "type": "text" } ], "index": 38 }, { "bbox": [ 115, 633, 506, 647 ], "spans": [ { "bbox": [ 115, 633, 506, 647 ], "score": 1.0, "content": "Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 1953–1967,", "type": "text" } ], "index": 39 }, { "bbox": [ 115, 644, 142, 658 ], "spans": [ { "bbox": [ 115, 644, 142, 658 ], "score": 1.0, "content": "2020.", "type": "text" } ], "index": 40 } ], "index": 38.5 }, { "type": "text", "bbox": [ 106, 666, 505, 700 ], "lines": [ { "bbox": [ 106, 666, 505, 679 ], "spans": [ { "bbox": [ 106, 666, 505, 679 ], "score": 1.0, "content": "Deepak Narayanan, Amar Phanishayee, Kaiyu Shi, Xie Chen, and Matei Zaharia. Memory-efficient", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 677, 506, 690 ], "spans": [ { "bbox": [ 115, 677, 506, 690 ], "score": 1.0, "content": "pipeline-parallel dnn training. In International Conference on Machine Learning, pp. 7937–7947.", "type": "text" } ], "index": 42 }, { "bbox": [ 116, 688, 174, 700 ], "spans": [ { "bbox": [ 116, 688, 174, 700 ], "score": 1.0, "content": "PMLR, 2021.", "type": "text" } ], "index": 43 } ], "index": 42 }, { "type": "text", "bbox": [ 106, 709, 504, 732 ], "lines": [ { "bbox": [ 106, 708, 505, 722 ], "spans": [ { "bbox": [ 106, 708, 505, 722 ], "score": 1.0, "content": "Tomoko Ohta, Yuka Tateisi, and Jin-Dong Kim. The genia corpus: An annotated research abstract", "type": "text" } ], "index": 44 }, { "bbox": [ 115, 720, 371, 732 ], "spans": [ { "bbox": [ 115, 720, 371, 732 ], "score": 1.0, "content": "corpus in molecular biology domain. In HLT, pp. 82–86, 2002.", "type": "text" } ], "index": 45 } ], "index": 44.5 } ], "page_idx": 14, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 299, 750, 313, 764 ], "spans": [ { "bbox": [ 299, 750, 313, 764 ], "score": 1.0, "content": "15", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 127 ], "lines": [ { "bbox": [ 106, 83, 505, 95 ], "spans": [ { "bbox": [ 106, 83, 505, 95 ], "score": 1.0, "content": "Stephanie Lin, Jacob Hilton, and Owain Evans. TruthfulQA: Measuring how models mimic human", "type": "text" } ], "index": 0 }, { "bbox": [ 115, 93, 505, 106 ], "spans": [ { "bbox": [ 115, 93, 505, 106 ], "score": 1.0, "content": "falsehoods. In Proceedings of the 60th Annual Meeting of the Association for Computational", "type": "text" } ], "index": 1 }, { "bbox": [ 115, 104, 505, 117 ], "spans": [ { "bbox": [ 115, 104, 505, 117 ], "score": 1.0, "content": "Linguistics (Volume 1: Long Papers), pp. 3214–3252, Dublin, Ireland, May 2022. Association for", "type": "text" } ], "index": 2 }, { "bbox": [ 116, 115, 227, 128 ], "spans": [ { "bbox": [ 116, 115, 227, 128 ], "score": 1.0, "content": "Computational Linguistics.", "type": "text" } ], "index": 3 } ], "index": 1.5, "bbox_fs": [ 106, 83, 505, 128 ] }, { "type": "text", "bbox": [ 106, 136, 505, 170 ], "lines": [ { "bbox": [ 105, 136, 505, 150 ], "spans": [ { "bbox": [ 105, 136, 505, 150 ], "score": 1.0, "content": "Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. Pre-", "type": "text" } ], "index": 4 }, { "bbox": [ 116, 148, 505, 160 ], "spans": [ { "bbox": [ 116, 148, 505, 160 ], "score": 1.0, "content": "train, prompt, and predict: A systematic survey of prompting methods in natural language pro-", "type": "text" } ], "index": 5 }, { "bbox": [ 115, 159, 318, 170 ], "spans": [ { "bbox": [ 115, 159, 318, 170 ], "score": 1.0, "content": "cessing. arXiv preprint arXiv:2107.13586, 2021a.", "type": "text" } ], "index": 6 } ], "index": 5, "bbox_fs": [ 105, 136, 505, 170 ] }, { "type": "text", "bbox": [ 107, 180, 504, 213 ], "lines": [ { "bbox": [ 105, 180, 504, 192 ], "spans": [ { "bbox": [ 105, 180, 504, 192 ], "score": 1.0, "content": "Peter J Liu, Mohammad Saleh, Etienne Pot, Ben Goodrich, Ryan Sepassi, Lukasz Kaiser, and Noam", "type": "text" } ], "index": 7 }, { "bbox": [ 116, 191, 505, 203 ], "spans": [ { "bbox": [ 116, 191, 505, 203 ], "score": 1.0, "content": "Shazeer. Generating wikipedia by summarizing long sequences. In International Conference on", "type": "text" } ], "index": 8 }, { "bbox": [ 116, 202, 250, 214 ], "spans": [ { "bbox": [ 116, 202, 250, 214 ], "score": 1.0, "content": "Learning Representations, 2018.", "type": "text" } ], "index": 9 } ], "index": 8, "bbox_fs": [ 105, 180, 505, 214 ] }, { "type": "text", "bbox": [ 104, 222, 504, 246 ], "lines": [ { "bbox": [ 105, 221, 505, 237 ], "spans": [ { "bbox": [ 105, 221, 505, 237 ], "score": 1.0, "content": "Xiao Liu, Yanan Zheng, Zhengxiao Du, Ming Ding, Yujie Qian, Zhilin Yang, and Jie Tang. Gpt", "type": "text" } ], "index": 10 }, { "bbox": [ 115, 234, 354, 246 ], "spans": [ { "bbox": [ 115, 234, 354, 246 ], "score": 1.0, "content": "understands, too. arXiv preprint arXiv:2103.10385, 2021b.", "type": "text" } ], "index": 11 } ], "index": 10.5, "bbox_fs": [ 105, 221, 505, 246 ] }, { "type": "text", "bbox": [ 106, 254, 505, 300 ], "lines": [ { "bbox": [ 105, 254, 505, 268 ], "spans": [ { "bbox": [ 105, 254, 505, 268 ], "score": 1.0, "content": "Xiao Liu, Kaixuan Ji, Yicheng Fu, Weng Tam, Zhengxiao Du, Zhilin Yang, and Jie Tang. P-tuning:", "type": "text" } ], "index": 12 }, { "bbox": [ 116, 267, 505, 279 ], "spans": [ { "bbox": [ 116, 267, 505, 279 ], "score": 1.0, "content": "Prompt tuning can be comparable to fine-tuning across scales and tasks. In Proceedings of the", "type": "text" } ], "index": 13 }, { "bbox": [ 115, 276, 506, 290 ], "spans": [ { "bbox": [ 115, 276, 506, 290 ], "score": 1.0, "content": "60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers),", "type": "text" } ], "index": 14 }, { "bbox": [ 115, 289, 185, 300 ], "spans": [ { "bbox": [ 115, 289, 185, 300 ], "score": 1.0, "content": "pp. 61–68, 2022.", "type": "text" } ], "index": 15 } ], "index": 13.5, "bbox_fs": [ 105, 254, 506, 300 ] }, { "type": "text", "bbox": [ 107, 309, 504, 342 ], "lines": [ { "bbox": [ 106, 309, 505, 322 ], "spans": [ { "bbox": [ 106, 309, 505, 322 ], "score": 1.0, "content": "Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In 7th International", "type": "text" } ], "index": 16 }, { "bbox": [ 115, 320, 506, 333 ], "spans": [ { "bbox": [ 115, 320, 506, 333 ], "score": 1.0, "content": "Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019,", "type": "text" } ], "index": 17 }, { "bbox": [ 115, 330, 143, 344 ], "spans": [ { "bbox": [ 115, 330, 143, 344 ], "score": 1.0, "content": "2019.", "type": "text" } ], "index": 18 } ], "index": 17, "bbox_fs": [ 106, 309, 506, 344 ] }, { "type": "text", "bbox": [ 106, 352, 504, 375 ], "lines": [ { "bbox": [ 105, 351, 505, 366 ], "spans": [ { "bbox": [ 105, 351, 505, 366 ], "score": 1.0, "content": "Paul Michel, Omer Levy, and Graham Neubig. Are sixteen heads really better than one? Advances", "type": "text" } ], "index": 19 }, { "bbox": [ 115, 364, 325, 376 ], "spans": [ { "bbox": [ 115, 364, 325, 376 ], "score": 1.0, "content": "in neural information processing systems, 32, 2019.", "type": "text" } ], "index": 20 } ], "index": 19.5, "bbox_fs": [ 105, 351, 505, 376 ] }, { "type": "text", "bbox": [ 106, 384, 505, 419 ], "lines": [ { "bbox": [ 105, 384, 505, 398 ], "spans": [ { "bbox": [ 105, 384, 505, 398 ], "score": 1.0, "content": "Paulius Micikevicius, Sharan Narang, Jonah Alben, Gregory Diamos, Erich Elsen, David Garcia,", "type": "text" } ], "index": 21 }, { "bbox": [ 115, 396, 505, 408 ], "spans": [ { "bbox": [ 115, 396, 505, 408 ], "score": 1.0, "content": "Boris Ginsburg, Michael Houston, Oleksii Kuchaiev, Ganesh Venkatesh, and Hao Wu. Mixed", "type": "text" } ], "index": 22 }, { "bbox": [ 115, 407, 452, 419 ], "spans": [ { "bbox": [ 115, 407, 452, 419 ], "score": 1.0, "content": "precision training. In International Conference on Learning Representations, 2018.", "type": "text" } ], "index": 23 } ], "index": 22, "bbox_fs": [ 105, 384, 505, 419 ] }, { "type": "text", "bbox": [ 108, 428, 504, 462 ], "lines": [ { "bbox": [ 106, 428, 505, 441 ], "spans": [ { "bbox": [ 106, 428, 505, 441 ], "score": 1.0, "content": "Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. Can a suit of armor conduct elec-", "type": "text" } ], "index": 24 }, { "bbox": [ 116, 439, 505, 452 ], "spans": [ { "bbox": [ 116, 439, 505, 452 ], "score": 1.0, "content": "tricity? a new dataset for open book question answering. In Proceedings of the 2018 Conference", "type": "text" } ], "index": 25 }, { "bbox": [ 116, 450, 432, 463 ], "spans": [ { "bbox": [ 116, 450, 432, 463 ], "score": 1.0, "content": "on Empirical Methods in Natural Language Processing, pp. 2381–2391, 2018.", "type": "text" } ], "index": 26 } ], "index": 25, "bbox_fs": [ 106, 428, 505, 463 ] }, { "type": "text", "bbox": [ 106, 471, 505, 516 ], "lines": [ { "bbox": [ 105, 470, 505, 485 ], "spans": [ { "bbox": [ 105, 470, 505, 485 ], "score": 1.0, "content": "Eric Mitchell, Charles Lin, Antoine Bosselut, Christopher D. Manning, and Chelsea Finn. Memory-", "type": "text" } ], "index": 27 }, { "bbox": [ 115, 482, 505, 495 ], "spans": [ { "bbox": [ 115, 482, 505, 495 ], "score": 1.0, "content": "based model editing at scale. In International Conference on Machine Learning, ICML 2022,", "type": "text" } ], "index": 28 }, { "bbox": [ 116, 493, 505, 507 ], "spans": [ { "bbox": [ 116, 493, 505, 507 ], "score": 1.0, "content": "17-23 July 2022, Baltimore, Maryland, USA, volume 162 of Proceedings of Machine Learning", "type": "text" } ], "index": 29 }, { "bbox": [ 115, 505, 289, 516 ], "spans": [ { "bbox": [ 115, 505, 289, 516 ], "score": 1.0, "content": "Research, pp. 15817–15831. PMLR, 2022.", "type": "text" } ], "index": 30 } ], "index": 28.5, "bbox_fs": [ 105, 470, 505, 516 ] }, { "type": "text", "bbox": [ 105, 525, 505, 549 ], "lines": [ { "bbox": [ 106, 525, 505, 538 ], "spans": [ { "bbox": [ 106, 525, 505, 538 ], "score": 1.0, "content": "Ioannis Mollas, Zoe Chrysopoulou, Stamatis Karlos, and Grigorios Tsoumakas. Ethos: an online", "type": "text" } ], "index": 31 }, { "bbox": [ 115, 536, 400, 549 ], "spans": [ { "bbox": [ 115, 536, 400, 549 ], "score": 1.0, "content": "hate speech detection dataset. arXiv preprint arXiv:2006.08328, 2020.", "type": "text" } ], "index": 32 } ], "index": 31.5, "bbox_fs": [ 106, 525, 505, 549 ] }, { "type": "text", "bbox": [ 106, 558, 505, 603 ], "lines": [ { "bbox": [ 105, 557, 506, 571 ], "spans": [ { "bbox": [ 105, 557, 506, 571 ], "score": 1.0, "content": "Moin Nadeem, Anna Bethke, and Siva Reddy. Stereoset: Measuring stereotypical bias in pretrained", "type": "text" } ], "index": 33 }, { "bbox": [ 115, 568, 505, 582 ], "spans": [ { "bbox": [ 115, 568, 505, 582 ], "score": 1.0, "content": "language models. In Proceedings of the 59th Annual Meeting of the Association for Computa-", "type": "text" } ], "index": 34 }, { "bbox": [ 115, 580, 505, 593 ], "spans": [ { "bbox": [ 115, 580, 505, 593 ], "score": 1.0, "content": "tional Linguistics and the 11th International Joint Conference on Natural Language Processing", "type": "text" } ], "index": 35 }, { "bbox": [ 115, 591, 311, 603 ], "spans": [ { "bbox": [ 115, 591, 311, 603 ], "score": 1.0, "content": "(Volume 1: Long Papers), pp. 5356–5371, 2021.", "type": "text" } ], "index": 36 } ], "index": 34.5, "bbox_fs": [ 105, 557, 506, 603 ] }, { "type": "text", "bbox": [ 106, 612, 505, 657 ], "lines": [ { "bbox": [ 105, 610, 506, 625 ], "spans": [ { "bbox": [ 105, 610, 506, 625 ], "score": 1.0, "content": "Nikita Nangia, Clara Vania, Rasika Bhalerao, and Samuel Bowman. Crows-pairs: A challenge", "type": "text" } ], "index": 37 }, { "bbox": [ 115, 623, 505, 635 ], "spans": [ { "bbox": [ 115, 623, 505, 635 ], "score": 1.0, "content": "dataset for measuring social biases in masked language models. In Proceedings of the 2020", "type": "text" } ], "index": 38 }, { "bbox": [ 115, 633, 506, 647 ], "spans": [ { "bbox": [ 115, 633, 506, 647 ], "score": 1.0, "content": "Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 1953–1967,", "type": "text" } ], "index": 39 }, { "bbox": [ 115, 644, 142, 658 ], "spans": [ { "bbox": [ 115, 644, 142, 658 ], "score": 1.0, "content": "2020.", "type": "text" } ], "index": 40 } ], "index": 38.5, "bbox_fs": [ 105, 610, 506, 658 ] }, { "type": "text", "bbox": [ 106, 666, 505, 700 ], "lines": [ { "bbox": [ 106, 666, 505, 679 ], "spans": [ { "bbox": [ 106, 666, 505, 679 ], "score": 1.0, "content": "Deepak Narayanan, Amar Phanishayee, Kaiyu Shi, Xie Chen, and Matei Zaharia. Memory-efficient", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 677, 506, 690 ], "spans": [ { "bbox": [ 115, 677, 506, 690 ], "score": 1.0, "content": "pipeline-parallel dnn training. In International Conference on Machine Learning, pp. 7937–7947.", "type": "text" } ], "index": 42 }, { "bbox": [ 116, 688, 174, 700 ], "spans": [ { "bbox": [ 116, 688, 174, 700 ], "score": 1.0, "content": "PMLR, 2021.", "type": "text" } ], "index": 43 } ], "index": 42, "bbox_fs": [ 106, 666, 506, 700 ] }, { "type": "text", "bbox": [ 106, 709, 504, 732 ], "lines": [ { "bbox": [ 106, 708, 505, 722 ], "spans": [ { "bbox": [ 106, 708, 505, 722 ], "score": 1.0, "content": "Tomoko Ohta, Yuka Tateisi, and Jin-Dong Kim. The genia corpus: An annotated research abstract", "type": "text" } ], "index": 44 }, { "bbox": [ 115, 720, 371, 732 ], "spans": [ { "bbox": [ 115, 720, 371, 732 ], "score": 1.0, "content": "corpus in molecular biology domain. In HLT, pp. 82–86, 2002.", "type": "text" } ], "index": 45 } ], "index": 44.5, "bbox_fs": [ 106, 708, 505, 732 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 127 ], "lines": [ { "bbox": [ 106, 83, 505, 94 ], "spans": [ { "bbox": [ 106, 83, 505, 94 ], "score": 1.0, "content": "Denis Paperno, Germán Kruszewski, Angeliki Lazaridou, Ngoc-Quan Pham, Raffaella Bernardi,", "type": "text" } ], "index": 0 }, { "bbox": [ 116, 94, 505, 106 ], "spans": [ { "bbox": [ 116, 94, 505, 106 ], "score": 1.0, "content": "Sandro Pezzelle, Marco Baroni, Gemma Boleda, and Raquel Fernández. The lambada dataset:", "type": "text" } ], "index": 1 }, { "bbox": [ 115, 104, 505, 118 ], "spans": [ { "bbox": [ 115, 104, 505, 118 ], "score": 1.0, "content": "Word prediction requiring a broad discourse context. In Proceedings of the 54th Annual Meeting", "type": "text" } ], "index": 2 }, { "bbox": [ 115, 115, 505, 128 ], "spans": [ { "bbox": [ 115, 115, 505, 128 ], "score": 1.0, "content": "of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1525–1534, 2016.", "type": "text" } ], "index": 3 } ], "index": 1.5 }, { "type": "text", "bbox": [ 107, 136, 504, 169 ], "lines": [ { "bbox": [ 106, 136, 505, 148 ], "spans": [ { "bbox": [ 106, 136, 505, 148 ], "score": 1.0, "content": "David A. Patterson, Joseph Gonzalez, Quoc V. Le, Chen Liang, Lluis-Miquel Munguia, Daniel", "type": "text" } ], "index": 4 }, { "bbox": [ 115, 146, 505, 159 ], "spans": [ { "bbox": [ 115, 146, 505, 159 ], "score": 1.0, "content": "Rothchild, David R. So, Maud Texier, and Jeff Dean. Carbon emissions and large neural network", "type": "text" } ], "index": 5 }, { "bbox": [ 116, 158, 276, 170 ], "spans": [ { "bbox": [ 116, 158, 276, 170 ], "score": 1.0, "content": "training. CoRR, abs/2104.10350, 2021.", "type": "text" } ], "index": 6 } ], "index": 5 }, { "type": "text", "bbox": [ 106, 178, 505, 212 ], "lines": [ { "bbox": [ 105, 177, 505, 192 ], "spans": [ { "bbox": [ 105, 177, 505, 192 ], "score": 1.0, "content": "Sameer Pradhan, Alessandro Moschitti, Nianwen Xue, Hwee Tou Ng, Anders Björkelund, Olga", "type": "text" } ], "index": 7 }, { "bbox": [ 116, 189, 504, 201 ], "spans": [ { "bbox": [ 116, 189, 504, 201 ], "score": 1.0, "content": "Uryupina, Yuchen Zhang, and Zhi Zhong. Towards robust linguistic analysis using ontonotes. In", "type": "text" } ], "index": 8 }, { "bbox": [ 117, 200, 231, 213 ], "spans": [ { "bbox": [ 117, 200, 231, 213 ], "score": 1.0, "content": "CoNLL, pp. 143–152, 2013.", "type": "text" } ], "index": 9 } ], "index": 8 }, { "type": "text", "bbox": [ 105, 221, 504, 244 ], "lines": [ { "bbox": [ 106, 221, 505, 234 ], "spans": [ { "bbox": [ 106, 221, 505, 234 ], "score": 1.0, "content": "Ofir Press, Noah Smith, and Mike Lewis. Train short, test long: Attention with linear biases enables", "type": "text" } ], "index": 10 }, { "bbox": [ 116, 232, 484, 245 ], "spans": [ { "bbox": [ 116, 232, 484, 245 ], "score": 1.0, "content": "input length extrapolation. In International Conference on Learning Representations, 2021.", "type": "text" } ], "index": 11 } ], "index": 10.5 }, { "type": "text", "bbox": [ 107, 252, 505, 308 ], "lines": [ { "bbox": [ 105, 251, 506, 267 ], "spans": [ { "bbox": [ 105, 251, 506, 267 ], "score": 1.0, "content": "Amy Pu, Hyung Won Chung, Ankur Parikh, Sebastian Gehrmann, and Thibault Sellam. Learning", "type": "text" } ], "index": 12 }, { "bbox": [ 115, 263, 505, 276 ], "spans": [ { "bbox": [ 115, 263, 505, 276 ], "score": 1.0, "content": "compact metrics for MT. In Proceedings of the 2021 Conference on Empirical Methods in Natural", "type": "text" } ], "index": 13 }, { "bbox": [ 115, 274, 506, 288 ], "spans": [ { "bbox": [ 115, 274, 506, 288 ], "score": 1.0, "content": "Language Processing, pp. 751–762, Online and Punta Cana, Dominican Republic, November", "type": "text" } ], "index": 14 }, { "bbox": [ 115, 284, 506, 298 ], "spans": [ { "bbox": [ 115, 284, 506, 298 ], "score": 1.0, "content": "2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.emnlp-main.58. URL", "type": "text" } ], "index": 15 }, { "bbox": [ 115, 296, 379, 309 ], "spans": [ { "bbox": [ 115, 296, 379, 309 ], "score": 1.0, "content": "https://aclanthology.org/2021.emnlp-main.58.", "type": "text" } ], "index": 16 } ], "index": 14 }, { "type": "text", "bbox": [ 106, 317, 506, 351 ], "lines": [ { "bbox": [ 105, 316, 506, 330 ], "spans": [ { "bbox": [ 105, 316, 506, 330 ], "score": 1.0, "content": "Xipeng Qiu, Tianxiang Sun, Yige Xu, Yunfan Shao, Ning Dai, and Xuanjing Huang. Pre-trained", "type": "text" } ], "index": 17 }, { "bbox": [ 115, 327, 505, 341 ], "spans": [ { "bbox": [ 115, 327, 505, 341 ], "score": 1.0, "content": "models for natural language processing: A survey. Science China Technological Sciences, 63(10):", "type": "text" } ], "index": 18 }, { "bbox": [ 117, 339, 191, 350 ], "spans": [ { "bbox": [ 117, 339, 191, 350 ], "score": 1.0, "content": "1872–1897, 2020.", "type": "text" } ], "index": 19 } ], "index": 18 }, { "type": "text", "bbox": [ 105, 359, 504, 382 ], "lines": [ { "bbox": [ 106, 358, 504, 372 ], "spans": [ { "bbox": [ 106, 358, 504, 372 ], "score": 1.0, "content": "Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving language under-", "type": "text" } ], "index": 20 }, { "bbox": [ 116, 371, 291, 382 ], "spans": [ { "bbox": [ 116, 371, 291, 382 ], "score": 1.0, "content": "standing with unsupervised learning. 2018.", "type": "text" } ], "index": 21 } ], "index": 20.5 }, { "type": "text", "bbox": [ 104, 390, 504, 414 ], "lines": [ { "bbox": [ 105, 389, 505, 406 ], "spans": [ { "bbox": [ 105, 389, 505, 406 ], "score": 1.0, "content": "Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language", "type": "text" } ], "index": 22 }, { "bbox": [ 115, 402, 405, 415 ], "spans": [ { "bbox": [ 115, 402, 405, 415 ], "score": 1.0, "content": "models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.", "type": "text" } ], "index": 23 } ], "index": 22.5 }, { "type": "text", "bbox": [ 106, 422, 505, 457 ], "lines": [ { "bbox": [ 105, 421, 505, 436 ], "spans": [ { "bbox": [ 105, 421, 505, 436 ], "score": 1.0, "content": "Jack W Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, Francis Song, John", "type": "text" } ], "index": 24 }, { "bbox": [ 117, 434, 504, 446 ], "spans": [ { "bbox": [ 117, 434, 504, 446 ], "score": 1.0, "content": "Aslanides, Sarah Henderson, Roman Ring, Susannah Young, et al. Scaling language models:", "type": "text" } ], "index": 25 }, { "bbox": [ 115, 444, 486, 458 ], "spans": [ { "bbox": [ 115, 444, 486, 458 ], "score": 1.0, "content": "Methods, analysis & insights from training gopher. arXiv preprint arXiv:2112.11446, 2021.", "type": "text" } ], "index": 26 } ], "index": 25 }, { "type": "text", "bbox": [ 107, 465, 505, 499 ], "lines": [ { "bbox": [ 105, 463, 505, 479 ], "spans": [ { "bbox": [ 105, 463, 505, 479 ], "score": 1.0, "content": "Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi", "type": "text" } ], "index": 27 }, { "bbox": [ 115, 475, 505, 489 ], "spans": [ { "bbox": [ 115, 475, 505, 489 ], "score": 1.0, "content": "Zhou, Wei Li, Peter J Liu, et al. Exploring the limits of transfer learning with a unified text-to-text", "type": "text" } ], "index": 28 }, { "bbox": [ 117, 487, 340, 499 ], "spans": [ { "bbox": [ 117, 487, 340, 499 ], "score": 1.0, "content": "transformer. J. Mach. Learn. Res., 21(140):1–67, 2020.", "type": "text" } ], "index": 29 } ], "index": 28 }, { "type": "text", "bbox": [ 106, 507, 504, 541 ], "lines": [ { "bbox": [ 105, 506, 505, 521 ], "spans": [ { "bbox": [ 105, 506, 505, 521 ], "score": 1.0, "content": "Aditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray, Chelsea Voss, Alec Radford, Mark Chen,", "type": "text" } ], "index": 30 }, { "bbox": [ 116, 519, 505, 531 ], "spans": [ { "bbox": [ 116, 519, 505, 531 ], "score": 1.0, "content": "and Ilya Sutskever. Zero-shot text-to-image generation. In International Conference on Machine", "type": "text" } ], "index": 31 }, { "bbox": [ 116, 529, 280, 541 ], "spans": [ { "bbox": [ 116, 529, 280, 541 ], "score": 1.0, "content": "Learning, pp. 8821–8831. PMLR, 2021.", "type": "text" } ], "index": 32 } ], "index": 31 }, { "type": "text", "bbox": [ 106, 550, 505, 595 ], "lines": [ { "bbox": [ 105, 550, 505, 563 ], "spans": [ { "bbox": [ 105, 550, 505, 563 ], "score": 1.0, "content": "Jeff Rasley, Samyam Rajbhandari, Olatunji Ruwase, and Yuxiong He. Deepspeed: System opti-", "type": "text" } ], "index": 33 }, { "bbox": [ 114, 560, 505, 574 ], "spans": [ { "bbox": [ 114, 560, 505, 574 ], "score": 1.0, "content": "mizations enable training deep learning models with over 100 billion parameters. In Proceedings", "type": "text" } ], "index": 34 }, { "bbox": [ 115, 572, 506, 586 ], "spans": [ { "bbox": [ 115, 572, 506, 586 ], "score": 1.0, "content": "of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining,", "type": "text" } ], "index": 35 }, { "bbox": [ 114, 583, 206, 595 ], "spans": [ { "bbox": [ 114, 583, 206, 595 ], "score": 1.0, "content": "pp. 3505–3506, 2020.", "type": "text" } ], "index": 36 } ], "index": 34.5 }, { "type": "text", "bbox": [ 105, 603, 504, 627 ], "lines": [ { "bbox": [ 106, 603, 504, 616 ], "spans": [ { "bbox": [ 106, 603, 504, 616 ], "score": 1.0, "content": "Sebastian Riedel, Limin Yao, and Andrew McCallum. Modeling relations and their mentions with-", "type": "text" } ], "index": 37 }, { "bbox": [ 116, 614, 336, 627 ], "spans": [ { "bbox": [ 116, 614, 336, 627 ], "score": 1.0, "content": "out labeled text. In ECML-PKDD, pp. 148–163, 2010.", "type": "text" } ], "index": 38 } ], "index": 37.5 }, { "type": "text", "bbox": [ 107, 635, 504, 669 ], "lines": [ { "bbox": [ 105, 635, 505, 648 ], "spans": [ { "bbox": [ 105, 635, 505, 648 ], "score": 1.0, "content": "Adam Roberts, Colin Raffel, and Noam Shazeer. How much knowledge can you pack into the", "type": "text" } ], "index": 39 }, { "bbox": [ 115, 646, 506, 660 ], "spans": [ { "bbox": [ 115, 646, 506, 660 ], "score": 1.0, "content": "parameters of a language model? In Proceedings of the 2020 Conference on Empirical Methods", "type": "text" } ], "index": 40 }, { "bbox": [ 116, 658, 382, 669 ], "spans": [ { "bbox": [ 116, 658, 382, 669 ], "score": 1.0, "content": "in Natural Language Processing (EMNLP), pp. 5418–5426, 2020.", "type": "text" } ], "index": 41 } ], "index": 40 }, { "type": "text", "bbox": [ 105, 677, 504, 701 ], "lines": [ { "bbox": [ 106, 677, 505, 690 ], "spans": [ { "bbox": [ 106, 677, 505, 690 ], "score": 1.0, "content": "Dan Roth and Wen-tau Yih. A linear programming formulation for global inference in natural", "type": "text" } ], "index": 42 }, { "bbox": [ 116, 689, 307, 701 ], "spans": [ { "bbox": [ 116, 689, 307, 701 ], "score": 1.0, "content": "language tasks. In HLT-NAACL, pp. 1–8, 2004.", "type": "text" } ], "index": 43 } ], "index": 42.5 }, { "type": "text", "bbox": [ 107, 709, 504, 732 ], "lines": [ { "bbox": [ 106, 709, 505, 722 ], "spans": [ { "bbox": [ 106, 709, 505, 722 ], "score": 1.0, "content": "Rachel Rudinger, Jason Naradowsky, Brian Leonard, and Benjamin Van Durme. Gender bias in", "type": "text" } ], "index": 44 }, { "bbox": [ 116, 720, 318, 732 ], "spans": [ { "bbox": [ 116, 720, 318, 732 ], "score": 1.0, "content": "coreference resolution. In NAACL-HLT (2), 2018.", "type": "text" } ], "index": 45 } ], "index": 44.5 } ], "page_idx": 15, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 299, 750, 313, 764 ], "spans": [ { "bbox": [ 299, 750, 313, 764 ], "score": 1.0, "content": "16", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 127 ], "lines": [ { "bbox": [ 106, 83, 505, 94 ], "spans": [ { "bbox": [ 106, 83, 505, 94 ], "score": 1.0, "content": "Denis Paperno, Germán Kruszewski, Angeliki Lazaridou, Ngoc-Quan Pham, Raffaella Bernardi,", "type": "text" } ], "index": 0 }, { "bbox": [ 116, 94, 505, 106 ], "spans": [ { "bbox": [ 116, 94, 505, 106 ], "score": 1.0, "content": "Sandro Pezzelle, Marco Baroni, Gemma Boleda, and Raquel Fernández. The lambada dataset:", "type": "text" } ], "index": 1 }, { "bbox": [ 115, 104, 505, 118 ], "spans": [ { "bbox": [ 115, 104, 505, 118 ], "score": 1.0, "content": "Word prediction requiring a broad discourse context. In Proceedings of the 54th Annual Meeting", "type": "text" } ], "index": 2 }, { "bbox": [ 115, 115, 505, 128 ], "spans": [ { "bbox": [ 115, 115, 505, 128 ], "score": 1.0, "content": "of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1525–1534, 2016.", "type": "text" } ], "index": 3 } ], "index": 1.5, "bbox_fs": [ 106, 83, 505, 128 ] }, { "type": "text", "bbox": [ 107, 136, 504, 169 ], "lines": [ { "bbox": [ 106, 136, 505, 148 ], "spans": [ { "bbox": [ 106, 136, 505, 148 ], "score": 1.0, "content": "David A. Patterson, Joseph Gonzalez, Quoc V. Le, Chen Liang, Lluis-Miquel Munguia, Daniel", "type": "text" } ], "index": 4 }, { "bbox": [ 115, 146, 505, 159 ], "spans": [ { "bbox": [ 115, 146, 505, 159 ], "score": 1.0, "content": "Rothchild, David R. So, Maud Texier, and Jeff Dean. Carbon emissions and large neural network", "type": "text" } ], "index": 5 }, { "bbox": [ 116, 158, 276, 170 ], "spans": [ { "bbox": [ 116, 158, 276, 170 ], "score": 1.0, "content": "training. CoRR, abs/2104.10350, 2021.", "type": "text" } ], "index": 6 } ], "index": 5, "bbox_fs": [ 106, 136, 505, 170 ] }, { "type": "text", "bbox": [ 106, 178, 505, 212 ], "lines": [ { "bbox": [ 105, 177, 505, 192 ], "spans": [ { "bbox": [ 105, 177, 505, 192 ], "score": 1.0, "content": "Sameer Pradhan, Alessandro Moschitti, Nianwen Xue, Hwee Tou Ng, Anders Björkelund, Olga", "type": "text" } ], "index": 7 }, { "bbox": [ 116, 189, 504, 201 ], "spans": [ { "bbox": [ 116, 189, 504, 201 ], "score": 1.0, "content": "Uryupina, Yuchen Zhang, and Zhi Zhong. Towards robust linguistic analysis using ontonotes. In", "type": "text" } ], "index": 8 }, { "bbox": [ 117, 200, 231, 213 ], "spans": [ { "bbox": [ 117, 200, 231, 213 ], "score": 1.0, "content": "CoNLL, pp. 143–152, 2013.", "type": "text" } ], "index": 9 } ], "index": 8, "bbox_fs": [ 105, 177, 505, 213 ] }, { "type": "text", "bbox": [ 105, 221, 504, 244 ], "lines": [ { "bbox": [ 106, 221, 505, 234 ], "spans": [ { "bbox": [ 106, 221, 505, 234 ], "score": 1.0, "content": "Ofir Press, Noah Smith, and Mike Lewis. Train short, test long: Attention with linear biases enables", "type": "text" } ], "index": 10 }, { "bbox": [ 116, 232, 484, 245 ], "spans": [ { "bbox": [ 116, 232, 484, 245 ], "score": 1.0, "content": "input length extrapolation. In International Conference on Learning Representations, 2021.", "type": "text" } ], "index": 11 } ], "index": 10.5, "bbox_fs": [ 106, 221, 505, 245 ] }, { "type": "text", "bbox": [ 107, 252, 505, 308 ], "lines": [ { "bbox": [ 105, 251, 506, 267 ], "spans": [ { "bbox": [ 105, 251, 506, 267 ], "score": 1.0, "content": "Amy Pu, Hyung Won Chung, Ankur Parikh, Sebastian Gehrmann, and Thibault Sellam. Learning", "type": "text" } ], "index": 12 }, { "bbox": [ 115, 263, 505, 276 ], "spans": [ { "bbox": [ 115, 263, 505, 276 ], "score": 1.0, "content": "compact metrics for MT. In Proceedings of the 2021 Conference on Empirical Methods in Natural", "type": "text" } ], "index": 13 }, { "bbox": [ 115, 274, 506, 288 ], "spans": [ { "bbox": [ 115, 274, 506, 288 ], "score": 1.0, "content": "Language Processing, pp. 751–762, Online and Punta Cana, Dominican Republic, November", "type": "text" } ], "index": 14 }, { "bbox": [ 115, 284, 506, 298 ], "spans": [ { "bbox": [ 115, 284, 506, 298 ], "score": 1.0, "content": "2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.emnlp-main.58. URL", "type": "text" } ], "index": 15 }, { "bbox": [ 115, 296, 379, 309 ], "spans": [ { "bbox": [ 115, 296, 379, 309 ], "score": 1.0, "content": "https://aclanthology.org/2021.emnlp-main.58.", "type": "text" } ], "index": 16 } ], "index": 14, "bbox_fs": [ 105, 251, 506, 309 ] }, { "type": "text", "bbox": [ 106, 317, 506, 351 ], "lines": [ { "bbox": [ 105, 316, 506, 330 ], "spans": [ { "bbox": [ 105, 316, 506, 330 ], "score": 1.0, "content": "Xipeng Qiu, Tianxiang Sun, Yige Xu, Yunfan Shao, Ning Dai, and Xuanjing Huang. Pre-trained", "type": "text" } ], "index": 17 }, { "bbox": [ 115, 327, 505, 341 ], "spans": [ { "bbox": [ 115, 327, 505, 341 ], "score": 1.0, "content": "models for natural language processing: A survey. Science China Technological Sciences, 63(10):", "type": "text" } ], "index": 18 }, { "bbox": [ 117, 339, 191, 350 ], "spans": [ { "bbox": [ 117, 339, 191, 350 ], "score": 1.0, "content": "1872–1897, 2020.", "type": "text" } ], "index": 19 } ], "index": 18, "bbox_fs": [ 105, 316, 506, 350 ] }, { "type": "text", "bbox": [ 105, 359, 504, 382 ], "lines": [ { "bbox": [ 106, 358, 504, 372 ], "spans": [ { "bbox": [ 106, 358, 504, 372 ], "score": 1.0, "content": "Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving language under-", "type": "text" } ], "index": 20 }, { "bbox": [ 116, 371, 291, 382 ], "spans": [ { "bbox": [ 116, 371, 291, 382 ], "score": 1.0, "content": "standing with unsupervised learning. 2018.", "type": "text" } ], "index": 21 } ], "index": 20.5, "bbox_fs": [ 106, 358, 504, 382 ] }, { "type": "text", "bbox": [ 104, 390, 504, 414 ], "lines": [ { "bbox": [ 105, 389, 505, 406 ], "spans": [ { "bbox": [ 105, 389, 505, 406 ], "score": 1.0, "content": "Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language", "type": "text" } ], "index": 22 }, { "bbox": [ 115, 402, 405, 415 ], "spans": [ { "bbox": [ 115, 402, 405, 415 ], "score": 1.0, "content": "models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.", "type": "text" } ], "index": 23 } ], "index": 22.5, "bbox_fs": [ 105, 389, 505, 415 ] }, { "type": "text", "bbox": [ 106, 422, 505, 457 ], "lines": [ { "bbox": [ 105, 421, 505, 436 ], "spans": [ { "bbox": [ 105, 421, 505, 436 ], "score": 1.0, "content": "Jack W Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, Francis Song, John", "type": "text" } ], "index": 24 }, { "bbox": [ 117, 434, 504, 446 ], "spans": [ { "bbox": [ 117, 434, 504, 446 ], "score": 1.0, "content": "Aslanides, Sarah Henderson, Roman Ring, Susannah Young, et al. Scaling language models:", "type": "text" } ], "index": 25 }, { "bbox": [ 115, 444, 486, 458 ], "spans": [ { "bbox": [ 115, 444, 486, 458 ], "score": 1.0, "content": "Methods, analysis & insights from training gopher. arXiv preprint arXiv:2112.11446, 2021.", "type": "text" } ], "index": 26 } ], "index": 25, "bbox_fs": [ 105, 421, 505, 458 ] }, { "type": "text", "bbox": [ 107, 465, 505, 499 ], "lines": [ { "bbox": [ 105, 463, 505, 479 ], "spans": [ { "bbox": [ 105, 463, 505, 479 ], "score": 1.0, "content": "Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi", "type": "text" } ], "index": 27 }, { "bbox": [ 115, 475, 505, 489 ], "spans": [ { "bbox": [ 115, 475, 505, 489 ], "score": 1.0, "content": "Zhou, Wei Li, Peter J Liu, et al. Exploring the limits of transfer learning with a unified text-to-text", "type": "text" } ], "index": 28 }, { "bbox": [ 117, 487, 340, 499 ], "spans": [ { "bbox": [ 117, 487, 340, 499 ], "score": 1.0, "content": "transformer. J. Mach. Learn. Res., 21(140):1–67, 2020.", "type": "text" } ], "index": 29 } ], "index": 28, "bbox_fs": [ 105, 463, 505, 499 ] }, { "type": "text", "bbox": [ 106, 507, 504, 541 ], "lines": [ { "bbox": [ 105, 506, 505, 521 ], "spans": [ { "bbox": [ 105, 506, 505, 521 ], "score": 1.0, "content": "Aditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray, Chelsea Voss, Alec Radford, Mark Chen,", "type": "text" } ], "index": 30 }, { "bbox": [ 116, 519, 505, 531 ], "spans": [ { "bbox": [ 116, 519, 505, 531 ], "score": 1.0, "content": "and Ilya Sutskever. Zero-shot text-to-image generation. In International Conference on Machine", "type": "text" } ], "index": 31 }, { "bbox": [ 116, 529, 280, 541 ], "spans": [ { "bbox": [ 116, 529, 280, 541 ], "score": 1.0, "content": "Learning, pp. 8821–8831. PMLR, 2021.", "type": "text" } ], "index": 32 } ], "index": 31, "bbox_fs": [ 105, 506, 505, 541 ] }, { "type": "text", "bbox": [ 106, 550, 505, 595 ], "lines": [ { "bbox": [ 105, 550, 505, 563 ], "spans": [ { "bbox": [ 105, 550, 505, 563 ], "score": 1.0, "content": "Jeff Rasley, Samyam Rajbhandari, Olatunji Ruwase, and Yuxiong He. Deepspeed: System opti-", "type": "text" } ], "index": 33 }, { "bbox": [ 114, 560, 505, 574 ], "spans": [ { "bbox": [ 114, 560, 505, 574 ], "score": 1.0, "content": "mizations enable training deep learning models with over 100 billion parameters. In Proceedings", "type": "text" } ], "index": 34 }, { "bbox": [ 115, 572, 506, 586 ], "spans": [ { "bbox": [ 115, 572, 506, 586 ], "score": 1.0, "content": "of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining,", "type": "text" } ], "index": 35 }, { "bbox": [ 114, 583, 206, 595 ], "spans": [ { "bbox": [ 114, 583, 206, 595 ], "score": 1.0, "content": "pp. 3505–3506, 2020.", "type": "text" } ], "index": 36 } ], "index": 34.5, "bbox_fs": [ 105, 550, 506, 595 ] }, { "type": "text", "bbox": [ 105, 603, 504, 627 ], "lines": [ { "bbox": [ 106, 603, 504, 616 ], "spans": [ { "bbox": [ 106, 603, 504, 616 ], "score": 1.0, "content": "Sebastian Riedel, Limin Yao, and Andrew McCallum. Modeling relations and their mentions with-", "type": "text" } ], "index": 37 }, { "bbox": [ 116, 614, 336, 627 ], "spans": [ { "bbox": [ 116, 614, 336, 627 ], "score": 1.0, "content": "out labeled text. In ECML-PKDD, pp. 148–163, 2010.", "type": "text" } ], "index": 38 } ], "index": 37.5, "bbox_fs": [ 106, 603, 504, 627 ] }, { "type": "text", "bbox": [ 107, 635, 504, 669 ], "lines": [ { "bbox": [ 105, 635, 505, 648 ], "spans": [ { "bbox": [ 105, 635, 505, 648 ], "score": 1.0, "content": "Adam Roberts, Colin Raffel, and Noam Shazeer. How much knowledge can you pack into the", "type": "text" } ], "index": 39 }, { "bbox": [ 115, 646, 506, 660 ], "spans": [ { "bbox": [ 115, 646, 506, 660 ], "score": 1.0, "content": "parameters of a language model? In Proceedings of the 2020 Conference on Empirical Methods", "type": "text" } ], "index": 40 }, { "bbox": [ 116, 658, 382, 669 ], "spans": [ { "bbox": [ 116, 658, 382, 669 ], "score": 1.0, "content": "in Natural Language Processing (EMNLP), pp. 5418–5426, 2020.", "type": "text" } ], "index": 41 } ], "index": 40, "bbox_fs": [ 105, 635, 506, 669 ] }, { "type": "text", "bbox": [ 105, 677, 504, 701 ], "lines": [ { "bbox": [ 106, 677, 505, 690 ], "spans": [ { "bbox": [ 106, 677, 505, 690 ], "score": 1.0, "content": "Dan Roth and Wen-tau Yih. A linear programming formulation for global inference in natural", "type": "text" } ], "index": 42 }, { "bbox": [ 116, 689, 307, 701 ], "spans": [ { "bbox": [ 116, 689, 307, 701 ], "score": 1.0, "content": "language tasks. In HLT-NAACL, pp. 1–8, 2004.", "type": "text" } ], "index": 43 } ], "index": 42.5, "bbox_fs": [ 106, 677, 505, 701 ] }, { "type": "text", "bbox": [ 107, 709, 504, 732 ], "lines": [ { "bbox": [ 106, 709, 505, 722 ], "spans": [ { "bbox": [ 106, 709, 505, 722 ], "score": 1.0, "content": "Rachel Rudinger, Jason Naradowsky, Brian Leonard, and Benjamin Van Durme. Gender bias in", "type": "text" } ], "index": 44 }, { "bbox": [ 116, 720, 318, 732 ], "spans": [ { "bbox": [ 116, 720, 318, 732 ], "score": 1.0, "content": "coreference resolution. In NAACL-HLT (2), 2018.", "type": "text" } ], "index": 45 } ], "index": 44.5, "bbox_fs": [ 106, 709, 505, 732 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 127 ], "lines": [ { "bbox": [ 106, 82, 505, 95 ], "spans": [ { "bbox": [ 106, 82, 505, 95 ], "score": 1.0, "content": "Chitwan Saharia, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily Denton, Seyed Kam-", "type": "text" } ], "index": 0 }, { "bbox": [ 115, 93, 505, 106 ], "spans": [ { "bbox": [ 115, 93, 505, 106 ], "score": 1.0, "content": "yar Seyed Ghasemipour, Raphael Gontijo-Lopes, Burcu Karagol Ayan, Tim Salimans, et al. Pho-", "type": "text" } ], "index": 1 }, { "bbox": [ 116, 105, 505, 117 ], "spans": [ { "bbox": [ 116, 105, 505, 117 ], "score": 1.0, "content": "torealistic text-to-image diffusion models with deep language understanding. In Advances in", "type": "text" } ], "index": 2 }, { "bbox": [ 115, 115, 280, 128 ], "spans": [ { "bbox": [ 115, 115, 280, 128 ], "score": 1.0, "content": "Neural Information Processing Systems.", "type": "text" } ], "index": 3 } ], "index": 1.5 }, { "type": "text", "bbox": [ 105, 133, 504, 156 ], "lines": [ { "bbox": [ 106, 133, 505, 146 ], "spans": [ { "bbox": [ 106, 133, 505, 146 ], "score": 1.0, "content": "Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Winogrande: An adver-", "type": "text" } ], "index": 4 }, { "bbox": [ 116, 145, 495, 158 ], "spans": [ { "bbox": [ 116, 145, 495, 158 ], "score": 1.0, "content": "sarial winograd schema challenge at scale. Communications of the ACM, 64(9):99–106, 2021.", "type": "text" } ], "index": 5 } ], "index": 4.5 }, { "type": "text", "bbox": [ 106, 162, 503, 186 ], "lines": [ { "bbox": [ 105, 161, 505, 177 ], "spans": [ { "bbox": [ 105, 161, 505, 177 ], "score": 1.0, "content": "Erik F. Tjong Kim Sang and Fien De Meulder. Introduction to the conll-2003 shared task: Language-", "type": "text" } ], "index": 6 }, { "bbox": [ 115, 174, 421, 187 ], "spans": [ { "bbox": [ 115, 174, 421, 187 ], "score": 1.0, "content": "independent named entity recognition. In HLT-NAACL, pp. 142–147, 2003.", "type": "text" } ], "index": 7 } ], "index": 6.5 }, { "type": "text", "bbox": [ 106, 192, 504, 215 ], "lines": [ { "bbox": [ 107, 193, 505, 204 ], "spans": [ { "bbox": [ 107, 193, 505, 204 ], "score": 1.0, "content": "Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. Distilbert, a distilled version of", "type": "text" } ], "index": 8 }, { "bbox": [ 115, 203, 442, 216 ], "spans": [ { "bbox": [ 115, 203, 442, 216 ], "score": 1.0, "content": "bert: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108, 2019.", "type": "text" } ], "index": 9 } ], "index": 8.5 }, { "type": "text", "bbox": [ 107, 221, 506, 266 ], "lines": [ { "bbox": [ 106, 222, 505, 234 ], "spans": [ { "bbox": [ 106, 222, 505, 234 ], "score": 1.0, "content": "Victor Sanh, Albert Webson, Colin Raffel, Stephen Bach, Lintang Sutawika, Zaid Alyafeai, Antoine", "type": "text" } ], "index": 10 }, { "bbox": [ 117, 233, 505, 245 ], "spans": [ { "bbox": [ 117, 233, 505, 245 ], "score": 1.0, "content": "Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja, et al. Multitask prompted training enables", "type": "text" } ], "index": 11 }, { "bbox": [ 115, 244, 506, 257 ], "spans": [ { "bbox": [ 115, 244, 506, 257 ], "score": 1.0, "content": "zero-shot task generalization. In The Tenth International Conference on Learning Representa-", "type": "text" } ], "index": 12 }, { "bbox": [ 115, 254, 166, 267 ], "spans": [ { "bbox": [ 115, 254, 166, 267 ], "score": 1.0, "content": "tions, 2022.", "type": "text" } ], "index": 13 } ], "index": 11.5 }, { "type": "text", "bbox": [ 108, 273, 505, 307 ], "lines": [ { "bbox": [ 106, 273, 505, 285 ], "spans": [ { "bbox": [ 106, 273, 505, 285 ], "score": 1.0, "content": "Teven Le Scao, Angela Fan, Christopher Akiki, Ellie Pavlick, Suzana Ilic, Daniel Hesslow, Roman ´", "type": "text" } ], "index": 14 }, { "bbox": [ 116, 284, 505, 297 ], "spans": [ { "bbox": [ 116, 284, 505, 297 ], "score": 1.0, "content": "Castagné, Alexandra Sasha Luccioni, François Yvon, Matthias Gallé, et al. Bloom: A 176b-", "type": "text" } ], "index": 15 }, { "bbox": [ 115, 295, 492, 308 ], "spans": [ { "bbox": [ 115, 295, 492, 308 ], "score": 1.0, "content": "parameter open-access multilingual language model. arXiv preprint arXiv:2211.05100, 2022.", "type": "text" } ], "index": 16 } ], "index": 15 }, { "type": "text", "bbox": [ 107, 313, 505, 347 ], "lines": [ { "bbox": [ 106, 313, 505, 326 ], "spans": [ { "bbox": [ 106, 313, 505, 326 ], "score": 1.0, "content": "Timo Schick, Sahana Udupa, and Hinrich Schütze. Self-diagnosis and self-debiasing: A proposal for", "type": "text" } ], "index": 17 }, { "bbox": [ 115, 324, 506, 338 ], "spans": [ { "bbox": [ 115, 324, 506, 338 ], "score": 1.0, "content": "reducing corpus-based bias in nlp. Transactions of the Association for Computational Linguistics,", "type": "text" } ], "index": 18 }, { "bbox": [ 115, 336, 199, 347 ], "spans": [ { "bbox": [ 115, 336, 199, 347 ], "score": 1.0, "content": "9:1408–1424, 2021.", "type": "text" } ], "index": 19 } ], "index": 18 }, { "type": "text", "bbox": [ 106, 353, 505, 410 ], "lines": [ { "bbox": [ 105, 353, 505, 367 ], "spans": [ { "bbox": [ 105, 353, 505, 367 ], "score": 1.0, "content": "Thomas Scialom, Paul-Alexis Dray, Sylvain Lamprier, Benjamin Piwowarski, and Jacopo Staiano.", "type": "text" } ], "index": 20 }, { "bbox": [ 115, 364, 506, 378 ], "spans": [ { "bbox": [ 115, 364, 506, 378 ], "score": 1.0, "content": "MLSUM: The multilingual summarization corpus. In Proceedings of the 2020 Conference on", "type": "text" } ], "index": 21 }, { "bbox": [ 115, 375, 505, 389 ], "spans": [ { "bbox": [ 115, 375, 505, 389 ], "score": 1.0, "content": "Empirical Methods in Natural Language Processing (EMNLP), pp. 8051–8067, Online, Novem-", "type": "text" } ], "index": 22 }, { "bbox": [ 115, 385, 506, 399 ], "spans": [ { "bbox": [ 115, 385, 506, 399 ], "score": 1.0, "content": "ber 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.emnlp-main.647.", "type": "text" } ], "index": 23 }, { "bbox": [ 115, 397, 407, 410 ], "spans": [ { "bbox": [ 115, 397, 407, 410 ], "score": 1.0, "content": "URL https://aclanthology.org/2020.emnlp-main.647.", "type": "text" } ], "index": 24 } ], "index": 22 }, { "type": "text", "bbox": [ 107, 415, 505, 450 ], "lines": [ { "bbox": [ 105, 415, 505, 429 ], "spans": [ { "bbox": [ 105, 415, 505, 429 ], "score": 1.0, "content": "Sheng Shen, Zhen Dong, Jiayu Ye, Linjian Ma, Zhewei Yao, Amir Gholami, Michael W Mahoney,", "type": "text" } ], "index": 25 }, { "bbox": [ 115, 426, 505, 440 ], "spans": [ { "bbox": [ 115, 426, 505, 440 ], "score": 1.0, "content": "and Kurt Keutzer. Q-bert: Hessian based ultra low precision quantization of bert. In Proceedings", "type": "text" } ], "index": 26 }, { "bbox": [ 115, 438, 453, 451 ], "spans": [ { "bbox": [ 115, 438, 453, 451 ], "score": 1.0, "content": "of the AAAI Conference on Artificial Intelligence, volume 34, pp. 8815–8821, 2020.", "type": "text" } ], "index": 27 } ], "index": 26 }, { "type": "text", "bbox": [ 106, 456, 504, 479 ], "lines": [ { "bbox": [ 105, 455, 505, 470 ], "spans": [ { "bbox": [ 105, 455, 505, 470 ], "score": 1.0, "content": "Emily Sheng, Kai-Wei Chang, P. Natarajan, and Nanyun Peng. Societal biases in language genera-", "type": "text" } ], "index": 28 }, { "bbox": [ 115, 467, 299, 480 ], "spans": [ { "bbox": [ 115, 467, 299, 480 ], "score": 1.0, "content": "tion: Progress and challenges. In ACL, 2021.", "type": "text" } ], "index": 29 } ], "index": 28.5 }, { "type": "text", "bbox": [ 106, 486, 505, 509 ], "lines": [ { "bbox": [ 106, 486, 505, 498 ], "spans": [ { "bbox": [ 106, 486, 505, 498 ], "score": 1.0, "content": "Sam Shleifer, Jason Weston, and Myle Ott. Normformer: Improved transformer pretraining with", "type": "text" } ], "index": 30 }, { "bbox": [ 115, 497, 363, 509 ], "spans": [ { "bbox": [ 115, 497, 363, 509 ], "score": 1.0, "content": "extra normalization. arXiv preprint arXiv:2110.09456, 2021.", "type": "text" } ], "index": 31 } ], "index": 30.5 }, { "type": "text", "bbox": [ 108, 515, 504, 549 ], "lines": [ { "bbox": [ 105, 514, 505, 528 ], "spans": [ { "bbox": [ 105, 514, 505, 528 ], "score": 1.0, "content": "Mohammad Shoeybi, Mostofa Patwary, Raul Puri, Patrick LeGresley, Jared Casper, and Bryan", "type": "text" } ], "index": 32 }, { "bbox": [ 116, 527, 505, 539 ], "spans": [ { "bbox": [ 116, 527, 505, 539 ], "score": 1.0, "content": "Catanzaro. Megatron-lm: Training multi-billion parameter language models using model par-", "type": "text" } ], "index": 33 }, { "bbox": [ 116, 537, 317, 550 ], "spans": [ { "bbox": [ 116, 537, 317, 550 ], "score": 1.0, "content": "allelism. arXiv preprint arXiv:1909.08053, 2019.", "type": "text" } ], "index": 34 } ], "index": 33 }, { "type": "text", "bbox": [ 106, 555, 505, 600 ], "lines": [ { "bbox": [ 106, 555, 505, 567 ], "spans": [ { "bbox": [ 106, 555, 505, 567 ], "score": 1.0, "content": "Shaden Smith, Mostofa Patwary, Brandon Norick, Patrick LeGresley, Samyam Rajbhandari, Jared", "type": "text" } ], "index": 35 }, { "bbox": [ 115, 565, 505, 580 ], "spans": [ { "bbox": [ 115, 565, 505, 580 ], "score": 1.0, "content": "Casper, Zhun Liu, Shrimai Prabhumoye, George Zerveas, Vijay Korthikanti, et al. Using deep-", "type": "text" } ], "index": 36 }, { "bbox": [ 115, 577, 505, 590 ], "spans": [ { "bbox": [ 115, 577, 505, 590 ], "score": 1.0, "content": "speed and megatron to train megatron-turing nlg 530b, a large-scale generative language model.", "type": "text" } ], "index": 37 }, { "bbox": [ 115, 589, 278, 600 ], "spans": [ { "bbox": [ 115, 589, 278, 600 ], "score": 1.0, "content": "arXiv preprint arXiv:2201.11990, 2022.", "type": "text" } ], "index": 38 } ], "index": 36.5 }, { "type": "text", "bbox": [ 107, 606, 506, 651 ], "lines": [ { "bbox": [ 106, 607, 505, 619 ], "spans": [ { "bbox": [ 106, 607, 505, 619 ], "score": 1.0, "content": "Aarohi Srivastava, Abhinav Rastogi, Abhishek Rao, Abu Awal Md Shoeb, Abubakar Abid, Adam", "type": "text" } ], "index": 39 }, { "bbox": [ 115, 617, 505, 630 ], "spans": [ { "bbox": [ 115, 617, 505, 630 ], "score": 1.0, "content": "Fisch, Adam R Brown, Adam Santoro, Aditya Gupta, Adrià Garriga-Alonso, et al. Beyond the", "type": "text" } ], "index": 40 }, { "bbox": [ 115, 628, 505, 642 ], "spans": [ { "bbox": [ 115, 628, 505, 642 ], "score": 1.0, "content": "imitation game: Quantifying and extrapolating the capabilities of language models. arXiv preprint", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 640, 219, 651 ], "spans": [ { "bbox": [ 115, 640, 219, 651 ], "score": 1.0, "content": "arXiv:2206.04615, 2022.", "type": "text" } ], "index": 42 } ], "index": 40.5 }, { "type": "text", "bbox": [ 106, 658, 505, 703 ], "lines": [ { "bbox": [ 105, 657, 505, 671 ], "spans": [ { "bbox": [ 105, 657, 505, 671 ], "score": 1.0, "content": "Emma Strubell, Ananya Ganesh, and Andrew McCallum. Energy and policy considerations for deep", "type": "text" } ], "index": 43 }, { "bbox": [ 115, 669, 506, 682 ], "spans": [ { "bbox": [ 115, 669, 506, 682 ], "score": 1.0, "content": "learning in NLP. In Proceedings of the 57th Conference of the Association for Computational", "type": "text" } ], "index": 44 }, { "bbox": [ 114, 679, 506, 695 ], "spans": [ { "bbox": [ 114, 679, 506, 695 ], "score": 1.0, "content": "Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pp.", "type": "text" } ], "index": 45 }, { "bbox": [ 115, 691, 366, 704 ], "spans": [ { "bbox": [ 115, 691, 366, 704 ], "score": 1.0, "content": "3645–3650. Association for Computational Linguistics, 2019.", "type": "text" } ], "index": 46 } ], "index": 44.5 }, { "type": "text", "bbox": [ 107, 709, 503, 732 ], "lines": [ { "bbox": [ 106, 708, 504, 721 ], "spans": [ { "bbox": [ 106, 708, 504, 721 ], "score": 1.0, "content": "Jianlin Su, Yu Lu, Shengfeng Pan, Bo Wen, and Yunfeng Liu. Roformer: Enhanced transformer", "type": "text" } ], "index": 47 }, { "bbox": [ 116, 720, 411, 732 ], "spans": [ { "bbox": [ 116, 720, 411, 732 ], "score": 1.0, "content": "with rotary position embedding. arXiv preprint arXiv:2104.09864, 2021.", "type": "text" } ], "index": 48 } ], "index": 47.5 } ], "page_idx": 16, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 299, 750, 312, 764 ], "spans": [ { "bbox": [ 299, 750, 312, 764 ], "score": 1.0, "content": "17", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 127 ], "lines": [ { "bbox": [ 106, 82, 505, 95 ], "spans": [ { "bbox": [ 106, 82, 505, 95 ], "score": 1.0, "content": "Chitwan Saharia, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily Denton, Seyed Kam-", "type": "text" } ], "index": 0 }, { "bbox": [ 115, 93, 505, 106 ], "spans": [ { "bbox": [ 115, 93, 505, 106 ], "score": 1.0, "content": "yar Seyed Ghasemipour, Raphael Gontijo-Lopes, Burcu Karagol Ayan, Tim Salimans, et al. Pho-", "type": "text" } ], "index": 1 }, { "bbox": [ 116, 105, 505, 117 ], "spans": [ { "bbox": [ 116, 105, 505, 117 ], "score": 1.0, "content": "torealistic text-to-image diffusion models with deep language understanding. In Advances in", "type": "text" } ], "index": 2 }, { "bbox": [ 115, 115, 280, 128 ], "spans": [ { "bbox": [ 115, 115, 280, 128 ], "score": 1.0, "content": "Neural Information Processing Systems.", "type": "text" } ], "index": 3 } ], "index": 1.5, "bbox_fs": [ 106, 82, 505, 128 ] }, { "type": "text", "bbox": [ 105, 133, 504, 156 ], "lines": [ { "bbox": [ 106, 133, 505, 146 ], "spans": [ { "bbox": [ 106, 133, 505, 146 ], "score": 1.0, "content": "Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Winogrande: An adver-", "type": "text" } ], "index": 4 }, { "bbox": [ 116, 145, 495, 158 ], "spans": [ { "bbox": [ 116, 145, 495, 158 ], "score": 1.0, "content": "sarial winograd schema challenge at scale. Communications of the ACM, 64(9):99–106, 2021.", "type": "text" } ], "index": 5 } ], "index": 4.5, "bbox_fs": [ 106, 133, 505, 158 ] }, { "type": "text", "bbox": [ 106, 162, 503, 186 ], "lines": [ { "bbox": [ 105, 161, 505, 177 ], "spans": [ { "bbox": [ 105, 161, 505, 177 ], "score": 1.0, "content": "Erik F. Tjong Kim Sang and Fien De Meulder. Introduction to the conll-2003 shared task: Language-", "type": "text" } ], "index": 6 }, { "bbox": [ 115, 174, 421, 187 ], "spans": [ { "bbox": [ 115, 174, 421, 187 ], "score": 1.0, "content": "independent named entity recognition. In HLT-NAACL, pp. 142–147, 2003.", "type": "text" } ], "index": 7 } ], "index": 6.5, "bbox_fs": [ 105, 161, 505, 187 ] }, { "type": "text", "bbox": [ 106, 192, 504, 215 ], "lines": [ { "bbox": [ 107, 193, 505, 204 ], "spans": [ { "bbox": [ 107, 193, 505, 204 ], "score": 1.0, "content": "Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. Distilbert, a distilled version of", "type": "text" } ], "index": 8 }, { "bbox": [ 115, 203, 442, 216 ], "spans": [ { "bbox": [ 115, 203, 442, 216 ], "score": 1.0, "content": "bert: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108, 2019.", "type": "text" } ], "index": 9 } ], "index": 8.5, "bbox_fs": [ 107, 193, 505, 216 ] }, { "type": "text", "bbox": [ 107, 221, 506, 266 ], "lines": [ { "bbox": [ 106, 222, 505, 234 ], "spans": [ { "bbox": [ 106, 222, 505, 234 ], "score": 1.0, "content": "Victor Sanh, Albert Webson, Colin Raffel, Stephen Bach, Lintang Sutawika, Zaid Alyafeai, Antoine", "type": "text" } ], "index": 10 }, { "bbox": [ 117, 233, 505, 245 ], "spans": [ { "bbox": [ 117, 233, 505, 245 ], "score": 1.0, "content": "Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja, et al. Multitask prompted training enables", "type": "text" } ], "index": 11 }, { "bbox": [ 115, 244, 506, 257 ], "spans": [ { "bbox": [ 115, 244, 506, 257 ], "score": 1.0, "content": "zero-shot task generalization. In The Tenth International Conference on Learning Representa-", "type": "text" } ], "index": 12 }, { "bbox": [ 115, 254, 166, 267 ], "spans": [ { "bbox": [ 115, 254, 166, 267 ], "score": 1.0, "content": "tions, 2022.", "type": "text" } ], "index": 13 } ], "index": 11.5, "bbox_fs": [ 106, 222, 506, 267 ] }, { "type": "text", "bbox": [ 108, 273, 505, 307 ], "lines": [ { "bbox": [ 106, 273, 505, 285 ], "spans": [ { "bbox": [ 106, 273, 505, 285 ], "score": 1.0, "content": "Teven Le Scao, Angela Fan, Christopher Akiki, Ellie Pavlick, Suzana Ilic, Daniel Hesslow, Roman ´", "type": "text" } ], "index": 14 }, { "bbox": [ 116, 284, 505, 297 ], "spans": [ { "bbox": [ 116, 284, 505, 297 ], "score": 1.0, "content": "Castagné, Alexandra Sasha Luccioni, François Yvon, Matthias Gallé, et al. Bloom: A 176b-", "type": "text" } ], "index": 15 }, { "bbox": [ 115, 295, 492, 308 ], "spans": [ { "bbox": [ 115, 295, 492, 308 ], "score": 1.0, "content": "parameter open-access multilingual language model. arXiv preprint arXiv:2211.05100, 2022.", "type": "text" } ], "index": 16 } ], "index": 15, "bbox_fs": [ 106, 273, 505, 308 ] }, { "type": "text", "bbox": [ 107, 313, 505, 347 ], "lines": [ { "bbox": [ 106, 313, 505, 326 ], "spans": [ { "bbox": [ 106, 313, 505, 326 ], "score": 1.0, "content": "Timo Schick, Sahana Udupa, and Hinrich Schütze. Self-diagnosis and self-debiasing: A proposal for", "type": "text" } ], "index": 17 }, { "bbox": [ 115, 324, 506, 338 ], "spans": [ { "bbox": [ 115, 324, 506, 338 ], "score": 1.0, "content": "reducing corpus-based bias in nlp. Transactions of the Association for Computational Linguistics,", "type": "text" } ], "index": 18 }, { "bbox": [ 115, 336, 199, 347 ], "spans": [ { "bbox": [ 115, 336, 199, 347 ], "score": 1.0, "content": "9:1408–1424, 2021.", "type": "text" } ], "index": 19 } ], "index": 18, "bbox_fs": [ 106, 313, 506, 347 ] }, { "type": "text", "bbox": [ 106, 353, 505, 410 ], "lines": [ { "bbox": [ 105, 353, 505, 367 ], "spans": [ { "bbox": [ 105, 353, 505, 367 ], "score": 1.0, "content": "Thomas Scialom, Paul-Alexis Dray, Sylvain Lamprier, Benjamin Piwowarski, and Jacopo Staiano.", "type": "text" } ], "index": 20 }, { "bbox": [ 115, 364, 506, 378 ], "spans": [ { "bbox": [ 115, 364, 506, 378 ], "score": 1.0, "content": "MLSUM: The multilingual summarization corpus. In Proceedings of the 2020 Conference on", "type": "text" } ], "index": 21 }, { "bbox": [ 115, 375, 505, 389 ], "spans": [ { "bbox": [ 115, 375, 505, 389 ], "score": 1.0, "content": "Empirical Methods in Natural Language Processing (EMNLP), pp. 8051–8067, Online, Novem-", "type": "text" } ], "index": 22 }, { "bbox": [ 115, 385, 506, 399 ], "spans": [ { "bbox": [ 115, 385, 506, 399 ], "score": 1.0, "content": "ber 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.emnlp-main.647.", "type": "text" } ], "index": 23 }, { "bbox": [ 115, 397, 407, 410 ], "spans": [ { "bbox": [ 115, 397, 407, 410 ], "score": 1.0, "content": "URL https://aclanthology.org/2020.emnlp-main.647.", "type": "text" } ], "index": 24 } ], "index": 22, "bbox_fs": [ 105, 353, 506, 410 ] }, { "type": "text", "bbox": [ 107, 415, 505, 450 ], "lines": [ { "bbox": [ 105, 415, 505, 429 ], "spans": [ { "bbox": [ 105, 415, 505, 429 ], "score": 1.0, "content": "Sheng Shen, Zhen Dong, Jiayu Ye, Linjian Ma, Zhewei Yao, Amir Gholami, Michael W Mahoney,", "type": "text" } ], "index": 25 }, { "bbox": [ 115, 426, 505, 440 ], "spans": [ { "bbox": [ 115, 426, 505, 440 ], "score": 1.0, "content": "and Kurt Keutzer. Q-bert: Hessian based ultra low precision quantization of bert. In Proceedings", "type": "text" } ], "index": 26 }, { "bbox": [ 115, 438, 453, 451 ], "spans": [ { "bbox": [ 115, 438, 453, 451 ], "score": 1.0, "content": "of the AAAI Conference on Artificial Intelligence, volume 34, pp. 8815–8821, 2020.", "type": "text" } ], "index": 27 } ], "index": 26, "bbox_fs": [ 105, 415, 505, 451 ] }, { "type": "text", "bbox": [ 106, 456, 504, 479 ], "lines": [ { "bbox": [ 105, 455, 505, 470 ], "spans": [ { "bbox": [ 105, 455, 505, 470 ], "score": 1.0, "content": "Emily Sheng, Kai-Wei Chang, P. Natarajan, and Nanyun Peng. Societal biases in language genera-", "type": "text" } ], "index": 28 }, { "bbox": [ 115, 467, 299, 480 ], "spans": [ { "bbox": [ 115, 467, 299, 480 ], "score": 1.0, "content": "tion: Progress and challenges. In ACL, 2021.", "type": "text" } ], "index": 29 } ], "index": 28.5, "bbox_fs": [ 105, 455, 505, 480 ] }, { "type": "text", "bbox": [ 106, 486, 505, 509 ], "lines": [ { "bbox": [ 106, 486, 505, 498 ], "spans": [ { "bbox": [ 106, 486, 505, 498 ], "score": 1.0, "content": "Sam Shleifer, Jason Weston, and Myle Ott. Normformer: Improved transformer pretraining with", "type": "text" } ], "index": 30 }, { "bbox": [ 115, 497, 363, 509 ], "spans": [ { "bbox": [ 115, 497, 363, 509 ], "score": 1.0, "content": "extra normalization. arXiv preprint arXiv:2110.09456, 2021.", "type": "text" } ], "index": 31 } ], "index": 30.5, "bbox_fs": [ 106, 486, 505, 509 ] }, { "type": "text", "bbox": [ 108, 515, 504, 549 ], "lines": [ { "bbox": [ 105, 514, 505, 528 ], "spans": [ { "bbox": [ 105, 514, 505, 528 ], "score": 1.0, "content": "Mohammad Shoeybi, Mostofa Patwary, Raul Puri, Patrick LeGresley, Jared Casper, and Bryan", "type": "text" } ], "index": 32 }, { "bbox": [ 116, 527, 505, 539 ], "spans": [ { "bbox": [ 116, 527, 505, 539 ], "score": 1.0, "content": "Catanzaro. Megatron-lm: Training multi-billion parameter language models using model par-", "type": "text" } ], "index": 33 }, { "bbox": [ 116, 537, 317, 550 ], "spans": [ { "bbox": [ 116, 537, 317, 550 ], "score": 1.0, "content": "allelism. arXiv preprint arXiv:1909.08053, 2019.", "type": "text" } ], "index": 34 } ], "index": 33, "bbox_fs": [ 105, 514, 505, 550 ] }, { "type": "text", "bbox": [ 106, 555, 505, 600 ], "lines": [ { "bbox": [ 106, 555, 505, 567 ], "spans": [ { "bbox": [ 106, 555, 505, 567 ], "score": 1.0, "content": "Shaden Smith, Mostofa Patwary, Brandon Norick, Patrick LeGresley, Samyam Rajbhandari, Jared", "type": "text" } ], "index": 35 }, { "bbox": [ 115, 565, 505, 580 ], "spans": [ { "bbox": [ 115, 565, 505, 580 ], "score": 1.0, "content": "Casper, Zhun Liu, Shrimai Prabhumoye, George Zerveas, Vijay Korthikanti, et al. Using deep-", "type": "text" } ], "index": 36 }, { "bbox": [ 115, 577, 505, 590 ], "spans": [ { "bbox": [ 115, 577, 505, 590 ], "score": 1.0, "content": "speed and megatron to train megatron-turing nlg 530b, a large-scale generative language model.", "type": "text" } ], "index": 37 }, { "bbox": [ 115, 589, 278, 600 ], "spans": [ { "bbox": [ 115, 589, 278, 600 ], "score": 1.0, "content": "arXiv preprint arXiv:2201.11990, 2022.", "type": "text" } ], "index": 38 } ], "index": 36.5, "bbox_fs": [ 106, 555, 505, 600 ] }, { "type": "text", "bbox": [ 107, 606, 506, 651 ], "lines": [ { "bbox": [ 106, 607, 505, 619 ], "spans": [ { "bbox": [ 106, 607, 505, 619 ], "score": 1.0, "content": "Aarohi Srivastava, Abhinav Rastogi, Abhishek Rao, Abu Awal Md Shoeb, Abubakar Abid, Adam", "type": "text" } ], "index": 39 }, { "bbox": [ 115, 617, 505, 630 ], "spans": [ { "bbox": [ 115, 617, 505, 630 ], "score": 1.0, "content": "Fisch, Adam R Brown, Adam Santoro, Aditya Gupta, Adrià Garriga-Alonso, et al. Beyond the", "type": "text" } ], "index": 40 }, { "bbox": [ 115, 628, 505, 642 ], "spans": [ { "bbox": [ 115, 628, 505, 642 ], "score": 1.0, "content": "imitation game: Quantifying and extrapolating the capabilities of language models. arXiv preprint", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 640, 219, 651 ], "spans": [ { "bbox": [ 115, 640, 219, 651 ], "score": 1.0, "content": "arXiv:2206.04615, 2022.", "type": "text" } ], "index": 42 } ], "index": 40.5, "bbox_fs": [ 106, 607, 505, 651 ] }, { "type": "text", "bbox": [ 106, 658, 505, 703 ], "lines": [ { "bbox": [ 105, 657, 505, 671 ], "spans": [ { "bbox": [ 105, 657, 505, 671 ], "score": 1.0, "content": "Emma Strubell, Ananya Ganesh, and Andrew McCallum. Energy and policy considerations for deep", "type": "text" } ], "index": 43 }, { "bbox": [ 115, 669, 506, 682 ], "spans": [ { "bbox": [ 115, 669, 506, 682 ], "score": 1.0, "content": "learning in NLP. In Proceedings of the 57th Conference of the Association for Computational", "type": "text" } ], "index": 44 }, { "bbox": [ 114, 679, 506, 695 ], "spans": [ { "bbox": [ 114, 679, 506, 695 ], "score": 1.0, "content": "Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pp.", "type": "text" } ], "index": 45 }, { "bbox": [ 115, 691, 366, 704 ], "spans": [ { "bbox": [ 115, 691, 366, 704 ], "score": 1.0, "content": "3645–3650. Association for Computational Linguistics, 2019.", "type": "text" } ], "index": 46 } ], "index": 44.5, "bbox_fs": [ 105, 657, 506, 704 ] }, { "type": "text", "bbox": [ 107, 709, 503, 732 ], "lines": [ { "bbox": [ 106, 708, 504, 721 ], "spans": [ { "bbox": [ 106, 708, 504, 721 ], "score": 1.0, "content": "Jianlin Su, Yu Lu, Shengfeng Pan, Bo Wen, and Yunfeng Liu. Roformer: Enhanced transformer", "type": "text" } ], "index": 47 }, { "bbox": [ 116, 720, 411, 732 ], "spans": [ { "bbox": [ 116, 720, 411, 732 ], "score": 1.0, "content": "with rotary position embedding. arXiv preprint arXiv:2104.09864, 2021.", "type": "text" } ], "index": 48 } ], "index": 47.5, "bbox_fs": [ 106, 708, 504, 732 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 127 ], "lines": [ { "bbox": [ 105, 82, 505, 95 ], "spans": [ { "bbox": [ 105, 82, 505, 95 ], "score": 1.0, "content": "Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. Commonsenseqa: A question", "type": "text" } ], "index": 0 }, { "bbox": [ 116, 93, 505, 106 ], "spans": [ { "bbox": [ 116, 93, 505, 106 ], "score": 1.0, "content": "answering challenge targeting commonsense knowledge. In Proceedings of the 2019 Conference", "type": "text" } ], "index": 1 }, { "bbox": [ 117, 106, 505, 116 ], "spans": [ { "bbox": [ 117, 106, 505, 116 ], "score": 1.0, "content": "of the North American Chapter of the Association for Computational Linguistics: Human Lan-", "type": "text" } ], "index": 2 }, { "bbox": [ 114, 115, 433, 128 ], "spans": [ { "bbox": [ 114, 115, 433, 128 ], "score": 1.0, "content": "guage Technologies, Volume 1 (Long and Short Papers), pp. 4149–4158, 2019.", "type": "text" } ], "index": 3 } ], "index": 1.5 }, { "type": "text", "bbox": [ 106, 136, 505, 180 ], "lines": [ { "bbox": [ 105, 135, 505, 150 ], "spans": [ { "bbox": [ 105, 135, 505, 150 ], "score": 1.0, "content": "Chaofan Tao, Lu Hou, Wei Zhang, Lifeng Shang, Xin Jiang, Qun Liu, Ping Luo, and Ngai Wong.", "type": "text" } ], "index": 4 }, { "bbox": [ 116, 147, 505, 159 ], "spans": [ { "bbox": [ 116, 147, 505, 159 ], "score": 1.0, "content": "Compression of generative pre-trained language models via quantization. In Proceedings of the", "type": "text" } ], "index": 5 }, { "bbox": [ 115, 158, 506, 171 ], "spans": [ { "bbox": [ 115, 158, 506, 171 ], "score": 1.0, "content": "60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers),", "type": "text" } ], "index": 6 }, { "bbox": [ 115, 170, 206, 180 ], "spans": [ { "bbox": [ 115, 170, 206, 180 ], "score": 1.0, "content": "pp. 4821–4836, 2022.", "type": "text" } ], "index": 7 } ], "index": 5.5 }, { "type": "text", "bbox": [ 108, 189, 504, 223 ], "lines": [ { "bbox": [ 106, 189, 505, 201 ], "spans": [ { "bbox": [ 106, 189, 505, 201 ], "score": 1.0, "content": "Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze", "type": "text" } ], "index": 8 }, { "bbox": [ 116, 199, 505, 214 ], "spans": [ { "bbox": [ 116, 199, 505, 214 ], "score": 1.0, "content": "Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, et al. Lamda: Language models for dialog", "type": "text" } ], "index": 9 }, { "bbox": [ 116, 212, 332, 223 ], "spans": [ { "bbox": [ 116, 212, 332, 223 ], "score": 1.0, "content": "applications. arXiv preprint arXiv:2201.08239, 2022.", "type": "text" } ], "index": 10 } ], "index": 9 }, { "type": "text", "bbox": [ 104, 231, 504, 255 ], "lines": [ { "bbox": [ 105, 231, 505, 245 ], "spans": [ { "bbox": [ 105, 231, 505, 245 ], "score": 1.0, "content": "Denis Timonin, Bo Yang Hsueh, and Vinh Nguyen. Accelerated inference for large transformer", "type": "text" } ], "index": 11 }, { "bbox": [ 115, 243, 375, 255 ], "spans": [ { "bbox": [ 115, 243, 375, 255 ], "score": 1.0, "content": "models using nvidia triton inference server. NVIDIA blog, 2022.", "type": "text" } ], "index": 12 } ], "index": 11.5 }, { "type": "text", "bbox": [ 105, 263, 504, 286 ], "lines": [ { "bbox": [ 105, 262, 505, 277 ], "spans": [ { "bbox": [ 105, 262, 505, 277 ], "score": 1.0, "content": "Leslie G Valiant. A bridging model for parallel computation. Communications of the ACM, 33(8):", "type": "text" } ], "index": 13 }, { "bbox": [ 116, 273, 181, 286 ], "spans": [ { "bbox": [ 116, 273, 181, 286 ], "score": 1.0, "content": "103–111, 1990.", "type": "text" } ], "index": 14 } ], "index": 13.5 }, { "type": "text", "bbox": [ 107, 294, 505, 329 ], "lines": [ { "bbox": [ 105, 293, 505, 308 ], "spans": [ { "bbox": [ 105, 293, 505, 308 ], "score": 1.0, "content": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez,", "type": "text" } ], "index": 15 }, { "bbox": [ 116, 307, 504, 318 ], "spans": [ { "bbox": [ 116, 307, 504, 318 ], "score": 1.0, "content": "Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural informa-", "type": "text" } ], "index": 16 }, { "bbox": [ 116, 317, 255, 329 ], "spans": [ { "bbox": [ 116, 317, 255, 329 ], "score": 1.0, "content": "tion processing systems, 30, 2017.", "type": "text" } ], "index": 17 } ], "index": 16 }, { "type": "text", "bbox": [ 106, 337, 505, 383 ], "lines": [ { "bbox": [ 105, 338, 506, 351 ], "spans": [ { "bbox": [ 105, 338, 506, 351 ], "score": 1.0, "content": "David Wadden, Ulme Wennberg, Yi Luan, and Hannaneh Hajishirzi. Entity, relation, and event", "type": "text" } ], "index": 18 }, { "bbox": [ 115, 348, 505, 362 ], "spans": [ { "bbox": [ 115, 348, 505, 362 ], "score": 1.0, "content": "extraction with contextualized span representations. In Proceedings of the 2019 Conference on", "type": "text" } ], "index": 19 }, { "bbox": [ 115, 360, 505, 372 ], "spans": [ { "bbox": [ 115, 360, 505, 372 ], "score": 1.0, "content": "Empirical Methods in Natural Language Processing and the 9th International Joint Conference", "type": "text" } ], "index": 20 }, { "bbox": [ 115, 370, 421, 383 ], "spans": [ { "bbox": [ 115, 370, 421, 383 ], "score": 1.0, "content": "on Natural Language Processing (EMNLP-IJCNLP), pp. 5784–5789, 2019.", "type": "text" } ], "index": 21 } ], "index": 19.5 }, { "type": "text", "bbox": [ 105, 390, 504, 414 ], "lines": [ { "bbox": [ 106, 391, 505, 404 ], "spans": [ { "bbox": [ 106, 391, 505, 404 ], "score": 1.0, "content": "C. Walker and Linguistic Data Consortium. ACE 2005 Multilingual Training Corpus. Linguistic", "type": "text" } ], "index": 22 }, { "bbox": [ 116, 402, 310, 414 ], "spans": [ { "bbox": [ 116, 402, 310, 414 ], "score": 1.0, "content": "Data Consortium, 2005. ISBN 9781585633760.", "type": "text" } ], "index": 23 } ], "index": 22.5 }, { "type": "text", "bbox": [ 107, 422, 505, 456 ], "lines": [ { "bbox": [ 106, 423, 505, 435 ], "spans": [ { "bbox": [ 106, 423, 505, 435 ], "score": 1.0, "content": "Alex Wang, Yada Pruksachatkun, Nikita Nangia, Amanpreet Singh, Julian Michael, Felix Hill, Omer", "type": "text" } ], "index": 24 }, { "bbox": [ 115, 434, 505, 446 ], "spans": [ { "bbox": [ 115, 434, 505, 446 ], "score": 1.0, "content": "Levy, and Samuel R. Bowman. SuperGLUE: A Stickier Benchmark for General-Purpose Lan-", "type": "text" } ], "index": 25 }, { "bbox": [ 115, 444, 406, 457 ], "spans": [ { "bbox": [ 115, 444, 406, 457 ], "score": 1.0, "content": "guage Understanding Systems. In NeurIPS 2019, pp. 3261–3275, 2019.", "type": "text" } ], "index": 26 } ], "index": 25 }, { "type": "text", "bbox": [ 106, 465, 504, 488 ], "lines": [ { "bbox": [ 105, 462, 506, 479 ], "spans": [ { "bbox": [ 105, 462, 506, 479 ], "score": 1.0, "content": "Ben Wang and Aran Komatsuzaki. GPT-J-6B: A 6 Billion Parameter Autoregressive Language", "type": "text" } ], "index": 27 }, { "bbox": [ 115, 475, 500, 488 ], "spans": [ { "bbox": [ 115, 475, 500, 488 ], "score": 1.0, "content": "Model. https://github.com/kingoflolz/mesh-transformer-jax, May 2021.", "type": "text" } ], "index": 28 } ], "index": 27.5 }, { "type": "text", "bbox": [ 108, 496, 502, 531 ], "lines": [ { "bbox": [ 106, 496, 505, 511 ], "spans": [ { "bbox": [ 106, 496, 505, 511 ], "score": 1.0, "content": "Chenguang Wang, Xiao Liu, Zui Chen, Haoyun Hong, Jie Tang, and Dawn Song. Deepstruct:", "type": "text" } ], "index": 29 }, { "bbox": [ 114, 507, 504, 521 ], "spans": [ { "bbox": [ 114, 507, 504, 521 ], "score": 1.0, "content": "Pretraining of language models for structure prediction. In Findings of the Association for Com-", "type": "text" } ], "index": 30 }, { "bbox": [ 115, 519, 339, 531 ], "spans": [ { "bbox": [ 115, 519, 339, 531 ], "score": 1.0, "content": "putational Linguistics: ACL 2022, pp. 803–823, 2022a.", "type": "text" } ], "index": 31 } ], "index": 30 }, { "type": "text", "bbox": [ 104, 539, 504, 562 ], "lines": [ { "bbox": [ 106, 539, 504, 552 ], "spans": [ { "bbox": [ 106, 539, 504, 552 ], "score": 1.0, "content": "Hongyu Wang, Shuming Ma, Li Dong, Shaohan Huang, Dongdong Zhang, and Furu Wei. Deepnet:", "type": "text" } ], "index": 32 }, { "bbox": [ 116, 550, 434, 563 ], "spans": [ { "bbox": [ 116, 550, 434, 563 ], "score": 1.0, "content": "Scaling transformers to 1,000 layers. arXiv preprint arXiv:2203.00555, 2022b.", "type": "text" } ], "index": 33 } ], "index": 32.5 }, { "type": "text", "bbox": [ 107, 570, 505, 615 ], "lines": [ { "bbox": [ 105, 570, 505, 584 ], "spans": [ { "bbox": [ 105, 570, 505, 584 ], "score": 1.0, "content": "Shuohuan Wang, Yu Sun, Yang Xiang, Zhihua Wu, Siyu Ding, Weibao Gong, Shikun Feng, Jun-", "type": "text" } ], "index": 34 }, { "bbox": [ 115, 582, 505, 594 ], "spans": [ { "bbox": [ 115, 582, 505, 594 ], "score": 1.0, "content": "yuan Shang, Yanbin Zhao, Chao Pang, et al. Ernie 3.0 titan: Exploring larger-scale knowledge en-", "type": "text" } ], "index": 35 }, { "bbox": [ 115, 592, 505, 606 ], "spans": [ { "bbox": [ 115, 592, 505, 606 ], "score": 1.0, "content": "hanced pre-training for language understanding and generation. arXiv preprint arXiv:2112.12731,", "type": "text" } ], "index": 36 }, { "bbox": [ 115, 603, 143, 616 ], "spans": [ { "bbox": [ 115, 603, 143, 616 ], "score": 1.0, "content": "2021.", "type": "text" } ], "index": 37 } ], "index": 35.5 }, { "type": "text", "bbox": [ 107, 624, 504, 658 ], "lines": [ { "bbox": [ 106, 624, 504, 637 ], "spans": [ { "bbox": [ 106, 624, 504, 637 ], "score": 1.0, "content": "Wenhui Wang, Furu Wei, Li Dong, Hangbo Bao, Nan Yang, and Ming Zhou. Minilm: Deep self-", "type": "text" } ], "index": 38 }, { "bbox": [ 116, 636, 505, 648 ], "spans": [ { "bbox": [ 116, 636, 505, 648 ], "score": 1.0, "content": "attention distillation for task-agnostic compression of pre-trained transformers. Advances in Neu-", "type": "text" } ], "index": 39 }, { "bbox": [ 116, 646, 351, 659 ], "spans": [ { "bbox": [ 116, 646, 351, 659 ], "score": 1.0, "content": "ral Information Processing Systems, 33:5776–5788, 2020.", "type": "text" } ], "index": 40 } ], "index": 39 }, { "type": "text", "bbox": [ 104, 667, 504, 690 ], "lines": [ { "bbox": [ 106, 667, 504, 678 ], "spans": [ { "bbox": [ 106, 667, 504, 678 ], "score": 1.0, "content": "Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. Rationale-", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 678, 457, 691 ], "spans": [ { "bbox": [ 115, 678, 457, 691 ], "score": 1.0, "content": "augmented ensembles in language models. arXiv preprint arXiv:2207.00747, 2022c.", "type": "text" } ], "index": 42 } ], "index": 41.5 }, { "type": "text", "bbox": [ 107, 698, 505, 732 ], "lines": [ { "bbox": [ 105, 698, 505, 711 ], "spans": [ { "bbox": [ 105, 698, 505, 711 ], "score": 1.0, "content": "Jason Wei, Maarten Bosma, Vincent Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, An-", "type": "text" } ], "index": 43 }, { "bbox": [ 116, 710, 505, 722 ], "spans": [ { "bbox": [ 116, 710, 505, 722 ], "score": 1.0, "content": "drew M Dai, and Quoc V Le. Finetuned language models are zero-shot learners. In International", "type": "text" } ], "index": 44 }, { "bbox": [ 116, 720, 315, 733 ], "spans": [ { "bbox": [ 116, 720, 315, 733 ], "score": 1.0, "content": "Conference on Learning Representations, 2022a.", "type": "text" } ], "index": 45 } ], "index": 44 } ], "page_idx": 17, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 299, 750, 313, 764 ], "spans": [ { "bbox": [ 299, 750, 313, 764 ], "score": 1.0, "content": "18", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 127 ], "lines": [ { "bbox": [ 105, 82, 505, 95 ], "spans": [ { "bbox": [ 105, 82, 505, 95 ], "score": 1.0, "content": "Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. Commonsenseqa: A question", "type": "text" } ], "index": 0 }, { "bbox": [ 116, 93, 505, 106 ], "spans": [ { "bbox": [ 116, 93, 505, 106 ], "score": 1.0, "content": "answering challenge targeting commonsense knowledge. In Proceedings of the 2019 Conference", "type": "text" } ], "index": 1 }, { "bbox": [ 117, 106, 505, 116 ], "spans": [ { "bbox": [ 117, 106, 505, 116 ], "score": 1.0, "content": "of the North American Chapter of the Association for Computational Linguistics: Human Lan-", "type": "text" } ], "index": 2 }, { "bbox": [ 114, 115, 433, 128 ], "spans": [ { "bbox": [ 114, 115, 433, 128 ], "score": 1.0, "content": "guage Technologies, Volume 1 (Long and Short Papers), pp. 4149–4158, 2019.", "type": "text" } ], "index": 3 } ], "index": 1.5, "bbox_fs": [ 105, 82, 505, 128 ] }, { "type": "text", "bbox": [ 106, 136, 505, 180 ], "lines": [ { "bbox": [ 105, 135, 505, 150 ], "spans": [ { "bbox": [ 105, 135, 505, 150 ], "score": 1.0, "content": "Chaofan Tao, Lu Hou, Wei Zhang, Lifeng Shang, Xin Jiang, Qun Liu, Ping Luo, and Ngai Wong.", "type": "text" } ], "index": 4 }, { "bbox": [ 116, 147, 505, 159 ], "spans": [ { "bbox": [ 116, 147, 505, 159 ], "score": 1.0, "content": "Compression of generative pre-trained language models via quantization. In Proceedings of the", "type": "text" } ], "index": 5 }, { "bbox": [ 115, 158, 506, 171 ], "spans": [ { "bbox": [ 115, 158, 506, 171 ], "score": 1.0, "content": "60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers),", "type": "text" } ], "index": 6 }, { "bbox": [ 115, 170, 206, 180 ], "spans": [ { "bbox": [ 115, 170, 206, 180 ], "score": 1.0, "content": "pp. 4821–4836, 2022.", "type": "text" } ], "index": 7 } ], "index": 5.5, "bbox_fs": [ 105, 135, 506, 180 ] }, { "type": "text", "bbox": [ 108, 189, 504, 223 ], "lines": [ { "bbox": [ 106, 189, 505, 201 ], "spans": [ { "bbox": [ 106, 189, 505, 201 ], "score": 1.0, "content": "Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze", "type": "text" } ], "index": 8 }, { "bbox": [ 116, 199, 505, 214 ], "spans": [ { "bbox": [ 116, 199, 505, 214 ], "score": 1.0, "content": "Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, et al. Lamda: Language models for dialog", "type": "text" } ], "index": 9 }, { "bbox": [ 116, 212, 332, 223 ], "spans": [ { "bbox": [ 116, 212, 332, 223 ], "score": 1.0, "content": "applications. arXiv preprint arXiv:2201.08239, 2022.", "type": "text" } ], "index": 10 } ], "index": 9, "bbox_fs": [ 106, 189, 505, 223 ] }, { "type": "text", "bbox": [ 104, 231, 504, 255 ], "lines": [ { "bbox": [ 105, 231, 505, 245 ], "spans": [ { "bbox": [ 105, 231, 505, 245 ], "score": 1.0, "content": "Denis Timonin, Bo Yang Hsueh, and Vinh Nguyen. Accelerated inference for large transformer", "type": "text" } ], "index": 11 }, { "bbox": [ 115, 243, 375, 255 ], "spans": [ { "bbox": [ 115, 243, 375, 255 ], "score": 1.0, "content": "models using nvidia triton inference server. NVIDIA blog, 2022.", "type": "text" } ], "index": 12 } ], "index": 11.5, "bbox_fs": [ 105, 231, 505, 255 ] }, { "type": "text", "bbox": [ 105, 263, 504, 286 ], "lines": [ { "bbox": [ 105, 262, 505, 277 ], "spans": [ { "bbox": [ 105, 262, 505, 277 ], "score": 1.0, "content": "Leslie G Valiant. A bridging model for parallel computation. Communications of the ACM, 33(8):", "type": "text" } ], "index": 13 }, { "bbox": [ 116, 273, 181, 286 ], "spans": [ { "bbox": [ 116, 273, 181, 286 ], "score": 1.0, "content": "103–111, 1990.", "type": "text" } ], "index": 14 } ], "index": 13.5, "bbox_fs": [ 105, 262, 505, 286 ] }, { "type": "text", "bbox": [ 107, 294, 505, 329 ], "lines": [ { "bbox": [ 105, 293, 505, 308 ], "spans": [ { "bbox": [ 105, 293, 505, 308 ], "score": 1.0, "content": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez,", "type": "text" } ], "index": 15 }, { "bbox": [ 116, 307, 504, 318 ], "spans": [ { "bbox": [ 116, 307, 504, 318 ], "score": 1.0, "content": "Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural informa-", "type": "text" } ], "index": 16 }, { "bbox": [ 116, 317, 255, 329 ], "spans": [ { "bbox": [ 116, 317, 255, 329 ], "score": 1.0, "content": "tion processing systems, 30, 2017.", "type": "text" } ], "index": 17 } ], "index": 16, "bbox_fs": [ 105, 293, 505, 329 ] }, { "type": "text", "bbox": [ 106, 337, 505, 383 ], "lines": [ { "bbox": [ 105, 338, 506, 351 ], "spans": [ { "bbox": [ 105, 338, 506, 351 ], "score": 1.0, "content": "David Wadden, Ulme Wennberg, Yi Luan, and Hannaneh Hajishirzi. Entity, relation, and event", "type": "text" } ], "index": 18 }, { "bbox": [ 115, 348, 505, 362 ], "spans": [ { "bbox": [ 115, 348, 505, 362 ], "score": 1.0, "content": "extraction with contextualized span representations. In Proceedings of the 2019 Conference on", "type": "text" } ], "index": 19 }, { "bbox": [ 115, 360, 505, 372 ], "spans": [ { "bbox": [ 115, 360, 505, 372 ], "score": 1.0, "content": "Empirical Methods in Natural Language Processing and the 9th International Joint Conference", "type": "text" } ], "index": 20 }, { "bbox": [ 115, 370, 421, 383 ], "spans": [ { "bbox": [ 115, 370, 421, 383 ], "score": 1.0, "content": "on Natural Language Processing (EMNLP-IJCNLP), pp. 5784–5789, 2019.", "type": "text" } ], "index": 21 } ], "index": 19.5, "bbox_fs": [ 105, 338, 506, 383 ] }, { "type": "text", "bbox": [ 105, 390, 504, 414 ], "lines": [ { "bbox": [ 106, 391, 505, 404 ], "spans": [ { "bbox": [ 106, 391, 505, 404 ], "score": 1.0, "content": "C. Walker and Linguistic Data Consortium. ACE 2005 Multilingual Training Corpus. Linguistic", "type": "text" } ], "index": 22 }, { "bbox": [ 116, 402, 310, 414 ], "spans": [ { "bbox": [ 116, 402, 310, 414 ], "score": 1.0, "content": "Data Consortium, 2005. ISBN 9781585633760.", "type": "text" } ], "index": 23 } ], "index": 22.5, "bbox_fs": [ 106, 391, 505, 414 ] }, { "type": "text", "bbox": [ 107, 422, 505, 456 ], "lines": [ { "bbox": [ 106, 423, 505, 435 ], "spans": [ { "bbox": [ 106, 423, 505, 435 ], "score": 1.0, "content": "Alex Wang, Yada Pruksachatkun, Nikita Nangia, Amanpreet Singh, Julian Michael, Felix Hill, Omer", "type": "text" } ], "index": 24 }, { "bbox": [ 115, 434, 505, 446 ], "spans": [ { "bbox": [ 115, 434, 505, 446 ], "score": 1.0, "content": "Levy, and Samuel R. Bowman. SuperGLUE: A Stickier Benchmark for General-Purpose Lan-", "type": "text" } ], "index": 25 }, { "bbox": [ 115, 444, 406, 457 ], "spans": [ { "bbox": [ 115, 444, 406, 457 ], "score": 1.0, "content": "guage Understanding Systems. In NeurIPS 2019, pp. 3261–3275, 2019.", "type": "text" } ], "index": 26 } ], "index": 25, "bbox_fs": [ 106, 423, 505, 457 ] }, { "type": "text", "bbox": [ 106, 465, 504, 488 ], "lines": [ { "bbox": [ 105, 462, 506, 479 ], "spans": [ { "bbox": [ 105, 462, 506, 479 ], "score": 1.0, "content": "Ben Wang and Aran Komatsuzaki. GPT-J-6B: A 6 Billion Parameter Autoregressive Language", "type": "text" } ], "index": 27 }, { "bbox": [ 115, 475, 500, 488 ], "spans": [ { "bbox": [ 115, 475, 500, 488 ], "score": 1.0, "content": "Model. https://github.com/kingoflolz/mesh-transformer-jax, May 2021.", "type": "text" } ], "index": 28 } ], "index": 27.5, "bbox_fs": [ 105, 462, 506, 488 ] }, { "type": "text", "bbox": [ 108, 496, 502, 531 ], "lines": [ { "bbox": [ 106, 496, 505, 511 ], "spans": [ { "bbox": [ 106, 496, 505, 511 ], "score": 1.0, "content": "Chenguang Wang, Xiao Liu, Zui Chen, Haoyun Hong, Jie Tang, and Dawn Song. Deepstruct:", "type": "text" } ], "index": 29 }, { "bbox": [ 114, 507, 504, 521 ], "spans": [ { "bbox": [ 114, 507, 504, 521 ], "score": 1.0, "content": "Pretraining of language models for structure prediction. In Findings of the Association for Com-", "type": "text" } ], "index": 30 }, { "bbox": [ 115, 519, 339, 531 ], "spans": [ { "bbox": [ 115, 519, 339, 531 ], "score": 1.0, "content": "putational Linguistics: ACL 2022, pp. 803–823, 2022a.", "type": "text" } ], "index": 31 } ], "index": 30, "bbox_fs": [ 106, 496, 505, 531 ] }, { "type": "text", "bbox": [ 104, 539, 504, 562 ], "lines": [ { "bbox": [ 106, 539, 504, 552 ], "spans": [ { "bbox": [ 106, 539, 504, 552 ], "score": 1.0, "content": "Hongyu Wang, Shuming Ma, Li Dong, Shaohan Huang, Dongdong Zhang, and Furu Wei. Deepnet:", "type": "text" } ], "index": 32 }, { "bbox": [ 116, 550, 434, 563 ], "spans": [ { "bbox": [ 116, 550, 434, 563 ], "score": 1.0, "content": "Scaling transformers to 1,000 layers. arXiv preprint arXiv:2203.00555, 2022b.", "type": "text" } ], "index": 33 } ], "index": 32.5, "bbox_fs": [ 106, 539, 504, 563 ] }, { "type": "text", "bbox": [ 107, 570, 505, 615 ], "lines": [ { "bbox": [ 105, 570, 505, 584 ], "spans": [ { "bbox": [ 105, 570, 505, 584 ], "score": 1.0, "content": "Shuohuan Wang, Yu Sun, Yang Xiang, Zhihua Wu, Siyu Ding, Weibao Gong, Shikun Feng, Jun-", "type": "text" } ], "index": 34 }, { "bbox": [ 115, 582, 505, 594 ], "spans": [ { "bbox": [ 115, 582, 505, 594 ], "score": 1.0, "content": "yuan Shang, Yanbin Zhao, Chao Pang, et al. Ernie 3.0 titan: Exploring larger-scale knowledge en-", "type": "text" } ], "index": 35 }, { "bbox": [ 115, 592, 505, 606 ], "spans": [ { "bbox": [ 115, 592, 505, 606 ], "score": 1.0, "content": "hanced pre-training for language understanding and generation. arXiv preprint arXiv:2112.12731,", "type": "text" } ], "index": 36 }, { "bbox": [ 115, 603, 143, 616 ], "spans": [ { "bbox": [ 115, 603, 143, 616 ], "score": 1.0, "content": "2021.", "type": "text" } ], "index": 37 } ], "index": 35.5, "bbox_fs": [ 105, 570, 505, 616 ] }, { "type": "text", "bbox": [ 107, 624, 504, 658 ], "lines": [ { "bbox": [ 106, 624, 504, 637 ], "spans": [ { "bbox": [ 106, 624, 504, 637 ], "score": 1.0, "content": "Wenhui Wang, Furu Wei, Li Dong, Hangbo Bao, Nan Yang, and Ming Zhou. Minilm: Deep self-", "type": "text" } ], "index": 38 }, { "bbox": [ 116, 636, 505, 648 ], "spans": [ { "bbox": [ 116, 636, 505, 648 ], "score": 1.0, "content": "attention distillation for task-agnostic compression of pre-trained transformers. Advances in Neu-", "type": "text" } ], "index": 39 }, { "bbox": [ 116, 646, 351, 659 ], "spans": [ { "bbox": [ 116, 646, 351, 659 ], "score": 1.0, "content": "ral Information Processing Systems, 33:5776–5788, 2020.", "type": "text" } ], "index": 40 } ], "index": 39, "bbox_fs": [ 106, 624, 505, 659 ] }, { "type": "text", "bbox": [ 104, 667, 504, 690 ], "lines": [ { "bbox": [ 106, 667, 504, 678 ], "spans": [ { "bbox": [ 106, 667, 504, 678 ], "score": 1.0, "content": "Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. Rationale-", "type": "text" } ], "index": 41 }, { "bbox": [ 115, 678, 457, 691 ], "spans": [ { "bbox": [ 115, 678, 457, 691 ], "score": 1.0, "content": "augmented ensembles in language models. arXiv preprint arXiv:2207.00747, 2022c.", "type": "text" } ], "index": 42 } ], "index": 41.5, "bbox_fs": [ 106, 667, 504, 691 ] }, { "type": "text", "bbox": [ 107, 698, 505, 732 ], "lines": [ { "bbox": [ 105, 698, 505, 711 ], "spans": [ { "bbox": [ 105, 698, 505, 711 ], "score": 1.0, "content": "Jason Wei, Maarten Bosma, Vincent Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, An-", "type": "text" } ], "index": 43 }, { "bbox": [ 116, 710, 505, 722 ], "spans": [ { "bbox": [ 116, 710, 505, 722 ], "score": 1.0, "content": "drew M Dai, and Quoc V Le. Finetuned language models are zero-shot learners. In International", "type": "text" } ], "index": 44 }, { "bbox": [ 116, 720, 315, 733 ], "spans": [ { "bbox": [ 116, 720, 315, 733 ], "score": 1.0, "content": "Conference on Learning Representations, 2022a.", "type": "text" } ], "index": 45 } ], "index": 44, "bbox_fs": [ 105, 698, 505, 733 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 108, 82, 504, 116 ], "lines": [ { "bbox": [ 105, 82, 505, 95 ], "spans": [ { "bbox": [ 105, 82, 505, 95 ], "score": 1.0, "content": "Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yo-", "type": "text" } ], "index": 0 }, { "bbox": [ 115, 93, 506, 108 ], "spans": [ { "bbox": [ 115, 93, 506, 108 ], "score": 1.0, "content": "gatama, Maarten Bosma, Denny Zhou, Donald Metzler, et al. Emergent abilities of large language", "type": "text" } ], "index": 1 }, { "bbox": [ 116, 105, 318, 116 ], "spans": [ { "bbox": [ 116, 105, 318, 116 ], "score": 1.0, "content": "models. arXiv preprint arXiv:2206.07682, 2022b.", "type": "text" } ], "index": 2 } ], "index": 1 }, { "type": "text", "bbox": [ 107, 123, 504, 156 ], "lines": [ { "bbox": [ 105, 122, 505, 137 ], "spans": [ { "bbox": [ 105, 122, 505, 137 ], "score": 1.0, "content": "Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny", "type": "text" } ], "index": 3 }, { "bbox": [ 115, 133, 505, 147 ], "spans": [ { "bbox": [ 115, 133, 505, 147 ], "score": 1.0, "content": "Zhou. Chain of thought prompting elicits reasoning in large language models. arXiv preprint", "type": "text" } ], "index": 4 }, { "bbox": [ 116, 145, 224, 157 ], "spans": [ { "bbox": [ 116, 145, 224, 157 ], "score": 1.0, "content": "arXiv:2201.11903, 2022c.", "type": "text" } ], "index": 5 } ], "index": 4 }, { "type": "text", "bbox": [ 106, 163, 504, 198 ], "lines": [ { "bbox": [ 104, 162, 506, 178 ], "spans": [ { "bbox": [ 104, 162, 506, 178 ], "score": 1.0, "content": "Laura Weidinger, John Mellor, Maribeth Rauh, Conor Griffin, Jonathan Uesato, Po-Sen Huang,", "type": "text" } ], "index": 6 }, { "bbox": [ 116, 175, 505, 187 ], "spans": [ { "bbox": [ 116, 175, 505, 187 ], "score": 1.0, "content": "Myra Cheng, Mia Glaese, Borja Balle, Atoosa Kasirzadeh, et al. Ethical and social risks of harm", "type": "text" } ], "index": 7 }, { "bbox": [ 115, 185, 374, 199 ], "spans": [ { "bbox": [ 115, 185, 374, 199 ], "score": 1.0, "content": "from language models. arXiv preprint arXiv:2112.04359, 2021.", "type": "text" } ], "index": 8 } ], "index": 7 }, { "type": "text", "bbox": [ 108, 204, 504, 239 ], "lines": [ { "bbox": [ 105, 203, 505, 219 ], "spans": [ { "bbox": [ 105, 203, 505, 219 ], "score": 1.0, "content": "Shaohua Wu, Xudong Zhao, Tong Yu, Rongguo Zhang, Chong Shen, Hongli Liu, Feng Li, Hong", "type": "text" } ], "index": 9 }, { "bbox": [ 115, 216, 505, 228 ], "spans": [ { "bbox": [ 115, 216, 505, 228 ], "score": 1.0, "content": "Zhu, Jiangang Luo, Liang Xu, et al. Yuan 1.0: Large-scale pre-trained language model in zero-", "type": "text" } ], "index": 10 }, { "bbox": [ 115, 226, 391, 240 ], "spans": [ { "bbox": [ 115, 226, 391, 240 ], "score": 1.0, "content": "shot and few-shot learning. arXiv preprint arXiv:2110.04725, 2021.", "type": "text" } ], "index": 11 } ], "index": 10 }, { "type": "text", "bbox": [ 106, 245, 504, 280 ], "lines": [ { "bbox": [ 106, 245, 506, 259 ], "spans": [ { "bbox": [ 106, 245, 506, 259 ], "score": 1.0, "content": "Yongqin Xian, Christoph H Lampert, Bernt Schiele, and Zeynep Akata. Zero-shot learning—a", "type": "text" } ], "index": 12 }, { "bbox": [ 116, 257, 505, 269 ], "spans": [ { "bbox": [ 116, 257, 505, 269 ], "score": 1.0, "content": "comprehensive evaluation of the good, the bad and the ugly. IEEE transactions on pattern analysis", "type": "text" } ], "index": 13 }, { "bbox": [ 116, 268, 321, 280 ], "spans": [ { "bbox": [ 116, 268, 321, 280 ], "score": 1.0, "content": "and machine intelligence, 41(9):2251–2265, 2018.", "type": "text" } ], "index": 14 } ], "index": 13 }, { "type": "text", "bbox": [ 107, 286, 504, 321 ], "lines": [ { "bbox": [ 104, 285, 506, 301 ], "spans": [ { "bbox": [ 104, 285, 506, 301 ], "score": 1.0, "content": "Ruibin Xiong, Yunchang Yang, Di He, Kai Zheng, Shuxin Zheng, Chen Xing, Huishuai Zhang,", "type": "text" } ], "index": 15 }, { "bbox": [ 117, 298, 506, 310 ], "spans": [ { "bbox": [ 117, 298, 506, 310 ], "score": 1.0, "content": "Yanyan Lan, Liwei Wang, and Tieyan Liu. On layer normalization in the transformer architecture.", "type": "text" } ], "index": 16 }, { "bbox": [ 115, 308, 453, 322 ], "spans": [ { "bbox": [ 115, 308, 453, 322 ], "score": 1.0, "content": "In International Conference on Machine Learning, pp. 10524–10533. PMLR, 2020.", "type": "text" } ], "index": 17 } ], "index": 16 }, { "type": "text", "bbox": [ 107, 327, 504, 362 ], "lines": [ { "bbox": [ 106, 327, 505, 340 ], "spans": [ { "bbox": [ 106, 327, 505, 340 ], "score": 1.0, "content": "Liang Xu, Hai Hu, Xuanwei Zhang, Lu Li, Chenjie Cao, Yudong Li, Yechen Xu, Kai Sun, Dian Yu,", "type": "text" } ], "index": 18 }, { "bbox": [ 116, 338, 506, 352 ], "spans": [ { "bbox": [ 116, 338, 506, 352 ], "score": 1.0, "content": "Cong Yu, et al. Clue: A chinese language understanding evaluation benchmark. In Proceedings", "type": "text" } ], "index": 19 }, { "bbox": [ 116, 349, 477, 362 ], "spans": [ { "bbox": [ 116, 349, 477, 362 ], "score": 1.0, "content": "of the 28th International Conference on Computational Linguistics, pp. 4762–4772, 2020.", "type": "text" } ], "index": 20 } ], "index": 19 }, { "type": "text", "bbox": [ 107, 367, 504, 402 ], "lines": [ { "bbox": [ 104, 366, 506, 382 ], "spans": [ { "bbox": [ 104, 366, 506, 382 ], "score": 1.0, "content": "Liang Xu, Xiaojing Lu, Chenyang Yuan, Xuanwei Zhang, Huilin Xu, Hu Yuan, Guoao Wei, Xiang", "type": "text" } ], "index": 21 }, { "bbox": [ 116, 379, 505, 392 ], "spans": [ { "bbox": [ 116, 379, 505, 392 ], "score": 1.0, "content": "Pan, Xin Tian, Libo Qin, et al. Fewclue: A chinese few-shot learning evaluation benchmark.", "type": "text" } ], "index": 22 }, { "bbox": [ 116, 391, 279, 402 ], "spans": [ { "bbox": [ 116, 391, 279, 402 ], "score": 1.0, "content": "arXiv preprint arXiv:2107.07498, 2021.", "type": "text" } ], "index": 23 } ], "index": 22 }, { "type": "text", "bbox": [ 106, 408, 505, 443 ], "lines": [ { "bbox": [ 106, 408, 505, 422 ], "spans": [ { "bbox": [ 106, 408, 505, 422 ], "score": 1.0, "content": "Sha Yuan, Hanyu Zhao, Zhengxiao Du, Ming Ding, Xiao Liu, Yukuo Cen, Xu Zou, Zhilin Yang, and", "type": "text" } ], "index": 24 }, { "bbox": [ 115, 420, 505, 433 ], "spans": [ { "bbox": [ 115, 420, 505, 433 ], "score": 1.0, "content": "Jie Tang. Wudaocorpora: A super large-scale chinese corpora for pre-training language models.", "type": "text" } ], "index": 25 }, { "bbox": [ 115, 431, 218, 443 ], "spans": [ { "bbox": [ 115, 431, 218, 443 ], "score": 1.0, "content": "AI Open, 2:65–68, 2021.", "type": "text" } ], "index": 26 } ], "index": 25 }, { "type": "text", "bbox": [ 106, 449, 505, 484 ], "lines": [ { "bbox": [ 105, 449, 505, 463 ], "spans": [ { "bbox": [ 105, 449, 505, 463 ], "score": 1.0, "content": "Ofir Zafrir, Guy Boudoukh, Peter Izsak, and Moshe Wasserblat. Q8bert: Quantized 8bit bert. In", "type": "text" } ], "index": 27 }, { "bbox": [ 116, 461, 505, 474 ], "spans": [ { "bbox": [ 116, 461, 505, 474 ], "score": 1.0, "content": "2019 Fifth Workshop on Energy Efficient Machine Learning and Cognitive Computing-NeurIPS", "type": "text" } ], "index": 28 }, { "bbox": [ 116, 472, 306, 484 ], "spans": [ { "bbox": [ 116, 472, 306, 484 ], "score": 1.0, "content": "Edition (EMC2-NIPS), pp. 36–39. IEEE, 2019.", "type": "text" } ], "index": 29 } ], "index": 28 }, { "type": "text", "bbox": [ 107, 490, 504, 525 ], "lines": [ { "bbox": [ 105, 489, 505, 505 ], "spans": [ { "bbox": [ 105, 489, 505, 505 ], "score": 1.0, "content": "Wei Zeng, Xiaozhe Ren, Teng Su, Hui Wang, Yi Liao, Zhiwei Wang, Xin Jiang, ZhenZhang Yang,", "type": "text" } ], "index": 30 }, { "bbox": [ 116, 501, 505, 515 ], "spans": [ { "bbox": [ 116, 501, 302, 515 ], "score": 1.0, "content": "Kaisheng Wang, Xiaoda Zhang, et al. Pangu-", "type": "text" }, { "bbox": [ 302, 502, 315, 514 ], "score": 0.8, "content": "\\cdot \\backslash \\alpha", "type": "inline_equation" }, { "bbox": [ 315, 501, 505, 515 ], "score": 1.0, "content": ": Large-scale autoregressive pretrained chinese", "type": "text" } ], "index": 31 }, { "bbox": [ 116, 513, 477, 526 ], "spans": [ { "bbox": [ 116, 513, 477, 526 ], "score": 1.0, "content": "language models with auto-parallel computation. arXiv preprint arXiv:2104.12369, 2021.", "type": "text" } ], "index": 32 } ], "index": 31 }, { "type": "text", "bbox": [ 107, 531, 504, 555 ], "lines": [ { "bbox": [ 106, 531, 505, 544 ], "spans": [ { "bbox": [ 106, 531, 505, 544 ], "score": 1.0, "content": "Chiyuan Zhang, Daphne Ippolito, Katherine Lee, Matthew Jagielski, Florian Tramèr, and Nicholas", "type": "text" } ], "index": 33 }, { "bbox": [ 116, 542, 503, 555 ], "spans": [ { "bbox": [ 116, 542, 503, 555 ], "score": 1.0, "content": "Carlini. Counterfactual memorization in neural language models. CoRR, abs/2112.12938, 2021.", "type": "text" } ], "index": 34 } ], "index": 33.5 }, { "type": "text", "bbox": [ 107, 561, 504, 595 ], "lines": [ { "bbox": [ 105, 561, 505, 574 ], "spans": [ { "bbox": [ 105, 561, 505, 574 ], "score": 1.0, "content": "Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christo-", "type": "text" } ], "index": 35 }, { "bbox": [ 116, 572, 506, 586 ], "spans": [ { "bbox": [ 116, 572, 506, 586 ], "score": 1.0, "content": "pher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, et al. Opt: Open pre-trained transformer", "type": "text" } ], "index": 36 }, { "bbox": [ 116, 584, 352, 596 ], "spans": [ { "bbox": [ 116, 584, 352, 596 ], "score": 1.0, "content": "language models. arXiv preprint arXiv:2205.01068, 2022.", "type": "text" } ], "index": 37 } ], "index": 36 }, { "type": "text", "bbox": [ 106, 602, 504, 625 ], "lines": [ { "bbox": [ 106, 603, 505, 615 ], "spans": [ { "bbox": [ 106, 603, 505, 615 ], "score": 1.0, "content": "Yuhao Zhang, Victor Zhong, Danqi Chen, Gabor Angeli, and Christopher D. Manning. Position-", "type": "text" } ], "index": 38 }, { "bbox": [ 115, 614, 462, 626 ], "spans": [ { "bbox": [ 115, 614, 462, 626 ], "score": 1.0, "content": "aware attention and supervised data improve slot filling. In EMNLP, pp. 35–45, 2017.", "type": "text" } ], "index": 39 } ], "index": 38.5 }, { "type": "text", "bbox": [ 106, 632, 506, 676 ], "lines": [ { "bbox": [ 105, 632, 506, 646 ], "spans": [ { "bbox": [ 105, 632, 506, 646 ], "score": 1.0, "content": "Ben Zhou, Daniel Khashabi, Qiang Ning, and Dan Roth. “going on a vacation” takes longer than", "type": "text" } ], "index": 40 }, { "bbox": [ 117, 643, 506, 655 ], "spans": [ { "bbox": [ 117, 643, 506, 655 ], "score": 1.0, "content": "“going for a walk”: A study of temporal commonsense understanding. In Proceedings of the 2019", "type": "text" } ], "index": 41 }, { "bbox": [ 117, 655, 506, 667 ], "spans": [ { "bbox": [ 117, 655, 506, 667 ], "score": 1.0, "content": "Conference on Empirical Methods in Natural Language Processing and the 9th International", "type": "text" } ], "index": 42 }, { "bbox": [ 115, 665, 491, 678 ], "spans": [ { "bbox": [ 115, 665, 491, 678 ], "score": 1.0, "content": "Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 3363–3369, 2019.", "type": "text" } ], "index": 43 } ], "index": 41.5 }, { "type": "text", "bbox": [ 107, 684, 505, 707 ], "lines": [ { "bbox": [ 106, 684, 505, 697 ], "spans": [ { "bbox": [ 106, 684, 505, 697 ], "score": 1.0, "content": "Chen Zhu, Ankit Singh Rawat, Manzil Zaheer, Srinadh Bhojanapalli, Daliang Li, Felix X. Yu, and", "type": "text" } ], "index": 44 }, { "bbox": [ 116, 695, 480, 707 ], "spans": [ { "bbox": [ 116, 695, 480, 707 ], "score": 1.0, "content": "Sanjiv Kumar. Modifying memories in transformer models. CoRR, abs/2012.00363, 2020.", "type": "text" } ], "index": 45 } ], "index": 44.5 } ], "page_idx": 18, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 299, 750, 313, 764 ], "spans": [ { "bbox": [ 299, 750, 313, 764 ], "score": 1.0, "content": "19", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 108, 82, 504, 116 ], "lines": [ { "bbox": [ 105, 82, 505, 95 ], "spans": [ { "bbox": [ 105, 82, 505, 95 ], "score": 1.0, "content": "Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yo-", "type": "text" } ], "index": 0 }, { "bbox": [ 115, 93, 506, 108 ], "spans": [ { "bbox": [ 115, 93, 506, 108 ], "score": 1.0, "content": "gatama, Maarten Bosma, Denny Zhou, Donald Metzler, et al. Emergent abilities of large language", "type": "text" } ], "index": 1 }, { "bbox": [ 116, 105, 318, 116 ], "spans": [ { "bbox": [ 116, 105, 318, 116 ], "score": 1.0, "content": "models. arXiv preprint arXiv:2206.07682, 2022b.", "type": "text" } ], "index": 2 } ], "index": 1, "bbox_fs": [ 105, 82, 506, 116 ] }, { "type": "text", "bbox": [ 107, 123, 504, 156 ], "lines": [ { "bbox": [ 105, 122, 505, 137 ], "spans": [ { "bbox": [ 105, 122, 505, 137 ], "score": 1.0, "content": "Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny", "type": "text" } ], "index": 3 }, { "bbox": [ 115, 133, 505, 147 ], "spans": [ { "bbox": [ 115, 133, 505, 147 ], "score": 1.0, "content": "Zhou. Chain of thought prompting elicits reasoning in large language models. arXiv preprint", "type": "text" } ], "index": 4 }, { "bbox": [ 116, 145, 224, 157 ], "spans": [ { "bbox": [ 116, 145, 224, 157 ], "score": 1.0, "content": "arXiv:2201.11903, 2022c.", "type": "text" } ], "index": 5 } ], "index": 4, "bbox_fs": [ 105, 122, 505, 157 ] }, { "type": "text", "bbox": [ 106, 163, 504, 198 ], "lines": [ { "bbox": [ 104, 162, 506, 178 ], "spans": [ { "bbox": [ 104, 162, 506, 178 ], "score": 1.0, "content": "Laura Weidinger, John Mellor, Maribeth Rauh, Conor Griffin, Jonathan Uesato, Po-Sen Huang,", "type": "text" } ], "index": 6 }, { "bbox": [ 116, 175, 505, 187 ], "spans": [ { "bbox": [ 116, 175, 505, 187 ], "score": 1.0, "content": "Myra Cheng, Mia Glaese, Borja Balle, Atoosa Kasirzadeh, et al. Ethical and social risks of harm", "type": "text" } ], "index": 7 }, { "bbox": [ 115, 185, 374, 199 ], "spans": [ { "bbox": [ 115, 185, 374, 199 ], "score": 1.0, "content": "from language models. arXiv preprint arXiv:2112.04359, 2021.", "type": "text" } ], "index": 8 } ], "index": 7, "bbox_fs": [ 104, 162, 506, 199 ] }, { "type": "text", "bbox": [ 108, 204, 504, 239 ], "lines": [ { "bbox": [ 105, 203, 505, 219 ], "spans": [ { "bbox": [ 105, 203, 505, 219 ], "score": 1.0, "content": "Shaohua Wu, Xudong Zhao, Tong Yu, Rongguo Zhang, Chong Shen, Hongli Liu, Feng Li, Hong", "type": "text" } ], "index": 9 }, { "bbox": [ 115, 216, 505, 228 ], "spans": [ { "bbox": [ 115, 216, 505, 228 ], "score": 1.0, "content": "Zhu, Jiangang Luo, Liang Xu, et al. Yuan 1.0: Large-scale pre-trained language model in zero-", "type": "text" } ], "index": 10 }, { "bbox": [ 115, 226, 391, 240 ], "spans": [ { "bbox": [ 115, 226, 391, 240 ], "score": 1.0, "content": "shot and few-shot learning. arXiv preprint arXiv:2110.04725, 2021.", "type": "text" } ], "index": 11 } ], "index": 10, "bbox_fs": [ 105, 203, 505, 240 ] }, { "type": "text", "bbox": [ 106, 245, 504, 280 ], "lines": [ { "bbox": [ 106, 245, 506, 259 ], "spans": [ { "bbox": [ 106, 245, 506, 259 ], "score": 1.0, "content": "Yongqin Xian, Christoph H Lampert, Bernt Schiele, and Zeynep Akata. Zero-shot learning—a", "type": "text" } ], "index": 12 }, { "bbox": [ 116, 257, 505, 269 ], "spans": [ { "bbox": [ 116, 257, 505, 269 ], "score": 1.0, "content": "comprehensive evaluation of the good, the bad and the ugly. IEEE transactions on pattern analysis", "type": "text" } ], "index": 13 }, { "bbox": [ 116, 268, 321, 280 ], "spans": [ { "bbox": [ 116, 268, 321, 280 ], "score": 1.0, "content": "and machine intelligence, 41(9):2251–2265, 2018.", "type": "text" } ], "index": 14 } ], "index": 13, "bbox_fs": [ 106, 245, 506, 280 ] }, { "type": "text", "bbox": [ 107, 286, 504, 321 ], "lines": [ { "bbox": [ 104, 285, 506, 301 ], "spans": [ { "bbox": [ 104, 285, 506, 301 ], "score": 1.0, "content": "Ruibin Xiong, Yunchang Yang, Di He, Kai Zheng, Shuxin Zheng, Chen Xing, Huishuai Zhang,", "type": "text" } ], "index": 15 }, { "bbox": [ 117, 298, 506, 310 ], "spans": [ { "bbox": [ 117, 298, 506, 310 ], "score": 1.0, "content": "Yanyan Lan, Liwei Wang, and Tieyan Liu. On layer normalization in the transformer architecture.", "type": "text" } ], "index": 16 }, { "bbox": [ 115, 308, 453, 322 ], "spans": [ { "bbox": [ 115, 308, 453, 322 ], "score": 1.0, "content": "In International Conference on Machine Learning, pp. 10524–10533. PMLR, 2020.", "type": "text" } ], "index": 17 } ], "index": 16, "bbox_fs": [ 104, 285, 506, 322 ] }, { "type": "text", "bbox": [ 107, 327, 504, 362 ], "lines": [ { "bbox": [ 106, 327, 505, 340 ], "spans": [ { "bbox": [ 106, 327, 505, 340 ], "score": 1.0, "content": "Liang Xu, Hai Hu, Xuanwei Zhang, Lu Li, Chenjie Cao, Yudong Li, Yechen Xu, Kai Sun, Dian Yu,", "type": "text" } ], "index": 18 }, { "bbox": [ 116, 338, 506, 352 ], "spans": [ { "bbox": [ 116, 338, 506, 352 ], "score": 1.0, "content": "Cong Yu, et al. Clue: A chinese language understanding evaluation benchmark. In Proceedings", "type": "text" } ], "index": 19 }, { "bbox": [ 116, 349, 477, 362 ], "spans": [ { "bbox": [ 116, 349, 477, 362 ], "score": 1.0, "content": "of the 28th International Conference on Computational Linguistics, pp. 4762–4772, 2020.", "type": "text" } ], "index": 20 } ], "index": 19, "bbox_fs": [ 106, 327, 506, 362 ] }, { "type": "text", "bbox": [ 107, 367, 504, 402 ], "lines": [ { "bbox": [ 104, 366, 506, 382 ], "spans": [ { "bbox": [ 104, 366, 506, 382 ], "score": 1.0, "content": "Liang Xu, Xiaojing Lu, Chenyang Yuan, Xuanwei Zhang, Huilin Xu, Hu Yuan, Guoao Wei, Xiang", "type": "text" } ], "index": 21 }, { "bbox": [ 116, 379, 505, 392 ], "spans": [ { "bbox": [ 116, 379, 505, 392 ], "score": 1.0, "content": "Pan, Xin Tian, Libo Qin, et al. Fewclue: A chinese few-shot learning evaluation benchmark.", "type": "text" } ], "index": 22 }, { "bbox": [ 116, 391, 279, 402 ], "spans": [ { "bbox": [ 116, 391, 279, 402 ], "score": 1.0, "content": "arXiv preprint arXiv:2107.07498, 2021.", "type": "text" } ], "index": 23 } ], "index": 22, "bbox_fs": [ 104, 366, 506, 402 ] }, { "type": "text", "bbox": [ 106, 408, 505, 443 ], "lines": [ { "bbox": [ 106, 408, 505, 422 ], "spans": [ { "bbox": [ 106, 408, 505, 422 ], "score": 1.0, "content": "Sha Yuan, Hanyu Zhao, Zhengxiao Du, Ming Ding, Xiao Liu, Yukuo Cen, Xu Zou, Zhilin Yang, and", "type": "text" } ], "index": 24 }, { "bbox": [ 115, 420, 505, 433 ], "spans": [ { "bbox": [ 115, 420, 505, 433 ], "score": 1.0, "content": "Jie Tang. Wudaocorpora: A super large-scale chinese corpora for pre-training language models.", "type": "text" } ], "index": 25 }, { "bbox": [ 115, 431, 218, 443 ], "spans": [ { "bbox": [ 115, 431, 218, 443 ], "score": 1.0, "content": "AI Open, 2:65–68, 2021.", "type": "text" } ], "index": 26 } ], "index": 25, "bbox_fs": [ 106, 408, 505, 443 ] }, { "type": "text", "bbox": [ 106, 449, 505, 484 ], "lines": [ { "bbox": [ 105, 449, 505, 463 ], "spans": [ { "bbox": [ 105, 449, 505, 463 ], "score": 1.0, "content": "Ofir Zafrir, Guy Boudoukh, Peter Izsak, and Moshe Wasserblat. Q8bert: Quantized 8bit bert. In", "type": "text" } ], "index": 27 }, { "bbox": [ 116, 461, 505, 474 ], "spans": [ { "bbox": [ 116, 461, 505, 474 ], "score": 1.0, "content": "2019 Fifth Workshop on Energy Efficient Machine Learning and Cognitive Computing-NeurIPS", "type": "text" } ], "index": 28 }, { "bbox": [ 116, 472, 306, 484 ], "spans": [ { "bbox": [ 116, 472, 306, 484 ], "score": 1.0, "content": "Edition (EMC2-NIPS), pp. 36–39. IEEE, 2019.", "type": "text" } ], "index": 29 } ], "index": 28, "bbox_fs": [ 105, 449, 505, 484 ] }, { "type": "text", "bbox": [ 107, 490, 504, 525 ], "lines": [ { "bbox": [ 105, 489, 505, 505 ], "spans": [ { "bbox": [ 105, 489, 505, 505 ], "score": 1.0, "content": "Wei Zeng, Xiaozhe Ren, Teng Su, Hui Wang, Yi Liao, Zhiwei Wang, Xin Jiang, ZhenZhang Yang,", "type": "text" } ], "index": 30 }, { "bbox": [ 116, 501, 505, 515 ], "spans": [ { "bbox": [ 116, 501, 302, 515 ], "score": 1.0, "content": "Kaisheng Wang, Xiaoda Zhang, et al. Pangu-", "type": "text" }, { "bbox": [ 302, 502, 315, 514 ], "score": 0.8, "content": "\\cdot \\backslash \\alpha", "type": "inline_equation" }, { "bbox": [ 315, 501, 505, 515 ], "score": 1.0, "content": ": Large-scale autoregressive pretrained chinese", "type": "text" } ], "index": 31 }, { "bbox": [ 116, 513, 477, 526 ], "spans": [ { "bbox": [ 116, 513, 477, 526 ], "score": 1.0, "content": "language models with auto-parallel computation. arXiv preprint arXiv:2104.12369, 2021.", "type": "text" } ], "index": 32 } ], "index": 31, "bbox_fs": [ 105, 489, 505, 526 ] }, { "type": "text", "bbox": [ 107, 531, 504, 555 ], "lines": [ { "bbox": [ 106, 531, 505, 544 ], "spans": [ { "bbox": [ 106, 531, 505, 544 ], "score": 1.0, "content": "Chiyuan Zhang, Daphne Ippolito, Katherine Lee, Matthew Jagielski, Florian Tramèr, and Nicholas", "type": "text" } ], "index": 33 }, { "bbox": [ 116, 542, 503, 555 ], "spans": [ { "bbox": [ 116, 542, 503, 555 ], "score": 1.0, "content": "Carlini. Counterfactual memorization in neural language models. CoRR, abs/2112.12938, 2021.", "type": "text" } ], "index": 34 } ], "index": 33.5, "bbox_fs": [ 106, 531, 505, 555 ] }, { "type": "text", "bbox": [ 107, 561, 504, 595 ], "lines": [ { "bbox": [ 105, 561, 505, 574 ], "spans": [ { "bbox": [ 105, 561, 505, 574 ], "score": 1.0, "content": "Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christo-", "type": "text" } ], "index": 35 }, { "bbox": [ 116, 572, 506, 586 ], "spans": [ { "bbox": [ 116, 572, 506, 586 ], "score": 1.0, "content": "pher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, et al. Opt: Open pre-trained transformer", "type": "text" } ], "index": 36 }, { "bbox": [ 116, 584, 352, 596 ], "spans": [ { "bbox": [ 116, 584, 352, 596 ], "score": 1.0, "content": "language models. arXiv preprint arXiv:2205.01068, 2022.", "type": "text" } ], "index": 37 } ], "index": 36, "bbox_fs": [ 105, 561, 506, 596 ] }, { "type": "text", "bbox": [ 106, 602, 504, 625 ], "lines": [ { "bbox": [ 106, 603, 505, 615 ], "spans": [ { "bbox": [ 106, 603, 505, 615 ], "score": 1.0, "content": "Yuhao Zhang, Victor Zhong, Danqi Chen, Gabor Angeli, and Christopher D. Manning. Position-", "type": "text" } ], "index": 38 }, { "bbox": [ 115, 614, 462, 626 ], "spans": [ { "bbox": [ 115, 614, 462, 626 ], "score": 1.0, "content": "aware attention and supervised data improve slot filling. In EMNLP, pp. 35–45, 2017.", "type": "text" } ], "index": 39 } ], "index": 38.5, "bbox_fs": [ 106, 603, 505, 626 ] }, { "type": "text", "bbox": [ 106, 632, 506, 676 ], "lines": [ { "bbox": [ 105, 632, 506, 646 ], "spans": [ { "bbox": [ 105, 632, 506, 646 ], "score": 1.0, "content": "Ben Zhou, Daniel Khashabi, Qiang Ning, and Dan Roth. “going on a vacation” takes longer than", "type": "text" } ], "index": 40 }, { "bbox": [ 117, 643, 506, 655 ], "spans": [ { "bbox": [ 117, 643, 506, 655 ], "score": 1.0, "content": "“going for a walk”: A study of temporal commonsense understanding. In Proceedings of the 2019", "type": "text" } ], "index": 41 }, { "bbox": [ 117, 655, 506, 667 ], "spans": [ { "bbox": [ 117, 655, 506, 667 ], "score": 1.0, "content": "Conference on Empirical Methods in Natural Language Processing and the 9th International", "type": "text" } ], "index": 42 }, { "bbox": [ 115, 665, 491, 678 ], "spans": [ { "bbox": [ 115, 665, 491, 678 ], "score": 1.0, "content": "Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 3363–3369, 2019.", "type": "text" } ], "index": 43 } ], "index": 41.5, "bbox_fs": [ 105, 632, 506, 678 ] }, { "type": "text", "bbox": [ 107, 684, 505, 707 ], "lines": [ { "bbox": [ 106, 684, 505, 697 ], "spans": [ { "bbox": [ 106, 684, 505, 697 ], "score": 1.0, "content": "Chen Zhu, Ankit Singh Rawat, Manzil Zaheer, Srinadh Bhojanapalli, Daliang Li, Felix X. Yu, and", "type": "text" } ], "index": 44 }, { "bbox": [ 116, 695, 480, 707 ], "spans": [ { "bbox": [ 116, 695, 480, 707 ], "score": 1.0, "content": "Sanjiv Kumar. Modifying memories in transformer models. CoRR, abs/2012.00363, 2020.", "type": "text" } ], "index": 45 } ], "index": 44.5, "bbox_fs": [ 106, 684, 505, 707 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 107, 79, 145, 94 ], "lines": [ { "bbox": [ 105, 79, 147, 96 ], "spans": [ { "bbox": [ 105, 79, 147, 96 ], "score": 1.0, "content": "Part I", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "title", "bbox": [ 108, 104, 194, 126 ], "lines": [ { "bbox": [ 104, 101, 196, 128 ], "spans": [ { "bbox": [ 104, 101, 196, 128 ], "score": 1.0, "content": "Appendix", "type": "text" } ], "index": 1 } ], "index": 1 }, { "type": "title", "bbox": [ 107, 146, 216, 161 ], "lines": [ { "bbox": [ 106, 144, 217, 163 ], "spans": [ { "bbox": [ 106, 144, 217, 163 ], "score": 1.0, "content": "Table of Contents", "type": "text" } ], "index": 2 } ], "index": 2 }, { "type": "title", "bbox": [ 131, 167, 482, 178 ], "lines": [ { "bbox": [ 128, 165, 482, 179 ], "spans": [ { "bbox": [ 128, 165, 305, 179 ], "score": 1.0, "content": "A Ethics: Evaluation on Biases and Toxicity", "type": "text" }, { "bbox": [ 468, 167, 482, 178 ], "score": 1.0, "content": "21", "type": "text" } ], "index": 3 } ], "index": 3 }, { "type": "text", "bbox": [ 144, 180, 481, 227 ], "lines": [ { "bbox": [ 144, 180, 480, 190 ], "spans": [ { "bbox": [ 144, 180, 285, 190 ], "score": 1.0, "content": "A.1 Bias Measurement: CrowS-Pairs", "type": "text" }, { "bbox": [ 469, 180, 480, 190 ], "score": 1.0, "content": "21", "type": "text" } ], "index": 4 }, { "bbox": [ 144, 191, 480, 202 ], "spans": [ { "bbox": [ 144, 192, 163, 201 ], "score": 1.0, "content": "A.2", "type": "text" }, { "bbox": [ 163, 192, 275, 202 ], "score": 1.0, "content": "Bias Measurement: StereoSet", "type": "text" }, { "bbox": [ 469, 191, 480, 202 ], "score": 1.0, "content": "21", "type": "text" } ], "index": 5 }, { "bbox": [ 144, 204, 481, 215 ], "spans": [ { "bbox": [ 144, 204, 284, 214 ], "score": 1.0, "content": "A.3 Hate Speech Detection: ETHOS", "type": "text" }, { "bbox": [ 469, 204, 481, 215 ], "score": 1.0, "content": "22", "type": "text" } ], "index": 6 }, { "bbox": [ 143, 216, 481, 227 ], "spans": [ { "bbox": [ 143, 216, 305, 227 ], "score": 1.0, "content": "A.4 Toxic Genearation: RealToxicPrompts", "type": "text" }, { "bbox": [ 469, 216, 481, 227 ], "score": 1.0, "content": "22", "type": "text" } ], "index": 7 } ], "index": 5.5 }, { "type": "title", "bbox": [ 130, 238, 481, 248 ], "lines": [ { "bbox": [ 129, 236, 482, 249 ], "spans": [ { "bbox": [ 129, 237, 212, 248 ], "score": 1.0, "content": "B Technical Details", "type": "text" }, { "bbox": [ 468, 236, 482, 249 ], "score": 1.0, "content": "23", "type": "text" } ], "index": 8 } ], "index": 8 }, { "type": "text", "bbox": [ 144, 250, 482, 370 ], "lines": [ { "bbox": [ 143, 250, 481, 261 ], "spans": [ { "bbox": [ 143, 250, 214, 260 ], "score": 1.0, "content": "B.1 Tokenization", "type": "text" }, { "bbox": [ 469, 250, 481, 261 ], "score": 1.0, "content": "23", "type": "text" } ], "index": 9 }, { "bbox": [ 144, 261, 481, 272 ], "spans": [ { "bbox": [ 144, 261, 160, 272 ], "score": 1.0, "content": "B.2", "type": "text" }, { "bbox": [ 163, 261, 243, 272 ], "score": 1.0, "content": "Layer Normalization", "type": "text" }, { "bbox": [ 469, 261, 481, 272 ], "score": 1.0, "content": "24", "type": "text" } ], "index": 10 }, { "bbox": [ 143, 273, 482, 285 ], "spans": [ { "bbox": [ 143, 273, 159, 284 ], "score": 1.0, "content": "B.3", "type": "text" }, { "bbox": [ 163, 273, 339, 285 ], "score": 1.0, "content": "Positional Encoding and Feed-forward Network", "type": "text" }, { "bbox": [ 469, 273, 482, 285 ], "score": 1.0, "content": "24", "type": "text" } ], "index": 11 }, { "bbox": [ 144, 286, 482, 297 ], "spans": [ { "bbox": [ 144, 286, 159, 296 ], "score": 1.0, "content": "B.4", "type": "text" }, { "bbox": [ 163, 286, 260, 297 ], "score": 1.0, "content": "Pipeline Parallel Analysis", "type": "text" }, { "bbox": [ 469, 286, 482, 297 ], "score": 1.0, "content": "25", "type": "text" } ], "index": 12 }, { "bbox": [ 144, 298, 481, 309 ], "spans": [ { "bbox": [ 144, 298, 159, 308 ], "score": 1.0, "content": "B.5", "type": "text" }, { "bbox": [ 164, 298, 253, 308 ], "score": 1.0, "content": "Inference Acceleration .", "type": "text" }, { "bbox": [ 469, 298, 481, 309 ], "score": 1.0, "content": "27", "type": "text" } ], "index": 13 }, { "bbox": [ 143, 310, 481, 322 ], "spans": [ { "bbox": [ 143, 311, 159, 321 ], "score": 1.0, "content": "B.6", "type": "text" }, { "bbox": [ 164, 310, 266, 321 ], "score": 1.0, "content": "Activation Outlier Analysis", "type": "text" }, { "bbox": [ 469, 310, 481, 322 ], "score": 1.0, "content": "27", "type": "text" } ], "index": 14 }, { "bbox": [ 144, 321, 482, 334 ], "spans": [ { "bbox": [ 144, 323, 159, 333 ], "score": 1.0, "content": "B.7", "type": "text" }, { "bbox": [ 164, 321, 248, 334 ], "score": 1.0, "content": "Weight Quantization .", "type": "text" }, { "bbox": [ 469, 322, 482, 333 ], "score": 1.0, "content": "28", "type": "text" } ], "index": 15 }, { "bbox": [ 144, 334, 482, 346 ], "spans": [ { "bbox": [ 144, 335, 160, 345 ], "score": 1.0, "content": "B.8", "type": "text" }, { "bbox": [ 164, 334, 243, 346 ], "score": 1.0, "content": "Quantization settings", "type": "text" }, { "bbox": [ 469, 334, 482, 345 ], "score": 1.0, "content": "28", "type": "text" } ], "index": 16 }, { "bbox": [ 143, 345, 482, 358 ], "spans": [ { "bbox": [ 143, 347, 160, 357 ], "score": 1.0, "content": "B.9", "type": "text" }, { "bbox": [ 163, 345, 299, 358 ], "score": 1.0, "content": "Ablation on Contribution Attribution", "type": "text" }, { "bbox": [ 468, 346, 482, 358 ], "score": 1.0, "content": "29", "type": "text" } ], "index": 17 }, { "bbox": [ 143, 358, 482, 370 ], "spans": [ { "bbox": [ 143, 358, 229, 370 ], "score": 1.0, "content": "B.10 Lessons Learned", "type": "text" }, { "bbox": [ 469, 359, 482, 370 ], "score": 1.0, "content": "30", "type": "text" } ], "index": 18 } ], "index": 13.5 }, { "type": "title", "bbox": [ 131, 379, 484, 391 ], "lines": [ { "bbox": [ 129, 379, 483, 392 ], "spans": [ { "bbox": [ 129, 380, 265, 390 ], "score": 1.0, "content": "C Dataset and Evaluation Details", "type": "text" }, { "bbox": [ 468, 379, 483, 392 ], "score": 1.0, "content": "32", "type": "text" } ], "index": 19 } ], "index": 19 }, { "type": "text", "bbox": [ 144, 393, 482, 562 ], "lines": [ { "bbox": [ 145, 392, 481, 403 ], "spans": [ { "bbox": [ 145, 394, 156, 401 ], "score": 1.0, "content": "C.1", "type": "text" }, { "bbox": [ 162, 392, 314, 403 ], "score": 1.0, "content": "Multi-task Instruction Pre-training (MIP)", "type": "text" }, { "bbox": [ 469, 392, 481, 403 ], "score": 1.0, "content": "32", "type": "text" } ], "index": 20 }, { "bbox": [ 146, 404, 482, 416 ], "spans": [ { "bbox": [ 146, 406, 155, 414 ], "score": 1.0, "content": "C.", "type": "text" }, { "bbox": [ 163, 405, 315, 416 ], "score": 1.0, "content": "Data and prompts in MIP for DeepStruct", "type": "text" }, { "bbox": [ 469, 404, 482, 415 ], "score": 1.0, "content": "32", "type": "text" } ], "index": 21 }, { "bbox": [ 147, 416, 482, 428 ], "spans": [ { "bbox": [ 147, 419, 155, 425 ], "score": 1.0, "content": "C.", "type": "text" }, { "bbox": [ 164, 417, 376, 427 ], "score": 1.0, "content": "Result Sources for GPT-3, BLOOM-176B, and OPT-175B", "type": "text" }, { "bbox": [ 469, 416, 482, 428 ], "score": 1.0, "content": "39", "type": "text" } ], "index": 22 }, { "bbox": [ 149, 428, 482, 440 ], "spans": [ { "bbox": [ 149, 432, 155, 437 ], "score": 1.0, "content": ".", "type": "text" }, { "bbox": [ 164, 428, 252, 439 ], "score": 1.0, "content": "Pile Test-set Evaluation", "type": "text" }, { "bbox": [ 469, 429, 482, 440 ], "score": 1.0, "content": "39", "type": "text" } ], "index": 23 }, { "bbox": [ 147, 441, 482, 452 ], "spans": [ { "bbox": [ 147, 444, 155, 450 ], "score": 1.0, "content": "C.", "type": "text" }, { "bbox": [ 164, 442, 263, 452 ], "score": 1.0, "content": "BIG-bench-lite Evaluation", "type": "text" }, { "bbox": [ 469, 441, 482, 452 ], "score": 1.0, "content": "40", "type": "text" } ], "index": 24 }, { "bbox": [ 146, 453, 482, 464 ], "spans": [ { "bbox": [ 146, 455, 158, 462 ], "score": 1.0, "content": "C.6", "type": "text" }, { "bbox": [ 164, 453, 236, 464 ], "score": 1.0, "content": "MMLU Evaluation", "type": "text" }, { "bbox": [ 469, 453, 482, 464 ], "score": 1.0, "content": "40", "type": "text" } ], "index": 25 }, { "bbox": [ 146, 465, 482, 477 ], "spans": [ { "bbox": [ 146, 467, 155, 473 ], "score": 0.0, "content": "", "type": "text" }, { "bbox": [ 164, 465, 330, 477 ], "score": 1.0, "content": "Chinese Language Understanding Evaluation", "type": "text" }, { "bbox": [ 469, 466, 482, 477 ], "score": 1.0, "content": "40", "type": "text" } ], "index": 26 }, { "bbox": [ 146, 477, 481, 489 ], "spans": [ { "bbox": [ 146, 479, 157, 486 ], "score": 1.0, "content": "C.8", "type": "text" }, { "bbox": [ 163, 477, 274, 489 ], "score": 1.0, "content": "Natural Language Generation", "type": "text" }, { "bbox": [ 469, 478, 481, 488 ], "score": 1.0, "content": "41", "type": "text" } ], "index": 27 }, { "bbox": [ 144, 489, 482, 501 ], "spans": [ { "bbox": [ 144, 490, 159, 498 ], "score": 1.0, "content": "C.9", "type": "text" }, { "bbox": [ 163, 489, 247, 501 ], "score": 1.0, "content": "Winograd-Style Tasks", "type": "text" }, { "bbox": [ 469, 489, 482, 500 ], "score": 1.0, "content": "43", "type": "text" } ], "index": 28 }, { "bbox": [ 143, 500, 482, 515 ], "spans": [ { "bbox": [ 143, 500, 290, 515 ], "score": 1.0, "content": "C.10 Closed-book Question Answering", "type": "text" }, { "bbox": [ 469, 502, 482, 513 ], "score": 1.0, "content": "43", "type": "text" } ], "index": 29 }, { "bbox": [ 143, 513, 482, 526 ], "spans": [ { "bbox": [ 143, 513, 261, 526 ], "score": 1.0, "content": "C.11 Commonsense Reasoning", "type": "text" }, { "bbox": [ 469, 514, 482, 525 ], "score": 1.0, "content": "44", "type": "text" } ], "index": 30 }, { "bbox": [ 143, 525, 481, 538 ], "spans": [ { "bbox": [ 143, 525, 410, 538 ], "score": 1.0, "content": "C.12 Fixed Label Datasets: A Case Study in Natural Language Inference", "type": "text" }, { "bbox": [ 469, 527, 481, 537 ], "score": 1.0, "content": "44", "type": "text" } ], "index": 31 }, { "bbox": [ 143, 537, 481, 550 ], "spans": [ { "bbox": [ 143, 537, 212, 550 ], "score": 1.0, "content": "C.13 SuperGLUE", "type": "text" }, { "bbox": [ 469, 539, 481, 549 ], "score": 1.0, "content": "44", "type": "text" } ], "index": 32 }, { "bbox": [ 143, 548, 481, 563 ], "spans": [ { "bbox": [ 143, 548, 273, 563 ], "score": 1.0, "content": "C.14 Chain-of-Thought Prompting", "type": "text" }, { "bbox": [ 469, 551, 481, 560 ], "score": 1.0, "content": "45", "type": "text" } ], "index": 33 } ], "index": 26.5 }, { "type": "title", "bbox": [ 125, 572, 481, 582 ], "lines": [ { "bbox": [ 129, 571, 483, 583 ], "spans": [ { "bbox": [ 129, 572, 321, 583 ], "score": 1.0, "content": "D Scaling and Emergent Abilities in GLM-130B", "type": "text" }, { "bbox": [ 468, 571, 483, 583 ], "score": 1.0, "content": "46", "type": "text" } ], "index": 34 } ], "index": 34 }, { "type": "title", "bbox": [ 129, 594, 482, 604 ], "lines": [ { "bbox": [ 128, 592, 482, 605 ], "spans": [ { "bbox": [ 128, 592, 201, 605 ], "score": 1.0, "content": "E Contributions", "type": "text" }, { "bbox": [ 468, 593, 482, 604 ], "score": 1.0, "content": "52", "type": "text" } ], "index": 35 } ], "index": 35 }, { "type": "text", "bbox": [ 144, 606, 482, 666 ], "lines": [ { "bbox": [ 141, 604, 482, 617 ], "spans": [ { "bbox": [ 141, 604, 210, 617 ], "score": 1.0, "content": "E.1 Preparation", "type": "text" }, { "bbox": [ 468, 605, 482, 617 ], "score": 1.0, "content": "52", "type": "text" } ], "index": 36 }, { "bbox": [ 143, 615, 482, 630 ], "spans": [ { "bbox": [ 143, 615, 224, 630 ], "score": 1.0, "content": "E.2 Model Training", "type": "text" }, { "bbox": [ 469, 616, 482, 629 ], "score": 1.0, "content": "52", "type": "text" } ], "index": 37 }, { "bbox": [ 144, 628, 482, 642 ], "spans": [ { "bbox": [ 144, 630, 159, 640 ], "score": 1.0, "content": "E.3", "type": "text" }, { "bbox": [ 163, 628, 217, 642 ], "score": 1.0, "content": "Post Training", "type": "text" }, { "bbox": [ 468, 629, 482, 641 ], "score": 1.0, "content": "52", "type": "text" } ], "index": 38 }, { "bbox": [ 143, 641, 482, 654 ], "spans": [ { "bbox": [ 143, 642, 160, 653 ], "score": 1.0, "content": "E.4", "type": "text" }, { "bbox": [ 162, 642, 244, 654 ], "score": 1.0, "content": "Project Management .", "type": "text" }, { "bbox": [ 468, 641, 482, 654 ], "score": 1.0, "content": "52", "type": "text" } ], "index": 39 }, { "bbox": [ 143, 653, 482, 666 ], "spans": [ { "bbox": [ 143, 654, 246, 666 ], "score": 1.0, "content": "E.5 Computation Sponsor", "type": "text" }, { "bbox": [ 468, 653, 482, 666 ], "score": 1.0, "content": "52", "type": "text" } ], "index": 40 } ], "index": 38 }, { "type": "title", "bbox": [ 131, 675, 480, 686 ], "lines": [ { "bbox": [ 129, 675, 482, 687 ], "spans": [ { "bbox": [ 129, 675, 262, 686 ], "score": 1.0, "content": "F A Brief History of GLM-130B", "type": "text" }, { "bbox": [ 468, 675, 482, 687 ], "score": 1.0, "content": "53", "type": "text" } ], "index": 41 } ], "index": 41 }, { "type": "title", "bbox": [ 131, 697, 207, 707 ], "lines": [ { "bbox": [ 129, 696, 208, 708 ], "spans": [ { "bbox": [ 129, 696, 208, 708 ], "score": 1.0, "content": "G Broader Impact", "type": "text" } ], "index": 42 } ], "index": 42 }, { "type": "title", "bbox": [ 146, 696, 475, 706 ], "lines": [ { "bbox": [ 469, 697, 477, 707 ], "spans": [ { "bbox": [ 469, 697, 477, 707 ], "score": 1.0, "content": "5", "type": "text" } ], "index": 43 } ], "index": 43 }, { "type": "text", "bbox": [ 141, 709, 482, 732 ], "lines": [ { "bbox": [ 142, 708, 482, 720 ], "spans": [ { "bbox": [ 142, 708, 251, 720 ], "score": 1.0, "content": "G.1 Impact on AI Research", "type": "text" }, { "bbox": [ 468, 708, 482, 720 ], "score": 1.0, "content": "55", "type": "text" } ], "index": 44 }, { "bbox": [ 142, 720, 482, 732 ], "spans": [ { "bbox": [ 142, 720, 368, 732 ], "score": 1.0, "content": "G.2 Impact on Individual Developers and Small Companies .", "type": "text" }, { "bbox": [ 468, 720, 482, 732 ], "score": 1.0, "content": "55", "type": "text" } ], "index": 45 } ], "index": 44.5 } ], "page_idx": 19, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 38 ], "lines": [ { "bbox": [ 106, 25, 293, 38 ], "spans": [ { "bbox": [ 106, 25, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 749, 313, 764 ], "spans": [ { "bbox": [ 298, 749, 313, 764 ], "score": 1.0, "content": "", "type": "text", "height": 15, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 107, 79, 145, 94 ], "lines": [ { "bbox": [ 105, 79, 147, 96 ], "spans": [ { "bbox": [ 105, 79, 147, 96 ], "score": 1.0, "content": "Part I", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "title", "bbox": [ 108, 104, 194, 126 ], "lines": [ { "bbox": [ 104, 101, 196, 128 ], "spans": [ { "bbox": [ 104, 101, 196, 128 ], "score": 1.0, "content": "Appendix", "type": "text" } ], "index": 1 } ], "index": 1 }, { "type": "title", "bbox": [ 107, 146, 216, 161 ], "lines": [ { "bbox": [ 106, 144, 217, 163 ], "spans": [ { "bbox": [ 106, 144, 217, 163 ], "score": 1.0, "content": "Table of Contents", "type": "text" } ], "index": 2 } ], "index": 2 }, { "type": "title", "bbox": [ 131, 167, 482, 178 ], "lines": [ { "bbox": [ 128, 165, 482, 179 ], "spans": [ { "bbox": [ 128, 165, 305, 179 ], "score": 1.0, "content": "A Ethics: Evaluation on Biases and Toxicity", "type": "text" }, { "bbox": [ 468, 167, 482, 178 ], "score": 1.0, "content": "21", "type": "text" } ], "index": 3 } ], "index": 3 }, { "type": "index", "bbox": [ 144, 180, 481, 227 ], "lines": [ { "bbox": [ 144, 180, 480, 190 ], "spans": [ { "bbox": [ 144, 180, 285, 190 ], "score": 1.0, "content": "A.1 Bias Measurement: CrowS-Pairs", "type": "text" }, { "bbox": [ 469, 180, 480, 190 ], "score": 1.0, "content": "21", "type": "text" } ], "index": 4, "is_list_start_line": true }, { "bbox": [ 144, 191, 480, 202 ], "spans": [ { "bbox": [ 144, 192, 163, 201 ], "score": 1.0, "content": "A.2", "type": "text" }, { "bbox": [ 163, 192, 275, 202 ], "score": 1.0, "content": "Bias Measurement: StereoSet", "type": "text" }, { "bbox": [ 469, 191, 480, 202 ], "score": 1.0, "content": "21", "type": "text" } ], "index": 5, "is_list_start_line": true }, { "bbox": [ 144, 204, 481, 215 ], "spans": [ { "bbox": [ 144, 204, 284, 214 ], "score": 1.0, "content": "A.3 Hate Speech Detection: ETHOS", "type": "text" }, { "bbox": [ 469, 204, 481, 215 ], "score": 1.0, "content": "22", "type": "text" } ], "index": 6, "is_list_start_line": true }, { "bbox": [ 143, 216, 481, 227 ], "spans": [ { "bbox": [ 143, 216, 305, 227 ], "score": 1.0, "content": "A.4 Toxic Genearation: RealToxicPrompts", "type": "text" }, { "bbox": [ 469, 216, 481, 227 ], "score": 1.0, "content": "22", "type": "text" } ], "index": 7, "is_list_start_line": true } ], "index": 5.5, "bbox_fs": [ 143, 180, 481, 227 ] }, { "type": "title", "bbox": [ 130, 238, 481, 248 ], "lines": [ { "bbox": [ 129, 236, 482, 249 ], "spans": [ { "bbox": [ 129, 237, 212, 248 ], "score": 1.0, "content": "B Technical Details", "type": "text" }, { "bbox": [ 468, 236, 482, 249 ], "score": 1.0, "content": "23", "type": "text" } ], "index": 8 } ], "index": 8 }, { "type": "index", "bbox": [ 144, 250, 482, 370 ], "lines": [ { "bbox": [ 143, 250, 481, 261 ], "spans": [ { "bbox": [ 143, 250, 214, 260 ], "score": 1.0, "content": "B.1 Tokenization", "type": "text" }, { "bbox": [ 469, 250, 481, 261 ], "score": 1.0, "content": "23", "type": "text" } ], "index": 9, "is_list_start_line": true }, { "bbox": [ 144, 261, 481, 272 ], "spans": [ { "bbox": [ 144, 261, 160, 272 ], "score": 1.0, "content": "B.2", "type": "text" }, { "bbox": [ 163, 261, 243, 272 ], "score": 1.0, "content": "Layer Normalization", "type": "text" }, { "bbox": [ 469, 261, 481, 272 ], "score": 1.0, "content": "24", "type": "text" } ], "index": 10, "is_list_start_line": true }, { "bbox": [ 143, 273, 482, 285 ], "spans": [ { "bbox": [ 143, 273, 159, 284 ], "score": 1.0, "content": "B.3", "type": "text" }, { "bbox": [ 163, 273, 339, 285 ], "score": 1.0, "content": "Positional Encoding and Feed-forward Network", "type": "text" }, { "bbox": [ 469, 273, 482, 285 ], "score": 1.0, "content": "24", "type": "text" } ], "index": 11, "is_list_start_line": true }, { "bbox": [ 144, 286, 482, 297 ], "spans": [ { "bbox": [ 144, 286, 159, 296 ], "score": 1.0, "content": "B.4", "type": "text" }, { "bbox": [ 163, 286, 260, 297 ], "score": 1.0, "content": "Pipeline Parallel Analysis", "type": "text" }, { "bbox": [ 469, 286, 482, 297 ], "score": 1.0, "content": "25", "type": "text" } ], "index": 12, "is_list_start_line": true }, { "bbox": [ 144, 298, 481, 309 ], "spans": [ { "bbox": [ 144, 298, 159, 308 ], "score": 1.0, "content": "B.5", "type": "text" }, { "bbox": [ 164, 298, 253, 308 ], "score": 1.0, "content": "Inference Acceleration .", "type": "text" }, { "bbox": [ 469, 298, 481, 309 ], "score": 1.0, "content": "27", "type": "text" } ], "index": 13, "is_list_start_line": true }, { "bbox": [ 143, 310, 481, 322 ], "spans": [ { "bbox": [ 143, 311, 159, 321 ], "score": 1.0, "content": "B.6", "type": "text" }, { "bbox": [ 164, 310, 266, 321 ], "score": 1.0, "content": "Activation Outlier Analysis", "type": "text" }, { "bbox": [ 469, 310, 481, 322 ], "score": 1.0, "content": "27", "type": "text" } ], "index": 14, "is_list_start_line": true }, { "bbox": [ 144, 321, 482, 334 ], "spans": [ { "bbox": [ 144, 323, 159, 333 ], "score": 1.0, "content": "B.7", "type": "text" }, { "bbox": [ 164, 321, 248, 334 ], "score": 1.0, "content": "Weight Quantization .", "type": "text" }, { "bbox": [ 469, 322, 482, 333 ], "score": 1.0, "content": "28", "type": "text" } ], "index": 15, "is_list_start_line": true }, { "bbox": [ 144, 334, 482, 346 ], "spans": [ { "bbox": [ 144, 335, 160, 345 ], "score": 1.0, "content": "B.8", "type": "text" }, { "bbox": [ 164, 334, 243, 346 ], "score": 1.0, "content": "Quantization settings", "type": "text" }, { "bbox": [ 469, 334, 482, 345 ], "score": 1.0, "content": "28", "type": "text" } ], "index": 16, "is_list_start_line": true }, { "bbox": [ 143, 345, 482, 358 ], "spans": [ { "bbox": [ 143, 347, 160, 357 ], "score": 1.0, "content": "B.9", "type": "text" }, { "bbox": [ 163, 345, 299, 358 ], "score": 1.0, "content": "Ablation on Contribution Attribution", "type": "text" }, { "bbox": [ 468, 346, 482, 358 ], "score": 1.0, "content": "29", "type": "text" } ], "index": 17, "is_list_start_line": true }, { "bbox": [ 143, 358, 482, 370 ], "spans": [ { "bbox": [ 143, 358, 229, 370 ], "score": 1.0, "content": "B.10 Lessons Learned", "type": "text" }, { "bbox": [ 469, 359, 482, 370 ], "score": 1.0, "content": "30", "type": "text" } ], "index": 18, "is_list_start_line": true } ], "index": 13.5, "bbox_fs": [ 143, 250, 482, 370 ] }, { "type": "title", "bbox": [ 131, 379, 484, 391 ], "lines": [ { "bbox": [ 129, 379, 483, 392 ], "spans": [ { "bbox": [ 129, 380, 265, 390 ], "score": 1.0, "content": "C Dataset and Evaluation Details", "type": "text" }, { "bbox": [ 468, 379, 483, 392 ], "score": 1.0, "content": "32", "type": "text" } ], "index": 19 } ], "index": 19 }, { "type": "index", "bbox": [ 144, 393, 482, 562 ], "lines": [ { "bbox": [ 145, 392, 481, 403 ], "spans": [ { "bbox": [ 145, 394, 156, 401 ], "score": 1.0, "content": "C.1", "type": "text" }, { "bbox": [ 162, 392, 314, 403 ], "score": 1.0, "content": "Multi-task Instruction Pre-training (MIP)", "type": "text" }, { "bbox": [ 469, 392, 481, 403 ], "score": 1.0, "content": "32", "type": "text" } ], "index": 20, "is_list_start_line": true }, { "bbox": [ 146, 404, 482, 416 ], "spans": [ { "bbox": [ 146, 406, 155, 414 ], "score": 1.0, "content": "C.", "type": "text" }, { "bbox": [ 163, 405, 315, 416 ], "score": 1.0, "content": "Data and prompts in MIP for DeepStruct", "type": "text" }, { "bbox": [ 469, 404, 482, 415 ], "score": 1.0, "content": "32", "type": "text" } ], "index": 21, "is_list_start_line": true }, { "bbox": [ 147, 416, 482, 428 ], "spans": [ { "bbox": [ 147, 419, 155, 425 ], "score": 1.0, "content": "C.", "type": "text" }, { "bbox": [ 164, 417, 376, 427 ], "score": 1.0, "content": "Result Sources for GPT-3, BLOOM-176B, and OPT-175B", "type": "text" }, { "bbox": [ 469, 416, 482, 428 ], "score": 1.0, "content": "39", "type": "text" } ], "index": 22, "is_list_start_line": true }, { "bbox": [ 149, 428, 482, 440 ], "spans": [ { "bbox": [ 149, 432, 155, 437 ], "score": 1.0, "content": ".", "type": "text" }, { "bbox": [ 164, 428, 252, 439 ], "score": 1.0, "content": "Pile Test-set Evaluation", "type": "text" }, { "bbox": [ 469, 429, 482, 440 ], "score": 1.0, "content": "39", "type": "text" } ], "index": 23, "is_list_start_line": true }, { "bbox": [ 147, 441, 482, 452 ], "spans": [ { "bbox": [ 147, 444, 155, 450 ], "score": 1.0, "content": "C.", "type": "text" }, { "bbox": [ 164, 442, 263, 452 ], "score": 1.0, "content": "BIG-bench-lite Evaluation", "type": "text" }, { "bbox": [ 469, 441, 482, 452 ], "score": 1.0, "content": "40", "type": "text" } ], "index": 24, "is_list_start_line": true }, { "bbox": [ 146, 453, 482, 464 ], "spans": [ { "bbox": [ 146, 455, 158, 462 ], "score": 1.0, "content": "C.6", "type": "text" }, { "bbox": [ 164, 453, 236, 464 ], "score": 1.0, "content": "MMLU Evaluation", "type": "text" }, { "bbox": [ 469, 453, 482, 464 ], "score": 1.0, "content": "40", "type": "text" } ], "index": 25, "is_list_start_line": true }, { "bbox": [ 146, 465, 482, 477 ], "spans": [ { "bbox": [ 146, 467, 155, 473 ], "score": 0.0, "content": "", "type": "text" }, { "bbox": [ 164, 465, 330, 477 ], "score": 1.0, "content": "Chinese Language Understanding Evaluation", "type": "text" }, { "bbox": [ 469, 466, 482, 477 ], "score": 1.0, "content": "40", "type": "text" } ], "index": 26, "is_list_start_line": true }, { "bbox": [ 146, 477, 481, 489 ], "spans": [ { "bbox": [ 146, 479, 157, 486 ], "score": 1.0, "content": "C.8", "type": "text" }, { "bbox": [ 163, 477, 274, 489 ], "score": 1.0, "content": "Natural Language Generation", "type": "text" }, { "bbox": [ 469, 478, 481, 488 ], "score": 1.0, "content": "41", "type": "text" } ], "index": 27, "is_list_start_line": true }, { "bbox": [ 144, 489, 482, 501 ], "spans": [ { "bbox": [ 144, 490, 159, 498 ], "score": 1.0, "content": "C.9", "type": "text" }, { "bbox": [ 163, 489, 247, 501 ], "score": 1.0, "content": "Winograd-Style Tasks", "type": "text" }, { "bbox": [ 469, 489, 482, 500 ], "score": 1.0, "content": "43", "type": "text" } ], "index": 28, "is_list_start_line": true }, { "bbox": [ 143, 500, 482, 515 ], "spans": [ { "bbox": [ 143, 500, 290, 515 ], "score": 1.0, "content": "C.10 Closed-book Question Answering", "type": "text" }, { "bbox": [ 469, 502, 482, 513 ], "score": 1.0, "content": "43", "type": "text" } ], "index": 29, "is_list_start_line": true }, { "bbox": [ 143, 513, 482, 526 ], "spans": [ { "bbox": [ 143, 513, 261, 526 ], "score": 1.0, "content": "C.11 Commonsense Reasoning", "type": "text" }, { "bbox": [ 469, 514, 482, 525 ], "score": 1.0, "content": "44", "type": "text" } ], "index": 30, "is_list_start_line": true }, { "bbox": [ 143, 525, 481, 538 ], "spans": [ { "bbox": [ 143, 525, 410, 538 ], "score": 1.0, "content": "C.12 Fixed Label Datasets: A Case Study in Natural Language Inference", "type": "text" }, { "bbox": [ 469, 527, 481, 537 ], "score": 1.0, "content": "44", "type": "text" } ], "index": 31, "is_list_start_line": true }, { "bbox": [ 143, 537, 481, 550 ], "spans": [ { "bbox": [ 143, 537, 212, 550 ], "score": 1.0, "content": "C.13 SuperGLUE", "type": "text" }, { "bbox": [ 469, 539, 481, 549 ], "score": 1.0, "content": "44", "type": "text" } ], "index": 32, "is_list_start_line": true }, { "bbox": [ 143, 548, 481, 563 ], "spans": [ { "bbox": [ 143, 548, 273, 563 ], "score": 1.0, "content": "C.14 Chain-of-Thought Prompting", "type": "text" }, { "bbox": [ 469, 551, 481, 560 ], "score": 1.0, "content": "45", "type": "text" } ], "index": 33, "is_list_start_line": true } ], "index": 26.5, "bbox_fs": [ 143, 392, 482, 563 ] }, { "type": "title", "bbox": [ 125, 572, 481, 582 ], "lines": [ { "bbox": [ 129, 571, 483, 583 ], "spans": [ { "bbox": [ 129, 572, 321, 583 ], "score": 1.0, "content": "D Scaling and Emergent Abilities in GLM-130B", "type": "text" }, { "bbox": [ 468, 571, 483, 583 ], "score": 1.0, "content": "46", "type": "text" } ], "index": 34 } ], "index": 34 }, { "type": "title", "bbox": [ 129, 594, 482, 604 ], "lines": [ { "bbox": [ 128, 592, 482, 605 ], "spans": [ { "bbox": [ 128, 592, 201, 605 ], "score": 1.0, "content": "E Contributions", "type": "text" }, { "bbox": [ 468, 593, 482, 604 ], "score": 1.0, "content": "52", "type": "text" } ], "index": 35 } ], "index": 35 }, { "type": "index", "bbox": [ 144, 606, 482, 666 ], "lines": [ { "bbox": [ 141, 604, 482, 617 ], "spans": [ { "bbox": [ 141, 604, 210, 617 ], "score": 1.0, "content": "E.1 Preparation", "type": "text" }, { "bbox": [ 468, 605, 482, 617 ], "score": 1.0, "content": "52", "type": "text" } ], "index": 36, "is_list_start_line": true }, { "bbox": [ 143, 615, 482, 630 ], "spans": [ { "bbox": [ 143, 615, 224, 630 ], "score": 1.0, "content": "E.2 Model Training", "type": "text" }, { "bbox": [ 469, 616, 482, 629 ], "score": 1.0, "content": "52", "type": "text" } ], "index": 37, "is_list_start_line": true }, { "bbox": [ 144, 628, 482, 642 ], "spans": [ { "bbox": [ 144, 630, 159, 640 ], "score": 1.0, "content": "E.3", "type": "text" }, { "bbox": [ 163, 628, 217, 642 ], "score": 1.0, "content": "Post Training", "type": "text" }, { "bbox": [ 468, 629, 482, 641 ], "score": 1.0, "content": "52", "type": "text" } ], "index": 38, "is_list_start_line": true }, { "bbox": [ 143, 641, 482, 654 ], "spans": [ { "bbox": [ 143, 642, 160, 653 ], "score": 1.0, "content": "E.4", "type": "text" }, { "bbox": [ 162, 642, 244, 654 ], "score": 1.0, "content": "Project Management .", "type": "text" }, { "bbox": [ 468, 641, 482, 654 ], "score": 1.0, "content": "52", "type": "text" } ], "index": 39, "is_list_start_line": true }, { "bbox": [ 143, 653, 482, 666 ], "spans": [ { "bbox": [ 143, 654, 246, 666 ], "score": 1.0, "content": "E.5 Computation Sponsor", "type": "text" }, { "bbox": [ 468, 653, 482, 666 ], "score": 1.0, "content": "52", "type": "text" } ], "index": 40, "is_list_start_line": true } ], "index": 38, "bbox_fs": [ 141, 604, 482, 666 ] }, { "type": "title", "bbox": [ 131, 675, 480, 686 ], "lines": [ { "bbox": [ 129, 675, 482, 687 ], "spans": [ { "bbox": [ 129, 675, 262, 686 ], "score": 1.0, "content": "F A Brief History of GLM-130B", "type": "text" }, { "bbox": [ 468, 675, 482, 687 ], "score": 1.0, "content": "53", "type": "text" } ], "index": 41 } ], "index": 41 }, { "type": "title", "bbox": [ 131, 697, 207, 707 ], "lines": [ { "bbox": [ 129, 696, 208, 708 ], "spans": [ { "bbox": [ 129, 696, 208, 708 ], "score": 1.0, "content": "G Broader Impact", "type": "text" } ], "index": 42 } ], "index": 42 }, { "type": "title", "bbox": [ 146, 696, 475, 706 ], "lines": [ { "bbox": [ 469, 697, 477, 707 ], "spans": [ { "bbox": [ 469, 697, 477, 707 ], "score": 1.0, "content": "5", "type": "text" } ], "index": 43 } ], "index": 43 }, { "type": "index", "bbox": [ 141, 709, 482, 732 ], "lines": [ { "bbox": [ 142, 708, 482, 720 ], "spans": [ { "bbox": [ 142, 708, 251, 720 ], "score": 1.0, "content": "G.1 Impact on AI Research", "type": "text" }, { "bbox": [ 468, 708, 482, 720 ], "score": 1.0, "content": "55", "type": "text" } ], "index": 44, "is_list_start_line": true }, { "bbox": [ 142, 720, 482, 732 ], "spans": [ { "bbox": [ 142, 720, 368, 732 ], "score": 1.0, "content": "G.2 Impact on Individual Developers and Small Companies .", "type": "text" }, { "bbox": [ 468, 720, 482, 732 ], "score": 1.0, "content": "55", "type": "text" } ], "index": 45, "is_list_start_line": true } ], "index": 44.5, "bbox_fs": [ 142, 708, 482, 732 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 108, 146, 380, 159 ], "lines": [ { "bbox": [ 106, 146, 381, 160 ], "spans": [ { "bbox": [ 106, 146, 381, 160 ], "score": 1.0, "content": "A ETHICS: EVALUATION ON BIASES AND TOXICITY", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 107, 171, 505, 226 ], "lines": [ { "bbox": [ 105, 169, 506, 183 ], "spans": [ { "bbox": [ 105, 169, 506, 183 ], "score": 1.0, "content": "Albeit LLMs’ strong abilities in language and beyond, which could bring substantial welfare to", "type": "text" } ], "index": 1 }, { "bbox": [ 106, 182, 504, 194 ], "spans": [ { "bbox": [ 106, 182, 504, 194 ], "score": 1.0, "content": "human beings, they can potentially produce toxic and illegal contents for evil use (Weidinger et al.,", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 190, 505, 207 ], "spans": [ { "bbox": [ 105, 190, 505, 207 ], "score": 1.0, "content": "2021; Sheng et al., 2021; Dev et al., 2021; Bommasani et al., 2021). In GLM-130B, before granting", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 203, 505, 216 ], "spans": [ { "bbox": [ 105, 203, 505, 216 ], "score": 1.0, "content": "model weight to applicants, in the model license we demand them to agree that they will not use it", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 213, 364, 228 ], "spans": [ { "bbox": [ 105, 213, 364, 228 ], "score": 1.0, "content": "for any deeds that may be harmful to society and human beings.", "type": "text" } ], "index": 5 } ], "index": 3 }, { "type": "text", "bbox": [ 107, 232, 505, 331 ], "lines": [ { "bbox": [ 106, 232, 505, 244 ], "spans": [ { "bbox": [ 106, 232, 505, 244 ], "score": 1.0, "content": "Additionally, from a technical perspective, we argue that we must also understand LLMs’ toxic", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 243, 505, 255 ], "spans": [ { "bbox": [ 106, 243, 505, 255 ], "score": 1.0, "content": "and biased behaviors and ultimately eliminate them. This aligns with our commitment to “LLM", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 254, 506, 267 ], "spans": [ { "bbox": [ 105, 254, 506, 267 ], "score": 1.0, "content": "Inclusivity”, as it is necessary to include more people in the open-sourced LLM research to facilitate", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 264, 504, 277 ], "spans": [ { "bbox": [ 105, 264, 504, 277 ], "score": 1.0, "content": "the process. Moreover, if an LLM is shown to be good at identifying toxic and biased content,", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 276, 505, 288 ], "spans": [ { "bbox": [ 106, 276, 505, 288 ], "score": 1.0, "content": "techniques such as self-diagnoses (Schick et al., 2021) can help to reduce the harmful generation", "type": "text" } ], "index": 10 }, { "bbox": [ 106, 287, 504, 299 ], "spans": [ { "bbox": [ 106, 287, 504, 299 ], "score": 1.0, "content": "in a self-consistent post-processing procedure. Therefore, as an initial step, we evaluate GLM-", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 297, 505, 310 ], "spans": [ { "bbox": [ 106, 297, 505, 310 ], "score": 1.0, "content": "130B over a variety of related benchmarks to shed light on the challenging topic. Despite their", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 307, 505, 321 ], "spans": [ { "bbox": [ 105, 307, 505, 321 ], "score": 1.0, "content": "limitations (Blodgett et al., 2021; Jacobs & Wallach, 2021) which should be addressed in future", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 320, 466, 333 ], "spans": [ { "bbox": [ 106, 320, 466, 333 ], "score": 1.0, "content": "work, they still serve as a good start to arouse the community’s awareness of the problem.", "type": "text" } ], "index": 14 } ], "index": 10 }, { "type": "title", "bbox": [ 108, 344, 293, 355 ], "lines": [ { "bbox": [ 106, 343, 294, 357 ], "spans": [ { "bbox": [ 106, 343, 294, 357 ], "score": 1.0, "content": "A.1 BIAS MEASUREMENT: CROWS-PAIRS", "type": "text" } ], "index": 15 } ], "index": 15 }, { "type": "text", "bbox": [ 108, 365, 301, 507 ], "lines": [ { "bbox": [ 106, 363, 302, 378 ], "spans": [ { "bbox": [ 106, 363, 302, 378 ], "score": 1.0, "content": "CrowS-Pairs (Nangia et al., 2020), or namely", "type": "text" } ], "index": 16 }, { "bbox": [ 106, 375, 303, 388 ], "spans": [ { "bbox": [ 106, 375, 303, 388 ], "score": 1.0, "content": "Crowdsourced Stereotype Pairs benchmark, is", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 387, 303, 398 ], "spans": [ { "bbox": [ 106, 387, 303, 398 ], "score": 1.0, "content": "widely used for measuring biases for masked", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 398, 302, 409 ], "spans": [ { "bbox": [ 106, 398, 302, 409 ], "score": 1.0, "content": "language models. It collects 1508 examples with", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 409, 303, 420 ], "spans": [ { "bbox": [ 106, 409, 303, 420 ], "score": 1.0, "content": "nine different conventional biases and adopts a", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 420, 302, 431 ], "spans": [ { "bbox": [ 106, 420, 302, 431 ], "score": 1.0, "content": "probing-based approach to compare the pseudo-", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 430, 303, 442 ], "spans": [ { "bbox": [ 105, 430, 303, 442 ], "score": 1.0, "content": "log-likelihood of a pair of stereotypical and anti-", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 442, 302, 453 ], "spans": [ { "bbox": [ 106, 442, 302, 453 ], "score": 1.0, "content": "stereotypical sentences. Since GLM-130B is", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 453, 302, 464 ], "spans": [ { "bbox": [ 105, 453, 302, 464 ], "score": 1.0, "content": "pre-trained with autoregressive blanking infill-", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 464, 302, 476 ], "spans": [ { "bbox": [ 105, 464, 302, 476 ], "score": 1.0, "content": "ing, CrowS-Pairs evaluation is directly appli-", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 474, 303, 486 ], "spans": [ { "bbox": [ 105, 474, 303, 486 ], "score": 1.0, "content": "cable. We compare the GPT-3 Davinci and", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 485, 302, 497 ], "spans": [ { "bbox": [ 106, 485, 302, 497 ], "score": 1.0, "content": "OPT-175B’s results on CrowS-Pairs reported", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 496, 271, 509 ], "spans": [ { "bbox": [ 105, 496, 271, 509 ], "score": 1.0, "content": "in (Zhang et al., 2022) with GLM-130B.", "type": "text" } ], "index": 28 } ], "index": 22 }, { "type": "table", "bbox": [ 309, 375, 503, 504 ], "blocks": [ { "type": "table_caption", "bbox": [ 309, 350, 504, 372 ], "group_id": 0, "lines": [ { "bbox": [ 308, 349, 505, 362 ], "spans": [ { "bbox": [ 308, 349, 505, 362 ], "score": 1.0, "content": "Table 5: CrowS-Pairs (Nangia et al., 2020) Bias", "type": "text" } ], "index": 29 }, { "bbox": [ 309, 360, 482, 372 ], "spans": [ { "bbox": [ 309, 360, 482, 372 ], "score": 1.0, "content": "Measurement. The lower scores the better.", "type": "text" } ], "index": 30 } ], "index": 29.5 }, { "type": "table_body", "bbox": [ 309, 375, 503, 504 ], "group_id": 0, "lines": [ { "bbox": [ 309, 375, 503, 504 ], "spans": [ { "bbox": [ 309, 375, 503, 504 ], "score": 0.979, "html": "
Category GPT-3 OPT-175B GLM-130B
Gender 62.665.7 55.7
Religion 73.368.6 73.3
Race/Color 64.768.6 58.5
Sexual orientation 76.278.6 60.7
Age 64.467.8 63.2
Nationality 61.662.9 64.1
Disability 76.776.7 71.6
Physical appearance 74.676.2 74.6
Socioeconomic status 73.876.2 70.9
Overall 67.269.5 65.8
", "type": "table", "image_path": "ffb552451ea3b8dfe682691748d9c5d4d1e14ba51fce85dcca656dfcec58d90e.jpg" } ] } ], "index": 35, "virtual_lines": [ { "bbox": [ 309, 375, 503, 389.3333333333333 ], "spans": [], "index": 31 }, { "bbox": [ 309, 389.3333333333333, 503, 403.66666666666663 ], "spans": [], "index": 32 }, { "bbox": [ 309, 403.66666666666663, 503, 417.99999999999994 ], "spans": [], "index": 33 }, { "bbox": [ 309, 417.99999999999994, 503, 432.33333333333326 ], "spans": [], "index": 34 }, { "bbox": [ 309, 432.33333333333326, 503, 446.6666666666666 ], "spans": [], "index": 35 }, { "bbox": [ 309, 446.6666666666666, 503, 460.9999999999999 ], "spans": [], "index": 36 }, { "bbox": [ 309, 460.9999999999999, 503, 475.3333333333332 ], "spans": [], "index": 37 }, { "bbox": [ 309, 475.3333333333332, 503, 489.6666666666665 ], "spans": [], "index": 38 }, { "bbox": [ 309, 489.6666666666665, 503, 503.99999999999983 ], "spans": [], "index": 39 } ] } ], "index": 32.25 }, { "type": "text", "bbox": [ 107, 513, 505, 623 ], "lines": [ { "bbox": [ 106, 514, 505, 525 ], "spans": [ { "bbox": [ 106, 514, 505, 525 ], "score": 1.0, "content": "Our results are presented in Table 5. GLM-130B shows fewer biases on almost all kinds of stereo-", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 524, 506, 537 ], "spans": [ { "bbox": [ 105, 524, 506, 537 ], "score": 1.0, "content": "types except for religion and nationality. We speculate that it is because GLM-130B is a bilingual", "type": "text" } ], "index": 41 }, { "bbox": [ 104, 535, 506, 549 ], "spans": [ { "bbox": [ 104, 535, 506, 549 ], "score": 1.0, "content": "pre-trained LLM that learns the semantics for certain content from both English and Chinese cor-", "type": "text" } ], "index": 42 }, { "bbox": [ 105, 546, 505, 559 ], "spans": [ { "bbox": [ 105, 546, 505, 559 ], "score": 1.0, "content": "pora. Since CrowsS-Pairs’ stereotypes mainly draw from the US Equal Employment Opportunities", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 557, 505, 570 ], "spans": [ { "bbox": [ 105, 557, 166, 570 ], "score": 1.0, "content": "Commission’s", "type": "text" }, { "bbox": [ 166, 557, 183, 568 ], "score": 0.47, "content": "\\operatorname { l i s t } ^ { 2 }", "type": "inline_equation" }, { "bbox": [ 184, 557, 505, 570 ], "score": 1.0, "content": ", the bias distributions in two different cultures and languages may be different", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 568, 505, 581 ], "spans": [ { "bbox": [ 105, 568, 505, 581 ], "score": 1.0, "content": "and consequently reconcile social biases in GLM-130B on a benchmark originally designed for", "type": "text" } ], "index": 45 }, { "bbox": [ 105, 579, 505, 592 ], "spans": [ { "bbox": [ 105, 579, 505, 592 ], "score": 1.0, "content": "English-language society. We think this is an interesting finding, as multi-lingual pre-training may", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 590, 505, 601 ], "spans": [ { "bbox": [ 105, 590, 505, 601 ], "score": 1.0, "content": "help LLMs to present less harmful biases for better fairness. Finally, we also admit that GLM-", "type": "text" } ], "index": 47 }, { "bbox": [ 105, 600, 505, 613 ], "spans": [ { "bbox": [ 105, 600, 505, 613 ], "score": 1.0, "content": "130B may in turn presents some special Chinese biases which currently lack testing benchmarks", "type": "text" } ], "index": 48 }, { "bbox": [ 106, 613, 349, 624 ], "spans": [ { "bbox": [ 106, 613, 349, 624 ], "score": 1.0, "content": "and require considerable future efforts to detect and prevent.", "type": "text" } ], "index": 49 } ], "index": 44.5 }, { "type": "title", "bbox": [ 108, 637, 282, 648 ], "lines": [ { "bbox": [ 106, 636, 284, 649 ], "spans": [ { "bbox": [ 106, 636, 284, 649 ], "score": 1.0, "content": "A.2 BIAS MEASUREMENT: STEREOSET", "type": "text" } ], "index": 50 } ], "index": 50 }, { "type": "text", "bbox": [ 108, 657, 505, 713 ], "lines": [ { "bbox": [ 106, 657, 505, 669 ], "spans": [ { "bbox": [ 106, 657, 505, 669 ], "score": 1.0, "content": "Another widely used bias and stereotype evaluation benchmark is StereoSet (Nadeem et al., 2021),", "type": "text" } ], "index": 51 }, { "bbox": [ 105, 667, 506, 681 ], "spans": [ { "bbox": [ 105, 667, 506, 681 ], "score": 1.0, "content": "which is also adopted in (Lieber et al., 2021; Artetxe et al., 2021; Zhang et al., 2022). To balance", "type": "text" } ], "index": 52 }, { "bbox": [ 106, 679, 506, 692 ], "spans": [ { "bbox": [ 106, 679, 506, 692 ], "score": 1.0, "content": "the evaluation between bias detecting and language modeling quality, StereoSet reports a series of", "type": "text" } ], "index": 53 }, { "bbox": [ 105, 689, 506, 702 ], "spans": [ { "bbox": [ 105, 689, 506, 702 ], "score": 1.0, "content": "metrics including Language Modeling Scores (LMS), Stereotype Score (SS), and Idealized Context", "type": "text" } ], "index": 54 }, { "bbox": [ 106, 702, 505, 713 ], "spans": [ { "bbox": [ 106, 702, 505, 713 ], "score": 1.0, "content": "Association Test Score (ICAT) as an overall averaged metric. For example, given the premise “She", "type": "text" } ], "index": 55 } ], "index": 53 } ], "page_idx": 20, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 115, 722, 448, 732 ], "lines": [ { "bbox": [ 118, 720, 450, 733 ], "spans": [ { "bbox": [ 118, 720, 450, 733 ], "score": 1.0, "content": "2https://www.eeoc.gov/prohibited-employment-policiespractices", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 752, 310, 760 ], "lines": [ { "bbox": [ 299, 750, 312, 764 ], "spans": [ { "bbox": [ 299, 750, 312, 764 ], "score": 1.0, "content": "", "type": "text", "height": 14, "width": 13 } ] } ] }, { "type": "discarded", "bbox": [ 470, 105, 480, 114 ], "lines": [ { "bbox": [ 469, 104, 482, 115 ], "spans": [ { "bbox": [ 469, 104, 482, 115 ], "score": 1.0, "content": "56", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 141, 82, 482, 94 ], "lines": [ { "bbox": [ 142, 82, 482, 95 ], "spans": [ { "bbox": [ 142, 82, 218, 95 ], "score": 1.0, "content": "G.3 Social Impact", "type": "text" }, { "bbox": [ 468, 82, 482, 94 ], "score": 1.0, "content": "55", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 130, 105, 233, 115 ], "lines": [ { "bbox": [ 129, 104, 233, 115 ], "spans": [ { "bbox": [ 129, 104, 233, 115 ], "score": 1.0, "content": "H Environmental Impact", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 108, 146, 380, 159 ], "lines": [ { "bbox": [ 106, 146, 381, 160 ], "spans": [ { "bbox": [ 106, 146, 381, 160 ], "score": 1.0, "content": "A ETHICS: EVALUATION ON BIASES AND TOXICITY", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 107, 171, 505, 226 ], "lines": [ { "bbox": [ 105, 169, 506, 183 ], "spans": [ { "bbox": [ 105, 169, 506, 183 ], "score": 1.0, "content": "Albeit LLMs’ strong abilities in language and beyond, which could bring substantial welfare to", "type": "text" } ], "index": 1 }, { "bbox": [ 106, 182, 504, 194 ], "spans": [ { "bbox": [ 106, 182, 504, 194 ], "score": 1.0, "content": "human beings, they can potentially produce toxic and illegal contents for evil use (Weidinger et al.,", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 190, 505, 207 ], "spans": [ { "bbox": [ 105, 190, 505, 207 ], "score": 1.0, "content": "2021; Sheng et al., 2021; Dev et al., 2021; Bommasani et al., 2021). In GLM-130B, before granting", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 203, 505, 216 ], "spans": [ { "bbox": [ 105, 203, 505, 216 ], "score": 1.0, "content": "model weight to applicants, in the model license we demand them to agree that they will not use it", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 213, 364, 228 ], "spans": [ { "bbox": [ 105, 213, 364, 228 ], "score": 1.0, "content": "for any deeds that may be harmful to society and human beings.", "type": "text" } ], "index": 5 } ], "index": 3, "bbox_fs": [ 105, 169, 506, 228 ] }, { "type": "text", "bbox": [ 107, 232, 505, 331 ], "lines": [ { "bbox": [ 106, 232, 505, 244 ], "spans": [ { "bbox": [ 106, 232, 505, 244 ], "score": 1.0, "content": "Additionally, from a technical perspective, we argue that we must also understand LLMs’ toxic", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 243, 505, 255 ], "spans": [ { "bbox": [ 106, 243, 505, 255 ], "score": 1.0, "content": "and biased behaviors and ultimately eliminate them. This aligns with our commitment to “LLM", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 254, 506, 267 ], "spans": [ { "bbox": [ 105, 254, 506, 267 ], "score": 1.0, "content": "Inclusivity”, as it is necessary to include more people in the open-sourced LLM research to facilitate", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 264, 504, 277 ], "spans": [ { "bbox": [ 105, 264, 504, 277 ], "score": 1.0, "content": "the process. Moreover, if an LLM is shown to be good at identifying toxic and biased content,", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 276, 505, 288 ], "spans": [ { "bbox": [ 106, 276, 505, 288 ], "score": 1.0, "content": "techniques such as self-diagnoses (Schick et al., 2021) can help to reduce the harmful generation", "type": "text" } ], "index": 10 }, { "bbox": [ 106, 287, 504, 299 ], "spans": [ { "bbox": [ 106, 287, 504, 299 ], "score": 1.0, "content": "in a self-consistent post-processing procedure. Therefore, as an initial step, we evaluate GLM-", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 297, 505, 310 ], "spans": [ { "bbox": [ 106, 297, 505, 310 ], "score": 1.0, "content": "130B over a variety of related benchmarks to shed light on the challenging topic. Despite their", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 307, 505, 321 ], "spans": [ { "bbox": [ 105, 307, 505, 321 ], "score": 1.0, "content": "limitations (Blodgett et al., 2021; Jacobs & Wallach, 2021) which should be addressed in future", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 320, 466, 333 ], "spans": [ { "bbox": [ 106, 320, 466, 333 ], "score": 1.0, "content": "work, they still serve as a good start to arouse the community’s awareness of the problem.", "type": "text" } ], "index": 14 } ], "index": 10, "bbox_fs": [ 105, 232, 506, 333 ] }, { "type": "title", "bbox": [ 108, 344, 293, 355 ], "lines": [ { "bbox": [ 106, 343, 294, 357 ], "spans": [ { "bbox": [ 106, 343, 294, 357 ], "score": 1.0, "content": "A.1 BIAS MEASUREMENT: CROWS-PAIRS", "type": "text" } ], "index": 15 } ], "index": 15 }, { "type": "text", "bbox": [ 108, 365, 301, 507 ], "lines": [ { "bbox": [ 106, 363, 302, 378 ], "spans": [ { "bbox": [ 106, 363, 302, 378 ], "score": 1.0, "content": "CrowS-Pairs (Nangia et al., 2020), or namely", "type": "text" } ], "index": 16 }, { "bbox": [ 106, 375, 303, 388 ], "spans": [ { "bbox": [ 106, 375, 303, 388 ], "score": 1.0, "content": "Crowdsourced Stereotype Pairs benchmark, is", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 387, 303, 398 ], "spans": [ { "bbox": [ 106, 387, 303, 398 ], "score": 1.0, "content": "widely used for measuring biases for masked", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 398, 302, 409 ], "spans": [ { "bbox": [ 106, 398, 302, 409 ], "score": 1.0, "content": "language models. It collects 1508 examples with", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 409, 303, 420 ], "spans": [ { "bbox": [ 106, 409, 303, 420 ], "score": 1.0, "content": "nine different conventional biases and adopts a", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 420, 302, 431 ], "spans": [ { "bbox": [ 106, 420, 302, 431 ], "score": 1.0, "content": "probing-based approach to compare the pseudo-", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 430, 303, 442 ], "spans": [ { "bbox": [ 105, 430, 303, 442 ], "score": 1.0, "content": "log-likelihood of a pair of stereotypical and anti-", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 442, 302, 453 ], "spans": [ { "bbox": [ 106, 442, 302, 453 ], "score": 1.0, "content": "stereotypical sentences. Since GLM-130B is", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 453, 302, 464 ], "spans": [ { "bbox": [ 105, 453, 302, 464 ], "score": 1.0, "content": "pre-trained with autoregressive blanking infill-", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 464, 302, 476 ], "spans": [ { "bbox": [ 105, 464, 302, 476 ], "score": 1.0, "content": "ing, CrowS-Pairs evaluation is directly appli-", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 474, 303, 486 ], "spans": [ { "bbox": [ 105, 474, 303, 486 ], "score": 1.0, "content": "cable. We compare the GPT-3 Davinci and", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 485, 302, 497 ], "spans": [ { "bbox": [ 106, 485, 302, 497 ], "score": 1.0, "content": "OPT-175B’s results on CrowS-Pairs reported", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 496, 271, 509 ], "spans": [ { "bbox": [ 105, 496, 271, 509 ], "score": 1.0, "content": "in (Zhang et al., 2022) with GLM-130B.", "type": "text" } ], "index": 28 } ], "index": 22, "bbox_fs": [ 105, 363, 303, 509 ] }, { "type": "table", "bbox": [ 309, 375, 503, 504 ], "blocks": [ { "type": "table_caption", "bbox": [ 309, 350, 504, 372 ], "group_id": 0, "lines": [ { "bbox": [ 308, 349, 505, 362 ], "spans": [ { "bbox": [ 308, 349, 505, 362 ], "score": 1.0, "content": "Table 5: CrowS-Pairs (Nangia et al., 2020) Bias", "type": "text" } ], "index": 29 }, { "bbox": [ 309, 360, 482, 372 ], "spans": [ { "bbox": [ 309, 360, 482, 372 ], "score": 1.0, "content": "Measurement. The lower scores the better.", "type": "text" } ], "index": 30 } ], "index": 29.5 }, { "type": "table_body", "bbox": [ 309, 375, 503, 504 ], "group_id": 0, "lines": [ { "bbox": [ 309, 375, 503, 504 ], "spans": [ { "bbox": [ 309, 375, 503, 504 ], "score": 0.979, "html": "
Category GPT-3 OPT-175B GLM-130B
Gender 62.665.7 55.7
Religion 73.368.6 73.3
Race/Color 64.768.6 58.5
Sexual orientation 76.278.6 60.7
Age 64.467.8 63.2
Nationality 61.662.9 64.1
Disability 76.776.7 71.6
Physical appearance 74.676.2 74.6
Socioeconomic status 73.876.2 70.9
Overall 67.269.5 65.8
", "type": "table", "image_path": "ffb552451ea3b8dfe682691748d9c5d4d1e14ba51fce85dcca656dfcec58d90e.jpg" } ] } ], "index": 35, "virtual_lines": [ { "bbox": [ 309, 375, 503, 389.3333333333333 ], "spans": [], "index": 31 }, { "bbox": [ 309, 389.3333333333333, 503, 403.66666666666663 ], "spans": [], "index": 32 }, { "bbox": [ 309, 403.66666666666663, 503, 417.99999999999994 ], "spans": [], "index": 33 }, { "bbox": [ 309, 417.99999999999994, 503, 432.33333333333326 ], "spans": [], "index": 34 }, { "bbox": [ 309, 432.33333333333326, 503, 446.6666666666666 ], "spans": [], "index": 35 }, { "bbox": [ 309, 446.6666666666666, 503, 460.9999999999999 ], "spans": [], "index": 36 }, { "bbox": [ 309, 460.9999999999999, 503, 475.3333333333332 ], "spans": [], "index": 37 }, { "bbox": [ 309, 475.3333333333332, 503, 489.6666666666665 ], "spans": [], "index": 38 }, { "bbox": [ 309, 489.6666666666665, 503, 503.99999999999983 ], "spans": [], "index": 39 } ] } ], "index": 32.25 }, { "type": "text", "bbox": [ 107, 513, 505, 623 ], "lines": [ { "bbox": [ 106, 514, 505, 525 ], "spans": [ { "bbox": [ 106, 514, 505, 525 ], "score": 1.0, "content": "Our results are presented in Table 5. GLM-130B shows fewer biases on almost all kinds of stereo-", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 524, 506, 537 ], "spans": [ { "bbox": [ 105, 524, 506, 537 ], "score": 1.0, "content": "types except for religion and nationality. We speculate that it is because GLM-130B is a bilingual", "type": "text" } ], "index": 41 }, { "bbox": [ 104, 535, 506, 549 ], "spans": [ { "bbox": [ 104, 535, 506, 549 ], "score": 1.0, "content": "pre-trained LLM that learns the semantics for certain content from both English and Chinese cor-", "type": "text" } ], "index": 42 }, { "bbox": [ 105, 546, 505, 559 ], "spans": [ { "bbox": [ 105, 546, 505, 559 ], "score": 1.0, "content": "pora. Since CrowsS-Pairs’ stereotypes mainly draw from the US Equal Employment Opportunities", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 557, 505, 570 ], "spans": [ { "bbox": [ 105, 557, 166, 570 ], "score": 1.0, "content": "Commission’s", "type": "text" }, { "bbox": [ 166, 557, 183, 568 ], "score": 0.47, "content": "\\operatorname { l i s t } ^ { 2 }", "type": "inline_equation" }, { "bbox": [ 184, 557, 505, 570 ], "score": 1.0, "content": ", the bias distributions in two different cultures and languages may be different", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 568, 505, 581 ], "spans": [ { "bbox": [ 105, 568, 505, 581 ], "score": 1.0, "content": "and consequently reconcile social biases in GLM-130B on a benchmark originally designed for", "type": "text" } ], "index": 45 }, { "bbox": [ 105, 579, 505, 592 ], "spans": [ { "bbox": [ 105, 579, 505, 592 ], "score": 1.0, "content": "English-language society. We think this is an interesting finding, as multi-lingual pre-training may", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 590, 505, 601 ], "spans": [ { "bbox": [ 105, 590, 505, 601 ], "score": 1.0, "content": "help LLMs to present less harmful biases for better fairness. Finally, we also admit that GLM-", "type": "text" } ], "index": 47 }, { "bbox": [ 105, 600, 505, 613 ], "spans": [ { "bbox": [ 105, 600, 505, 613 ], "score": 1.0, "content": "130B may in turn presents some special Chinese biases which currently lack testing benchmarks", "type": "text" } ], "index": 48 }, { "bbox": [ 106, 613, 349, 624 ], "spans": [ { "bbox": [ 106, 613, 349, 624 ], "score": 1.0, "content": "and require considerable future efforts to detect and prevent.", "type": "text" } ], "index": 49 } ], "index": 44.5, "bbox_fs": [ 104, 514, 506, 624 ] }, { "type": "title", "bbox": [ 108, 637, 282, 648 ], "lines": [ { "bbox": [ 106, 636, 284, 649 ], "spans": [ { "bbox": [ 106, 636, 284, 649 ], "score": 1.0, "content": "A.2 BIAS MEASUREMENT: STEREOSET", "type": "text" } ], "index": 50 } ], "index": 50 }, { "type": "text", "bbox": [ 108, 657, 505, 713 ], "lines": [ { "bbox": [ 106, 657, 505, 669 ], "spans": [ { "bbox": [ 106, 657, 505, 669 ], "score": 1.0, "content": "Another widely used bias and stereotype evaluation benchmark is StereoSet (Nadeem et al., 2021),", "type": "text" } ], "index": 51 }, { "bbox": [ 105, 667, 506, 681 ], "spans": [ { "bbox": [ 105, 667, 506, 681 ], "score": 1.0, "content": "which is also adopted in (Lieber et al., 2021; Artetxe et al., 2021; Zhang et al., 2022). To balance", "type": "text" } ], "index": 52 }, { "bbox": [ 106, 679, 506, 692 ], "spans": [ { "bbox": [ 106, 679, 506, 692 ], "score": 1.0, "content": "the evaluation between bias detecting and language modeling quality, StereoSet reports a series of", "type": "text" } ], "index": 53 }, { "bbox": [ 105, 689, 506, 702 ], "spans": [ { "bbox": [ 105, 689, 506, 702 ], "score": 1.0, "content": "metrics including Language Modeling Scores (LMS), Stereotype Score (SS), and Idealized Context", "type": "text" } ], "index": 54 }, { "bbox": [ 106, 702, 505, 713 ], "spans": [ { "bbox": [ 106, 702, 505, 713 ], "score": 1.0, "content": "Association Test Score (ICAT) as an overall averaged metric. For example, given the premise “She", "type": "text" } ], "index": 55 }, { "bbox": [ 105, 81, 505, 95 ], "spans": [ { "bbox": [ 105, 81, 505, 95 ], "score": 1.0, "content": "is the twin’s mother”, StereoSet provides three candidate hypothesis: 1) “the water is deep”, 2)", "type": "text", "cross_page": true } ], "index": 0 }, { "bbox": [ 105, 93, 507, 107 ], "spans": [ { "bbox": [ 105, 93, 507, 107 ], "score": 1.0, "content": "“she is a lazy, unkind person”, and 3) “she is a kind, caring woman”. The first option servers as a", "type": "text", "cross_page": true } ], "index": 1 }, { "bbox": [ 106, 104, 505, 117 ], "spans": [ { "bbox": [ 106, 104, 505, 117 ], "score": 1.0, "content": "distractor to test models’ language capability and calculate LMS; the second and third statements", "type": "text", "cross_page": true } ], "index": 2 }, { "bbox": [ 105, 115, 505, 128 ], "spans": [ { "bbox": [ 105, 115, 505, 128 ], "score": 1.0, "content": "are anti-stereotypical and stereotypical respectively and used for calculating SS. A widely-adopted", "type": "text", "cross_page": true } ], "index": 3 }, { "bbox": [ 106, 127, 505, 138 ], "spans": [ { "bbox": [ 106, 127, 505, 138 ], "score": 1.0, "content": "technique here is to calibrate the likelihood of an option according to its length (Lieber et al., 2021;", "type": "text", "cross_page": true } ], "index": 4 }, { "bbox": [ 105, 136, 356, 150 ], "spans": [ { "bbox": [ 105, 136, 356, 150 ], "score": 1.0, "content": "Zhang et al., 2022), as the distractor term is particularly short.", "type": "text", "cross_page": true } ], "index": 5 } ], "index": 53, "bbox_fs": [ 105, 657, 506, 713 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 149 ], "lines": [ { "bbox": [ 105, 81, 505, 95 ], "spans": [ { "bbox": [ 105, 81, 505, 95 ], "score": 1.0, "content": "is the twin’s mother”, StereoSet provides three candidate hypothesis: 1) “the water is deep”, 2)", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 93, 507, 107 ], "spans": [ { "bbox": [ 105, 93, 507, 107 ], "score": 1.0, "content": "“she is a lazy, unkind person”, and 3) “she is a kind, caring woman”. The first option servers as a", "type": "text" } ], "index": 1 }, { "bbox": [ 106, 104, 505, 117 ], "spans": [ { "bbox": [ 106, 104, 505, 117 ], "score": 1.0, "content": "distractor to test models’ language capability and calculate LMS; the second and third statements", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 115, 505, 128 ], "spans": [ { "bbox": [ 105, 115, 505, 128 ], "score": 1.0, "content": "are anti-stereotypical and stereotypical respectively and used for calculating SS. A widely-adopted", "type": "text" } ], "index": 3 }, { "bbox": [ 106, 127, 505, 138 ], "spans": [ { "bbox": [ 106, 127, 505, 138 ], "score": 1.0, "content": "technique here is to calibrate the likelihood of an option according to its length (Lieber et al., 2021;", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 136, 356, 150 ], "spans": [ { "bbox": [ 105, 136, 356, 150 ], "score": 1.0, "content": "Zhang et al., 2022), as the distractor term is particularly short.", "type": "text" } ], "index": 5 } ], "index": 2.5 }, { "type": "text", "bbox": [ 107, 154, 505, 209 ], "lines": [ { "bbox": [ 106, 154, 505, 166 ], "spans": [ { "bbox": [ 106, 154, 505, 166 ], "score": 1.0, "content": "Following (Zhang et al., 2022), we normalize scores over tokens rather than characters (Lieber et al.,", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 165, 505, 177 ], "spans": [ { "bbox": [ 106, 165, 505, 177 ], "score": 1.0, "content": "2021) to yield model predictions for calculating the metrics. The results are shown in Table 6. As we", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 176, 505, 189 ], "spans": [ { "bbox": [ 105, 176, 505, 189 ], "score": 1.0, "content": "observe, GLM-130B exceedingly outperforms GPT-3 Davinci and OPT-175B on all metrics. Such", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 187, 505, 199 ], "spans": [ { "bbox": [ 106, 187, 505, 199 ], "score": 1.0, "content": "results accurately align with our discoveries in language modeling experiments and CrowS-Pairs", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 197, 499, 211 ], "spans": [ { "bbox": [ 105, 197, 499, 211 ], "score": 1.0, "content": "bias evaluation, that GLM-130B has a high quality in both language modeling and social fairness.", "type": "text" } ], "index": 10 } ], "index": 8 }, { "type": "table", "bbox": [ 106, 232, 503, 300 ], "blocks": [ { "type": "table_caption", "bbox": [ 107, 211, 500, 223 ], "group_id": 0, "lines": [ { "bbox": [ 110, 209, 501, 225 ], "spans": [ { "bbox": [ 110, 209, 501, 225 ], "score": 1.0, "content": "Table 6: StereoSet (Nadeem et al., 2021) Bias Measurement with LMS (↑), SS (↓), and ICAT (↑).", "type": "text" } ], "index": 11 } ], "index": 11 }, { "type": "table_body", "bbox": [ 106, 232, 503, 300 ], "group_id": 0, "lines": [ { "bbox": [ 106, 232, 503, 300 ], "spans": [ { "bbox": [ 106, 232, 503, 300 ], "score": 0.98, "html": "
CategoryProfessionGenderReligionRaceOverall
LMSssICATLMSSSICATLMSssICATLMSSsICATLMSssICAT
GPT-378.463.457.575.666.550.680.859.066.377.057.465.777.660.860.8
OPT-175B74.162.655.474.063.653.884.059.068.974.956.864.874.859.960.0
GLM-130B86.559.669.983.963.561.291.053.584.685.754.178.786.057.373.5
", "type": "table", "image_path": "074722f226828fbedadb3f634d27bfadfa9265acdf01ba18f2d16f46f3292997.jpg" } ] } ], "index": 13, "virtual_lines": [ { "bbox": [ 106, 232, 503, 254.66666666666666 ], "spans": [], "index": 12 }, { "bbox": [ 106, 254.66666666666666, 503, 277.3333333333333 ], "spans": [], "index": 13 }, { "bbox": [ 106, 277.3333333333333, 503, 300.0 ], "spans": [], "index": 14 } ] } ], "index": 12.0 }, { "type": "title", "bbox": [ 108, 311, 288, 323 ], "lines": [ { "bbox": [ 106, 311, 289, 324 ], "spans": [ { "bbox": [ 106, 311, 289, 324 ], "score": 1.0, "content": "A.3 HATE SPEECH DETECTION: ETHOS", "type": "text" } ], "index": 15 } ], "index": 15 }, { "type": "text", "bbox": [ 106, 332, 505, 442 ], "lines": [ { "bbox": [ 106, 331, 505, 344 ], "spans": [ { "bbox": [ 106, 331, 505, 344 ], "score": 1.0, "content": "Social media corpus may contain hate speeches, and to investigate to what extent LLMs know and", "type": "text" } ], "index": 16 }, { "bbox": [ 106, 343, 505, 355 ], "spans": [ { "bbox": [ 106, 343, 505, 355 ], "score": 1.0, "content": "can help to identify them is crucial. We adopt the ETHOS dataset originally proposed in (Mollas", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 353, 505, 366 ], "spans": [ { "bbox": [ 105, 353, 505, 366 ], "score": 1.0, "content": "et al., 2020) to detect sexism and racism speech on zero-shot or few-shot datasets created by (Chiu", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 365, 505, 377 ], "spans": [ { "bbox": [ 106, 365, 505, 377 ], "score": 1.0, "content": "& Alexander, 2021). GPT-3 Davinci (a public-accessible variant of GPT-3 175B) and OPT 175B are", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 375, 505, 388 ], "spans": [ { "bbox": [ 106, 375, 505, 388 ], "score": 1.0, "content": "also tested on the benchmark (whose results are reported in (Zhang et al., 2022)). For binary clas-", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 387, 505, 399 ], "spans": [ { "bbox": [ 105, 387, 505, 399 ], "score": 1.0, "content": "sification including Zero-shot, One-shot, and Few-shot (binary) (which answers “yes” or “no”), we", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 397, 506, 411 ], "spans": [ { "bbox": [ 105, 397, 506, 411 ], "score": 1.0, "content": "report binary F1; for multiclass classification (which answers “yes”, “no”, or “neither”), we report", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 408, 505, 421 ], "spans": [ { "bbox": [ 105, 408, 505, 421 ], "score": 1.0, "content": "micro F1. We adopt almost the same prompts as in (Chiu & Alexander, 2021), except aligning the", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 419, 505, 432 ], "spans": [ { "bbox": [ 105, 419, 505, 432 ], "score": 1.0, "content": "Few-shot (binary) prompt to the form used in One-shot and adding the word “Classification”", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 430, 354, 443 ], "spans": [ { "bbox": [ 105, 430, 354, 443 ], "score": 1.0, "content": "before the colon in the original Few-shot (multiclass) prompt.", "type": "text" } ], "index": 25 } ], "index": 20.5 }, { "type": "text", "bbox": [ 107, 447, 301, 568 ], "lines": [ { "bbox": [ 106, 447, 303, 459 ], "spans": [ { "bbox": [ 106, 447, 303, 459 ], "score": 1.0, "content": "Results are shown in Table 7. We find that", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 457, 303, 472 ], "spans": [ { "bbox": [ 105, 457, 303, 472 ], "score": 1.0, "content": "GLM-130B outperforms two other LLMs among", "type": "text" } ], "index": 27 }, { "bbox": [ 106, 469, 302, 481 ], "spans": [ { "bbox": [ 106, 469, 302, 481 ], "score": 1.0, "content": "four different settings. On one hand, GLM-", "type": "text" } ], "index": 28 }, { "bbox": [ 106, 480, 302, 493 ], "spans": [ { "bbox": [ 106, 480, 302, 493 ], "score": 1.0, "content": "130B’s pre-training over unsupervised diverse", "type": "text" } ], "index": 29 }, { "bbox": [ 106, 492, 302, 502 ], "spans": [ { "bbox": [ 106, 492, 302, 502 ], "score": 1.0, "content": "corpora from online forums and social media in-", "type": "text" } ], "index": 30 }, { "bbox": [ 106, 502, 302, 514 ], "spans": [ { "bbox": [ 106, 502, 302, 514 ], "score": 1.0, "content": "cluding sections such as “hackernews”, “stack-", "type": "text" } ], "index": 31 }, { "bbox": [ 106, 513, 303, 525 ], "spans": [ { "bbox": [ 106, 513, 303, 525 ], "score": 1.0, "content": "exchange”, and “pile_cc” can endow our model", "type": "text" } ], "index": 32 }, { "bbox": [ 106, 523, 302, 536 ], "spans": [ { "bbox": [ 106, 523, 302, 536 ], "score": 1.0, "content": "with the background knowledge to identify those", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 535, 303, 548 ], "spans": [ { "bbox": [ 105, 535, 303, 548 ], "score": 1.0, "content": "speeches. On the other hand, the MIP training", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 546, 303, 557 ], "spans": [ { "bbox": [ 105, 546, 303, 557 ], "score": 1.0, "content": "may also improve GLM-130B’s zero-shot and", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 557, 194, 569 ], "spans": [ { "bbox": [ 106, 557, 194, 569 ], "score": 1.0, "content": "few-shot capabilities.", "type": "text" } ], "index": 36 } ], "index": 31 }, { "type": "text", "bbox": [ 309, 447, 504, 491 ], "lines": [ { "bbox": [ 308, 446, 505, 459 ], "spans": [ { "bbox": [ 308, 446, 505, 459 ], "score": 1.0, "content": "Table 7: ETHOS (Mollas et al., 2020) Hate", "type": "text" } ], "index": 37 }, { "bbox": [ 308, 457, 505, 470 ], "spans": [ { "bbox": [ 308, 457, 505, 470 ], "score": 1.0, "content": "speech detection. “(bi)” and “(mul)” denote bi-", "type": "text" } ], "index": 38 }, { "bbox": [ 308, 468, 505, 481 ], "spans": [ { "bbox": [ 308, 468, 505, 481 ], "score": 1.0, "content": "nary and multiclass classification respectively.", "type": "text" } ], "index": 39 }, { "bbox": [ 309, 479, 481, 492 ], "spans": [ { "bbox": [ 309, 479, 481, 492 ], "score": 1.0, "content": "All scores are F1 and the higher the better.", "type": "text" } ], "index": 40 } ], "index": 38.5 }, { "type": "table", "bbox": [ 312, 500, 500, 564 ], "blocks": [ { "type": "table_body", "bbox": [ 312, 500, 500, 564 ], "group_id": 1, "lines": [ { "bbox": [ 312, 500, 500, 564 ], "spans": [ { "bbox": [ 312, 500, 500, 564 ], "score": 0.974, "html": "
GPT-3OPT-175BGLM-130B
Zero-shot66.768.8
One-shot71.379.1
Few-shot (bi)75.979.7
35.4 Few-shot (mul) 67.281.285.8
", "type": "table", "image_path": "eed18b33148c91c98f80a02a48e8ded0d8e6111e7a94a7db61a719b27f8d3380.jpg" } ] } ], "index": 42.5, "virtual_lines": [ { "bbox": [ 312, 500, 500, 516.0 ], "spans": [], "index": 41 }, { "bbox": [ 312, 516.0, 500, 532.0 ], "spans": [], "index": 42 }, { "bbox": [ 312, 532.0, 500, 548.0 ], "spans": [], "index": 43 }, { "bbox": [ 312, 548.0, 500, 564.0 ], "spans": [], "index": 44 } ] } ], "index": 42.5 }, { "type": "title", "bbox": [ 107, 582, 325, 593 ], "lines": [ { "bbox": [ 106, 581, 326, 595 ], "spans": [ { "bbox": [ 106, 581, 326, 595 ], "score": 1.0, "content": "A.4 TOXIC GENEARATION: REALTOXICPROMPTS", "type": "text" } ], "index": 45 } ], "index": 45 }, { "type": "text", "bbox": [ 107, 603, 324, 713 ], "lines": [ { "bbox": [ 105, 601, 325, 615 ], "spans": [ { "bbox": [ 105, 601, 325, 615 ], "score": 1.0, "content": "Evaluating the toxicity of generation by given prompts", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 614, 325, 625 ], "spans": [ { "bbox": [ 105, 614, 325, 625 ], "score": 1.0, "content": "is an important part of a model’s safe deployment. We", "type": "text" } ], "index": 47 }, { "bbox": [ 105, 624, 325, 636 ], "spans": [ { "bbox": [ 105, 624, 325, 636 ], "score": 1.0, "content": "evaluate the toxic generation of GLM-130B on the Re-", "type": "text" } ], "index": 48 }, { "bbox": [ 105, 636, 325, 647 ], "spans": [ { "bbox": [ 105, 636, 325, 647 ], "score": 1.0, "content": "alToxicPrompts (Gehman et al., 2020) dataset. Fol-", "type": "text" } ], "index": 49 }, { "bbox": [ 105, 646, 325, 659 ], "spans": [ { "bbox": [ 105, 646, 286, 659 ], "score": 1.0, "content": "lowing its settings, we use nucleus sampling", "type": "text" }, { "bbox": [ 286, 646, 321, 658 ], "score": 0.84, "content": "( p = 0 . 9 ", "type": "inline_equation" }, { "bbox": [ 322, 646, 325, 659 ], "score": 1.0, "content": ")", "type": "text" } ], "index": 50 }, { "bbox": [ 105, 657, 325, 669 ], "spans": [ { "bbox": [ 105, 657, 325, 669 ], "score": 1.0, "content": "to generate 25 continuations for each of the 10K ran-", "type": "text" } ], "index": 51 }, { "bbox": [ 105, 668, 325, 680 ], "spans": [ { "bbox": [ 105, 668, 325, 680 ], "score": 1.0, "content": "dom sampled prompts, limiting the maximum gener-", "type": "text" } ], "index": 52 }, { "bbox": [ 106, 679, 325, 691 ], "spans": [ { "bbox": [ 106, 679, 325, 691 ], "score": 1.0, "content": "ated length to 128 tokens. Then we report the mean", "type": "text" } ], "index": 53 }, { "bbox": [ 106, 690, 325, 702 ], "spans": [ { "bbox": [ 106, 690, 325, 702 ], "score": 1.0, "content": "toxicity probabilities of 25 continuations evaluated by", "type": "text" } ], "index": 54 }, { "bbox": [ 105, 700, 325, 714 ], "spans": [ { "bbox": [ 105, 700, 155, 714 ], "score": 1.0, "content": "Perspective", "type": "text" }, { "bbox": [ 155, 701, 176, 712 ], "score": 0.62, "content": "\\mathrm { A P I } ^ { 3 }", "type": "inline_equation" }, { "bbox": [ 176, 700, 325, 714 ], "score": 1.0, "content": ". In order to make a fair comparison", "type": "text" } ], "index": 55 } ], "index": 50.5 }, { "type": "image", "bbox": [ 333, 579, 504, 692 ], "blocks": [ { "type": "image_body", "bbox": [ 333, 579, 504, 692 ], "group_id": 0, "lines": [ { "bbox": [ 333, 579, 504, 692 ], "spans": [ { "bbox": [ 333, 579, 504, 692 ], "score": 0.97, "type": "image", "image_path": "08773a74b3cd771639013ca94c05ccd8eeccf3abb07ec9d9a9a95bd17e6f5871.jpg" } ] } ], "index": 59.5, "virtual_lines": [ { "bbox": [ 333, 579, 504, 593.125 ], "spans": [], "index": 56 }, { "bbox": [ 333, 593.125, 504, 607.25 ], "spans": [], "index": 57 }, { "bbox": [ 333, 607.25, 504, 621.375 ], "spans": [], "index": 58 }, { "bbox": [ 333, 621.375, 504, 635.5 ], "spans": [], "index": 59 }, { "bbox": [ 333, 635.5, 504, 649.625 ], "spans": [], "index": 60 }, { "bbox": [ 333, 649.625, 504, 663.75 ], "spans": [], "index": 61 }, { "bbox": [ 333, 663.75, 504, 677.875 ], "spans": [], "index": 62 }, { "bbox": [ 333, 677.875, 504, 692.0 ], "spans": [], "index": 63 } ] }, { "type": "image_caption", "bbox": [ 332, 700, 504, 734 ], "group_id": 0, "lines": [ { "bbox": [ 331, 699, 505, 712 ], "spans": [ { "bbox": [ 331, 699, 505, 712 ], "score": 1.0, "content": "Figure 9: RealToxicPrompts (Gehman", "type": "text" } ], "index": 64 }, { "bbox": [ 331, 711, 505, 723 ], "spans": [ { "bbox": [ 331, 711, 505, 723 ], "score": 1.0, "content": "et al., 2020) evaluation. Lower continua-", "type": "text" } ], "index": 65 }, { "bbox": [ 332, 723, 466, 734 ], "spans": [ { "bbox": [ 332, 723, 466, 734 ], "score": 1.0, "content": "tion toxicity probability is better.", "type": "text" } ], "index": 66 } ], "index": 65 } ], "index": 62.25 } ], "page_idx": 21, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 118, 721, 289, 732 ], "lines": [ { "bbox": [ 119, 720, 291, 733 ], "spans": [ { "bbox": [ 119, 720, 291, 733 ], "score": 1.0, "content": "3https://www.perspectiveapi.com/", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 299, 750, 312, 764 ], "spans": [ { "bbox": [ 299, 750, 312, 764 ], "score": 1.0, "content": "22", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 107, 82, 505, 149 ], "lines": [], "index": 2.5, "bbox_fs": [ 105, 81, 507, 150 ], "lines_deleted": true }, { "type": "text", "bbox": [ 107, 154, 505, 209 ], "lines": [ { "bbox": [ 106, 154, 505, 166 ], "spans": [ { "bbox": [ 106, 154, 505, 166 ], "score": 1.0, "content": "Following (Zhang et al., 2022), we normalize scores over tokens rather than characters (Lieber et al.,", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 165, 505, 177 ], "spans": [ { "bbox": [ 106, 165, 505, 177 ], "score": 1.0, "content": "2021) to yield model predictions for calculating the metrics. The results are shown in Table 6. As we", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 176, 505, 189 ], "spans": [ { "bbox": [ 105, 176, 505, 189 ], "score": 1.0, "content": "observe, GLM-130B exceedingly outperforms GPT-3 Davinci and OPT-175B on all metrics. Such", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 187, 505, 199 ], "spans": [ { "bbox": [ 106, 187, 505, 199 ], "score": 1.0, "content": "results accurately align with our discoveries in language modeling experiments and CrowS-Pairs", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 197, 499, 211 ], "spans": [ { "bbox": [ 105, 197, 499, 211 ], "score": 1.0, "content": "bias evaluation, that GLM-130B has a high quality in both language modeling and social fairness.", "type": "text" } ], "index": 10 } ], "index": 8, "bbox_fs": [ 105, 154, 505, 211 ] }, { "type": "table", "bbox": [ 106, 232, 503, 300 ], "blocks": [ { "type": "table_caption", "bbox": [ 107, 211, 500, 223 ], "group_id": 0, "lines": [ { "bbox": [ 110, 209, 501, 225 ], "spans": [ { "bbox": [ 110, 209, 501, 225 ], "score": 1.0, "content": "Table 6: StereoSet (Nadeem et al., 2021) Bias Measurement with LMS (↑), SS (↓), and ICAT (↑).", "type": "text" } ], "index": 11 } ], "index": 11 }, { "type": "table_body", "bbox": [ 106, 232, 503, 300 ], "group_id": 0, "lines": [ { "bbox": [ 106, 232, 503, 300 ], "spans": [ { "bbox": [ 106, 232, 503, 300 ], "score": 0.98, "html": "
CategoryProfessionGenderReligionRaceOverall
LMSssICATLMSSSICATLMSssICATLMSSsICATLMSssICAT
GPT-378.463.457.575.666.550.680.859.066.377.057.465.777.660.860.8
OPT-175B74.162.655.474.063.653.884.059.068.974.956.864.874.859.960.0
GLM-130B86.559.669.983.963.561.291.053.584.685.754.178.786.057.373.5
", "type": "table", "image_path": "074722f226828fbedadb3f634d27bfadfa9265acdf01ba18f2d16f46f3292997.jpg" } ] } ], "index": 13, "virtual_lines": [ { "bbox": [ 106, 232, 503, 254.66666666666666 ], "spans": [], "index": 12 }, { "bbox": [ 106, 254.66666666666666, 503, 277.3333333333333 ], "spans": [], "index": 13 }, { "bbox": [ 106, 277.3333333333333, 503, 300.0 ], "spans": [], "index": 14 } ] } ], "index": 12.0 }, { "type": "title", "bbox": [ 108, 311, 288, 323 ], "lines": [ { "bbox": [ 106, 311, 289, 324 ], "spans": [ { "bbox": [ 106, 311, 289, 324 ], "score": 1.0, "content": "A.3 HATE SPEECH DETECTION: ETHOS", "type": "text" } ], "index": 15 } ], "index": 15 }, { "type": "text", "bbox": [ 106, 332, 505, 442 ], "lines": [ { "bbox": [ 106, 331, 505, 344 ], "spans": [ { "bbox": [ 106, 331, 505, 344 ], "score": 1.0, "content": "Social media corpus may contain hate speeches, and to investigate to what extent LLMs know and", "type": "text" } ], "index": 16 }, { "bbox": [ 106, 343, 505, 355 ], "spans": [ { "bbox": [ 106, 343, 505, 355 ], "score": 1.0, "content": "can help to identify them is crucial. We adopt the ETHOS dataset originally proposed in (Mollas", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 353, 505, 366 ], "spans": [ { "bbox": [ 105, 353, 505, 366 ], "score": 1.0, "content": "et al., 2020) to detect sexism and racism speech on zero-shot or few-shot datasets created by (Chiu", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 365, 505, 377 ], "spans": [ { "bbox": [ 106, 365, 505, 377 ], "score": 1.0, "content": "& Alexander, 2021). GPT-3 Davinci (a public-accessible variant of GPT-3 175B) and OPT 175B are", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 375, 505, 388 ], "spans": [ { "bbox": [ 106, 375, 505, 388 ], "score": 1.0, "content": "also tested on the benchmark (whose results are reported in (Zhang et al., 2022)). For binary clas-", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 387, 505, 399 ], "spans": [ { "bbox": [ 105, 387, 505, 399 ], "score": 1.0, "content": "sification including Zero-shot, One-shot, and Few-shot (binary) (which answers “yes” or “no”), we", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 397, 506, 411 ], "spans": [ { "bbox": [ 105, 397, 506, 411 ], "score": 1.0, "content": "report binary F1; for multiclass classification (which answers “yes”, “no”, or “neither”), we report", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 408, 505, 421 ], "spans": [ { "bbox": [ 105, 408, 505, 421 ], "score": 1.0, "content": "micro F1. We adopt almost the same prompts as in (Chiu & Alexander, 2021), except aligning the", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 419, 505, 432 ], "spans": [ { "bbox": [ 105, 419, 505, 432 ], "score": 1.0, "content": "Few-shot (binary) prompt to the form used in One-shot and adding the word “Classification”", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 430, 354, 443 ], "spans": [ { "bbox": [ 105, 430, 354, 443 ], "score": 1.0, "content": "before the colon in the original Few-shot (multiclass) prompt.", "type": "text" } ], "index": 25 } ], "index": 20.5, "bbox_fs": [ 105, 331, 506, 443 ] }, { "type": "text", "bbox": [ 107, 447, 301, 568 ], "lines": [ { "bbox": [ 106, 447, 303, 459 ], "spans": [ { "bbox": [ 106, 447, 303, 459 ], "score": 1.0, "content": "Results are shown in Table 7. We find that", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 457, 303, 472 ], "spans": [ { "bbox": [ 105, 457, 303, 472 ], "score": 1.0, "content": "GLM-130B outperforms two other LLMs among", "type": "text" } ], "index": 27 }, { "bbox": [ 106, 469, 302, 481 ], "spans": [ { "bbox": [ 106, 469, 302, 481 ], "score": 1.0, "content": "four different settings. On one hand, GLM-", "type": "text" } ], "index": 28 }, { "bbox": [ 106, 480, 302, 493 ], "spans": [ { "bbox": [ 106, 480, 302, 493 ], "score": 1.0, "content": "130B’s pre-training over unsupervised diverse", "type": "text" } ], "index": 29 }, { "bbox": [ 106, 492, 302, 502 ], "spans": [ { "bbox": [ 106, 492, 302, 502 ], "score": 1.0, "content": "corpora from online forums and social media in-", "type": "text" } ], "index": 30 }, { "bbox": [ 106, 502, 302, 514 ], "spans": [ { "bbox": [ 106, 502, 302, 514 ], "score": 1.0, "content": "cluding sections such as “hackernews”, “stack-", "type": "text" } ], "index": 31 }, { "bbox": [ 106, 513, 303, 525 ], "spans": [ { "bbox": [ 106, 513, 303, 525 ], "score": 1.0, "content": "exchange”, and “pile_cc” can endow our model", "type": "text" } ], "index": 32 }, { "bbox": [ 106, 523, 302, 536 ], "spans": [ { "bbox": [ 106, 523, 302, 536 ], "score": 1.0, "content": "with the background knowledge to identify those", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 535, 303, 548 ], "spans": [ { "bbox": [ 105, 535, 303, 548 ], "score": 1.0, "content": "speeches. On the other hand, the MIP training", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 546, 303, 557 ], "spans": [ { "bbox": [ 105, 546, 303, 557 ], "score": 1.0, "content": "may also improve GLM-130B’s zero-shot and", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 557, 194, 569 ], "spans": [ { "bbox": [ 106, 557, 194, 569 ], "score": 1.0, "content": "few-shot capabilities.", "type": "text" } ], "index": 36 } ], "index": 31, "bbox_fs": [ 105, 447, 303, 569 ] }, { "type": "text", "bbox": [ 309, 447, 504, 491 ], "lines": [ { "bbox": [ 308, 446, 505, 459 ], "spans": [ { "bbox": [ 308, 446, 505, 459 ], "score": 1.0, "content": "Table 7: ETHOS (Mollas et al., 2020) Hate", "type": "text" } ], "index": 37 }, { "bbox": [ 308, 457, 505, 470 ], "spans": [ { "bbox": [ 308, 457, 505, 470 ], "score": 1.0, "content": "speech detection. “(bi)” and “(mul)” denote bi-", "type": "text" } ], "index": 38 }, { "bbox": [ 308, 468, 505, 481 ], "spans": [ { "bbox": [ 308, 468, 505, 481 ], "score": 1.0, "content": "nary and multiclass classification respectively.", "type": "text" } ], "index": 39 }, { "bbox": [ 309, 479, 481, 492 ], "spans": [ { "bbox": [ 309, 479, 481, 492 ], "score": 1.0, "content": "All scores are F1 and the higher the better.", "type": "text" } ], "index": 40 } ], "index": 38.5, "bbox_fs": [ 308, 446, 505, 492 ] }, { "type": "table", "bbox": [ 312, 500, 500, 564 ], "blocks": [ { "type": "table_body", "bbox": [ 312, 500, 500, 564 ], "group_id": 1, "lines": [ { "bbox": [ 312, 500, 500, 564 ], "spans": [ { "bbox": [ 312, 500, 500, 564 ], "score": 0.974, "html": "
GPT-3OPT-175BGLM-130B
Zero-shot66.768.8
One-shot71.379.1
Few-shot (bi)75.979.7
35.4 Few-shot (mul) 67.281.285.8
", "type": "table", "image_path": "eed18b33148c91c98f80a02a48e8ded0d8e6111e7a94a7db61a719b27f8d3380.jpg" } ] } ], "index": 42.5, "virtual_lines": [ { "bbox": [ 312, 500, 500, 516.0 ], "spans": [], "index": 41 }, { "bbox": [ 312, 516.0, 500, 532.0 ], "spans": [], "index": 42 }, { "bbox": [ 312, 532.0, 500, 548.0 ], "spans": [], "index": 43 }, { "bbox": [ 312, 548.0, 500, 564.0 ], "spans": [], "index": 44 } ] } ], "index": 42.5 }, { "type": "title", "bbox": [ 107, 582, 325, 593 ], "lines": [ { "bbox": [ 106, 581, 326, 595 ], "spans": [ { "bbox": [ 106, 581, 326, 595 ], "score": 1.0, "content": "A.4 TOXIC GENEARATION: REALTOXICPROMPTS", "type": "text" } ], "index": 45 } ], "index": 45 }, { "type": "text", "bbox": [ 107, 603, 324, 713 ], "lines": [ { "bbox": [ 105, 601, 325, 615 ], "spans": [ { "bbox": [ 105, 601, 325, 615 ], "score": 1.0, "content": "Evaluating the toxicity of generation by given prompts", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 614, 325, 625 ], "spans": [ { "bbox": [ 105, 614, 325, 625 ], "score": 1.0, "content": "is an important part of a model’s safe deployment. We", "type": "text" } ], "index": 47 }, { "bbox": [ 105, 624, 325, 636 ], "spans": [ { "bbox": [ 105, 624, 325, 636 ], "score": 1.0, "content": "evaluate the toxic generation of GLM-130B on the Re-", "type": "text" } ], "index": 48 }, { "bbox": [ 105, 636, 325, 647 ], "spans": [ { "bbox": [ 105, 636, 325, 647 ], "score": 1.0, "content": "alToxicPrompts (Gehman et al., 2020) dataset. Fol-", "type": "text" } ], "index": 49 }, { "bbox": [ 105, 646, 325, 659 ], "spans": [ { "bbox": [ 105, 646, 286, 659 ], "score": 1.0, "content": "lowing its settings, we use nucleus sampling", "type": "text" }, { "bbox": [ 286, 646, 321, 658 ], "score": 0.84, "content": "( p = 0 . 9 ", "type": "inline_equation" }, { "bbox": [ 322, 646, 325, 659 ], "score": 1.0, "content": ")", "type": "text" } ], "index": 50 }, { "bbox": [ 105, 657, 325, 669 ], "spans": [ { "bbox": [ 105, 657, 325, 669 ], "score": 1.0, "content": "to generate 25 continuations for each of the 10K ran-", "type": "text" } ], "index": 51 }, { "bbox": [ 105, 668, 325, 680 ], "spans": [ { "bbox": [ 105, 668, 325, 680 ], "score": 1.0, "content": "dom sampled prompts, limiting the maximum gener-", "type": "text" } ], "index": 52 }, { "bbox": [ 106, 679, 325, 691 ], "spans": [ { "bbox": [ 106, 679, 325, 691 ], "score": 1.0, "content": "ated length to 128 tokens. Then we report the mean", "type": "text" } ], "index": 53 }, { "bbox": [ 106, 690, 325, 702 ], "spans": [ { "bbox": [ 106, 690, 325, 702 ], "score": 1.0, "content": "toxicity probabilities of 25 continuations evaluated by", "type": "text" } ], "index": 54 }, { "bbox": [ 105, 700, 325, 714 ], "spans": [ { "bbox": [ 105, 700, 155, 714 ], "score": 1.0, "content": "Perspective", "type": "text" }, { "bbox": [ 155, 701, 176, 712 ], "score": 0.62, "content": "\\mathrm { A P I } ^ { 3 }", "type": "inline_equation" }, { "bbox": [ 176, 700, 325, 714 ], "score": 1.0, "content": ". In order to make a fair comparison", "type": "text" } ], "index": 55 } ], "index": 50.5, "bbox_fs": [ 105, 601, 325, 714 ] }, { "type": "image", "bbox": [ 333, 579, 504, 692 ], "blocks": [ { "type": "image_body", "bbox": [ 333, 579, 504, 692 ], "group_id": 0, "lines": [ { "bbox": [ 333, 579, 504, 692 ], "spans": [ { "bbox": [ 333, 579, 504, 692 ], "score": 0.97, "type": "image", "image_path": "08773a74b3cd771639013ca94c05ccd8eeccf3abb07ec9d9a9a95bd17e6f5871.jpg" } ] } ], "index": 59.5, "virtual_lines": [ { "bbox": [ 333, 579, 504, 593.125 ], "spans": [], "index": 56 }, { "bbox": [ 333, 593.125, 504, 607.25 ], "spans": [], "index": 57 }, { "bbox": [ 333, 607.25, 504, 621.375 ], "spans": [], "index": 58 }, { "bbox": [ 333, 621.375, 504, 635.5 ], "spans": [], "index": 59 }, { "bbox": [ 333, 635.5, 504, 649.625 ], "spans": [], "index": 60 }, { "bbox": [ 333, 649.625, 504, 663.75 ], "spans": [], "index": 61 }, { "bbox": [ 333, 663.75, 504, 677.875 ], "spans": [], "index": 62 }, { "bbox": [ 333, 677.875, 504, 692.0 ], "spans": [], "index": 63 } ] }, { "type": "image_caption", "bbox": [ 332, 700, 504, 734 ], "group_id": 0, "lines": [ { "bbox": [ 331, 699, 505, 712 ], "spans": [ { "bbox": [ 331, 699, 505, 712 ], "score": 1.0, "content": "Figure 9: RealToxicPrompts (Gehman", "type": "text" } ], "index": 64 }, { "bbox": [ 331, 711, 505, 723 ], "spans": [ { "bbox": [ 331, 711, 505, 723 ], "score": 1.0, "content": "et al., 2020) evaluation. Lower continua-", "type": "text" } ], "index": 65 }, { "bbox": [ 332, 723, 466, 734 ], "spans": [ { "bbox": [ 332, 723, 466, 734 ], "score": 1.0, "content": "tion toxicity probability is better.", "type": "text" } ], "index": 66 } ], "index": 65 } ], "index": 62.25 } ] }, { "preproc_blocks": [ { "type": "image", "bbox": [ 107, 81, 504, 378 ], "blocks": [ { "type": "image_body", "bbox": [ 107, 81, 504, 378 ], "group_id": 0, "lines": [ { "bbox": [ 107, 81, 504, 378 ], "spans": [ { "bbox": [ 107, 81, 504, 378 ], "score": 0.977, "type": "image", "image_path": "c67c925396528fc4c06822d4368a2a80da44553e5b09b35c0d856a9a9173b334.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 107, 81, 504, 180.0 ], "spans": [], "index": 0 }, { "bbox": [ 107, 180.0, 504, 279.0 ], "spans": [], "index": 1 }, { "bbox": [ 107, 279.0, 504, 378.0 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 114, 388, 494, 400 ], "group_id": 0, "lines": [ { "bbox": [ 116, 387, 494, 402 ], "spans": [ { "bbox": [ 116, 387, 494, 402 ], "score": 1.0, "content": "Figure 10: Handling training collapses and instability is the first priority when training LLMs.", "type": "text" } ], "index": 3 } ], "index": 3 } ], "index": 2.0 }, { "type": "text", "bbox": [ 107, 423, 505, 468 ], "lines": [ { "bbox": [ 105, 423, 325, 435 ], "spans": [ { "bbox": [ 105, 423, 325, 435 ], "score": 1.0, "content": "under different tokenization methods, we only report", "type": "text" } ], "index": 4 }, { "bbox": [ 106, 435, 325, 446 ], "spans": [ { "bbox": [ 106, 435, 325, 446 ], "score": 1.0, "content": "the toxicity score of the first complete sentence of a", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 446, 505, 457 ], "spans": [ { "bbox": [ 105, 446, 505, 457 ], "score": 1.0, "content": "continuation as we found that the score returned by the Perspective API seems to increase with", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 457, 173, 468 ], "spans": [ { "bbox": [ 105, 457, 173, 468 ], "score": 1.0, "content": "sentence length.", "type": "text" } ], "index": 7 } ], "index": 5.5 }, { "type": "text", "bbox": [ 107, 473, 505, 518 ], "lines": [ { "bbox": [ 105, 473, 505, 486 ], "spans": [ { "bbox": [ 105, 473, 505, 486 ], "score": 1.0, "content": "Results are shown in Figure 9. Generally, as the toxicity of the given prompt increases, the toxicity", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 483, 505, 497 ], "spans": [ { "bbox": [ 105, 483, 505, 497 ], "score": 1.0, "content": "probability of the continuation increases accordingly in both models. Compared to GPT-3 Davinci,", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 495, 506, 508 ], "spans": [ { "bbox": [ 105, 495, 506, 508 ], "score": 1.0, "content": "GLM-130B has a lower toxicity rate in all cases, indicating that GLM-130B is less prone to gener-", "type": "text" } ], "index": 10 }, { "bbox": [ 106, 507, 186, 518 ], "spans": [ { "bbox": [ 106, 507, 186, 518 ], "score": 1.0, "content": "ating toxic content.", "type": "text" } ], "index": 11 } ], "index": 9.5 }, { "type": "title", "bbox": [ 108, 535, 237, 548 ], "lines": [ { "bbox": [ 104, 534, 239, 550 ], "spans": [ { "bbox": [ 104, 534, 239, 550 ], "score": 1.0, "content": "B TECHNICAL DETAILS", "type": "text" } ], "index": 12 } ], "index": 12 }, { "type": "text", "bbox": [ 107, 561, 505, 595 ], "lines": [ { "bbox": [ 106, 562, 505, 573 ], "spans": [ { "bbox": [ 106, 562, 505, 573 ], "score": 1.0, "content": "In this section, we introduce additional details about the technical issues we have identified and", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 572, 506, 586 ], "spans": [ { "bbox": [ 105, 572, 506, 586 ], "score": 1.0, "content": "solved throughout the GLM-130B training. Along with concurrent open-source LLM efforts, we", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 583, 478, 597 ], "spans": [ { "bbox": [ 105, 583, 478, 597 ], "score": 1.0, "content": "believe that those published details could serve as great cornerstones to future LLM training.", "type": "text" } ], "index": 15 } ], "index": 14 }, { "type": "title", "bbox": [ 108, 610, 199, 621 ], "lines": [ { "bbox": [ 105, 609, 200, 623 ], "spans": [ { "bbox": [ 105, 609, 200, 623 ], "score": 1.0, "content": "B.1 TOKENIZATION", "type": "text" } ], "index": 16 } ], "index": 16 }, { "type": "text", "bbox": [ 107, 631, 505, 709 ], "lines": [ { "bbox": [ 105, 630, 505, 645 ], "spans": [ { "bbox": [ 105, 630, 505, 645 ], "score": 1.0, "content": "For the tokenization of the corpus, we implement a text tokenizer based on the package icetk with", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 643, 505, 655 ], "spans": [ { "bbox": [ 105, 643, 505, 655 ], "score": 1.0, "content": "several adjustments. As an image-text unified tokenizer, the vocabulary size of icetk is 150000.", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 652, 505, 666 ], "spans": [ { "bbox": [ 105, 652, 505, 666 ], "score": 1.0, "content": "The first 20000 tokens are image tokens and the rest are text tokens. The text tokenizer of icetk", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 664, 505, 677 ], "spans": [ { "bbox": [ 105, 664, 505, 677 ], "score": 1.0, "content": "is formulated and trained by sentencepiece4, on a 25GB bilingual corpus equally distributed with", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 675, 505, 688 ], "spans": [ { "bbox": [ 105, 675, 505, 688 ], "score": 1.0, "content": "English and Chinese contents. We divide tokens recognized by the tokenizer into four categories.", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 686, 505, 700 ], "spans": [ { "bbox": [ 106, 686, 505, 700 ], "score": 1.0, "content": "The common tokens are assigned from No.20000 to No.20099, consisting of punctuations, numbers", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 698, 505, 710 ], "spans": [ { "bbox": [ 106, 698, 505, 710 ], "score": 1.0, "content": "and spaces free of extended definition. No.20100 to No.83822 are English tokens and No.83823 to", "type": "text" } ], "index": 23 } ], "index": 20 } ], "page_idx": 22, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 119, 722, 334, 732 ], "lines": [ { "bbox": [ 119, 720, 335, 733 ], "spans": [ { "bbox": [ 119, 720, 335, 733 ], "score": 1.0, "content": "4https://github.com/google/sentencepiece", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 764 ], "spans": [ { "bbox": [ 298, 750, 313, 764 ], "score": 1.0, "content": "", "type": "text", "height": 14, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "image", "bbox": [ 107, 81, 504, 378 ], "blocks": [ { "type": "image_body", "bbox": [ 107, 81, 504, 378 ], "group_id": 0, "lines": [ { "bbox": [ 107, 81, 504, 378 ], "spans": [ { "bbox": [ 107, 81, 504, 378 ], "score": 0.977, "type": "image", "image_path": "c67c925396528fc4c06822d4368a2a80da44553e5b09b35c0d856a9a9173b334.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 107, 81, 504, 180.0 ], "spans": [], "index": 0 }, { "bbox": [ 107, 180.0, 504, 279.0 ], "spans": [], "index": 1 }, { "bbox": [ 107, 279.0, 504, 378.0 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 114, 388, 494, 400 ], "group_id": 0, "lines": [ { "bbox": [ 116, 387, 494, 402 ], "spans": [ { "bbox": [ 116, 387, 494, 402 ], "score": 1.0, "content": "Figure 10: Handling training collapses and instability is the first priority when training LLMs.", "type": "text" } ], "index": 3 } ], "index": 3 } ], "index": 2.0 }, { "type": "list", "bbox": [ 107, 423, 505, 468 ], "lines": [ { "bbox": [ 105, 423, 325, 435 ], "spans": [ { "bbox": [ 105, 423, 325, 435 ], "score": 1.0, "content": "under different tokenization methods, we only report", "type": "text" } ], "index": 4, "is_list_end_line": true }, { "bbox": [ 106, 435, 325, 446 ], "spans": [ { "bbox": [ 106, 435, 325, 446 ], "score": 1.0, "content": "the toxicity score of the first complete sentence of a", "type": "text" } ], "index": 5, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 105, 446, 505, 457 ], "spans": [ { "bbox": [ 105, 446, 505, 457 ], "score": 1.0, "content": "continuation as we found that the score returned by the Perspective API seems to increase with", "type": "text" } ], "index": 6, "is_list_start_line": true }, { "bbox": [ 105, 457, 173, 468 ], "spans": [ { "bbox": [ 105, 457, 173, 468 ], "score": 1.0, "content": "sentence length.", "type": "text" } ], "index": 7, "is_list_end_line": true } ], "index": 5.5, "bbox_fs": [ 105, 423, 505, 468 ] }, { "type": "text", "bbox": [ 107, 473, 505, 518 ], "lines": [ { "bbox": [ 105, 473, 505, 486 ], "spans": [ { "bbox": [ 105, 473, 505, 486 ], "score": 1.0, "content": "Results are shown in Figure 9. Generally, as the toxicity of the given prompt increases, the toxicity", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 483, 505, 497 ], "spans": [ { "bbox": [ 105, 483, 505, 497 ], "score": 1.0, "content": "probability of the continuation increases accordingly in both models. Compared to GPT-3 Davinci,", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 495, 506, 508 ], "spans": [ { "bbox": [ 105, 495, 506, 508 ], "score": 1.0, "content": "GLM-130B has a lower toxicity rate in all cases, indicating that GLM-130B is less prone to gener-", "type": "text" } ], "index": 10 }, { "bbox": [ 106, 507, 186, 518 ], "spans": [ { "bbox": [ 106, 507, 186, 518 ], "score": 1.0, "content": "ating toxic content.", "type": "text" } ], "index": 11 } ], "index": 9.5, "bbox_fs": [ 105, 473, 506, 518 ] }, { "type": "title", "bbox": [ 108, 535, 237, 548 ], "lines": [ { "bbox": [ 104, 534, 239, 550 ], "spans": [ { "bbox": [ 104, 534, 239, 550 ], "score": 1.0, "content": "B TECHNICAL DETAILS", "type": "text" } ], "index": 12 } ], "index": 12 }, { "type": "text", "bbox": [ 107, 561, 505, 595 ], "lines": [ { "bbox": [ 106, 562, 505, 573 ], "spans": [ { "bbox": [ 106, 562, 505, 573 ], "score": 1.0, "content": "In this section, we introduce additional details about the technical issues we have identified and", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 572, 506, 586 ], "spans": [ { "bbox": [ 105, 572, 506, 586 ], "score": 1.0, "content": "solved throughout the GLM-130B training. Along with concurrent open-source LLM efforts, we", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 583, 478, 597 ], "spans": [ { "bbox": [ 105, 583, 478, 597 ], "score": 1.0, "content": "believe that those published details could serve as great cornerstones to future LLM training.", "type": "text" } ], "index": 15 } ], "index": 14, "bbox_fs": [ 105, 562, 506, 597 ] }, { "type": "title", "bbox": [ 108, 610, 199, 621 ], "lines": [ { "bbox": [ 105, 609, 200, 623 ], "spans": [ { "bbox": [ 105, 609, 200, 623 ], "score": 1.0, "content": "B.1 TOKENIZATION", "type": "text" } ], "index": 16 } ], "index": 16 }, { "type": "text", "bbox": [ 107, 631, 505, 709 ], "lines": [ { "bbox": [ 105, 630, 505, 645 ], "spans": [ { "bbox": [ 105, 630, 505, 645 ], "score": 1.0, "content": "For the tokenization of the corpus, we implement a text tokenizer based on the package icetk with", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 643, 505, 655 ], "spans": [ { "bbox": [ 105, 643, 505, 655 ], "score": 1.0, "content": "several adjustments. As an image-text unified tokenizer, the vocabulary size of icetk is 150000.", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 652, 505, 666 ], "spans": [ { "bbox": [ 105, 652, 505, 666 ], "score": 1.0, "content": "The first 20000 tokens are image tokens and the rest are text tokens. The text tokenizer of icetk", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 664, 505, 677 ], "spans": [ { "bbox": [ 105, 664, 505, 677 ], "score": 1.0, "content": "is formulated and trained by sentencepiece4, on a 25GB bilingual corpus equally distributed with", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 675, 505, 688 ], "spans": [ { "bbox": [ 105, 675, 505, 688 ], "score": 1.0, "content": "English and Chinese contents. We divide tokens recognized by the tokenizer into four categories.", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 686, 505, 700 ], "spans": [ { "bbox": [ 106, 686, 505, 700 ], "score": 1.0, "content": "The common tokens are assigned from No.20000 to No.20099, consisting of punctuations, numbers", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 698, 505, 710 ], "spans": [ { "bbox": [ 106, 698, 505, 710 ], "score": 1.0, "content": "and spaces free of extended definition. No.20100 to No.83822 are English tokens and No.83823 to", "type": "text" } ], "index": 23 } ], "index": 20, "bbox_fs": [ 105, 630, 505, 710 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 106, 82, 503, 105 ], "lines": [ { "bbox": [ 106, 82, 505, 95 ], "spans": [ { "bbox": [ 106, 82, 505, 95 ], "score": 1.0, "content": "No.145653 are Chinese tokens. Tokens after No.145653 are other special tokens including concate-", "type": "text" } ], "index": 0 }, { "bbox": [ 106, 93, 334, 106 ], "spans": [ { "bbox": [ 106, 93, 334, 106 ], "score": 1.0, "content": "nated punctuations and pieces from other languages, etc.", "type": "text" } ], "index": 1 } ], "index": 0.5 }, { "type": "text", "bbox": [ 107, 110, 504, 165 ], "lines": [ { "bbox": [ 105, 110, 506, 123 ], "spans": [ { "bbox": [ 105, 110, 506, 123 ], "score": 1.0, "content": "During our implementation, We ignore the first 20000 image tokens and simply utilize the latter", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 120, 505, 133 ], "spans": [ { "bbox": [ 106, 120, 505, 133 ], "score": 1.0, "content": "130000 intended for text tokenization. we disable the ignoring of linebreak to tokenize the line-", "type": "text" } ], "index": 3 }, { "bbox": [ 106, 131, 505, 145 ], "spans": [ { "bbox": [ 106, 131, 259, 145 ], "score": 1.0, "content": "break mark \\n into No. 20004 token", "type": "text" }, { "bbox": [ 259, 133, 279, 143 ], "score": 0.65, "content": "< \\mathrm { n } >", "type": "inline_equation" }, { "bbox": [ 279, 131, 505, 145 ], "score": 1.0, "content": ". On the basis of inherent tokens, we add special tokens", "type": "text" } ], "index": 4 }, { "bbox": [ 107, 142, 505, 157 ], "spans": [ { "bbox": [ 107, 142, 403, 157 ], "score": 1.0, "content": "[MASK] and [gMASK] for model prediction. We also add special tokens", "type": "text" }, { "bbox": [ 403, 145, 434, 155 ], "score": 0.49, "content": "{ < S \\mathrm { O p } > }", "type": "inline_equation" }, { "bbox": [ 434, 142, 505, 157 ], "score": 1.0, "content": ", , ", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 154, 253, 167 ], "spans": [ { "bbox": [ 105, 154, 253, 167 ], "score": 1.0, "content": "for sentence and passage separation.", "type": "text" } ], "index": 6 } ], "index": 4 }, { "type": "title", "bbox": [ 107, 178, 239, 190 ], "lines": [ { "bbox": [ 105, 177, 240, 192 ], "spans": [ { "bbox": [ 105, 177, 240, 192 ], "score": 1.0, "content": "B.2 LAYER NORMALIZATION", "type": "text" } ], "index": 7 } ], "index": 7 }, { "type": "text", "bbox": [ 106, 199, 504, 222 ], "lines": [ { "bbox": [ 106, 199, 505, 212 ], "spans": [ { "bbox": [ 106, 199, 505, 212 ], "score": 1.0, "content": "Here we briefly introduce the history of layer normalization in language modeling problems, and", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 211, 479, 222 ], "spans": [ { "bbox": [ 106, 211, 479, 222 ], "score": 1.0, "content": "how its variants perform in recent LLMs including our experiments for them on GLM-130B.", "type": "text" } ], "index": 9 } ], "index": 8.5 }, { "type": "text", "bbox": [ 107, 227, 505, 272 ], "lines": [ { "bbox": [ 105, 227, 506, 240 ], "spans": [ { "bbox": [ 105, 227, 506, 240 ], "score": 1.0, "content": "Post-LN (Vaswani et al., 2017). Post-LN is jointly proposed with the transformer architecture and is", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 238, 505, 250 ], "spans": [ { "bbox": [ 105, 238, 505, 250 ], "score": 1.0, "content": "placed between the residual blocks. It is then adopted by BERT (Devlin et al., 2019) for bidirectional", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 249, 506, 261 ], "spans": [ { "bbox": [ 105, 249, 506, 261 ], "score": 1.0, "content": "language model pre-training. Nevertheless, Post-LN was later accused of transformers’ slow and", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 260, 440, 273 ], "spans": [ { "bbox": [ 105, 260, 440, 273 ], "score": 1.0, "content": "vulnerable converging (Xiong et al., 2020) and the Pre-LN emerged as a substitute.", "type": "text" } ], "index": 13 } ], "index": 11.5 }, { "type": "text", "bbox": [ 106, 277, 505, 344 ], "lines": [ { "bbox": [ 105, 276, 505, 289 ], "spans": [ { "bbox": [ 105, 276, 505, 289 ], "score": 1.0, "content": "Pre-LN (Xiong et al., 2020). On the contrary, Pre-LN is located in the residual blocks to reduce", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 288, 505, 300 ], "spans": [ { "bbox": [ 105, 288, 505, 300 ], "score": 1.0, "content": "exploding gradients and becomes dominant in existing language models, including all recent LLMs.", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 299, 505, 312 ], "spans": [ { "bbox": [ 105, 299, 505, 312 ], "score": 1.0, "content": "However, OPT-175B (Zhang et al., 2022), BLOOM (Scao et al., 2022), and text-to-image model", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 309, 506, 324 ], "spans": [ { "bbox": [ 105, 309, 506, 324 ], "score": 1.0, "content": "CogView Ding et al. (2021) later observe that Pre-LN is still unable to handle the vulnerable training", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 321, 505, 333 ], "spans": [ { "bbox": [ 106, 321, 505, 333 ], "score": 1.0, "content": "when models scale up to 100B or meet multi-modal data. This is also justified in GLM-130B’s", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 331, 454, 345 ], "spans": [ { "bbox": [ 105, 331, 454, 345 ], "score": 1.0, "content": "preliminary experiments, where Pre-LN consistently crashes in its early stage training.", "type": "text" } ], "index": 19 } ], "index": 16.5 }, { "type": "text", "bbox": [ 105, 348, 502, 371 ], "lines": [ { "bbox": [ 106, 348, 503, 360 ], "spans": [ { "bbox": [ 106, 348, 503, 360 ], "score": 1.0, "content": "Additionally, another problem rooted in Pre-LN transformers is that it may harm the model perfor-", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 360, 422, 372 ], "spans": [ { "bbox": [ 105, 360, 422, 372 ], "score": 1.0, "content": "mance after tuning compared to Post-LN. This is observed in (He et al., 2021).", "type": "text" } ], "index": 21 } ], "index": 20.5 }, { "type": "text", "bbox": [ 106, 376, 505, 443 ], "lines": [ { "bbox": [ 106, 376, 505, 389 ], "spans": [ { "bbox": [ 106, 376, 505, 389 ], "score": 1.0, "content": "Sandwich-LN (Ding et al., 2021). As a remedy, on top of Pre-LN, CogView (later in Norm-", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 388, 505, 399 ], "spans": [ { "bbox": [ 106, 388, 505, 399 ], "score": 1.0, "content": "former (Shleifer et al., 2021)) develops Sandwich-LN which appends extra normalization to the", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 398, 505, 411 ], "spans": [ { "bbox": [ 105, 398, 505, 411 ], "score": 1.0, "content": "end of each residual branch. Accompanied with PB-Relax (Precision-Bottleneck Relaxation) tech-", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 410, 505, 423 ], "spans": [ { "bbox": [ 106, 410, 505, 423 ], "score": 1.0, "content": "niques, they stabilize the training of a 4-billion text-to-image generation model. Despite its superi-", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 420, 505, 433 ], "spans": [ { "bbox": [ 106, 420, 505, 433 ], "score": 1.0, "content": "ority over Pre-LN, sadly Sandwich-LN is also proved to collapse in GLM-130B training; let alone", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 433, 434, 444 ], "spans": [ { "bbox": [ 106, 433, 434, 444 ], "score": 1.0, "content": "the potential consequent weaker tuning performance caused by its Pre-LN nature.", "type": "text" } ], "index": 27 } ], "index": 24.5 }, { "type": "title", "bbox": [ 106, 456, 375, 468 ], "lines": [ { "bbox": [ 106, 456, 376, 469 ], "spans": [ { "bbox": [ 106, 456, 376, 469 ], "score": 1.0, "content": "B.3 POSITIONAL ENCODING AND FEED-FORWARD NETWORK", "type": "text" } ], "index": 28 } ], "index": 28 }, { "type": "text", "bbox": [ 106, 477, 505, 532 ], "lines": [ { "bbox": [ 105, 476, 505, 489 ], "spans": [ { "bbox": [ 105, 476, 505, 489 ], "score": 1.0, "content": "Positional Encoding Vanilla transformer adopts absolute (or sinuous) position encoding, and is", "type": "text" } ], "index": 29 }, { "bbox": [ 106, 488, 505, 500 ], "spans": [ { "bbox": [ 106, 488, 505, 500 ], "score": 1.0, "content": "later evolved into relative positional encoding (Dai et al., 2019). Relative PEs can capture word", "type": "text" } ], "index": 30 }, { "bbox": [ 106, 499, 504, 511 ], "spans": [ { "bbox": [ 106, 499, 504, 511 ], "score": 1.0, "content": "relevance better than absolute positional encoding. Rotary Positional Embedding (RoPE) (Su et al.,", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 509, 505, 523 ], "spans": [ { "bbox": [ 105, 509, 505, 523 ], "score": 1.0, "content": "2021) is a relative position encoding implemented in the form of absolute position encoding, and its", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 521, 287, 533 ], "spans": [ { "bbox": [ 105, 521, 287, 533 ], "score": 1.0, "content": "core idea is shown in the following equation.", "type": "text" } ], "index": 33 } ], "index": 31 }, { "type": "interline_equation", "bbox": [ 213, 537, 398, 553 ], "lines": [ { "bbox": [ 213, 537, 398, 553 ], "spans": [ { "bbox": [ 213, 537, 398, 553 ], "score": 0.92, "content": "\\left( \\pmb { R _ { m } q } \\right) ^ { \\top } \\left( \\pmb { R _ { n } k } \\right) = q ^ { \\top } \\pmb { R _ { m } ^ { \\top } \\pmb { R _ { n } k } } = q ^ { \\top } \\pmb { R _ { n - m } k }", "type": "interline_equation", "image_path": "7c39b448c929c0ce05529312005fb62c9869e153cab7f74f6aa516197f78ccb3.jpg" } ] } ], "index": 34, "virtual_lines": [ { "bbox": [ 213, 537, 398, 553 ], "spans": [], "index": 34 } ] }, { "type": "text", "bbox": [ 105, 564, 504, 587 ], "lines": [ { "bbox": [ 106, 564, 505, 577 ], "spans": [ { "bbox": [ 106, 564, 168, 577 ], "score": 1.0, "content": "The product of", "type": "text" }, { "bbox": [ 168, 567, 175, 576 ], "score": 0.8, "content": "q", "type": "inline_equation" }, { "bbox": [ 175, 564, 220, 577 ], "score": 1.0, "content": "at position", "type": "text" }, { "bbox": [ 220, 567, 230, 574 ], "score": 0.78, "content": "m", "type": "inline_equation" }, { "bbox": [ 231, 564, 248, 577 ], "score": 1.0, "content": "and", "type": "text" }, { "bbox": [ 249, 565, 255, 574 ], "score": 0.84, "content": "k", "type": "inline_equation" }, { "bbox": [ 256, 564, 300, 577 ], "score": 1.0, "content": "at position", "type": "text" }, { "bbox": [ 301, 567, 308, 574 ], "score": 0.78, "content": "n", "type": "inline_equation" }, { "bbox": [ 309, 564, 415, 577 ], "score": 1.0, "content": "is related to their distance", "type": "text" }, { "bbox": [ 415, 566, 443, 575 ], "score": 0.88, "content": "n - m", "type": "inline_equation" }, { "bbox": [ 443, 564, 505, 577 ], "score": 1.0, "content": ", which reflects", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 575, 440, 588 ], "spans": [ { "bbox": [ 106, 575, 331, 588 ], "score": 1.0, "content": "the relativity of the position encoding. The definition of", "type": "text" }, { "bbox": [ 331, 576, 341, 585 ], "score": 0.82, "content": "\\pmb { R }", "type": "inline_equation" }, { "bbox": [ 342, 575, 440, 588 ], "score": 1.0, "content": "in the above equation is", "type": "text" } ], "index": 36 } ], "index": 35.5 }, { "type": "interline_equation", "bbox": [ 111, 591, 488, 682 ], "lines": [ { "bbox": [ 112, 591, 488, 682 ], "spans": [ { "bbox": [ 112, 591, 488, 682 ], "score": 0.94, "content": "\\pmb { R _ { \\theta , m } ^ { d } } = \\left( \\begin{array} { c c c c c c c c } { \\cos m \\theta _ { 1 } } & { - \\sin m \\theta _ { 1 } } & { 0 } & { 0 } & { \\cdots } & { 0 } & { 0 } \\\\ { \\sin m \\theta _ { 1 } } & { \\cos m \\theta _ { 1 } } & { 0 } & { 0 } & { \\cdots } & { 0 } & { 0 } \\\\ { 0 } & { 0 } & { \\cos m \\theta _ { 2 } } & { - \\sin m \\theta _ { 2 } } & { \\cdots } & { 0 } & { 0 } \\\\ { 0 } & { 0 } & { \\sin m \\theta _ { 2 } } & { \\cos m \\theta _ { 2 } } & { \\cdots } & { 0 } & { 0 } \\\\ { \\vdots } & { \\vdots } & { \\vdots } & { \\vdots } & { \\ddots } & { \\vdots } & { \\vdots } \\\\ { 0 } & { 0 } & { 0 } & { 0 } & { \\cdots } & { \\cos m \\theta _ { d / 2 } } & { - \\sin m \\theta _ { d / 2 } } \\\\ { 0 } & { 0 } & { 0 } & { 0 } & { \\cdots } & { \\sin m \\theta _ { d / 2 } } & { \\cos m \\theta _ { d / 2 } } \\end{array} \\right) .", "type": "interline_equation", "image_path": "15bfbab5f50ac332839b347a3ee762c3b49ac9e470a27caf5cbea359ec1d77a1.jpg" } ] } ], "index": 38, "virtual_lines": [ { "bbox": [ 111, 591, 488, 621.3333333333334 ], "spans": [], "index": 37 }, { "bbox": [ 111, 621.3333333333334, 488, 651.6666666666667 ], "spans": [], "index": 38 }, { "bbox": [ 111, 651.6666666666667, 488, 682.0000000000001 ], "spans": [], "index": 39 } ] }, { "type": "text", "bbox": [ 107, 691, 386, 703 ], "lines": [ { "bbox": [ 106, 690, 386, 704 ], "spans": [ { "bbox": [ 106, 690, 317, 704 ], "score": 1.0, "content": "To allow its value to decay as the distance increases,", "type": "text" }, { "bbox": [ 318, 692, 324, 701 ], "score": 0.83, "content": "\\theta", "type": "inline_equation" }, { "bbox": [ 324, 690, 386, 704 ], "score": 1.0, "content": "takes the value", "type": "text" } ], "index": 40 } ], "index": 40 }, { "type": "interline_equation", "bbox": [ 207, 708, 403, 736 ], "lines": [ { "bbox": [ 207, 708, 403, 736 ], "spans": [ { "bbox": [ 207, 708, 403, 736 ], "score": 0.92, "content": "\\theta = \\left. \\theta _ { i } = 1 0 0 0 0 ^ { \\frac { - 2 ( i - 1 ) } { d } } , \\quad i \\in \\left[ 1 , 2 , \\cdots , { \\frac { d } { 2 } } \\right] \\right.", "type": "interline_equation", "image_path": "b021461a2b5904156e6410fd967e6010763dcac7ad5bc405b2f767265ae20292.jpg" } ] } ], "index": 41.5, "virtual_lines": [ { "bbox": [ 207, 708, 403, 722.0 ], "spans": [], "index": 41 }, { "bbox": [ 207, 722.0, 403, 736.0 ], "spans": [], "index": 42 } ] } ], "page_idx": 23, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 765 ], "spans": [ { "bbox": [ 298, 750, 313, 765 ], "score": 1.0, "content": "", "type": "text", "height": 15, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 106, 82, 503, 105 ], "lines": [ { "bbox": [ 106, 82, 505, 95 ], "spans": [ { "bbox": [ 106, 82, 505, 95 ], "score": 1.0, "content": "No.145653 are Chinese tokens. Tokens after No.145653 are other special tokens including concate-", "type": "text" } ], "index": 0 }, { "bbox": [ 106, 93, 334, 106 ], "spans": [ { "bbox": [ 106, 93, 334, 106 ], "score": 1.0, "content": "nated punctuations and pieces from other languages, etc.", "type": "text" } ], "index": 1 } ], "index": 0.5, "bbox_fs": [ 106, 82, 505, 106 ] }, { "type": "text", "bbox": [ 107, 110, 504, 165 ], "lines": [ { "bbox": [ 105, 110, 506, 123 ], "spans": [ { "bbox": [ 105, 110, 506, 123 ], "score": 1.0, "content": "During our implementation, We ignore the first 20000 image tokens and simply utilize the latter", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 120, 505, 133 ], "spans": [ { "bbox": [ 106, 120, 505, 133 ], "score": 1.0, "content": "130000 intended for text tokenization. we disable the ignoring of linebreak to tokenize the line-", "type": "text" } ], "index": 3 }, { "bbox": [ 106, 131, 505, 145 ], "spans": [ { "bbox": [ 106, 131, 259, 145 ], "score": 1.0, "content": "break mark \\n into No. 20004 token", "type": "text" }, { "bbox": [ 259, 133, 279, 143 ], "score": 0.65, "content": "< \\mathrm { n } >", "type": "inline_equation" }, { "bbox": [ 279, 131, 505, 145 ], "score": 1.0, "content": ". On the basis of inherent tokens, we add special tokens", "type": "text" } ], "index": 4 }, { "bbox": [ 107, 142, 505, 157 ], "spans": [ { "bbox": [ 107, 142, 403, 157 ], "score": 1.0, "content": "[MASK] and [gMASK] for model prediction. We also add special tokens", "type": "text" }, { "bbox": [ 403, 145, 434, 155 ], "score": 0.49, "content": "{ < S \\mathrm { O p } > }", "type": "inline_equation" }, { "bbox": [ 434, 142, 505, 157 ], "score": 1.0, "content": ", , ", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 154, 253, 167 ], "spans": [ { "bbox": [ 105, 154, 253, 167 ], "score": 1.0, "content": "for sentence and passage separation.", "type": "text" } ], "index": 6 } ], "index": 4, "bbox_fs": [ 105, 110, 506, 167 ] }, { "type": "title", "bbox": [ 107, 178, 239, 190 ], "lines": [ { "bbox": [ 105, 177, 240, 192 ], "spans": [ { "bbox": [ 105, 177, 240, 192 ], "score": 1.0, "content": "B.2 LAYER NORMALIZATION", "type": "text" } ], "index": 7 } ], "index": 7 }, { "type": "text", "bbox": [ 106, 199, 504, 222 ], "lines": [ { "bbox": [ 106, 199, 505, 212 ], "spans": [ { "bbox": [ 106, 199, 505, 212 ], "score": 1.0, "content": "Here we briefly introduce the history of layer normalization in language modeling problems, and", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 211, 479, 222 ], "spans": [ { "bbox": [ 106, 211, 479, 222 ], "score": 1.0, "content": "how its variants perform in recent LLMs including our experiments for them on GLM-130B.", "type": "text" } ], "index": 9 } ], "index": 8.5, "bbox_fs": [ 106, 199, 505, 222 ] }, { "type": "text", "bbox": [ 107, 227, 505, 272 ], "lines": [ { "bbox": [ 105, 227, 506, 240 ], "spans": [ { "bbox": [ 105, 227, 506, 240 ], "score": 1.0, "content": "Post-LN (Vaswani et al., 2017). Post-LN is jointly proposed with the transformer architecture and is", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 238, 505, 250 ], "spans": [ { "bbox": [ 105, 238, 505, 250 ], "score": 1.0, "content": "placed between the residual blocks. It is then adopted by BERT (Devlin et al., 2019) for bidirectional", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 249, 506, 261 ], "spans": [ { "bbox": [ 105, 249, 506, 261 ], "score": 1.0, "content": "language model pre-training. Nevertheless, Post-LN was later accused of transformers’ slow and", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 260, 440, 273 ], "spans": [ { "bbox": [ 105, 260, 440, 273 ], "score": 1.0, "content": "vulnerable converging (Xiong et al., 2020) and the Pre-LN emerged as a substitute.", "type": "text" } ], "index": 13 } ], "index": 11.5, "bbox_fs": [ 105, 227, 506, 273 ] }, { "type": "text", "bbox": [ 106, 277, 505, 344 ], "lines": [ { "bbox": [ 105, 276, 505, 289 ], "spans": [ { "bbox": [ 105, 276, 505, 289 ], "score": 1.0, "content": "Pre-LN (Xiong et al., 2020). On the contrary, Pre-LN is located in the residual blocks to reduce", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 288, 505, 300 ], "spans": [ { "bbox": [ 105, 288, 505, 300 ], "score": 1.0, "content": "exploding gradients and becomes dominant in existing language models, including all recent LLMs.", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 299, 505, 312 ], "spans": [ { "bbox": [ 105, 299, 505, 312 ], "score": 1.0, "content": "However, OPT-175B (Zhang et al., 2022), BLOOM (Scao et al., 2022), and text-to-image model", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 309, 506, 324 ], "spans": [ { "bbox": [ 105, 309, 506, 324 ], "score": 1.0, "content": "CogView Ding et al. (2021) later observe that Pre-LN is still unable to handle the vulnerable training", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 321, 505, 333 ], "spans": [ { "bbox": [ 106, 321, 505, 333 ], "score": 1.0, "content": "when models scale up to 100B or meet multi-modal data. This is also justified in GLM-130B’s", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 331, 454, 345 ], "spans": [ { "bbox": [ 105, 331, 454, 345 ], "score": 1.0, "content": "preliminary experiments, where Pre-LN consistently crashes in its early stage training.", "type": "text" } ], "index": 19 } ], "index": 16.5, "bbox_fs": [ 105, 276, 506, 345 ] }, { "type": "text", "bbox": [ 105, 348, 502, 371 ], "lines": [ { "bbox": [ 106, 348, 503, 360 ], "spans": [ { "bbox": [ 106, 348, 503, 360 ], "score": 1.0, "content": "Additionally, another problem rooted in Pre-LN transformers is that it may harm the model perfor-", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 360, 422, 372 ], "spans": [ { "bbox": [ 105, 360, 422, 372 ], "score": 1.0, "content": "mance after tuning compared to Post-LN. This is observed in (He et al., 2021).", "type": "text" } ], "index": 21 } ], "index": 20.5, "bbox_fs": [ 105, 348, 503, 372 ] }, { "type": "text", "bbox": [ 106, 376, 505, 443 ], "lines": [ { "bbox": [ 106, 376, 505, 389 ], "spans": [ { "bbox": [ 106, 376, 505, 389 ], "score": 1.0, "content": "Sandwich-LN (Ding et al., 2021). As a remedy, on top of Pre-LN, CogView (later in Norm-", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 388, 505, 399 ], "spans": [ { "bbox": [ 106, 388, 505, 399 ], "score": 1.0, "content": "former (Shleifer et al., 2021)) develops Sandwich-LN which appends extra normalization to the", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 398, 505, 411 ], "spans": [ { "bbox": [ 105, 398, 505, 411 ], "score": 1.0, "content": "end of each residual branch. Accompanied with PB-Relax (Precision-Bottleneck Relaxation) tech-", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 410, 505, 423 ], "spans": [ { "bbox": [ 106, 410, 505, 423 ], "score": 1.0, "content": "niques, they stabilize the training of a 4-billion text-to-image generation model. Despite its superi-", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 420, 505, 433 ], "spans": [ { "bbox": [ 106, 420, 505, 433 ], "score": 1.0, "content": "ority over Pre-LN, sadly Sandwich-LN is also proved to collapse in GLM-130B training; let alone", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 433, 434, 444 ], "spans": [ { "bbox": [ 106, 433, 434, 444 ], "score": 1.0, "content": "the potential consequent weaker tuning performance caused by its Pre-LN nature.", "type": "text" } ], "index": 27 } ], "index": 24.5, "bbox_fs": [ 105, 376, 505, 444 ] }, { "type": "title", "bbox": [ 106, 456, 375, 468 ], "lines": [ { "bbox": [ 106, 456, 376, 469 ], "spans": [ { "bbox": [ 106, 456, 376, 469 ], "score": 1.0, "content": "B.3 POSITIONAL ENCODING AND FEED-FORWARD NETWORK", "type": "text" } ], "index": 28 } ], "index": 28 }, { "type": "text", "bbox": [ 106, 477, 505, 532 ], "lines": [ { "bbox": [ 105, 476, 505, 489 ], "spans": [ { "bbox": [ 105, 476, 505, 489 ], "score": 1.0, "content": "Positional Encoding Vanilla transformer adopts absolute (or sinuous) position encoding, and is", "type": "text" } ], "index": 29 }, { "bbox": [ 106, 488, 505, 500 ], "spans": [ { "bbox": [ 106, 488, 505, 500 ], "score": 1.0, "content": "later evolved into relative positional encoding (Dai et al., 2019). Relative PEs can capture word", "type": "text" } ], "index": 30 }, { "bbox": [ 106, 499, 504, 511 ], "spans": [ { "bbox": [ 106, 499, 504, 511 ], "score": 1.0, "content": "relevance better than absolute positional encoding. Rotary Positional Embedding (RoPE) (Su et al.,", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 509, 505, 523 ], "spans": [ { "bbox": [ 105, 509, 505, 523 ], "score": 1.0, "content": "2021) is a relative position encoding implemented in the form of absolute position encoding, and its", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 521, 287, 533 ], "spans": [ { "bbox": [ 105, 521, 287, 533 ], "score": 1.0, "content": "core idea is shown in the following equation.", "type": "text" } ], "index": 33 } ], "index": 31, "bbox_fs": [ 105, 476, 505, 533 ] }, { "type": "interline_equation", "bbox": [ 213, 537, 398, 553 ], "lines": [ { "bbox": [ 213, 537, 398, 553 ], "spans": [ { "bbox": [ 213, 537, 398, 553 ], "score": 0.92, "content": "\\left( \\pmb { R _ { m } q } \\right) ^ { \\top } \\left( \\pmb { R _ { n } k } \\right) = q ^ { \\top } \\pmb { R _ { m } ^ { \\top } \\pmb { R _ { n } k } } = q ^ { \\top } \\pmb { R _ { n - m } k }", "type": "interline_equation", "image_path": "7c39b448c929c0ce05529312005fb62c9869e153cab7f74f6aa516197f78ccb3.jpg" } ] } ], "index": 34, "virtual_lines": [ { "bbox": [ 213, 537, 398, 553 ], "spans": [], "index": 34 } ] }, { "type": "text", "bbox": [ 105, 564, 504, 587 ], "lines": [ { "bbox": [ 106, 564, 505, 577 ], "spans": [ { "bbox": [ 106, 564, 168, 577 ], "score": 1.0, "content": "The product of", "type": "text" }, { "bbox": [ 168, 567, 175, 576 ], "score": 0.8, "content": "q", "type": "inline_equation" }, { "bbox": [ 175, 564, 220, 577 ], "score": 1.0, "content": "at position", "type": "text" }, { "bbox": [ 220, 567, 230, 574 ], "score": 0.78, "content": "m", "type": "inline_equation" }, { "bbox": [ 231, 564, 248, 577 ], "score": 1.0, "content": "and", "type": "text" }, { "bbox": [ 249, 565, 255, 574 ], "score": 0.84, "content": "k", "type": "inline_equation" }, { "bbox": [ 256, 564, 300, 577 ], "score": 1.0, "content": "at position", "type": "text" }, { "bbox": [ 301, 567, 308, 574 ], "score": 0.78, "content": "n", "type": "inline_equation" }, { "bbox": [ 309, 564, 415, 577 ], "score": 1.0, "content": "is related to their distance", "type": "text" }, { "bbox": [ 415, 566, 443, 575 ], "score": 0.88, "content": "n - m", "type": "inline_equation" }, { "bbox": [ 443, 564, 505, 577 ], "score": 1.0, "content": ", which reflects", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 575, 440, 588 ], "spans": [ { "bbox": [ 106, 575, 331, 588 ], "score": 1.0, "content": "the relativity of the position encoding. The definition of", "type": "text" }, { "bbox": [ 331, 576, 341, 585 ], "score": 0.82, "content": "\\pmb { R }", "type": "inline_equation" }, { "bbox": [ 342, 575, 440, 588 ], "score": 1.0, "content": "in the above equation is", "type": "text" } ], "index": 36 } ], "index": 35.5, "bbox_fs": [ 106, 564, 505, 588 ] }, { "type": "interline_equation", "bbox": [ 111, 591, 488, 682 ], "lines": [ { "bbox": [ 112, 591, 488, 682 ], "spans": [ { "bbox": [ 112, 591, 488, 682 ], "score": 0.94, "content": "\\pmb { R _ { \\theta , m } ^ { d } } = \\left( \\begin{array} { c c c c c c c c } { \\cos m \\theta _ { 1 } } & { - \\sin m \\theta _ { 1 } } & { 0 } & { 0 } & { \\cdots } & { 0 } & { 0 } \\\\ { \\sin m \\theta _ { 1 } } & { \\cos m \\theta _ { 1 } } & { 0 } & { 0 } & { \\cdots } & { 0 } & { 0 } \\\\ { 0 } & { 0 } & { \\cos m \\theta _ { 2 } } & { - \\sin m \\theta _ { 2 } } & { \\cdots } & { 0 } & { 0 } \\\\ { 0 } & { 0 } & { \\sin m \\theta _ { 2 } } & { \\cos m \\theta _ { 2 } } & { \\cdots } & { 0 } & { 0 } \\\\ { \\vdots } & { \\vdots } & { \\vdots } & { \\vdots } & { \\ddots } & { \\vdots } & { \\vdots } \\\\ { 0 } & { 0 } & { 0 } & { 0 } & { \\cdots } & { \\cos m \\theta _ { d / 2 } } & { - \\sin m \\theta _ { d / 2 } } \\\\ { 0 } & { 0 } & { 0 } & { 0 } & { \\cdots } & { \\sin m \\theta _ { d / 2 } } & { \\cos m \\theta _ { d / 2 } } \\end{array} \\right) .", "type": "interline_equation", "image_path": "15bfbab5f50ac332839b347a3ee762c3b49ac9e470a27caf5cbea359ec1d77a1.jpg" } ] } ], "index": 38, "virtual_lines": [ { "bbox": [ 111, 591, 488, 621.3333333333334 ], "spans": [], "index": 37 }, { "bbox": [ 111, 621.3333333333334, 488, 651.6666666666667 ], "spans": [], "index": 38 }, { "bbox": [ 111, 651.6666666666667, 488, 682.0000000000001 ], "spans": [], "index": 39 } ] }, { "type": "text", "bbox": [ 107, 691, 386, 703 ], "lines": [ { "bbox": [ 106, 690, 386, 704 ], "spans": [ { "bbox": [ 106, 690, 317, 704 ], "score": 1.0, "content": "To allow its value to decay as the distance increases,", "type": "text" }, { "bbox": [ 318, 692, 324, 701 ], "score": 0.83, "content": "\\theta", "type": "inline_equation" }, { "bbox": [ 324, 690, 386, 704 ], "score": 1.0, "content": "takes the value", "type": "text" } ], "index": 40 } ], "index": 40, "bbox_fs": [ 106, 690, 386, 704 ] }, { "type": "interline_equation", "bbox": [ 207, 708, 403, 736 ], "lines": [ { "bbox": [ 207, 708, 403, 736 ], "spans": [ { "bbox": [ 207, 708, 403, 736 ], "score": 0.92, "content": "\\theta = \\left. \\theta _ { i } = 1 0 0 0 0 ^ { \\frac { - 2 ( i - 1 ) } { d } } , \\quad i \\in \\left[ 1 , 2 , \\cdots , { \\frac { d } { 2 } } \\right] \\right.", "type": "interline_equation", "image_path": "b021461a2b5904156e6410fd967e6010763dcac7ad5bc405b2f767265ae20292.jpg" } ] } ], "index": 41.5, "virtual_lines": [ { "bbox": [ 207, 708, 403, 722.0 ], "spans": [], "index": 41 }, { "bbox": [ 207, 722.0, 403, 736.0 ], "spans": [], "index": 42 } ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 106, 82, 505, 171 ], "lines": [ { "bbox": [ 106, 83, 505, 95 ], "spans": [ { "bbox": [ 106, 83, 505, 95 ], "score": 1.0, "content": "A two-dimensional absolute position encoding method is proposed in vanilla GLM for modeling", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 93, 505, 105 ], "spans": [ { "bbox": [ 105, 93, 505, 105 ], "score": 1.0, "content": "both intra- and inter-span position information. In GLM-130B, different from the two-dimensional", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 105, 505, 116 ], "spans": [ { "bbox": [ 105, 105, 505, 116 ], "score": 1.0, "content": "positional encoding used in vanilla GLM, we turn back to conventional one-dimensional positional", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 116, 504, 127 ], "spans": [ { "bbox": [ 106, 116, 504, 127 ], "score": 1.0, "content": "encoding. However, we originally thought that two-dimensional form cannot be directly applied to", "type": "text" } ], "index": 3 }, { "bbox": [ 106, 126, 505, 139 ], "spans": [ { "bbox": [ 106, 126, 135, 137 ], "score": 0.74, "content": "\\mathrm { R o P E } ^ { 5 }", "type": "inline_equation" }, { "bbox": [ 135, 126, 505, 139 ], "score": 1.0, "content": ". As a substitute plan, in GLM-130B we simply remove the second dimension used in the", "type": "text" } ], "index": 4 }, { "bbox": [ 106, 137, 505, 150 ], "spans": [ { "bbox": [ 106, 137, 505, 150 ], "score": 1.0, "content": "original GLM as we find that the unidirectional attention mask sub-matrices for [MASK] generation", "type": "text" } ], "index": 5 }, { "bbox": [ 106, 149, 505, 160 ], "spans": [ { "bbox": [ 106, 149, 505, 160 ], "score": 1.0, "content": "indicate the token order as well. This observation results in our transforming GLM-130B’s positional", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 159, 407, 172 ], "spans": [ { "bbox": [ 105, 159, 407, 172 ], "score": 1.0, "content": "encoding into a one-dimensional one according to the following strategies:", "type": "text" } ], "index": 7 } ], "index": 3.5 }, { "type": "text", "bbox": [ 106, 176, 505, 222 ], "lines": [ { "bbox": [ 104, 175, 495, 189 ], "spans": [ { "bbox": [ 104, 175, 495, 189 ], "score": 1.0, "content": "• For sequences corrupted by short spans, we discard the second-dimensional position encoding.", "type": "text" } ], "index": 8 }, { "bbox": [ 104, 187, 505, 202 ], "spans": [ { "bbox": [ 104, 187, 505, 202 ], "score": 1.0, "content": "• For sequences corrupted by a long span at the end, we change the positional ids to one-dimensional", "type": "text" } ], "index": 9 }, { "bbox": [ 115, 199, 505, 214 ], "spans": [ { "bbox": [ 115, 200, 177, 212 ], "score": 0.9, "content": "0 , 1 , \\cdots , s - 1", "type": "inline_equation" }, { "bbox": [ 177, 199, 505, 214 ], "score": 1.0, "content": ", and generated tokens will just prolong the first-dimensional positional encoding", "type": "text" } ], "index": 10 }, { "bbox": [ 114, 211, 250, 222 ], "spans": [ { "bbox": [ 114, 211, 224, 222 ], "score": 1.0, "content": "from the last context token", "type": "text" }, { "bbox": [ 224, 212, 247, 222 ], "score": 0.89, "content": "s - 1", "type": "inline_equation" }, { "bbox": [ 247, 211, 250, 222 ], "score": 1.0, "content": ".", "type": "text" } ], "index": 11 } ], "index": 9.5 }, { "type": "text", "bbox": [ 106, 234, 505, 279 ], "lines": [ { "bbox": [ 105, 234, 505, 247 ], "spans": [ { "bbox": [ 105, 234, 505, 247 ], "score": 1.0, "content": "Feed-forward Network Some recent efforts to improve transformer architecture have been on", "type": "text" } ], "index": 12 }, { "bbox": [ 106, 246, 505, 257 ], "spans": [ { "bbox": [ 106, 246, 505, 257 ], "score": 1.0, "content": "the FFN, including replacing it with GLU (adopted in PaLM). Research shows that using GLU", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 257, 505, 269 ], "spans": [ { "bbox": [ 105, 257, 505, 269 ], "score": 1.0, "content": "can improve model performance, which is consistent with our experimental results (Cf. Table 8).", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 267, 449, 280 ], "spans": [ { "bbox": [ 106, 267, 449, 280 ], "score": 1.0, "content": "Specifically, we use GLU with the GeLU (Hendrycks & Gimpel, 2016) activation. as", "type": "text" } ], "index": 15 } ], "index": 13.5 }, { "type": "interline_equation", "bbox": [ 185, 284, 426, 299 ], "lines": [ { "bbox": [ 185, 284, 426, 299 ], "spans": [ { "bbox": [ 185, 284, 426, 299 ], "score": 0.89, "content": "\\operatorname { F F N } _ { \\operatorname { G e G L U } } \\left( \\pmb { x } ; W _ { 1 } , V , W _ { 2 } \\right) = \\left( \\operatorname { G e L U } ( \\pmb { x } W _ { 1 } ) \\otimes \\pmb { x } V \\right) W _ { 2 }", "type": "interline_equation", "image_path": "22107530ea396a9bd3fe7f93edafd226368fa4aaa293e3a49bc70bcac9249739.jpg" } ] } ], "index": 16, "virtual_lines": [ { "bbox": [ 185, 284, 426, 299 ], "spans": [], "index": 16 } ] }, { "type": "text", "bbox": [ 106, 309, 504, 333 ], "lines": [ { "bbox": [ 106, 309, 505, 322 ], "spans": [ { "bbox": [ 106, 309, 417, 322 ], "score": 1.0, "content": "In order to keep the same parameter as the vanilla FFN, the feed-forward size", "type": "text" }, { "bbox": [ 417, 311, 433, 321 ], "score": 0.89, "content": "d _ { \\mathrm { { f f n } } }", "type": "inline_equation" }, { "bbox": [ 434, 309, 505, 322 ], "score": 1.0, "content": "(which is usually", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 319, 488, 335 ], "spans": [ { "bbox": [ 106, 321, 124, 332 ], "score": 0.89, "content": "4 d _ { \\mathrm { H } }", "type": "inline_equation" }, { "bbox": [ 124, 319, 155, 335 ], "score": 1.0, "content": ", where", "type": "text" }, { "bbox": [ 155, 321, 168, 332 ], "score": 0.87, "content": "d _ { \\mathrm { H } }", "type": "inline_equation" }, { "bbox": [ 168, 319, 323, 335 ], "score": 1.0, "content": "is the hidden dimension) is reduced to", "type": "text" }, { "bbox": [ 324, 320, 342, 334 ], "score": 0.92, "content": "\\textstyle { \\frac { 8 } { 3 } } d _ { \\mathrm { H } }", "type": "inline_equation" }, { "bbox": [ 343, 319, 369, 335 ], "score": 1.0, "content": "as the", "type": "text" }, { "bbox": [ 369, 321, 379, 331 ], "score": 0.73, "content": "V", "type": "inline_equation" }, { "bbox": [ 380, 319, 488, 335 ], "score": 1.0, "content": "is additionally introduced.", "type": "text" } ], "index": 18 } ], "index": 17.5 }, { "type": "table", "bbox": [ 381, 375, 498, 444 ], "blocks": [ { "type": "table_caption", "bbox": [ 375, 346, 504, 369 ], "group_id": 0, "lines": [ { "bbox": [ 374, 346, 505, 358 ], "spans": [ { "bbox": [ 374, 346, 505, 358 ], "score": 1.0, "content": "Table 8: Ablation Study for PE", "type": "text" } ], "index": 20 }, { "bbox": [ 374, 355, 464, 371 ], "spans": [ { "bbox": [ 374, 355, 425, 371 ], "score": 1.0, "content": "and FFN on", "type": "text" }, { "bbox": [ 425, 358, 462, 369 ], "score": 0.83, "content": "\\mathrm { G L M _ { B a s e } }", "type": "inline_equation" }, { "bbox": [ 463, 355, 464, 371 ], "score": 0.0, "content": "", "type": "text" } ], "index": 22 } ], "index": 21.0 }, { "type": "table_body", "bbox": [ 381, 375, 498, 444 ], "group_id": 0, "lines": [ { "bbox": [ 381, 375, 498, 444 ], "spans": [ { "bbox": [ 381, 375, 498, 444 ], "score": 0.969, "html": "
ModelTest PPL
GLMBase24.58
+ ALiBi24.14
+RoPE22.95
+RoPE+GeGLU22.31
", "type": "table", "image_path": "92edee97bab72c732d5eda0392648a0731ea41aa35f65c49d87dea104309d28a.jpg" } ] } ], "index": 28.5, "virtual_lines": [ { "bbox": [ 381, 375, 498, 409.5 ], "spans": [], "index": 26 }, { "bbox": [ 381, 409.5, 498, 444.0 ], "spans": [], "index": 31 } ] } ], "index": 24.75 }, { "type": "text", "bbox": [ 107, 344, 367, 455 ], "lines": [ { "bbox": [ 106, 344, 368, 356 ], "spans": [ { "bbox": [ 106, 344, 368, 356 ], "score": 1.0, "content": "Ablation Study on PE and FFN In order to validate our PE", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 354, 368, 368 ], "spans": [ { "bbox": [ 105, 354, 368, 368 ], "score": 1.0, "content": "and FFN choices, we test them in our experiments by pre-training", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 366, 367, 378 ], "spans": [ { "bbox": [ 106, 367, 144, 378 ], "score": 0.85, "content": "\\mathrm { G L M _ { B a s e } }", "type": "inline_equation" }, { "bbox": [ 144, 366, 367, 378 ], "score": 1.0, "content": "(110M) over a random 50G Chinese and English mixed", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 377, 368, 389 ], "spans": [ { "bbox": [ 105, 377, 368, 389 ], "score": 1.0, "content": "corpus. We compare absolute PE with two recent popular relative", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 388, 367, 400 ], "spans": [ { "bbox": [ 105, 388, 367, 400 ], "score": 1.0, "content": "PE variants, RoPE (Chowdhery et al., 2022) and ALiBi (Press", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 399, 368, 411 ], "spans": [ { "bbox": [ 105, 399, 368, 411 ], "score": 1.0, "content": "et al., 2021). For FFN, we compare vanilla FFN with Gate Lin-", "type": "text" } ], "index": 27 }, { "bbox": [ 106, 410, 368, 421 ], "spans": [ { "bbox": [ 106, 410, 368, 421 ], "score": 1.0, "content": "ear Unit with GeLU activations. Results from Table 8 show that", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 420, 368, 434 ], "spans": [ { "bbox": [ 105, 420, 368, 434 ], "score": 1.0, "content": "both ALiBi and RoPE improve perplexity on the test set, and the", "type": "text" } ], "index": 29 }, { "bbox": [ 106, 432, 367, 444 ], "spans": [ { "bbox": [ 106, 432, 367, 444 ], "score": 1.0, "content": "improvement is more significant with RoPE while using GeGLU", "type": "text" } ], "index": 30 }, { "bbox": [ 106, 443, 293, 456 ], "spans": [ { "bbox": [ 106, 443, 293, 456 ], "score": 1.0, "content": "can further improve the model’s performance.", "type": "text" } ], "index": 32 } ], "index": 26.0 }, { "type": "title", "bbox": [ 108, 468, 266, 479 ], "lines": [ { "bbox": [ 106, 468, 267, 480 ], "spans": [ { "bbox": [ 106, 468, 267, 480 ], "score": 1.0, "content": "B.4 PIPELINE PARALLEL ANALYSIS", "type": "text" } ], "index": 33 } ], "index": 33 }, { "type": "text", "bbox": [ 106, 488, 505, 577 ], "lines": [ { "bbox": [ 105, 488, 504, 500 ], "spans": [ { "bbox": [ 105, 488, 504, 500 ], "score": 1.0, "content": "In pipeline parallelism, each stage consists of three operations (Cf. Figure 11(a)): forward (de-", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 500, 505, 511 ], "spans": [ { "bbox": [ 105, 500, 505, 511 ], "score": 1.0, "content": "noted as F), backward (denoted as B), and optimizer step (denoted as U). However, naive sequential", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 510, 506, 524 ], "spans": [ { "bbox": [ 105, 510, 506, 524 ], "score": 1.0, "content": "pipeline implementation leads to an unbearable amount of bubbles. The improved Gpipe (Huang", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 521, 504, 534 ], "spans": [ { "bbox": [ 105, 521, 504, 534 ], "score": 1.0, "content": "et al., 2019) (Cf. Figure 11(b)) strategy reduces bubbles drastically via splitting data into micro-", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 532, 504, 545 ], "spans": [ { "bbox": [ 105, 532, 504, 545 ], "score": 1.0, "content": "batches; the more micro-batches there are, the more stages can compute simultaneously in an itera-", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 542, 505, 556 ], "spans": [ { "bbox": [ 105, 542, 505, 556 ], "score": 1.0, "content": "tion. The recent PipeDream-Flush (Narayanan et al., 2021) (Cf. Figure 11(c)) additionally optimizes", "type": "text" } ], "index": 39 }, { "bbox": [ 106, 555, 505, 567 ], "spans": [ { "bbox": [ 106, 555, 505, 567 ], "score": 1.0, "content": "the GPU memory usage by interweaving forward and backward from different stages to reduce for-", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 565, 261, 577 ], "spans": [ { "bbox": [ 106, 565, 261, 577 ], "score": 1.0, "content": "ward activation’s memory occupation.", "type": "text" } ], "index": 41 } ], "index": 37.5 }, { "type": "text", "bbox": [ 107, 582, 505, 639 ], "lines": [ { "bbox": [ 106, 582, 505, 594 ], "spans": [ { "bbox": [ 106, 582, 505, 594 ], "score": 1.0, "content": "We analyze the bubble share in GLM-130B’s pre-training by assuming that the number of pipeline", "type": "text" } ], "index": 42 }, { "bbox": [ 105, 593, 505, 606 ], "spans": [ { "bbox": [ 105, 593, 154, 606 ], "score": 1.0, "content": "segments is", "type": "text" }, { "bbox": [ 155, 595, 161, 605 ], "score": 0.8, "content": "p", "type": "inline_equation" }, { "bbox": [ 162, 593, 290, 606 ], "score": 1.0, "content": ", the number of micro-batches is", "type": "text" }, { "bbox": [ 290, 595, 300, 604 ], "score": 0.78, "content": "m", "type": "inline_equation" }, { "bbox": [ 300, 593, 505, 606 ], "score": 1.0, "content": ", and the time for forward and backward per micro-", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 604, 505, 617 ], "spans": [ { "bbox": [ 105, 604, 144, 617 ], "score": 1.0, "content": "batch are", "type": "text" }, { "bbox": [ 144, 605, 154, 616 ], "score": 0.88, "content": "t _ { f }", "type": "inline_equation" }, { "bbox": [ 155, 604, 171, 617 ], "score": 1.0, "content": "and", "type": "text" }, { "bbox": [ 171, 605, 180, 615 ], "score": 0.87, "content": "t _ { b }", "type": "inline_equation" }, { "bbox": [ 181, 604, 347, 617 ], "score": 1.0, "content": ". In ideal case, forward and backward take", "type": "text" }, { "bbox": [ 347, 604, 424, 616 ], "score": 0.92, "content": "t _ { \\mathrm { i d e a l } } = m ( t _ { f } + t _ { b } )", "type": "inline_equation" }, { "bbox": [ 424, 604, 505, 617 ], "score": 1.0, "content": ". But in practice, the", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 615, 505, 628 ], "spans": [ { "bbox": [ 105, 615, 267, 628 ], "score": 1.0, "content": "default pipeline delivery strategy causes", "type": "text" }, { "bbox": [ 267, 616, 289, 627 ], "score": 0.88, "content": "p - 1", "type": "inline_equation" }, { "bbox": [ 290, 615, 390, 628 ], "score": 1.0, "content": "forward propagation and", "type": "text" }, { "bbox": [ 391, 617, 413, 627 ], "score": 0.88, "content": "p - 1", "type": "inline_equation" }, { "bbox": [ 413, 615, 505, 628 ], "score": 1.0, "content": "backward propagation", "type": "text" } ], "index": 45 }, { "bbox": [ 105, 625, 505, 640 ], "spans": [ { "bbox": [ 105, 625, 266, 640 ], "score": 1.0, "content": "bubbles, respectively, for a total time of", "type": "text" }, { "bbox": [ 267, 626, 374, 639 ], "score": 0.91, "content": "{ \\bar { t } } _ { \\mathrm { b u b b l e } } = ( p - 1 ) { \\bar { ( } } t _ { f } ^ { - } + t _ { b } )", "type": "inline_equation" }, { "bbox": [ 375, 625, 505, 640 ], "score": 1.0, "content": ", so that the bubble occupancy is", "type": "text" } ], "index": 46 } ], "index": 44 }, { "type": "interline_equation", "bbox": [ 212, 644, 398, 669 ], "lines": [ { "bbox": [ 212, 644, 398, 669 ], "spans": [ { "bbox": [ 212, 644, 398, 669 ], "score": 0.93, "content": "\\mathrm { \\ b u b b l e - r a t i o } = { \\frac { t _ { \\mathrm { b u b b l e } } } { t _ { \\mathrm { i d e a l } } + t _ { \\mathrm { b u b b l e } } } } = { \\frac { p - 1 } { m + p - 1 } }", "type": "interline_equation", "image_path": "3847be85aa99a1ae5867e02f7a85163641f628ae0115601a81c7a78273c81d30.jpg" } ] } ], "index": 47, "virtual_lines": [ { "bbox": [ 212, 644, 398, 669 ], "spans": [], "index": 47 } ] }, { "type": "text", "bbox": [ 108, 680, 504, 703 ], "lines": [ { "bbox": [ 106, 680, 505, 692 ], "spans": [ { "bbox": [ 106, 680, 505, 692 ], "score": 1.0, "content": "For larger numbers of micro-batches, the bubble percentage will be reduced to an acceptable level.", "type": "text" } ], "index": 48 }, { "bbox": [ 105, 689, 505, 704 ], "spans": [ { "bbox": [ 105, 689, 388, 704 ], "score": 1.0, "content": "In particular, experiments in GPipe Huang et al. (2019) show that when", "type": "text" }, { "bbox": [ 389, 691, 422, 702 ], "score": 0.91, "content": "m \\geq 4 p", "type": "inline_equation" }, { "bbox": [ 422, 689, 505, 704 ], "score": 1.0, "content": ", the total percentage", "type": "text" } ], "index": 49 } ], "index": 48.5 } ], "page_idx": 24, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 711, 504, 732 ], "lines": [ { "bbox": [ 118, 709, 504, 723 ], "spans": [ { "bbox": [ 118, 709, 504, 723 ], "score": 1.0, "content": "5We later found the instructions to implement two-dimensional RoPE from its author’s blog https:", "type": "text" } ] }, { "bbox": [ 106, 721, 391, 732 ], "spans": [ { "bbox": [ 106, 721, 391, 732 ], "score": 1.0, "content": "//kexue.fm/archives/8397, but our training has proceeded for weeks.", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 25, 293, 38 ], "spans": [ { "bbox": [ 106, 25, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 764 ], "spans": [ { "bbox": [ 298, 750, 313, 764 ], "score": 1.0, "content": "", "type": "text", "height": 14, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 106, 82, 505, 171 ], "lines": [ { "bbox": [ 106, 83, 505, 95 ], "spans": [ { "bbox": [ 106, 83, 505, 95 ], "score": 1.0, "content": "A two-dimensional absolute position encoding method is proposed in vanilla GLM for modeling", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 93, 505, 105 ], "spans": [ { "bbox": [ 105, 93, 505, 105 ], "score": 1.0, "content": "both intra- and inter-span position information. In GLM-130B, different from the two-dimensional", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 105, 505, 116 ], "spans": [ { "bbox": [ 105, 105, 505, 116 ], "score": 1.0, "content": "positional encoding used in vanilla GLM, we turn back to conventional one-dimensional positional", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 116, 504, 127 ], "spans": [ { "bbox": [ 106, 116, 504, 127 ], "score": 1.0, "content": "encoding. However, we originally thought that two-dimensional form cannot be directly applied to", "type": "text" } ], "index": 3 }, { "bbox": [ 106, 126, 505, 139 ], "spans": [ { "bbox": [ 106, 126, 135, 137 ], "score": 0.74, "content": "\\mathrm { R o P E } ^ { 5 }", "type": "inline_equation" }, { "bbox": [ 135, 126, 505, 139 ], "score": 1.0, "content": ". As a substitute plan, in GLM-130B we simply remove the second dimension used in the", "type": "text" } ], "index": 4 }, { "bbox": [ 106, 137, 505, 150 ], "spans": [ { "bbox": [ 106, 137, 505, 150 ], "score": 1.0, "content": "original GLM as we find that the unidirectional attention mask sub-matrices for [MASK] generation", "type": "text" } ], "index": 5 }, { "bbox": [ 106, 149, 505, 160 ], "spans": [ { "bbox": [ 106, 149, 505, 160 ], "score": 1.0, "content": "indicate the token order as well. This observation results in our transforming GLM-130B’s positional", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 159, 407, 172 ], "spans": [ { "bbox": [ 105, 159, 407, 172 ], "score": 1.0, "content": "encoding into a one-dimensional one according to the following strategies:", "type": "text" } ], "index": 7 } ], "index": 3.5, "bbox_fs": [ 105, 83, 505, 172 ] }, { "type": "text", "bbox": [ 106, 176, 505, 222 ], "lines": [ { "bbox": [ 104, 175, 495, 189 ], "spans": [ { "bbox": [ 104, 175, 495, 189 ], "score": 1.0, "content": "• For sequences corrupted by short spans, we discard the second-dimensional position encoding.", "type": "text" } ], "index": 8 }, { "bbox": [ 104, 187, 505, 202 ], "spans": [ { "bbox": [ 104, 187, 505, 202 ], "score": 1.0, "content": "• For sequences corrupted by a long span at the end, we change the positional ids to one-dimensional", "type": "text" } ], "index": 9 }, { "bbox": [ 115, 199, 505, 214 ], "spans": [ { "bbox": [ 115, 200, 177, 212 ], "score": 0.9, "content": "0 , 1 , \\cdots , s - 1", "type": "inline_equation" }, { "bbox": [ 177, 199, 505, 214 ], "score": 1.0, "content": ", and generated tokens will just prolong the first-dimensional positional encoding", "type": "text" } ], "index": 10 }, { "bbox": [ 114, 211, 250, 222 ], "spans": [ { "bbox": [ 114, 211, 224, 222 ], "score": 1.0, "content": "from the last context token", "type": "text" }, { "bbox": [ 224, 212, 247, 222 ], "score": 0.89, "content": "s - 1", "type": "inline_equation" }, { "bbox": [ 247, 211, 250, 222 ], "score": 1.0, "content": ".", "type": "text" } ], "index": 11 } ], "index": 9.5, "bbox_fs": [ 104, 175, 505, 222 ] }, { "type": "text", "bbox": [ 106, 234, 505, 279 ], "lines": [ { "bbox": [ 105, 234, 505, 247 ], "spans": [ { "bbox": [ 105, 234, 505, 247 ], "score": 1.0, "content": "Feed-forward Network Some recent efforts to improve transformer architecture have been on", "type": "text" } ], "index": 12 }, { "bbox": [ 106, 246, 505, 257 ], "spans": [ { "bbox": [ 106, 246, 505, 257 ], "score": 1.0, "content": "the FFN, including replacing it with GLU (adopted in PaLM). Research shows that using GLU", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 257, 505, 269 ], "spans": [ { "bbox": [ 105, 257, 505, 269 ], "score": 1.0, "content": "can improve model performance, which is consistent with our experimental results (Cf. Table 8).", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 267, 449, 280 ], "spans": [ { "bbox": [ 106, 267, 449, 280 ], "score": 1.0, "content": "Specifically, we use GLU with the GeLU (Hendrycks & Gimpel, 2016) activation. as", "type": "text" } ], "index": 15 } ], "index": 13.5, "bbox_fs": [ 105, 234, 505, 280 ] }, { "type": "interline_equation", "bbox": [ 185, 284, 426, 299 ], "lines": [ { "bbox": [ 185, 284, 426, 299 ], "spans": [ { "bbox": [ 185, 284, 426, 299 ], "score": 0.89, "content": "\\operatorname { F F N } _ { \\operatorname { G e G L U } } \\left( \\pmb { x } ; W _ { 1 } , V , W _ { 2 } \\right) = \\left( \\operatorname { G e L U } ( \\pmb { x } W _ { 1 } ) \\otimes \\pmb { x } V \\right) W _ { 2 }", "type": "interline_equation", "image_path": "22107530ea396a9bd3fe7f93edafd226368fa4aaa293e3a49bc70bcac9249739.jpg" } ] } ], "index": 16, "virtual_lines": [ { "bbox": [ 185, 284, 426, 299 ], "spans": [], "index": 16 } ] }, { "type": "text", "bbox": [ 106, 309, 504, 333 ], "lines": [ { "bbox": [ 106, 309, 505, 322 ], "spans": [ { "bbox": [ 106, 309, 417, 322 ], "score": 1.0, "content": "In order to keep the same parameter as the vanilla FFN, the feed-forward size", "type": "text" }, { "bbox": [ 417, 311, 433, 321 ], "score": 0.89, "content": "d _ { \\mathrm { { f f n } } }", "type": "inline_equation" }, { "bbox": [ 434, 309, 505, 322 ], "score": 1.0, "content": "(which is usually", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 319, 488, 335 ], "spans": [ { "bbox": [ 106, 321, 124, 332 ], "score": 0.89, "content": "4 d _ { \\mathrm { H } }", "type": "inline_equation" }, { "bbox": [ 124, 319, 155, 335 ], "score": 1.0, "content": ", where", "type": "text" }, { "bbox": [ 155, 321, 168, 332 ], "score": 0.87, "content": "d _ { \\mathrm { H } }", "type": "inline_equation" }, { "bbox": [ 168, 319, 323, 335 ], "score": 1.0, "content": "is the hidden dimension) is reduced to", "type": "text" }, { "bbox": [ 324, 320, 342, 334 ], "score": 0.92, "content": "\\textstyle { \\frac { 8 } { 3 } } d _ { \\mathrm { H } }", "type": "inline_equation" }, { "bbox": [ 343, 319, 369, 335 ], "score": 1.0, "content": "as the", "type": "text" }, { "bbox": [ 369, 321, 379, 331 ], "score": 0.73, "content": "V", "type": "inline_equation" }, { "bbox": [ 380, 319, 488, 335 ], "score": 1.0, "content": "is additionally introduced.", "type": "text" } ], "index": 18 } ], "index": 17.5, "bbox_fs": [ 106, 309, 505, 335 ] }, { "type": "table", "bbox": [ 381, 375, 498, 444 ], "blocks": [ { "type": "table_caption", "bbox": [ 375, 346, 504, 369 ], "group_id": 0, "lines": [ { "bbox": [ 374, 346, 505, 358 ], "spans": [ { "bbox": [ 374, 346, 505, 358 ], "score": 1.0, "content": "Table 8: Ablation Study for PE", "type": "text" } ], "index": 20 }, { "bbox": [ 374, 355, 464, 371 ], "spans": [ { "bbox": [ 374, 355, 425, 371 ], "score": 1.0, "content": "and FFN on", "type": "text" }, { "bbox": [ 425, 358, 462, 369 ], "score": 0.83, "content": "\\mathrm { G L M _ { B a s e } }", "type": "inline_equation" }, { "bbox": [ 463, 355, 464, 371 ], "score": 0.0, "content": "", "type": "text" } ], "index": 22 } ], "index": 21.0 }, { "type": "table_body", "bbox": [ 381, 375, 498, 444 ], "group_id": 0, "lines": [ { "bbox": [ 381, 375, 498, 444 ], "spans": [ { "bbox": [ 381, 375, 498, 444 ], "score": 0.969, "html": "
ModelTest PPL
GLMBase24.58
+ ALiBi24.14
+RoPE22.95
+RoPE+GeGLU22.31
", "type": "table", "image_path": "92edee97bab72c732d5eda0392648a0731ea41aa35f65c49d87dea104309d28a.jpg" } ] } ], "index": 28.5, "virtual_lines": [ { "bbox": [ 381, 375, 498, 409.5 ], "spans": [], "index": 26 }, { "bbox": [ 381, 409.5, 498, 444.0 ], "spans": [], "index": 31 } ] } ], "index": 24.75 }, { "type": "text", "bbox": [ 107, 344, 367, 455 ], "lines": [ { "bbox": [ 106, 344, 368, 356 ], "spans": [ { "bbox": [ 106, 344, 368, 356 ], "score": 1.0, "content": "Ablation Study on PE and FFN In order to validate our PE", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 354, 368, 368 ], "spans": [ { "bbox": [ 105, 354, 368, 368 ], "score": 1.0, "content": "and FFN choices, we test them in our experiments by pre-training", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 366, 367, 378 ], "spans": [ { "bbox": [ 106, 367, 144, 378 ], "score": 0.85, "content": "\\mathrm { G L M _ { B a s e } }", "type": "inline_equation" }, { "bbox": [ 144, 366, 367, 378 ], "score": 1.0, "content": "(110M) over a random 50G Chinese and English mixed", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 377, 368, 389 ], "spans": [ { "bbox": [ 105, 377, 368, 389 ], "score": 1.0, "content": "corpus. We compare absolute PE with two recent popular relative", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 388, 367, 400 ], "spans": [ { "bbox": [ 105, 388, 367, 400 ], "score": 1.0, "content": "PE variants, RoPE (Chowdhery et al., 2022) and ALiBi (Press", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 399, 368, 411 ], "spans": [ { "bbox": [ 105, 399, 368, 411 ], "score": 1.0, "content": "et al., 2021). For FFN, we compare vanilla FFN with Gate Lin-", "type": "text" } ], "index": 27 }, { "bbox": [ 106, 410, 368, 421 ], "spans": [ { "bbox": [ 106, 410, 368, 421 ], "score": 1.0, "content": "ear Unit with GeLU activations. Results from Table 8 show that", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 420, 368, 434 ], "spans": [ { "bbox": [ 105, 420, 368, 434 ], "score": 1.0, "content": "both ALiBi and RoPE improve perplexity on the test set, and the", "type": "text" } ], "index": 29 }, { "bbox": [ 106, 432, 367, 444 ], "spans": [ { "bbox": [ 106, 432, 367, 444 ], "score": 1.0, "content": "improvement is more significant with RoPE while using GeGLU", "type": "text" } ], "index": 30 }, { "bbox": [ 106, 443, 293, 456 ], "spans": [ { "bbox": [ 106, 443, 293, 456 ], "score": 1.0, "content": "can further improve the model’s performance.", "type": "text" } ], "index": 32 } ], "index": 26.0, "bbox_fs": [ 105, 344, 368, 456 ] }, { "type": "title", "bbox": [ 108, 468, 266, 479 ], "lines": [ { "bbox": [ 106, 468, 267, 480 ], "spans": [ { "bbox": [ 106, 468, 267, 480 ], "score": 1.0, "content": "B.4 PIPELINE PARALLEL ANALYSIS", "type": "text" } ], "index": 33 } ], "index": 33 }, { "type": "text", "bbox": [ 106, 488, 505, 577 ], "lines": [ { "bbox": [ 105, 488, 504, 500 ], "spans": [ { "bbox": [ 105, 488, 504, 500 ], "score": 1.0, "content": "In pipeline parallelism, each stage consists of three operations (Cf. Figure 11(a)): forward (de-", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 500, 505, 511 ], "spans": [ { "bbox": [ 105, 500, 505, 511 ], "score": 1.0, "content": "noted as F), backward (denoted as B), and optimizer step (denoted as U). However, naive sequential", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 510, 506, 524 ], "spans": [ { "bbox": [ 105, 510, 506, 524 ], "score": 1.0, "content": "pipeline implementation leads to an unbearable amount of bubbles. The improved Gpipe (Huang", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 521, 504, 534 ], "spans": [ { "bbox": [ 105, 521, 504, 534 ], "score": 1.0, "content": "et al., 2019) (Cf. Figure 11(b)) strategy reduces bubbles drastically via splitting data into micro-", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 532, 504, 545 ], "spans": [ { "bbox": [ 105, 532, 504, 545 ], "score": 1.0, "content": "batches; the more micro-batches there are, the more stages can compute simultaneously in an itera-", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 542, 505, 556 ], "spans": [ { "bbox": [ 105, 542, 505, 556 ], "score": 1.0, "content": "tion. The recent PipeDream-Flush (Narayanan et al., 2021) (Cf. Figure 11(c)) additionally optimizes", "type": "text" } ], "index": 39 }, { "bbox": [ 106, 555, 505, 567 ], "spans": [ { "bbox": [ 106, 555, 505, 567 ], "score": 1.0, "content": "the GPU memory usage by interweaving forward and backward from different stages to reduce for-", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 565, 261, 577 ], "spans": [ { "bbox": [ 106, 565, 261, 577 ], "score": 1.0, "content": "ward activation’s memory occupation.", "type": "text" } ], "index": 41 } ], "index": 37.5, "bbox_fs": [ 105, 488, 506, 577 ] }, { "type": "text", "bbox": [ 107, 582, 505, 639 ], "lines": [ { "bbox": [ 106, 582, 505, 594 ], "spans": [ { "bbox": [ 106, 582, 505, 594 ], "score": 1.0, "content": "We analyze the bubble share in GLM-130B’s pre-training by assuming that the number of pipeline", "type": "text" } ], "index": 42 }, { "bbox": [ 105, 593, 505, 606 ], "spans": [ { "bbox": [ 105, 593, 154, 606 ], "score": 1.0, "content": "segments is", "type": "text" }, { "bbox": [ 155, 595, 161, 605 ], "score": 0.8, "content": "p", "type": "inline_equation" }, { "bbox": [ 162, 593, 290, 606 ], "score": 1.0, "content": ", the number of micro-batches is", "type": "text" }, { "bbox": [ 290, 595, 300, 604 ], "score": 0.78, "content": "m", "type": "inline_equation" }, { "bbox": [ 300, 593, 505, 606 ], "score": 1.0, "content": ", and the time for forward and backward per micro-", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 604, 505, 617 ], "spans": [ { "bbox": [ 105, 604, 144, 617 ], "score": 1.0, "content": "batch are", "type": "text" }, { "bbox": [ 144, 605, 154, 616 ], "score": 0.88, "content": "t _ { f }", "type": "inline_equation" }, { "bbox": [ 155, 604, 171, 617 ], "score": 1.0, "content": "and", "type": "text" }, { "bbox": [ 171, 605, 180, 615 ], "score": 0.87, "content": "t _ { b }", "type": "inline_equation" }, { "bbox": [ 181, 604, 347, 617 ], "score": 1.0, "content": ". In ideal case, forward and backward take", "type": "text" }, { "bbox": [ 347, 604, 424, 616 ], "score": 0.92, "content": "t _ { \\mathrm { i d e a l } } = m ( t _ { f } + t _ { b } )", "type": "inline_equation" }, { "bbox": [ 424, 604, 505, 617 ], "score": 1.0, "content": ". But in practice, the", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 615, 505, 628 ], "spans": [ { "bbox": [ 105, 615, 267, 628 ], "score": 1.0, "content": "default pipeline delivery strategy causes", "type": "text" }, { "bbox": [ 267, 616, 289, 627 ], "score": 0.88, "content": "p - 1", "type": "inline_equation" }, { "bbox": [ 290, 615, 390, 628 ], "score": 1.0, "content": "forward propagation and", "type": "text" }, { "bbox": [ 391, 617, 413, 627 ], "score": 0.88, "content": "p - 1", "type": "inline_equation" }, { "bbox": [ 413, 615, 505, 628 ], "score": 1.0, "content": "backward propagation", "type": "text" } ], "index": 45 }, { "bbox": [ 105, 625, 505, 640 ], "spans": [ { "bbox": [ 105, 625, 266, 640 ], "score": 1.0, "content": "bubbles, respectively, for a total time of", "type": "text" }, { "bbox": [ 267, 626, 374, 639 ], "score": 0.91, "content": "{ \\bar { t } } _ { \\mathrm { b u b b l e } } = ( p - 1 ) { \\bar { ( } } t _ { f } ^ { - } + t _ { b } )", "type": "inline_equation" }, { "bbox": [ 375, 625, 505, 640 ], "score": 1.0, "content": ", so that the bubble occupancy is", "type": "text" } ], "index": 46 } ], "index": 44, "bbox_fs": [ 105, 582, 505, 640 ] }, { "type": "interline_equation", "bbox": [ 212, 644, 398, 669 ], "lines": [ { "bbox": [ 212, 644, 398, 669 ], "spans": [ { "bbox": [ 212, 644, 398, 669 ], "score": 0.93, "content": "\\mathrm { \\ b u b b l e - r a t i o } = { \\frac { t _ { \\mathrm { b u b b l e } } } { t _ { \\mathrm { i d e a l } } + t _ { \\mathrm { b u b b l e } } } } = { \\frac { p - 1 } { m + p - 1 } }", "type": "interline_equation", "image_path": "3847be85aa99a1ae5867e02f7a85163641f628ae0115601a81c7a78273c81d30.jpg" } ] } ], "index": 47, "virtual_lines": [ { "bbox": [ 212, 644, 398, 669 ], "spans": [], "index": 47 } ] }, { "type": "text", "bbox": [ 108, 680, 504, 703 ], "lines": [ { "bbox": [ 106, 680, 505, 692 ], "spans": [ { "bbox": [ 106, 680, 505, 692 ], "score": 1.0, "content": "For larger numbers of micro-batches, the bubble percentage will be reduced to an acceptable level.", "type": "text" } ], "index": 48 }, { "bbox": [ 105, 689, 505, 704 ], "spans": [ { "bbox": [ 105, 689, 388, 704 ], "score": 1.0, "content": "In particular, experiments in GPipe Huang et al. (2019) show that when", "type": "text" }, { "bbox": [ 389, 691, 422, 702 ], "score": 0.91, "content": "m \\geq 4 p", "type": "inline_equation" }, { "bbox": [ 422, 689, 505, 704 ], "score": 1.0, "content": ", the total percentage", "type": "text" } ], "index": 49 }, { "bbox": [ 105, 462, 505, 476 ], "spans": [ { "bbox": [ 105, 462, 505, 476 ], "score": 1.0, "content": "of pipeline bubble time is reduced to a negligible level due to the forward recomputation technique in", "type": "text", "cross_page": true } ], "index": 14 }, { "bbox": [ 105, 474, 505, 486 ], "spans": [ { "bbox": [ 105, 474, 505, 486 ], "score": 1.0, "content": "backpropagation that allows some overlap in computational communication, thus showing that the", "type": "text", "cross_page": true } ], "index": 15 }, { "bbox": [ 105, 484, 505, 498 ], "spans": [ { "bbox": [ 105, 484, 505, 498 ], "score": 1.0, "content": "bubbles introduced in parallel by the pipeline model do not seriously deplete the training efficiency.", "type": "text", "cross_page": true } ], "index": 16 } ], "index": 48.5, "bbox_fs": [ 105, 680, 505, 704 ] } ] }, { "preproc_blocks": [ { "type": "image", "bbox": [ 112, 79, 509, 173 ], "blocks": [ { "type": "image_body", "bbox": [ 112, 79, 509, 173 ], "group_id": 0, "lines": [ { "bbox": [ 112, 79, 509, 173 ], "spans": [ { "bbox": [ 112, 79, 509, 173 ], "score": 0.897, "type": "image", "image_path": "a96eb3848f98214e82b1d04e1d931ed77e78fa3ba2749ac14aaaf26481722d78.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 112, 79, 509, 110.33333333333333 ], "spans": [], "index": 0 }, { "bbox": [ 112, 110.33333333333333, 509, 141.66666666666666 ], "spans": [], "index": 1 }, { "bbox": [ 112, 141.66666666666666, 509, 173.0 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 180, 177, 437, 189 ], "group_id": 0, "lines": [ { "bbox": [ 180, 176, 438, 190 ], "spans": [ { "bbox": [ 180, 176, 438, 190 ], "score": 1.0, "content": "(a) Naive pipeline implementation, which can be extremely inefficient.", "type": "text" } ], "index": 3 } ], "index": 3 } ], "index": 2.0 }, { "type": "image", "bbox": [ 110, 198, 508, 287 ], "blocks": [ { "type": "image_body", "bbox": [ 110, 198, 508, 287 ], "group_id": 1, "lines": [ { "bbox": [ 110, 198, 508, 287 ], "spans": [ { "bbox": [ 110, 198, 508, 287 ], "score": 0.557, "type": "image", "image_path": "7e097da26a924a78e2067e9e562dba64d650231ddaa84fe3f23aa55b2d62a697.jpg" } ] } ], "index": 5, "virtual_lines": [ { "bbox": [ 110, 198, 508, 227.66666666666666 ], "spans": [], "index": 4 }, { "bbox": [ 110, 227.66666666666666, 508, 257.3333333333333 ], "spans": [], "index": 5 }, { "bbox": [ 110, 257.3333333333333, 508, 287.0 ], "spans": [], "index": 6 } ] }, { "type": "image_caption", "bbox": [ 221, 291, 394, 303 ], "group_id": 1, "lines": [ { "bbox": [ 220, 291, 395, 303 ], "spans": [ { "bbox": [ 220, 291, 395, 303 ], "score": 1.0, "content": "(b) GPipe (Huang et al., 2019) implementation.", "type": "text" } ], "index": 7 } ], "index": 7 } ], "index": 6.0 }, { "type": "image", "bbox": [ 112, 312, 510, 411 ], "blocks": [ { "type": "image_body", "bbox": [ 112, 312, 510, 411 ], "group_id": 2, "lines": [ { "bbox": [ 112, 312, 510, 411 ], "spans": [ { "bbox": [ 112, 312, 510, 411 ], "score": 0.329, "type": "image", "image_path": "36308eab87c4dc4bffb3cea67d031f68ec29f4d6fbc206fe0e2dfd880037a8ec.jpg" } ] } ], "index": 9, "virtual_lines": [ { "bbox": [ 112, 312, 510, 345.0 ], "spans": [], "index": 8 }, { "bbox": [ 112, 345.0, 510, 378.0 ], "spans": [], "index": 9 }, { "bbox": [ 112, 378.0, 510, 411.0 ], "spans": [], "index": 10 } ] }, { "type": "image_caption", "bbox": [ 165, 405, 450, 416 ], "group_id": 2, "lines": [ { "bbox": [ 165, 405, 450, 416 ], "spans": [], "index": 11 } ], "index": 11 }, { "type": "image_caption", "bbox": [ 157, 410, 453, 431 ], "group_id": 2, "lines": [ { "bbox": [ 167, 404, 451, 417 ], "spans": [ { "bbox": [ 167, 404, 451, 417 ], "score": 1.0, "content": "(c) Pipedream (Narayanan et al., 2021) implementation (used in GLM-130B).", "type": "text" } ], "index": 12 }, { "bbox": [ 159, 418, 452, 432 ], "spans": [ { "bbox": [ 159, 418, 452, 432 ], "score": 1.0, "content": "Figure 11: Different pipeline strategies and their conceptual comparison.", "type": "text" } ], "index": 13 } ], "index": 12.5 } ], "index": 11 }, { "type": "text", "bbox": [ 107, 462, 505, 496 ], "lines": [ { "bbox": [ 105, 462, 505, 476 ], "spans": [ { "bbox": [ 105, 462, 505, 476 ], "score": 1.0, "content": "of pipeline bubble time is reduced to a negligible level due to the forward recomputation technique in", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 474, 505, 486 ], "spans": [ { "bbox": [ 105, 474, 505, 486 ], "score": 1.0, "content": "backpropagation that allows some overlap in computational communication, thus showing that the", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 484, 505, 498 ], "spans": [ { "bbox": [ 105, 484, 505, 498 ], "score": 1.0, "content": "bubbles introduced in parallel by the pipeline model do not seriously deplete the training efficiency.", "type": "text" } ], "index": 16 } ], "index": 15 }, { "type": "text", "bbox": [ 106, 501, 505, 568 ], "lines": [ { "bbox": [ 105, 501, 505, 514 ], "spans": [ { "bbox": [ 105, 501, 505, 514 ], "score": 1.0, "content": "In general, in order to make full use of the hardware, it is common to place models into model", "type": "text" } ], "index": 17 }, { "bbox": [ 104, 512, 506, 525 ], "spans": [ { "bbox": [ 104, 512, 506, 525 ], "score": 1.0, "content": "parallel groups consisting of multiple nodes and try to use the full memory of each node. In this", "type": "text" } ], "index": 18 }, { "bbox": [ 104, 523, 506, 537 ], "spans": [ { "bbox": [ 104, 523, 506, 537 ], "score": 1.0, "content": "case, we can freely adjust the ratio of pipeline model parallelism and tensor model parallelism. Since", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 534, 505, 547 ], "spans": [ { "bbox": [ 105, 534, 505, 547 ], "score": 1.0, "content": "data parallelism hardly affects the computation time, we assume that the scale of data parallelism is", "type": "text" } ], "index": 20 }, { "bbox": [ 107, 545, 506, 558 ], "spans": [ { "bbox": [ 107, 546, 133, 556 ], "score": 0.9, "content": "d = 1", "type": "inline_equation" }, { "bbox": [ 133, 545, 255, 558 ], "score": 1.0, "content": ", the total number of nodes is", "type": "text" }, { "bbox": [ 255, 548, 262, 555 ], "score": 0.72, "content": "n", "type": "inline_equation" }, { "bbox": [ 262, 545, 429, 558 ], "score": 1.0, "content": ", the scale of tensor model parallelism is", "type": "text" }, { "bbox": [ 429, 547, 434, 556 ], "score": 0.72, "content": "t", "type": "inline_equation" }, { "bbox": [ 434, 545, 506, 558 ], "score": 1.0, "content": ", and the scale of", "type": "text" } ], "index": 21 }, { "bbox": [ 104, 556, 455, 569 ], "spans": [ { "bbox": [ 104, 556, 224, 569 ], "score": 1.0, "content": "pipeline model parallelism is", "type": "text" }, { "bbox": [ 225, 559, 231, 568 ], "score": 0.81, "content": "p", "type": "inline_equation" }, { "bbox": [ 231, 556, 285, 569 ], "score": 1.0, "content": ", and satisfies", "type": "text" }, { "bbox": [ 285, 557, 326, 568 ], "score": 0.91, "content": "n = t \\times p", "type": "inline_equation" }, { "bbox": [ 327, 556, 455, 569 ], "score": 1.0, "content": ", the bubble share in this case is", "type": "text" } ], "index": 22 } ], "index": 19.5 }, { "type": "interline_equation", "bbox": [ 245, 584, 365, 611 ], "lines": [ { "bbox": [ 245, 584, 365, 611 ], "spans": [ { "bbox": [ 245, 584, 365, 611 ], "score": 0.93, "content": "\\mathrm { b u b b l e - r a t i o } = { \\frac { n / t - 1 } { m + n / t - 1 } }", "type": "interline_equation", "image_path": "003beb6e0c11efa6db561de001d7b6f94305ce3cc95fc5e12d4041c765ca3bef.jpg" } ] } ], "index": 23.5, "virtual_lines": [ { "bbox": [ 245, 584, 365, 597.5 ], "spans": [], "index": 23 }, { "bbox": [ 245, 597.5, 365, 611.0 ], "spans": [], "index": 24 } ] }, { "type": "text", "bbox": [ 106, 632, 505, 732 ], "lines": [ { "bbox": [ 106, 632, 505, 646 ], "spans": [ { "bbox": [ 106, 632, 505, 646 ], "score": 1.0, "content": "From the above equation, we can see that increasing the size of tensor parallelism will further reduce", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 644, 505, 656 ], "spans": [ { "bbox": [ 106, 644, 505, 656 ], "score": 1.0, "content": "the bubble ratio. However, the tensor parallelism scale cannot be increased indefinitely, which would", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 655, 506, 667 ], "spans": [ { "bbox": [ 106, 655, 506, 667 ], "score": 1.0, "content": "lead to a reduction in computational granularity and greatly increase the communication cost across", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 666, 505, 678 ], "spans": [ { "bbox": [ 105, 666, 505, 678 ], "score": 1.0, "content": "a certain threshold. Therefore, we can conclude that the size of tensor model parallelism should", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 677, 505, 689 ], "spans": [ { "bbox": [ 105, 677, 505, 689 ], "score": 1.0, "content": "increase slowly as the model size increases, but not more than the number of graphics cards in", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 687, 506, 701 ], "spans": [ { "bbox": [ 105, 687, 506, 701 ], "score": 1.0, "content": "a single machine. In the training of GLM-130B, the experiments show that the optimal tensor", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 699, 505, 711 ], "spans": [ { "bbox": [ 105, 699, 185, 711 ], "score": 1.0, "content": "parallelism scale is", "type": "text" }, { "bbox": [ 185, 699, 208, 709 ], "score": 0.89, "content": "t = 4", "type": "inline_equation" }, { "bbox": [ 209, 699, 355, 711 ], "score": 1.0, "content": "and does not scale up to the scale of", "type": "text" }, { "bbox": [ 355, 699, 378, 709 ], "score": 0.9, "content": "t = 8", "type": "inline_equation" }, { "bbox": [ 379, 699, 505, 711 ], "score": 1.0, "content": "in the DGX-A100 system. The", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 709, 506, 722 ], "spans": [ { "bbox": [ 105, 709, 191, 722 ], "score": 1.0, "content": "other parameters are", "type": "text" }, { "bbox": [ 191, 710, 259, 721 ], "score": 0.89, "content": "m = 1 7 6 , p = 8", "type": "inline_equation" }, { "bbox": [ 259, 709, 442, 722 ], "score": 1.0, "content": ", and the bubble share is calculated to be only", "type": "text" }, { "bbox": [ 443, 710, 465, 721 ], "score": 0.85, "content": "3 . 8 \\%", "type": "inline_equation" }, { "bbox": [ 465, 709, 506, 722 ], "score": 1.0, "content": ", which is", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 720, 385, 734 ], "spans": [ { "bbox": [ 105, 720, 385, 734 ], "score": 1.0, "content": "sufficient to demonstrate the efficiency of pipeline model parallelism.", "type": "text" } ], "index": 33 } ], "index": 29 } ], "page_idx": 25, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 25, 294, 38 ], "spans": [ { "bbox": [ 106, 25, 294, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 749, 313, 764 ], "spans": [ { "bbox": [ 298, 749, 313, 764 ], "score": 1.0, "content": "", "type": "text", "height": 15, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "image", "bbox": [ 112, 79, 509, 173 ], "blocks": [ { "type": "image_body", "bbox": [ 112, 79, 509, 173 ], "group_id": 0, "lines": [ { "bbox": [ 112, 79, 509, 173 ], "spans": [ { "bbox": [ 112, 79, 509, 173 ], "score": 0.897, "type": "image", "image_path": "a96eb3848f98214e82b1d04e1d931ed77e78fa3ba2749ac14aaaf26481722d78.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 112, 79, 509, 110.33333333333333 ], "spans": [], "index": 0 }, { "bbox": [ 112, 110.33333333333333, 509, 141.66666666666666 ], "spans": [], "index": 1 }, { "bbox": [ 112, 141.66666666666666, 509, 173.0 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 180, 177, 437, 189 ], "group_id": 0, "lines": [ { "bbox": [ 180, 176, 438, 190 ], "spans": [ { "bbox": [ 180, 176, 438, 190 ], "score": 1.0, "content": "(a) Naive pipeline implementation, which can be extremely inefficient.", "type": "text" } ], "index": 3 } ], "index": 3 } ], "index": 2.0 }, { "type": "image", "bbox": [ 110, 198, 508, 287 ], "blocks": [ { "type": "image_body", "bbox": [ 110, 198, 508, 287 ], "group_id": 1, "lines": [ { "bbox": [ 110, 198, 508, 287 ], "spans": [ { "bbox": [ 110, 198, 508, 287 ], "score": 0.557, "type": "image", "image_path": "7e097da26a924a78e2067e9e562dba64d650231ddaa84fe3f23aa55b2d62a697.jpg" } ] } ], "index": 5, "virtual_lines": [ { "bbox": [ 110, 198, 508, 227.66666666666666 ], "spans": [], "index": 4 }, { "bbox": [ 110, 227.66666666666666, 508, 257.3333333333333 ], "spans": [], "index": 5 }, { "bbox": [ 110, 257.3333333333333, 508, 287.0 ], "spans": [], "index": 6 } ] }, { "type": "image_caption", "bbox": [ 221, 291, 394, 303 ], "group_id": 1, "lines": [ { "bbox": [ 220, 291, 395, 303 ], "spans": [ { "bbox": [ 220, 291, 395, 303 ], "score": 1.0, "content": "(b) GPipe (Huang et al., 2019) implementation.", "type": "text" } ], "index": 7 } ], "index": 7 } ], "index": 6.0 }, { "type": "image", "bbox": [ 112, 312, 510, 411 ], "blocks": [ { "type": "image_body", "bbox": [ 112, 312, 510, 411 ], "group_id": 2, "lines": [ { "bbox": [ 112, 312, 510, 411 ], "spans": [ { "bbox": [ 112, 312, 510, 411 ], "score": 0.329, "type": "image", "image_path": "36308eab87c4dc4bffb3cea67d031f68ec29f4d6fbc206fe0e2dfd880037a8ec.jpg" } ] } ], "index": 9, "virtual_lines": [ { "bbox": [ 112, 312, 510, 345.0 ], "spans": [], "index": 8 }, { "bbox": [ 112, 345.0, 510, 378.0 ], "spans": [], "index": 9 }, { "bbox": [ 112, 378.0, 510, 411.0 ], "spans": [], "index": 10 } ] }, { "type": "image_caption", "bbox": [ 165, 405, 450, 416 ], "group_id": 2, "lines": [ { "bbox": [ 165, 405, 450, 416 ], "spans": [], "index": 11 } ], "index": 11 }, { "type": "image_caption", "bbox": [ 157, 410, 453, 431 ], "group_id": 2, "lines": [ { "bbox": [ 167, 404, 451, 417 ], "spans": [ { "bbox": [ 167, 404, 451, 417 ], "score": 1.0, "content": "(c) Pipedream (Narayanan et al., 2021) implementation (used in GLM-130B).", "type": "text" } ], "index": 12 }, { "bbox": [ 159, 418, 452, 432 ], "spans": [ { "bbox": [ 159, 418, 452, 432 ], "score": 1.0, "content": "Figure 11: Different pipeline strategies and their conceptual comparison.", "type": "text" } ], "index": 13 } ], "index": 12.5 } ], "index": 11 }, { "type": "text", "bbox": [ 107, 462, 505, 496 ], "lines": [], "index": 15, "bbox_fs": [ 105, 462, 505, 498 ], "lines_deleted": true }, { "type": "text", "bbox": [ 106, 501, 505, 568 ], "lines": [ { "bbox": [ 105, 501, 505, 514 ], "spans": [ { "bbox": [ 105, 501, 505, 514 ], "score": 1.0, "content": "In general, in order to make full use of the hardware, it is common to place models into model", "type": "text" } ], "index": 17 }, { "bbox": [ 104, 512, 506, 525 ], "spans": [ { "bbox": [ 104, 512, 506, 525 ], "score": 1.0, "content": "parallel groups consisting of multiple nodes and try to use the full memory of each node. In this", "type": "text" } ], "index": 18 }, { "bbox": [ 104, 523, 506, 537 ], "spans": [ { "bbox": [ 104, 523, 506, 537 ], "score": 1.0, "content": "case, we can freely adjust the ratio of pipeline model parallelism and tensor model parallelism. Since", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 534, 505, 547 ], "spans": [ { "bbox": [ 105, 534, 505, 547 ], "score": 1.0, "content": "data parallelism hardly affects the computation time, we assume that the scale of data parallelism is", "type": "text" } ], "index": 20 }, { "bbox": [ 107, 545, 506, 558 ], "spans": [ { "bbox": [ 107, 546, 133, 556 ], "score": 0.9, "content": "d = 1", "type": "inline_equation" }, { "bbox": [ 133, 545, 255, 558 ], "score": 1.0, "content": ", the total number of nodes is", "type": "text" }, { "bbox": [ 255, 548, 262, 555 ], "score": 0.72, "content": "n", "type": "inline_equation" }, { "bbox": [ 262, 545, 429, 558 ], "score": 1.0, "content": ", the scale of tensor model parallelism is", "type": "text" }, { "bbox": [ 429, 547, 434, 556 ], "score": 0.72, "content": "t", "type": "inline_equation" }, { "bbox": [ 434, 545, 506, 558 ], "score": 1.0, "content": ", and the scale of", "type": "text" } ], "index": 21 }, { "bbox": [ 104, 556, 455, 569 ], "spans": [ { "bbox": [ 104, 556, 224, 569 ], "score": 1.0, "content": "pipeline model parallelism is", "type": "text" }, { "bbox": [ 225, 559, 231, 568 ], "score": 0.81, "content": "p", "type": "inline_equation" }, { "bbox": [ 231, 556, 285, 569 ], "score": 1.0, "content": ", and satisfies", "type": "text" }, { "bbox": [ 285, 557, 326, 568 ], "score": 0.91, "content": "n = t \\times p", "type": "inline_equation" }, { "bbox": [ 327, 556, 455, 569 ], "score": 1.0, "content": ", the bubble share in this case is", "type": "text" } ], "index": 22 } ], "index": 19.5, "bbox_fs": [ 104, 501, 506, 569 ] }, { "type": "interline_equation", "bbox": [ 245, 584, 365, 611 ], "lines": [ { "bbox": [ 245, 584, 365, 611 ], "spans": [ { "bbox": [ 245, 584, 365, 611 ], "score": 0.93, "content": "\\mathrm { b u b b l e - r a t i o } = { \\frac { n / t - 1 } { m + n / t - 1 } }", "type": "interline_equation", "image_path": "003beb6e0c11efa6db561de001d7b6f94305ce3cc95fc5e12d4041c765ca3bef.jpg" } ] } ], "index": 23.5, "virtual_lines": [ { "bbox": [ 245, 584, 365, 597.5 ], "spans": [], "index": 23 }, { "bbox": [ 245, 597.5, 365, 611.0 ], "spans": [], "index": 24 } ] }, { "type": "text", "bbox": [ 106, 632, 505, 732 ], "lines": [ { "bbox": [ 106, 632, 505, 646 ], "spans": [ { "bbox": [ 106, 632, 505, 646 ], "score": 1.0, "content": "From the above equation, we can see that increasing the size of tensor parallelism will further reduce", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 644, 505, 656 ], "spans": [ { "bbox": [ 106, 644, 505, 656 ], "score": 1.0, "content": "the bubble ratio. However, the tensor parallelism scale cannot be increased indefinitely, which would", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 655, 506, 667 ], "spans": [ { "bbox": [ 106, 655, 506, 667 ], "score": 1.0, "content": "lead to a reduction in computational granularity and greatly increase the communication cost across", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 666, 505, 678 ], "spans": [ { "bbox": [ 105, 666, 505, 678 ], "score": 1.0, "content": "a certain threshold. Therefore, we can conclude that the size of tensor model parallelism should", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 677, 505, 689 ], "spans": [ { "bbox": [ 105, 677, 505, 689 ], "score": 1.0, "content": "increase slowly as the model size increases, but not more than the number of graphics cards in", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 687, 506, 701 ], "spans": [ { "bbox": [ 105, 687, 506, 701 ], "score": 1.0, "content": "a single machine. In the training of GLM-130B, the experiments show that the optimal tensor", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 699, 505, 711 ], "spans": [ { "bbox": [ 105, 699, 185, 711 ], "score": 1.0, "content": "parallelism scale is", "type": "text" }, { "bbox": [ 185, 699, 208, 709 ], "score": 0.89, "content": "t = 4", "type": "inline_equation" }, { "bbox": [ 209, 699, 355, 711 ], "score": 1.0, "content": "and does not scale up to the scale of", "type": "text" }, { "bbox": [ 355, 699, 378, 709 ], "score": 0.9, "content": "t = 8", "type": "inline_equation" }, { "bbox": [ 379, 699, 505, 711 ], "score": 1.0, "content": "in the DGX-A100 system. The", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 709, 506, 722 ], "spans": [ { "bbox": [ 105, 709, 191, 722 ], "score": 1.0, "content": "other parameters are", "type": "text" }, { "bbox": [ 191, 710, 259, 721 ], "score": 0.89, "content": "m = 1 7 6 , p = 8", "type": "inline_equation" }, { "bbox": [ 259, 709, 442, 722 ], "score": 1.0, "content": ", and the bubble share is calculated to be only", "type": "text" }, { "bbox": [ 443, 710, 465, 721 ], "score": 0.85, "content": "3 . 8 \\%", "type": "inline_equation" }, { "bbox": [ 465, 709, 506, 722 ], "score": 1.0, "content": ", which is", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 720, 385, 734 ], "spans": [ { "bbox": [ 105, 720, 385, 734 ], "score": 1.0, "content": "sufficient to demonstrate the efficiency of pipeline model parallelism.", "type": "text" } ], "index": 33 } ], "index": 29, "bbox_fs": [ 105, 632, 506, 734 ] } ] }, { "preproc_blocks": [ { "type": "table", "bbox": [ 144, 109, 464, 153 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 80, 504, 103 ], "group_id": 0, "lines": [ { "bbox": [ 105, 78, 505, 93 ], "spans": [ { "bbox": [ 105, 78, 505, 93 ], "score": 1.0, "content": "Table 9: Decoding speed in our real trials between BLOOM-176B (Scao et al., 2022) (from Hug-", "type": "text" } ], "index": 0 }, { "bbox": [ 106, 91, 505, 103 ], "spans": [ { "bbox": [ 106, 91, 434, 103 ], "score": 1.0, "content": "gingface Transformers) and GLM-130B’s implementation in 16-bit precision with", "type": "text" }, { "bbox": [ 434, 92, 475, 102 ], "score": 0.82, "content": "8 \\times \\mathrm { A l 0 0 }", "type": "inline_equation" }, { "bbox": [ 476, 91, 505, 103 ], "score": 1.0, "content": "(80G).", "type": "text" } ], "index": 1 } ], "index": 0.5 }, { "type": "table_body", "bbox": [ 144, 109, 464, 153 ], "group_id": 0, "lines": [ { "bbox": [ 144, 109, 464, 153 ], "spans": [ { "bbox": [ 144, 109, 464, 153 ], "score": 0.953, "html": "
Decode Tokens12851210242048
BLOOM-176B36.76s137.91s287.93s631.81s
GLM-130B4.40s (×8.4)18.77s (×7.3)39.81s (×7.2)89.88s (×7.0)
", "type": "table", "image_path": "c1f7a01b5144d69959a19f3ed5272867731042b40722118e8dd837d7f5f3f423.jpg" } ] } ], "index": 3, "virtual_lines": [ { "bbox": [ 144, 109, 464, 123.66666666666667 ], "spans": [], "index": 2 }, { "bbox": [ 144, 123.66666666666667, 464, 138.33333333333334 ], "spans": [], "index": 3 }, { "bbox": [ 144, 138.33333333333334, 464, 153.0 ], "spans": [], "index": 4 } ] } ], "index": 1.75 }, { "type": "image", "bbox": [ 109, 169, 484, 287 ], "blocks": [ { "type": "image_body", "bbox": [ 109, 169, 484, 287 ], "group_id": 0, "lines": [ { "bbox": [ 109, 169, 484, 287 ], "spans": [ { "bbox": [ 109, 169, 484, 287 ], "score": 0.957, "type": "image", "image_path": "e71b7646c6ec61977504538c7bb8a99c10f56c1aebce1f8a2cb7186d4f7242f4.jpg" } ] } ], "index": 6, "virtual_lines": [ { "bbox": [ 109, 169, 484, 208.33333333333334 ], "spans": [], "index": 5 }, { "bbox": [ 109, 208.33333333333334, 484, 247.66666666666669 ], "spans": [], "index": 6 }, { "bbox": [ 109, 247.66666666666669, 484, 287.0 ], "spans": [], "index": 7 } ] }, { "type": "image_caption", "bbox": [ 106, 297, 506, 353 ], "group_id": 0, "lines": [ { "bbox": [ 106, 298, 506, 310 ], "spans": [ { "bbox": [ 106, 298, 506, 310 ], "score": 1.0, "content": "Figure 12: Distribution of outliers in GLM-130B’s activations. The vertical axis denotes the hidden", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 309, 505, 321 ], "spans": [ { "bbox": [ 105, 309, 505, 321 ], "score": 1.0, "content": "state dimensions (4,096 rather than 12,288 as this is a parallel segment), and the horizontal denotes", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 320, 505, 332 ], "spans": [ { "bbox": [ 105, 320, 247, 332 ], "score": 1.0, "content": "tokens in a input sentence. Using a", "type": "text" }, { "bbox": [ 247, 320, 286, 331 ], "score": 0.87, "content": "1 2 8 \\times 1 2 8", "type": "inline_equation" }, { "bbox": [ 286, 320, 505, 332 ], "score": 1.0, "content": "2D histogram to get a better view of the distribution of", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 330, 506, 344 ], "spans": [ { "bbox": [ 105, 330, 506, 344 ], "score": 1.0, "content": "outliers. The figure on the right swaps some of the vertical coordinates so that it can be clearly seen", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 342, 309, 353 ], "spans": [ { "bbox": [ 106, 343, 216, 353 ], "score": 1.0, "content": "that the outlier occur about", "type": "text" }, { "bbox": [ 216, 342, 236, 352 ], "score": 0.86, "content": "30 \\%", "type": "inline_equation" }, { "bbox": [ 236, 343, 309, 353 ], "score": 1.0, "content": "of its dimensions.", "type": "text" } ], "index": 12 } ], "index": 10 } ], "index": 8.0 }, { "type": "title", "bbox": [ 108, 365, 252, 376 ], "lines": [ { "bbox": [ 105, 363, 253, 377 ], "spans": [ { "bbox": [ 105, 363, 253, 377 ], "score": 1.0, "content": "B.5 INFERENCE ACCELERATION", "type": "text" } ], "index": 13 } ], "index": 13 }, { "type": "text", "bbox": [ 106, 385, 505, 419 ], "lines": [ { "bbox": [ 106, 386, 505, 398 ], "spans": [ { "bbox": [ 106, 386, 505, 398 ], "score": 1.0, "content": "A model’s plain PyTorch implementation is easy to read and run, but it can be intolerably slow for", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 397, 504, 409 ], "spans": [ { "bbox": [ 106, 397, 504, 409 ], "score": 1.0, "content": "LLMs. Based on NVIDIA’s FasterTransformer6 we spend two months implementing GLM-130B", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 407, 412, 421 ], "spans": [ { "bbox": [ 106, 407, 124, 421 ], "score": 1.0, "content": "into", "type": "text" }, { "bbox": [ 124, 408, 144, 418 ], "score": 0.87, "content": "\\mathrm { C } { + } { + }", "type": "inline_equation" }, { "bbox": [ 145, 407, 412, 421 ], "score": 1.0, "content": "to speed up inference, including the following main optimizations:", "type": "text" } ], "index": 16 } ], "index": 15 }, { "type": "text", "bbox": [ 106, 424, 505, 498 ], "lines": [ { "bbox": [ 105, 424, 464, 437 ], "spans": [ { "bbox": [ 105, 424, 464, 437 ], "score": 1.0, "content": "• Optimize time-costing operations such as GeGLU, Layer Normalization, and SoftMax.", "type": "text" } ], "index": 17 }, { "bbox": [ 104, 436, 505, 451 ], "spans": [ { "bbox": [ 104, 436, 505, 451 ], "score": 1.0, "content": "• Reduce the number of GPU kernel calls (e.g., fuse MultiheadAttention into one computation ker-", "type": "text" } ], "index": 18 }, { "bbox": [ 113, 448, 136, 461 ], "spans": [ { "bbox": [ 113, 448, 136, 461 ], "score": 1.0, "content": "nel).", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 461, 394, 474 ], "spans": [ { "bbox": [ 105, 461, 394, 474 ], "score": 1.0, "content": "• Specify the algorithm of the best performance when calling cuBLAS.", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 475, 448, 487 ], "spans": [ { "bbox": [ 105, 475, 448, 487 ], "score": 1.0, "content": "• Improve the computing efficiency by transposing the model parameters in advance.", "type": "text" } ], "index": 21 }, { "bbox": [ 104, 485, 505, 502 ], "spans": [ { "bbox": [ 104, 485, 505, 502 ], "score": 1.0, "content": "• Use half2 in FP16 computation to double the half’s access bandwidth and computing throughput.", "type": "text" } ], "index": 22 } ], "index": 19.5 }, { "type": "text", "bbox": [ 106, 504, 505, 581 ], "lines": [ { "bbox": [ 106, 504, 505, 516 ], "spans": [ { "bbox": [ 106, 504, 505, 516 ], "score": 1.0, "content": "We currently pack up the full FasterTransformer implementation for GLM-130B into a plug-and-", "type": "text" } ], "index": 23 }, { "bbox": [ 106, 515, 505, 528 ], "spans": [ { "bbox": [ 106, 515, 505, 528 ], "score": 1.0, "content": "play docker image for users’ convenience, and we are still working on adapting it to our Pytorch", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 526, 505, 538 ], "spans": [ { "bbox": [ 106, 526, 505, 538 ], "score": 1.0, "content": "implementation by only changing one line of code. A comparison between our speeding up GLM-", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 535, 505, 551 ], "spans": [ { "bbox": [ 105, 535, 505, 551 ], "score": 1.0, "content": "130B implementation and the so far default available BLOOM-176B implementation in Hugging-", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 547, 505, 560 ], "spans": [ { "bbox": [ 105, 547, 505, 560 ], "score": 1.0, "content": "face Transformers7 is shown in Table 9. Our implementation for GLM-130B can be 7.0 to 8.4 times", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 558, 505, 571 ], "spans": [ { "bbox": [ 105, 558, 505, 571 ], "score": 1.0, "content": "faster than BLOOM-176B’s Pytorch implementation. The exertion to accelerate LLM for tolerable", "type": "text" } ], "index": 28 }, { "bbox": [ 106, 570, 362, 583 ], "spans": [ { "bbox": [ 106, 570, 362, 583 ], "score": 1.0, "content": "response speed could be extremely crucial to its popularization.", "type": "text" } ], "index": 29 } ], "index": 26 }, { "type": "title", "bbox": [ 108, 596, 274, 607 ], "lines": [ { "bbox": [ 105, 594, 275, 609 ], "spans": [ { "bbox": [ 105, 594, 275, 609 ], "score": 1.0, "content": "B.6 ACTIVATION OUTLIER ANALYSIS", "type": "text" } ], "index": 30 } ], "index": 30 }, { "type": "text", "bbox": [ 107, 616, 505, 661 ], "lines": [ { "bbox": [ 105, 617, 505, 628 ], "spans": [ { "bbox": [ 105, 617, 505, 628 ], "score": 1.0, "content": "As is described in prior sections, GLM-130B’s weight can be quantized into INT4 to drastically cut", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 628, 505, 639 ], "spans": [ { "bbox": [ 105, 628, 505, 639 ], "score": 1.0, "content": "down parameter redundancy in the inference. However, we also find that GLM-130B’s activations", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 639, 505, 651 ], "spans": [ { "bbox": [ 105, 639, 505, 651 ], "score": 1.0, "content": "(i.e., hidden states between layers) cannot be properly quantized, as they contain value outliers as is", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 649, 355, 662 ], "spans": [ { "bbox": [ 105, 649, 355, 662 ], "score": 1.0, "content": "also suggested in concurrent literature (Dettmers et al., 2022).", "type": "text" } ], "index": 34 } ], "index": 32.5 }, { "type": "text", "bbox": [ 108, 666, 505, 700 ], "lines": [ { "bbox": [ 105, 665, 505, 680 ], "spans": [ { "bbox": [ 105, 665, 261, 680 ], "score": 1.0, "content": "What is special in GLM-130B is that", "type": "text" }, { "bbox": [ 261, 667, 281, 677 ], "score": 0.87, "content": "30 \\%", "type": "inline_equation" }, { "bbox": [ 281, 665, 505, 680 ], "score": 1.0, "content": "of its dimensions may present value outliers (Cf. Fig-", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 677, 505, 690 ], "spans": [ { "bbox": [ 106, 677, 505, 690 ], "score": 1.0, "content": "ure 12), while other GPT-based LLMs (e.g., OPT-175B and BLOOM 176B) only has very few", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 688, 504, 700 ], "spans": [ { "bbox": [ 106, 688, 504, 700 ], "score": 1.0, "content": "outlying dimensions (Dettmers et al., 2022). Therefore, the solution to decompose matrix multipli-", "type": "text" } ], "index": 37 } ], "index": 36 } ], "page_idx": 26, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 118, 711, 428, 732 ], "lines": [ { "bbox": [ 117, 708, 358, 724 ], "spans": [ { "bbox": [ 117, 708, 358, 724 ], "score": 1.0, "content": "6https://github.com/NVIDIA/FasterTransformer", "type": "text" } ] }, { "bbox": [ 119, 720, 427, 733 ], "spans": [ { "bbox": [ 119, 720, 427, 733 ], "score": 1.0, "content": "7https://huggingface.co/docs/transformers/model_doc/bloom", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 765 ], "spans": [ { "bbox": [ 298, 750, 313, 765 ], "score": 1.0, "content": "", "type": "text", "height": 15, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "table", "bbox": [ 144, 109, 464, 153 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 80, 504, 103 ], "group_id": 0, "lines": [ { "bbox": [ 105, 78, 505, 93 ], "spans": [ { "bbox": [ 105, 78, 505, 93 ], "score": 1.0, "content": "Table 9: Decoding speed in our real trials between BLOOM-176B (Scao et al., 2022) (from Hug-", "type": "text" } ], "index": 0 }, { "bbox": [ 106, 91, 505, 103 ], "spans": [ { "bbox": [ 106, 91, 434, 103 ], "score": 1.0, "content": "gingface Transformers) and GLM-130B’s implementation in 16-bit precision with", "type": "text" }, { "bbox": [ 434, 92, 475, 102 ], "score": 0.82, "content": "8 \\times \\mathrm { A l 0 0 }", "type": "inline_equation" }, { "bbox": [ 476, 91, 505, 103 ], "score": 1.0, "content": "(80G).", "type": "text" } ], "index": 1 } ], "index": 0.5 }, { "type": "table_body", "bbox": [ 144, 109, 464, 153 ], "group_id": 0, "lines": [ { "bbox": [ 144, 109, 464, 153 ], "spans": [ { "bbox": [ 144, 109, 464, 153 ], "score": 0.953, "html": "
Decode Tokens12851210242048
BLOOM-176B36.76s137.91s287.93s631.81s
GLM-130B4.40s (×8.4)18.77s (×7.3)39.81s (×7.2)89.88s (×7.0)
", "type": "table", "image_path": "c1f7a01b5144d69959a19f3ed5272867731042b40722118e8dd837d7f5f3f423.jpg" } ] } ], "index": 3, "virtual_lines": [ { "bbox": [ 144, 109, 464, 123.66666666666667 ], "spans": [], "index": 2 }, { "bbox": [ 144, 123.66666666666667, 464, 138.33333333333334 ], "spans": [], "index": 3 }, { "bbox": [ 144, 138.33333333333334, 464, 153.0 ], "spans": [], "index": 4 } ] } ], "index": 1.75 }, { "type": "image", "bbox": [ 109, 169, 484, 287 ], "blocks": [ { "type": "image_body", "bbox": [ 109, 169, 484, 287 ], "group_id": 0, "lines": [ { "bbox": [ 109, 169, 484, 287 ], "spans": [ { "bbox": [ 109, 169, 484, 287 ], "score": 0.957, "type": "image", "image_path": "e71b7646c6ec61977504538c7bb8a99c10f56c1aebce1f8a2cb7186d4f7242f4.jpg" } ] } ], "index": 6, "virtual_lines": [ { "bbox": [ 109, 169, 484, 208.33333333333334 ], "spans": [], "index": 5 }, { "bbox": [ 109, 208.33333333333334, 484, 247.66666666666669 ], "spans": [], "index": 6 }, { "bbox": [ 109, 247.66666666666669, 484, 287.0 ], "spans": [], "index": 7 } ] }, { "type": "image_caption", "bbox": [ 106, 297, 506, 353 ], "group_id": 0, "lines": [ { "bbox": [ 106, 298, 506, 310 ], "spans": [ { "bbox": [ 106, 298, 506, 310 ], "score": 1.0, "content": "Figure 12: Distribution of outliers in GLM-130B’s activations. The vertical axis denotes the hidden", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 309, 505, 321 ], "spans": [ { "bbox": [ 105, 309, 505, 321 ], "score": 1.0, "content": "state dimensions (4,096 rather than 12,288 as this is a parallel segment), and the horizontal denotes", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 320, 505, 332 ], "spans": [ { "bbox": [ 105, 320, 247, 332 ], "score": 1.0, "content": "tokens in a input sentence. Using a", "type": "text" }, { "bbox": [ 247, 320, 286, 331 ], "score": 0.87, "content": "1 2 8 \\times 1 2 8", "type": "inline_equation" }, { "bbox": [ 286, 320, 505, 332 ], "score": 1.0, "content": "2D histogram to get a better view of the distribution of", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 330, 506, 344 ], "spans": [ { "bbox": [ 105, 330, 506, 344 ], "score": 1.0, "content": "outliers. The figure on the right swaps some of the vertical coordinates so that it can be clearly seen", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 342, 309, 353 ], "spans": [ { "bbox": [ 106, 343, 216, 353 ], "score": 1.0, "content": "that the outlier occur about", "type": "text" }, { "bbox": [ 216, 342, 236, 352 ], "score": 0.86, "content": "30 \\%", "type": "inline_equation" }, { "bbox": [ 236, 343, 309, 353 ], "score": 1.0, "content": "of its dimensions.", "type": "text" } ], "index": 12 } ], "index": 10 } ], "index": 8.0 }, { "type": "title", "bbox": [ 108, 365, 252, 376 ], "lines": [ { "bbox": [ 105, 363, 253, 377 ], "spans": [ { "bbox": [ 105, 363, 253, 377 ], "score": 1.0, "content": "B.5 INFERENCE ACCELERATION", "type": "text" } ], "index": 13 } ], "index": 13 }, { "type": "text", "bbox": [ 106, 385, 505, 419 ], "lines": [ { "bbox": [ 106, 386, 505, 398 ], "spans": [ { "bbox": [ 106, 386, 505, 398 ], "score": 1.0, "content": "A model’s plain PyTorch implementation is easy to read and run, but it can be intolerably slow for", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 397, 504, 409 ], "spans": [ { "bbox": [ 106, 397, 504, 409 ], "score": 1.0, "content": "LLMs. Based on NVIDIA’s FasterTransformer6 we spend two months implementing GLM-130B", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 407, 412, 421 ], "spans": [ { "bbox": [ 106, 407, 124, 421 ], "score": 1.0, "content": "into", "type": "text" }, { "bbox": [ 124, 408, 144, 418 ], "score": 0.87, "content": "\\mathrm { C } { + } { + }", "type": "inline_equation" }, { "bbox": [ 145, 407, 412, 421 ], "score": 1.0, "content": "to speed up inference, including the following main optimizations:", "type": "text" } ], "index": 16 } ], "index": 15, "bbox_fs": [ 106, 386, 505, 421 ] }, { "type": "list", "bbox": [ 106, 424, 505, 498 ], "lines": [ { "bbox": [ 105, 424, 464, 437 ], "spans": [ { "bbox": [ 105, 424, 464, 437 ], "score": 1.0, "content": "• Optimize time-costing operations such as GeGLU, Layer Normalization, and SoftMax.", "type": "text" } ], "index": 17, "is_list_end_line": true }, { "bbox": [ 104, 436, 505, 451 ], "spans": [ { "bbox": [ 104, 436, 505, 451 ], "score": 1.0, "content": "• Reduce the number of GPU kernel calls (e.g., fuse MultiheadAttention into one computation ker-", "type": "text" } ], "index": 18, "is_list_start_line": true }, { "bbox": [ 113, 448, 136, 461 ], "spans": [ { "bbox": [ 113, 448, 136, 461 ], "score": 1.0, "content": "nel).", "type": "text" } ], "index": 19, "is_list_end_line": true }, { "bbox": [ 105, 461, 394, 474 ], "spans": [ { "bbox": [ 105, 461, 394, 474 ], "score": 1.0, "content": "• Specify the algorithm of the best performance when calling cuBLAS.", "type": "text" } ], "index": 20, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 105, 475, 448, 487 ], "spans": [ { "bbox": [ 105, 475, 448, 487 ], "score": 1.0, "content": "• Improve the computing efficiency by transposing the model parameters in advance.", "type": "text" } ], "index": 21, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 104, 485, 505, 502 ], "spans": [ { "bbox": [ 104, 485, 505, 502 ], "score": 1.0, "content": "• Use half2 in FP16 computation to double the half’s access bandwidth and computing throughput.", "type": "text" } ], "index": 22, "is_list_start_line": true, "is_list_end_line": true } ], "index": 19.5, "bbox_fs": [ 104, 424, 505, 502 ] }, { "type": "text", "bbox": [ 106, 504, 505, 581 ], "lines": [ { "bbox": [ 106, 504, 505, 516 ], "spans": [ { "bbox": [ 106, 504, 505, 516 ], "score": 1.0, "content": "We currently pack up the full FasterTransformer implementation for GLM-130B into a plug-and-", "type": "text" } ], "index": 23 }, { "bbox": [ 106, 515, 505, 528 ], "spans": [ { "bbox": [ 106, 515, 505, 528 ], "score": 1.0, "content": "play docker image for users’ convenience, and we are still working on adapting it to our Pytorch", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 526, 505, 538 ], "spans": [ { "bbox": [ 106, 526, 505, 538 ], "score": 1.0, "content": "implementation by only changing one line of code. A comparison between our speeding up GLM-", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 535, 505, 551 ], "spans": [ { "bbox": [ 105, 535, 505, 551 ], "score": 1.0, "content": "130B implementation and the so far default available BLOOM-176B implementation in Hugging-", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 547, 505, 560 ], "spans": [ { "bbox": [ 105, 547, 505, 560 ], "score": 1.0, "content": "face Transformers7 is shown in Table 9. Our implementation for GLM-130B can be 7.0 to 8.4 times", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 558, 505, 571 ], "spans": [ { "bbox": [ 105, 558, 505, 571 ], "score": 1.0, "content": "faster than BLOOM-176B’s Pytorch implementation. The exertion to accelerate LLM for tolerable", "type": "text" } ], "index": 28 }, { "bbox": [ 106, 570, 362, 583 ], "spans": [ { "bbox": [ 106, 570, 362, 583 ], "score": 1.0, "content": "response speed could be extremely crucial to its popularization.", "type": "text" } ], "index": 29 } ], "index": 26, "bbox_fs": [ 105, 504, 505, 583 ] }, { "type": "title", "bbox": [ 108, 596, 274, 607 ], "lines": [ { "bbox": [ 105, 594, 275, 609 ], "spans": [ { "bbox": [ 105, 594, 275, 609 ], "score": 1.0, "content": "B.6 ACTIVATION OUTLIER ANALYSIS", "type": "text" } ], "index": 30 } ], "index": 30 }, { "type": "text", "bbox": [ 107, 616, 505, 661 ], "lines": [ { "bbox": [ 105, 617, 505, 628 ], "spans": [ { "bbox": [ 105, 617, 505, 628 ], "score": 1.0, "content": "As is described in prior sections, GLM-130B’s weight can be quantized into INT4 to drastically cut", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 628, 505, 639 ], "spans": [ { "bbox": [ 105, 628, 505, 639 ], "score": 1.0, "content": "down parameter redundancy in the inference. However, we also find that GLM-130B’s activations", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 639, 505, 651 ], "spans": [ { "bbox": [ 105, 639, 505, 651 ], "score": 1.0, "content": "(i.e., hidden states between layers) cannot be properly quantized, as they contain value outliers as is", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 649, 355, 662 ], "spans": [ { "bbox": [ 105, 649, 355, 662 ], "score": 1.0, "content": "also suggested in concurrent literature (Dettmers et al., 2022).", "type": "text" } ], "index": 34 } ], "index": 32.5, "bbox_fs": [ 105, 617, 505, 662 ] }, { "type": "text", "bbox": [ 108, 666, 505, 700 ], "lines": [ { "bbox": [ 105, 665, 505, 680 ], "spans": [ { "bbox": [ 105, 665, 261, 680 ], "score": 1.0, "content": "What is special in GLM-130B is that", "type": "text" }, { "bbox": [ 261, 667, 281, 677 ], "score": 0.87, "content": "30 \\%", "type": "inline_equation" }, { "bbox": [ 281, 665, 505, 680 ], "score": 1.0, "content": "of its dimensions may present value outliers (Cf. Fig-", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 677, 505, 690 ], "spans": [ { "bbox": [ 106, 677, 505, 690 ], "score": 1.0, "content": "ure 12), while other GPT-based LLMs (e.g., OPT-175B and BLOOM 176B) only has very few", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 688, 504, 700 ], "spans": [ { "bbox": [ 106, 688, 504, 700 ], "score": 1.0, "content": "outlying dimensions (Dettmers et al., 2022). Therefore, the solution to decompose matrix multipli-", "type": "text" } ], "index": 37 }, { "bbox": [ 106, 82, 505, 95 ], "spans": [ { "bbox": [ 106, 82, 505, 95 ], "score": 1.0, "content": "cation for higher-precision computation in outlying dimensions proposed in (Dettmers et al., 2022)", "type": "text", "cross_page": true } ], "index": 0 }, { "bbox": [ 105, 93, 237, 105 ], "spans": [ { "bbox": [ 105, 93, 237, 105 ], "score": 1.0, "content": "is not applicable to GLM-130B.", "type": "text", "cross_page": true } ], "index": 1 } ], "index": 36, "bbox_fs": [ 105, 665, 505, 700 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 106, 82, 503, 104 ], "lines": [ { "bbox": [ 106, 82, 505, 95 ], "spans": [ { "bbox": [ 106, 82, 505, 95 ], "score": 1.0, "content": "cation for higher-precision computation in outlying dimensions proposed in (Dettmers et al., 2022)", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 93, 237, 105 ], "spans": [ { "bbox": [ 105, 93, 237, 105 ], "score": 1.0, "content": "is not applicable to GLM-130B.", "type": "text" } ], "index": 1 } ], "index": 0.5 }, { "type": "text", "bbox": [ 107, 110, 381, 210 ], "lines": [ { "bbox": [ 106, 110, 381, 123 ], "spans": [ { "bbox": [ 106, 110, 381, 123 ], "score": 1.0, "content": "We study whether these outliers can be ignored in LLM quantiza-", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 121, 381, 133 ], "spans": [ { "bbox": [ 106, 121, 381, 133 ], "score": 1.0, "content": "tion, and the answer is interestingly “no”. These values can be sev-", "type": "text" } ], "index": 3 }, { "bbox": [ 106, 132, 381, 144 ], "spans": [ { "bbox": [ 106, 132, 381, 144 ], "score": 1.0, "content": "eral orders of magnitude larger than ordinary activation values (Cf.", "type": "text" } ], "index": 4 }, { "bbox": [ 106, 143, 381, 155 ], "spans": [ { "bbox": [ 106, 143, 289, 155 ], "score": 1.0, "content": "Figure 13). While most values (accounts for", "type": "text" }, { "bbox": [ 289, 143, 322, 154 ], "score": 0.88, "content": "9 9 . 9 8 \\%", "type": "inline_equation" }, { "bbox": [ 322, 143, 381, 155 ], "score": 1.0, "content": "dimensions in", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 154, 382, 166 ], "spans": [ { "bbox": [ 105, 154, 382, 166 ], "score": 1.0, "content": "a hidden state) stay less them 6, those two outlying dimensions can", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 165, 382, 178 ], "spans": [ { "bbox": [ 105, 165, 382, 178 ], "score": 1.0, "content": "reach 50 or even over 100. They are speculated to be some important", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 176, 382, 189 ], "spans": [ { "bbox": [ 105, 176, 382, 189 ], "score": 1.0, "content": "clues for GLM-130B and potentially other LLMs to memorize some", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 186, 382, 200 ], "spans": [ { "bbox": [ 105, 186, 382, 200 ], "score": 1.0, "content": "fixed world or language knowledge, and thus removing or omitting", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 198, 381, 210 ], "spans": [ { "bbox": [ 106, 198, 381, 210 ], "score": 1.0, "content": "them in quantization can lead to significant performance degradation.", "type": "text" } ], "index": 10 } ], "index": 6 }, { "type": "image", "bbox": [ 393, 104, 503, 182 ], "blocks": [ { "type": "image_body", "bbox": [ 393, 104, 503, 182 ], "group_id": 0, "lines": [ { "bbox": [ 393, 104, 503, 182 ], "spans": [ { "bbox": [ 393, 104, 503, 182 ], "score": 0.956, "type": "image", "image_path": "1b2c2a68649c2516e4c5a6a77950542b0e7f807a6d377488dcc67eef22b8b90d.jpg" } ] } ], "index": 11.5, "virtual_lines": [ { "bbox": [ 393, 104, 503, 143.0 ], "spans": [], "index": 11 }, { "bbox": [ 393, 143.0, 503, 182.0 ], "spans": [], "index": 12 } ] }, { "type": "image_caption", "bbox": [ 389, 185, 505, 218 ], "group_id": 0, "lines": [ { "bbox": [ 388, 185, 506, 196 ], "spans": [ { "bbox": [ 388, 185, 506, 196 ], "score": 1.0, "content": "Figure 13: GLM-130B’s", "type": "text" } ], "index": 13 }, { "bbox": [ 389, 196, 505, 207 ], "spans": [ { "bbox": [ 389, 196, 505, 207 ], "score": 1.0, "content": "activation outliers’ absolute", "type": "text" } ], "index": 14 }, { "bbox": [ 389, 207, 438, 218 ], "spans": [ { "bbox": [ 389, 207, 438, 218 ], "score": 1.0, "content": "value scale.", "type": "text" } ], "index": 15 } ], "index": 14 } ], "index": 12.75 }, { "type": "title", "bbox": [ 108, 223, 239, 235 ], "lines": [ { "bbox": [ 105, 221, 240, 238 ], "spans": [ { "bbox": [ 105, 221, 240, 238 ], "score": 1.0, "content": "B.7 WEIGHT QUANTIZATION", "type": "text" } ], "index": 16 } ], "index": 16 }, { "type": "title", "bbox": [ 107, 244, 210, 255 ], "lines": [ { "bbox": [ 106, 243, 211, 256 ], "spans": [ { "bbox": [ 106, 243, 211, 256 ], "score": 1.0, "content": "B.7.1 PRELIMINARIES", "type": "text" } ], "index": 17 } ], "index": 17 }, { "type": "text", "bbox": [ 107, 263, 504, 286 ], "lines": [ { "bbox": [ 105, 262, 506, 277 ], "spans": [ { "bbox": [ 105, 262, 383, 277 ], "score": 1.0, "content": "Absmax Quantization is a symmetric quantization that a range of", "type": "text" }, { "bbox": [ 383, 263, 441, 276 ], "score": 0.65, "content": "[ - \\mathrm { a b s m a x } ( x )", "type": "inline_equation" }, { "bbox": [ 441, 262, 478, 277 ], "score": 1.0, "content": ", absmax", "type": "text" }, { "bbox": [ 478, 263, 494, 276 ], "score": 0.36, "content": "( x ) ]", "type": "inline_equation" }, { "bbox": [ 495, 262, 506, 277 ], "score": 1.0, "content": "is", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 273, 257, 288 ], "spans": [ { "bbox": [ 105, 273, 151, 288 ], "score": 1.0, "content": "mapped to", "type": "text" }, { "bbox": [ 151, 274, 229, 287 ], "score": 0.92, "content": "[ - ( 2 ^ { b } - 1 ) , 2 ^ { b } - 1 ]", "type": "inline_equation" }, { "bbox": [ 230, 273, 245, 288 ], "score": 1.0, "content": "for", "type": "text" }, { "bbox": [ 245, 277, 252, 285 ], "score": 0.75, "content": "x", "type": "inline_equation" }, { "bbox": [ 252, 273, 257, 288 ], "score": 1.0, "content": ".", "type": "text" } ], "index": 19 } ], "index": 18.5 }, { "type": "interline_equation", "bbox": [ 265, 292, 345, 334 ], "lines": [ { "bbox": [ 265, 292, 345, 334 ], "spans": [ { "bbox": [ 265, 292, 345, 334 ], "score": 0.91, "content": "\\begin{array} { l c l } { s _ { x } = \\displaystyle \\frac { \\mathrm { a b s m a x } ( x ) } { 2 ^ { b - 1 } - 1 } } \\\\ { x _ { q } = \\mathrm { r o u n d } ( x / s _ { x } ) } \\end{array}", "type": "interline_equation", "image_path": "bafb457a3bba93fd81e4c16616a8eea2269d7b102ffd3da67049d06fe7c84d86.jpg" } ] } ], "index": 20.5, "virtual_lines": [ { "bbox": [ 265, 292, 345, 313.0 ], "spans": [], "index": 20 }, { "bbox": [ 265, 313.0, 345, 334.0 ], "spans": [], "index": 21 } ] }, { "type": "text", "bbox": [ 105, 338, 427, 350 ], "lines": [ { "bbox": [ 106, 337, 429, 351 ], "spans": [ { "bbox": [ 106, 337, 133, 351 ], "score": 1.0, "content": "where", "type": "text" }, { "bbox": [ 133, 340, 144, 349 ], "score": 0.86, "content": "s _ { x }", "type": "inline_equation" }, { "bbox": [ 145, 337, 227, 351 ], "score": 1.0, "content": "is the scaling factor,", "type": "text" }, { "bbox": [ 228, 340, 239, 350 ], "score": 0.86, "content": "x _ { q }", "type": "inline_equation" }, { "bbox": [ 239, 337, 357, 351 ], "score": 1.0, "content": "is the quantization result and", "type": "text" }, { "bbox": [ 358, 339, 363, 348 ], "score": 0.8, "content": "b", "type": "inline_equation" }, { "bbox": [ 363, 337, 429, 351 ], "score": 1.0, "content": "is the bit width.", "type": "text" } ], "index": 22 } ], "index": 22 }, { "type": "text", "bbox": [ 105, 357, 504, 380 ], "lines": [ { "bbox": [ 105, 356, 506, 371 ], "spans": [ { "bbox": [ 105, 356, 419, 371 ], "score": 1.0, "content": "Zeropoint Quantization is an asymmetric quantization that a range of", "type": "text" }, { "bbox": [ 420, 357, 492, 370 ], "score": 0.92, "content": "[ \\operatorname* { m i n } ( x ) , \\operatorname* { m a x } ( x ) ]", "type": "inline_equation" }, { "bbox": [ 493, 356, 506, 371 ], "score": 1.0, "content": "is", "type": "text" } ], "index": 23 }, { "bbox": [ 104, 366, 234, 381 ], "spans": [ { "bbox": [ 104, 366, 151, 381 ], "score": 1.0, "content": "mapped to", "type": "text" }, { "bbox": [ 151, 368, 230, 380 ], "score": 0.92, "content": "[ - ( 2 ^ { b } - 1 ) , 2 ^ { b } - 1 ]", "type": "inline_equation" }, { "bbox": [ 230, 366, 234, 381 ], "score": 1.0, "content": ".", "type": "text" } ], "index": 24 } ], "index": 23.5 }, { "type": "interline_equation", "bbox": [ 228, 385, 383, 443 ], "lines": [ { "bbox": [ 228, 385, 383, 443 ], "spans": [ { "bbox": [ 228, 385, 383, 443 ], "score": 0.94, "content": "\\begin{array} { l } { s _ { x } = \\frac { \\operatorname* { m a x } ( x ) - \\operatorname* { m i n } ( x ) } { 2 ^ { b } - 2 } } \\\\ { z _ { x } = \\operatorname { r o u n d } ( \\operatorname* { m i n } ( x ) / s _ { x } ) + 2 ^ { b - 1 } - 1 } \\\\ { x _ { q } = \\operatorname { r o u n d } ( x / s _ { x } ) - z _ { x } } \\end{array}", "type": "interline_equation", "image_path": "58a4ada37404e3b8263ea60b53f97cdd223dd744f7f92718c65486e80fcc85fa.jpg" } ] } ], "index": 26.5, "virtual_lines": [ { "bbox": [ 228, 385, 383, 399.5 ], "spans": [], "index": 25 }, { "bbox": [ 228, 399.5, 383, 414.0 ], "spans": [], "index": 26 }, { "bbox": [ 228, 414.0, 383, 428.5 ], "spans": [], "index": 27 }, { "bbox": [ 228, 428.5, 383, 443.0 ], "spans": [], "index": 28 } ] }, { "type": "text", "bbox": [ 107, 447, 213, 459 ], "lines": [ { "bbox": [ 106, 447, 214, 460 ], "spans": [ { "bbox": [ 106, 447, 133, 460 ], "score": 1.0, "content": "where", "type": "text" }, { "bbox": [ 133, 449, 144, 458 ], "score": 0.85, "content": "z _ { x }", "type": "inline_equation" }, { "bbox": [ 145, 447, 214, 460 ], "score": 1.0, "content": "is the zero point.", "type": "text" } ], "index": 29 } ], "index": 29 }, { "type": "text", "bbox": [ 107, 466, 504, 511 ], "lines": [ { "bbox": [ 106, 466, 506, 478 ], "spans": [ { "bbox": [ 106, 466, 506, 478 ], "score": 1.0, "content": "Col/Row-wise Quantization Using a single scaling factor for the weight matrix often leads to", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 478, 505, 489 ], "spans": [ { "bbox": [ 105, 478, 505, 489 ], "score": 1.0, "content": "more quantization errors because one single outlier leads to a decrease in the quantization precision", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 488, 506, 501 ], "spans": [ { "bbox": [ 105, 488, 506, 501 ], "score": 1.0, "content": "of all other elements. A common workaround is to group the weight matrix by rows or by columns,", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 499, 442, 513 ], "spans": [ { "bbox": [ 105, 499, 442, 513 ], "score": 1.0, "content": "with each group being quantized separately and having independent scaling factors.", "type": "text" } ], "index": 33 } ], "index": 31.5 }, { "type": "title", "bbox": [ 108, 524, 244, 536 ], "lines": [ { "bbox": [ 104, 523, 245, 539 ], "spans": [ { "bbox": [ 104, 523, 245, 539 ], "score": 1.0, "content": "B.8 QUANTIZATION SETTINGS", "type": "text" } ], "index": 34 } ], "index": 34 }, { "type": "text", "bbox": [ 106, 545, 505, 633 ], "lines": [ { "bbox": [ 106, 545, 504, 559 ], "spans": [ { "bbox": [ 106, 545, 504, 559 ], "score": 1.0, "content": "Our goal is to save GPU memory as much as possible without hurting model performance. In prac-", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 556, 505, 569 ], "spans": [ { "bbox": [ 105, 556, 505, 569 ], "score": 1.0, "content": "tice, we only quantize linear layers, which take up most of the transformer parameters, and leave", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 567, 505, 581 ], "spans": [ { "bbox": [ 105, 567, 505, 581 ], "score": 1.0, "content": "input/output embedding, layer normalization, and bias terms unchanged. At the quantization pre-", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 577, 505, 592 ], "spans": [ { "bbox": [ 105, 577, 505, 592 ], "score": 1.0, "content": "cision of INT4, two INT4 weights are compressed into one INT8 weight for saving GPU memory", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 589, 505, 603 ], "spans": [ { "bbox": [ 105, 589, 505, 603 ], "score": 1.0, "content": "usage. Absmax quantization is adopted since we found it enough to maintain model performance,", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 600, 505, 613 ], "spans": [ { "bbox": [ 105, 600, 505, 613 ], "score": 1.0, "content": "and it is more computationally efficient than zeropoint quantization. During inference, only quan-", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 612, 506, 624 ], "spans": [ { "bbox": [ 106, 612, 506, 624 ], "score": 1.0, "content": "tized weights are stored in GPU memory, the FP16 weights for linear layers will be dequantized at", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 622, 143, 634 ], "spans": [ { "bbox": [ 105, 622, 143, 634 ], "score": 1.0, "content": "runtime.", "type": "text" } ], "index": 42 } ], "index": 38.5 }, { "type": "title", "bbox": [ 108, 646, 299, 658 ], "lines": [ { "bbox": [ 106, 646, 300, 659 ], "spans": [ { "bbox": [ 106, 646, 300, 659 ], "score": 1.0, "content": "B.8.1 QUANTIZATION RESULTS AT SCALES", "type": "text" } ], "index": 43 } ], "index": 43 }, { "type": "text", "bbox": [ 107, 665, 505, 732 ], "lines": [ { "bbox": [ 105, 664, 505, 678 ], "spans": [ { "bbox": [ 105, 664, 505, 678 ], "score": 1.0, "content": "GLM models at 110M to 10B scale are from GLM’s original paper(Du et al., 2022). Although the", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 676, 505, 690 ], "spans": [ { "bbox": [ 105, 676, 505, 690 ], "score": 1.0, "content": "architecture of smaller scale GLMs are not the same as GLM-130B, we believe that the training", "type": "text" } ], "index": 45 }, { "bbox": [ 106, 688, 505, 699 ], "spans": [ { "bbox": [ 106, 688, 505, 699 ], "score": 1.0, "content": "objective is the key factor for quantization. Table 10 shows the performance of GLM and BLOOM", "type": "text" } ], "index": 46 }, { "bbox": [ 106, 699, 504, 711 ], "spans": [ { "bbox": [ 106, 699, 504, 711 ], "score": 1.0, "content": "family models at different scales on the LAMBADA dataset with different quantization methods.", "type": "text" } ], "index": 47 }, { "bbox": [ 105, 708, 506, 722 ], "spans": [ { "bbox": [ 105, 708, 506, 722 ], "score": 1.0, "content": "Almost all models maintain performance at INT8 precision. In general, GLM maintains better", "type": "text" } ], "index": 48 }, { "bbox": [ 105, 721, 338, 733 ], "spans": [ { "bbox": [ 105, 721, 338, 733 ], "score": 1.0, "content": "performance than BLOOM at INT4 precision as it scales.", "type": "text" } ], "index": 49 } ], "index": 46.5 } ], "page_idx": 27, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 25, 293, 38 ], "spans": [ { "bbox": [ 106, 25, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 763 ], "spans": [ { "bbox": [ 298, 750, 313, 763 ], "score": 1.0, "content": "28", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 106, 82, 503, 104 ], "lines": [], "index": 0.5, "bbox_fs": [ 105, 82, 505, 105 ], "lines_deleted": true }, { "type": "text", "bbox": [ 107, 110, 381, 210 ], "lines": [ { "bbox": [ 106, 110, 381, 123 ], "spans": [ { "bbox": [ 106, 110, 381, 123 ], "score": 1.0, "content": "We study whether these outliers can be ignored in LLM quantiza-", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 121, 381, 133 ], "spans": [ { "bbox": [ 106, 121, 381, 133 ], "score": 1.0, "content": "tion, and the answer is interestingly “no”. These values can be sev-", "type": "text" } ], "index": 3 }, { "bbox": [ 106, 132, 381, 144 ], "spans": [ { "bbox": [ 106, 132, 381, 144 ], "score": 1.0, "content": "eral orders of magnitude larger than ordinary activation values (Cf.", "type": "text" } ], "index": 4 }, { "bbox": [ 106, 143, 381, 155 ], "spans": [ { "bbox": [ 106, 143, 289, 155 ], "score": 1.0, "content": "Figure 13). While most values (accounts for", "type": "text" }, { "bbox": [ 289, 143, 322, 154 ], "score": 0.88, "content": "9 9 . 9 8 \\%", "type": "inline_equation" }, { "bbox": [ 322, 143, 381, 155 ], "score": 1.0, "content": "dimensions in", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 154, 382, 166 ], "spans": [ { "bbox": [ 105, 154, 382, 166 ], "score": 1.0, "content": "a hidden state) stay less them 6, those two outlying dimensions can", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 165, 382, 178 ], "spans": [ { "bbox": [ 105, 165, 382, 178 ], "score": 1.0, "content": "reach 50 or even over 100. They are speculated to be some important", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 176, 382, 189 ], "spans": [ { "bbox": [ 105, 176, 382, 189 ], "score": 1.0, "content": "clues for GLM-130B and potentially other LLMs to memorize some", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 186, 382, 200 ], "spans": [ { "bbox": [ 105, 186, 382, 200 ], "score": 1.0, "content": "fixed world or language knowledge, and thus removing or omitting", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 198, 381, 210 ], "spans": [ { "bbox": [ 106, 198, 381, 210 ], "score": 1.0, "content": "them in quantization can lead to significant performance degradation.", "type": "text" } ], "index": 10 } ], "index": 6, "bbox_fs": [ 105, 110, 382, 210 ] }, { "type": "image", "bbox": [ 393, 104, 503, 182 ], "blocks": [ { "type": "image_body", "bbox": [ 393, 104, 503, 182 ], "group_id": 0, "lines": [ { "bbox": [ 393, 104, 503, 182 ], "spans": [ { "bbox": [ 393, 104, 503, 182 ], "score": 0.956, "type": "image", "image_path": "1b2c2a68649c2516e4c5a6a77950542b0e7f807a6d377488dcc67eef22b8b90d.jpg" } ] } ], "index": 11.5, "virtual_lines": [ { "bbox": [ 393, 104, 503, 143.0 ], "spans": [], "index": 11 }, { "bbox": [ 393, 143.0, 503, 182.0 ], "spans": [], "index": 12 } ] }, { "type": "image_caption", "bbox": [ 389, 185, 505, 218 ], "group_id": 0, "lines": [ { "bbox": [ 388, 185, 506, 196 ], "spans": [ { "bbox": [ 388, 185, 506, 196 ], "score": 1.0, "content": "Figure 13: GLM-130B’s", "type": "text" } ], "index": 13 }, { "bbox": [ 389, 196, 505, 207 ], "spans": [ { "bbox": [ 389, 196, 505, 207 ], "score": 1.0, "content": "activation outliers’ absolute", "type": "text" } ], "index": 14 }, { "bbox": [ 389, 207, 438, 218 ], "spans": [ { "bbox": [ 389, 207, 438, 218 ], "score": 1.0, "content": "value scale.", "type": "text" } ], "index": 15 } ], "index": 14 } ], "index": 12.75 }, { "type": "title", "bbox": [ 108, 223, 239, 235 ], "lines": [ { "bbox": [ 105, 221, 240, 238 ], "spans": [ { "bbox": [ 105, 221, 240, 238 ], "score": 1.0, "content": "B.7 WEIGHT QUANTIZATION", "type": "text" } ], "index": 16 } ], "index": 16 }, { "type": "title", "bbox": [ 107, 244, 210, 255 ], "lines": [ { "bbox": [ 106, 243, 211, 256 ], "spans": [ { "bbox": [ 106, 243, 211, 256 ], "score": 1.0, "content": "B.7.1 PRELIMINARIES", "type": "text" } ], "index": 17 } ], "index": 17 }, { "type": "text", "bbox": [ 107, 263, 504, 286 ], "lines": [ { "bbox": [ 105, 262, 506, 277 ], "spans": [ { "bbox": [ 105, 262, 383, 277 ], "score": 1.0, "content": "Absmax Quantization is a symmetric quantization that a range of", "type": "text" }, { "bbox": [ 383, 263, 441, 276 ], "score": 0.65, "content": "[ - \\mathrm { a b s m a x } ( x )", "type": "inline_equation" }, { "bbox": [ 441, 262, 478, 277 ], "score": 1.0, "content": ", absmax", "type": "text" }, { "bbox": [ 478, 263, 494, 276 ], "score": 0.36, "content": "( x ) ]", "type": "inline_equation" }, { "bbox": [ 495, 262, 506, 277 ], "score": 1.0, "content": "is", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 273, 257, 288 ], "spans": [ { "bbox": [ 105, 273, 151, 288 ], "score": 1.0, "content": "mapped to", "type": "text" }, { "bbox": [ 151, 274, 229, 287 ], "score": 0.92, "content": "[ - ( 2 ^ { b } - 1 ) , 2 ^ { b } - 1 ]", "type": "inline_equation" }, { "bbox": [ 230, 273, 245, 288 ], "score": 1.0, "content": "for", "type": "text" }, { "bbox": [ 245, 277, 252, 285 ], "score": 0.75, "content": "x", "type": "inline_equation" }, { "bbox": [ 252, 273, 257, 288 ], "score": 1.0, "content": ".", "type": "text" } ], "index": 19 } ], "index": 18.5, "bbox_fs": [ 105, 262, 506, 288 ] }, { "type": "interline_equation", "bbox": [ 265, 292, 345, 334 ], "lines": [ { "bbox": [ 265, 292, 345, 334 ], "spans": [ { "bbox": [ 265, 292, 345, 334 ], "score": 0.91, "content": "\\begin{array} { l c l } { s _ { x } = \\displaystyle \\frac { \\mathrm { a b s m a x } ( x ) } { 2 ^ { b - 1 } - 1 } } \\\\ { x _ { q } = \\mathrm { r o u n d } ( x / s _ { x } ) } \\end{array}", "type": "interline_equation", "image_path": "bafb457a3bba93fd81e4c16616a8eea2269d7b102ffd3da67049d06fe7c84d86.jpg" } ] } ], "index": 20.5, "virtual_lines": [ { "bbox": [ 265, 292, 345, 313.0 ], "spans": [], "index": 20 }, { "bbox": [ 265, 313.0, 345, 334.0 ], "spans": [], "index": 21 } ] }, { "type": "text", "bbox": [ 105, 338, 427, 350 ], "lines": [ { "bbox": [ 106, 337, 429, 351 ], "spans": [ { "bbox": [ 106, 337, 133, 351 ], "score": 1.0, "content": "where", "type": "text" }, { "bbox": [ 133, 340, 144, 349 ], "score": 0.86, "content": "s _ { x }", "type": "inline_equation" }, { "bbox": [ 145, 337, 227, 351 ], "score": 1.0, "content": "is the scaling factor,", "type": "text" }, { "bbox": [ 228, 340, 239, 350 ], "score": 0.86, "content": "x _ { q }", "type": "inline_equation" }, { "bbox": [ 239, 337, 357, 351 ], "score": 1.0, "content": "is the quantization result and", "type": "text" }, { "bbox": [ 358, 339, 363, 348 ], "score": 0.8, "content": "b", "type": "inline_equation" }, { "bbox": [ 363, 337, 429, 351 ], "score": 1.0, "content": "is the bit width.", "type": "text" } ], "index": 22 } ], "index": 22, "bbox_fs": [ 106, 337, 429, 351 ] }, { "type": "text", "bbox": [ 105, 357, 504, 380 ], "lines": [ { "bbox": [ 105, 356, 506, 371 ], "spans": [ { "bbox": [ 105, 356, 419, 371 ], "score": 1.0, "content": "Zeropoint Quantization is an asymmetric quantization that a range of", "type": "text" }, { "bbox": [ 420, 357, 492, 370 ], "score": 0.92, "content": "[ \\operatorname* { m i n } ( x ) , \\operatorname* { m a x } ( x ) ]", "type": "inline_equation" }, { "bbox": [ 493, 356, 506, 371 ], "score": 1.0, "content": "is", "type": "text" } ], "index": 23 }, { "bbox": [ 104, 366, 234, 381 ], "spans": [ { "bbox": [ 104, 366, 151, 381 ], "score": 1.0, "content": "mapped to", "type": "text" }, { "bbox": [ 151, 368, 230, 380 ], "score": 0.92, "content": "[ - ( 2 ^ { b } - 1 ) , 2 ^ { b } - 1 ]", "type": "inline_equation" }, { "bbox": [ 230, 366, 234, 381 ], "score": 1.0, "content": ".", "type": "text" } ], "index": 24 } ], "index": 23.5, "bbox_fs": [ 104, 356, 506, 381 ] }, { "type": "interline_equation", "bbox": [ 228, 385, 383, 443 ], "lines": [ { "bbox": [ 228, 385, 383, 443 ], "spans": [ { "bbox": [ 228, 385, 383, 443 ], "score": 0.94, "content": "\\begin{array} { l } { s _ { x } = \\frac { \\operatorname* { m a x } ( x ) - \\operatorname* { m i n } ( x ) } { 2 ^ { b } - 2 } } \\\\ { z _ { x } = \\operatorname { r o u n d } ( \\operatorname* { m i n } ( x ) / s _ { x } ) + 2 ^ { b - 1 } - 1 } \\\\ { x _ { q } = \\operatorname { r o u n d } ( x / s _ { x } ) - z _ { x } } \\end{array}", "type": "interline_equation", "image_path": "58a4ada37404e3b8263ea60b53f97cdd223dd744f7f92718c65486e80fcc85fa.jpg" } ] } ], "index": 26.5, "virtual_lines": [ { "bbox": [ 228, 385, 383, 399.5 ], "spans": [], "index": 25 }, { "bbox": [ 228, 399.5, 383, 414.0 ], "spans": [], "index": 26 }, { "bbox": [ 228, 414.0, 383, 428.5 ], "spans": [], "index": 27 }, { "bbox": [ 228, 428.5, 383, 443.0 ], "spans": [], "index": 28 } ] }, { "type": "text", "bbox": [ 107, 447, 213, 459 ], "lines": [ { "bbox": [ 106, 447, 214, 460 ], "spans": [ { "bbox": [ 106, 447, 133, 460 ], "score": 1.0, "content": "where", "type": "text" }, { "bbox": [ 133, 449, 144, 458 ], "score": 0.85, "content": "z _ { x }", "type": "inline_equation" }, { "bbox": [ 145, 447, 214, 460 ], "score": 1.0, "content": "is the zero point.", "type": "text" } ], "index": 29 } ], "index": 29, "bbox_fs": [ 106, 447, 214, 460 ] }, { "type": "text", "bbox": [ 107, 466, 504, 511 ], "lines": [ { "bbox": [ 106, 466, 506, 478 ], "spans": [ { "bbox": [ 106, 466, 506, 478 ], "score": 1.0, "content": "Col/Row-wise Quantization Using a single scaling factor for the weight matrix often leads to", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 478, 505, 489 ], "spans": [ { "bbox": [ 105, 478, 505, 489 ], "score": 1.0, "content": "more quantization errors because one single outlier leads to a decrease in the quantization precision", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 488, 506, 501 ], "spans": [ { "bbox": [ 105, 488, 506, 501 ], "score": 1.0, "content": "of all other elements. A common workaround is to group the weight matrix by rows or by columns,", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 499, 442, 513 ], "spans": [ { "bbox": [ 105, 499, 442, 513 ], "score": 1.0, "content": "with each group being quantized separately and having independent scaling factors.", "type": "text" } ], "index": 33 } ], "index": 31.5, "bbox_fs": [ 105, 466, 506, 513 ] }, { "type": "title", "bbox": [ 108, 524, 244, 536 ], "lines": [ { "bbox": [ 104, 523, 245, 539 ], "spans": [ { "bbox": [ 104, 523, 245, 539 ], "score": 1.0, "content": "B.8 QUANTIZATION SETTINGS", "type": "text" } ], "index": 34 } ], "index": 34 }, { "type": "text", "bbox": [ 106, 545, 505, 633 ], "lines": [ { "bbox": [ 106, 545, 504, 559 ], "spans": [ { "bbox": [ 106, 545, 504, 559 ], "score": 1.0, "content": "Our goal is to save GPU memory as much as possible without hurting model performance. In prac-", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 556, 505, 569 ], "spans": [ { "bbox": [ 105, 556, 505, 569 ], "score": 1.0, "content": "tice, we only quantize linear layers, which take up most of the transformer parameters, and leave", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 567, 505, 581 ], "spans": [ { "bbox": [ 105, 567, 505, 581 ], "score": 1.0, "content": "input/output embedding, layer normalization, and bias terms unchanged. At the quantization pre-", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 577, 505, 592 ], "spans": [ { "bbox": [ 105, 577, 505, 592 ], "score": 1.0, "content": "cision of INT4, two INT4 weights are compressed into one INT8 weight for saving GPU memory", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 589, 505, 603 ], "spans": [ { "bbox": [ 105, 589, 505, 603 ], "score": 1.0, "content": "usage. Absmax quantization is adopted since we found it enough to maintain model performance,", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 600, 505, 613 ], "spans": [ { "bbox": [ 105, 600, 505, 613 ], "score": 1.0, "content": "and it is more computationally efficient than zeropoint quantization. During inference, only quan-", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 612, 506, 624 ], "spans": [ { "bbox": [ 106, 612, 506, 624 ], "score": 1.0, "content": "tized weights are stored in GPU memory, the FP16 weights for linear layers will be dequantized at", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 622, 143, 634 ], "spans": [ { "bbox": [ 105, 622, 143, 634 ], "score": 1.0, "content": "runtime.", "type": "text" } ], "index": 42 } ], "index": 38.5, "bbox_fs": [ 105, 545, 506, 634 ] }, { "type": "title", "bbox": [ 108, 646, 299, 658 ], "lines": [ { "bbox": [ 106, 646, 300, 659 ], "spans": [ { "bbox": [ 106, 646, 300, 659 ], "score": 1.0, "content": "B.8.1 QUANTIZATION RESULTS AT SCALES", "type": "text" } ], "index": 43 } ], "index": 43 }, { "type": "text", "bbox": [ 107, 665, 505, 732 ], "lines": [ { "bbox": [ 105, 664, 505, 678 ], "spans": [ { "bbox": [ 105, 664, 505, 678 ], "score": 1.0, "content": "GLM models at 110M to 10B scale are from GLM’s original paper(Du et al., 2022). Although the", "type": "text" } ], "index": 44 }, { "bbox": [ 105, 676, 505, 690 ], "spans": [ { "bbox": [ 105, 676, 505, 690 ], "score": 1.0, "content": "architecture of smaller scale GLMs are not the same as GLM-130B, we believe that the training", "type": "text" } ], "index": 45 }, { "bbox": [ 106, 688, 505, 699 ], "spans": [ { "bbox": [ 106, 688, 505, 699 ], "score": 1.0, "content": "objective is the key factor for quantization. Table 10 shows the performance of GLM and BLOOM", "type": "text" } ], "index": 46 }, { "bbox": [ 106, 699, 504, 711 ], "spans": [ { "bbox": [ 106, 699, 504, 711 ], "score": 1.0, "content": "family models at different scales on the LAMBADA dataset with different quantization methods.", "type": "text" } ], "index": 47 }, { "bbox": [ 105, 708, 506, 722 ], "spans": [ { "bbox": [ 105, 708, 506, 722 ], "score": 1.0, "content": "Almost all models maintain performance at INT8 precision. In general, GLM maintains better", "type": "text" } ], "index": 48 }, { "bbox": [ 105, 721, 338, 733 ], "spans": [ { "bbox": [ 105, 721, 338, 733 ], "score": 1.0, "content": "performance than BLOOM at INT4 precision as it scales.", "type": "text" } ], "index": 49 } ], "index": 46.5, "bbox_fs": [ 105, 664, 506, 733 ] } ] }, { "preproc_blocks": [ { "type": "table", "bbox": [ 110, 109, 499, 252 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 80, 504, 103 ], "group_id": 0, "lines": [ { "bbox": [ 106, 80, 505, 93 ], "spans": [ { "bbox": [ 106, 80, 505, 93 ], "score": 1.0, "content": "Table 10: Accuracy on LAMBADA dataset for GLM and BLOOM family at 100M to 176B scales", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 91, 263, 104 ], "spans": [ { "bbox": [ 105, 91, 263, 104 ], "score": 1.0, "content": "across different quantization precision.", "type": "text" } ], "index": 1 } ], "index": 0.5 }, { "type": "table_body", "bbox": [ 110, 109, 499, 252 ], "group_id": 0, "lines": [ { "bbox": [ 110, 109, 499, 252 ], "spans": [ { "bbox": [ 110, 109, 499, 252 ], "score": 0.94, "html": "
BLOOM-560MBLOOM-1B1BLOOM-3BBLOOM-7BBLOOM-176B
Original31.40%40.68%48.30%54.91%64.37%
Absmax INT8,col-wise26.12%40.69%48.83%55.33%65.03%
Absmax INT4, col-wise9.30%17.43%37.88%38.04%34.83%
Absmax INT4,row-wise21.37%35.80%40.95%46.75%NaN
Zeropoint INT4,col-wise11.51%26.51%41.65%46.63%48.26%
Zeropoint INT4, row-wise24.95%33.05%43.63%49.41%NaN
GLM-110MGLM-335MGLM-2BGLM-10BGLM-130B
Original29.36%48.51%68.19%72.35%80.21%
Absmax INT8,row-wise29.25%48.69%68.12%72.37%80.21%
Absmax INT4, row-wise3.26%38.25%62.62%71.03%79.47%
Zeropoint INT4,row-wise5.45%42.64%64.74%70.50%80.63%
", "type": "table", "image_path": "203b62d8832946c6fd9cc21f6e5eb0f9c1368d2eac8ee7320127723bebe6f3c3.jpg" } ] } ], "index": 3, "virtual_lines": [ { "bbox": [ 110, 109, 499, 156.66666666666666 ], "spans": [], "index": 2 }, { "bbox": [ 110, 156.66666666666666, 499, 204.33333333333331 ], "spans": [], "index": 3 }, { "bbox": [ 110, 204.33333333333331, 499, 251.99999999999997 ], "spans": [], "index": 4 } ] } ], "index": 1.75 }, { "type": "image", "bbox": [ 105, 266, 502, 341 ], "blocks": [ { "type": "image_body", "bbox": [ 105, 266, 502, 341 ], "group_id": 0, "lines": [ { "bbox": [ 105, 266, 502, 341 ], "spans": [ { "bbox": [ 105, 266, 502, 341 ], "score": 0.92, "type": "image", "image_path": "faccb6b4f330b6e5a7cc8f4cf024e0967f7c913a5163fa0ef856dc8fcf6b3d89.jpg" } ] } ], "index": 6, "virtual_lines": [ { "bbox": [ 105, 266, 502, 291.0 ], "spans": [], "index": 5 }, { "bbox": [ 105, 291.0, 502, 316.0 ], "spans": [], "index": 6 }, { "bbox": [ 105, 316.0, 502, 341.0 ], "spans": [], "index": 7 } ] }, { "type": "image_caption", "bbox": [ 107, 348, 503, 381 ], "group_id": 0, "lines": [ { "bbox": [ 106, 348, 504, 360 ], "spans": [ { "bbox": [ 106, 348, 504, 360 ], "score": 1.0, "content": "Figure 14: Contribution attribution analysis on GLM objective and MIP training. We take GLM-", "type": "text" } ], "index": 8 }, { "bbox": [ 107, 359, 505, 371 ], "spans": [ { "bbox": [ 107, 359, 505, 371 ], "score": 1.0, "content": "10B (English only) as an example in the ablation. Generally, GLM objective’s bidirectional attention", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 370, 504, 382 ], "spans": [ { "bbox": [ 105, 370, 158, 382 ], "score": 1.0, "content": "accounts for", "type": "text" }, { "bbox": [ 158, 370, 177, 380 ], "score": 0.86, "content": "70 \\%", "type": "inline_equation" }, { "bbox": [ 178, 370, 504, 382 ], "score": 1.0, "content": "of the improvements, while MIP’s major contribution lies in text similarity tasks.", "type": "text" } ], "index": 10 } ], "index": 9 } ], "index": 7.5 }, { "type": "title", "bbox": [ 108, 393, 290, 405 ], "lines": [ { "bbox": [ 106, 392, 291, 406 ], "spans": [ { "bbox": [ 106, 392, 291, 406 ], "score": 1.0, "content": "B.8.2 WEIGHT DISTRIBUTION ANALYSIS", "type": "text" } ], "index": 11 } ], "index": 11 }, { "type": "text", "bbox": [ 106, 414, 505, 492 ], "lines": [ { "bbox": [ 105, 414, 505, 427 ], "spans": [ { "bbox": [ 105, 414, 505, 427 ], "score": 1.0, "content": "To achieve INT4 weight quantization, we analyze the weight value distribution of major linear layers", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 426, 506, 438 ], "spans": [ { "bbox": [ 105, 426, 506, 438 ], "score": 1.0, "content": "in GLM-130B and a counterpart BLOOM-176B in a histogram (Cf. Figure 15). The horizontal axis", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 436, 505, 449 ], "spans": [ { "bbox": [ 105, 436, 505, 449 ], "score": 1.0, "content": "denotes the weight value, and the vertical axis denotes the number of weights of such value in", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 447, 506, 460 ], "spans": [ { "bbox": [ 105, 447, 506, 460 ], "score": 1.0, "content": "log scale. As we can see, it is majorly the w2 linear layers in BLOOM-176B that present skewed", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 458, 505, 470 ], "spans": [ { "bbox": [ 105, 458, 505, 470 ], "score": 1.0, "content": "distributions, which would hinder the symmetrical quantization. On the contrary, GLM-130B’s w2", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 470, 505, 482 ], "spans": [ { "bbox": [ 105, 470, 505, 482 ], "score": 1.0, "content": "is well-shaped without many outliers and skewed distribution, and thus paces the way for its INT4", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 481, 273, 493 ], "spans": [ { "bbox": [ 105, 481, 273, 493 ], "score": 1.0, "content": "quantization with little performance loss.", "type": "text" } ], "index": 18 } ], "index": 15 }, { "type": "title", "bbox": [ 107, 510, 325, 521 ], "lines": [ { "bbox": [ 105, 509, 326, 522 ], "spans": [ { "bbox": [ 105, 509, 326, 522 ], "score": 1.0, "content": "B.9 ABLATION ON CONTRIBUTION ATTRIBUTION", "type": "text" } ], "index": 19 } ], "index": 19 }, { "type": "text", "bbox": [ 106, 532, 505, 576 ], "lines": [ { "bbox": [ 106, 532, 505, 544 ], "spans": [ { "bbox": [ 106, 532, 505, 544 ], "score": 1.0, "content": "We analyze the contribution attribution of techniques leveraged in GLM-130B. A series of ablation", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 543, 504, 556 ], "spans": [ { "bbox": [ 105, 543, 504, 556 ], "score": 1.0, "content": "studies have been presented in the paper, and for the convenience of reading, they were originally", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 554, 505, 567 ], "spans": [ { "bbox": [ 105, 554, 505, 567 ], "score": 1.0, "content": "scattered around the whole passage. Here we summarize them here into the following list for read-", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 564, 166, 578 ], "spans": [ { "bbox": [ 105, 564, 166, 578 ], "score": 1.0, "content": "ers’ reference:", "type": "text" } ], "index": 23 } ], "index": 21.5 }, { "type": "text", "bbox": [ 106, 582, 504, 644 ], "lines": [ { "bbox": [ 105, 582, 350, 595 ], "spans": [ { "bbox": [ 105, 582, 350, 595 ], "score": 1.0, "content": "• Ablation on ordinary PostLN and DeepNorm: Figure 3.", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 594, 505, 608 ], "spans": [ { "bbox": [ 105, 594, 505, 608 ], "score": 1.0, "content": "• Ablation on Bidirectional/Unidirectional Attention: Figure 2 (LAMBADA), Table 16 (Condi-", "type": "text" } ], "index": 25 }, { "bbox": [ 113, 606, 271, 618 ], "spans": [ { "bbox": [ 113, 606, 271, 618 ], "score": 1.0, "content": "tional NLG), Figure 17 (SuperGLUE).", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 618, 390, 632 ], "spans": [ { "bbox": [ 105, 618, 390, 632 ], "score": 1.0, "content": "• Ablation on Embedding Layer Gradient Shrink (EGS): Figure 4.", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 630, 395, 645 ], "spans": [ { "bbox": [ 105, 630, 395, 645 ], "score": 1.0, "content": "• Ablation on Positional Encodings and FFN: Appendix B.3 Table 8.", "type": "text" } ], "index": 28 } ], "index": 26 }, { "type": "text", "bbox": [ 106, 649, 505, 671 ], "lines": [ { "bbox": [ 106, 649, 505, 661 ], "spans": [ { "bbox": [ 106, 649, 505, 661 ], "score": 1.0, "content": "Additionally, we conduct the following study to justify the contribution of the two most influential", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 660, 488, 672 ], "spans": [ { "bbox": [ 105, 660, 488, 672 ], "score": 1.0, "content": "techniques–GLM Objective and Multi-task Instruction Pre-training (MIP)–used in GLM-130B.", "type": "text" } ], "index": 30 } ], "index": 29.5 }, { "type": "text", "bbox": [ 107, 676, 505, 732 ], "lines": [ { "bbox": [ 106, 676, 505, 688 ], "spans": [ { "bbox": [ 106, 676, 505, 688 ], "score": 1.0, "content": "GLM Objective and MIP. Ablating a 100B-scale LLM from scratch can be too expensive. As a", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 688, 505, 700 ], "spans": [ { "bbox": [ 105, 688, 505, 700 ], "score": 1.0, "content": "substitute, we try our best to conduct the comparison between GLM objective and MIP on GLM-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 698, 506, 712 ], "spans": [ { "bbox": [ 105, 698, 506, 712 ], "score": 1.0, "content": "10B (an English-only version released in (Du et al., 2022), without MIP). We additionally train a", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 708, 505, 723 ], "spans": [ { "bbox": [ 105, 708, 405, 723 ], "score": 1.0, "content": "GLM-10B initialized from a middle-stage original checkpoint with MIP", "type": "text" }, { "bbox": [ 405, 710, 425, 721 ], "score": 0.85, "content": "( 5 \\% )", "type": "inline_equation" }, { "bbox": [ 426, 708, 505, 723 ], "score": 1.0, "content": "to match the same", "type": "text" } ], "index": 34 }, { "bbox": [ 106, 720, 505, 732 ], "spans": [ { "bbox": [ 106, 720, 505, 732 ], "score": 1.0, "content": "training tokens of the original self-supervision-only GLM-130B. The MIP, this time, follows the", "type": "text" } ], "index": 35 } ], "index": 33 } ], "page_idx": 28, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 764 ], "spans": [ { "bbox": [ 298, 750, 313, 764 ], "score": 1.0, "content": "", "type": "text", "height": 14, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "table", "bbox": [ 110, 109, 499, 252 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 80, 504, 103 ], "group_id": 0, "lines": [ { "bbox": [ 106, 80, 505, 93 ], "spans": [ { "bbox": [ 106, 80, 505, 93 ], "score": 1.0, "content": "Table 10: Accuracy on LAMBADA dataset for GLM and BLOOM family at 100M to 176B scales", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 91, 263, 104 ], "spans": [ { "bbox": [ 105, 91, 263, 104 ], "score": 1.0, "content": "across different quantization precision.", "type": "text" } ], "index": 1 } ], "index": 0.5 }, { "type": "table_body", "bbox": [ 110, 109, 499, 252 ], "group_id": 0, "lines": [ { "bbox": [ 110, 109, 499, 252 ], "spans": [ { "bbox": [ 110, 109, 499, 252 ], "score": 0.94, "html": "
BLOOM-560MBLOOM-1B1BLOOM-3BBLOOM-7BBLOOM-176B
Original31.40%40.68%48.30%54.91%64.37%
Absmax INT8,col-wise26.12%40.69%48.83%55.33%65.03%
Absmax INT4, col-wise9.30%17.43%37.88%38.04%34.83%
Absmax INT4,row-wise21.37%35.80%40.95%46.75%NaN
Zeropoint INT4,col-wise11.51%26.51%41.65%46.63%48.26%
Zeropoint INT4, row-wise24.95%33.05%43.63%49.41%NaN
GLM-110MGLM-335MGLM-2BGLM-10BGLM-130B
Original29.36%48.51%68.19%72.35%80.21%
Absmax INT8,row-wise29.25%48.69%68.12%72.37%80.21%
Absmax INT4, row-wise3.26%38.25%62.62%71.03%79.47%
Zeropoint INT4,row-wise5.45%42.64%64.74%70.50%80.63%
", "type": "table", "image_path": "203b62d8832946c6fd9cc21f6e5eb0f9c1368d2eac8ee7320127723bebe6f3c3.jpg" } ] } ], "index": 3, "virtual_lines": [ { "bbox": [ 110, 109, 499, 156.66666666666666 ], "spans": [], "index": 2 }, { "bbox": [ 110, 156.66666666666666, 499, 204.33333333333331 ], "spans": [], "index": 3 }, { "bbox": [ 110, 204.33333333333331, 499, 251.99999999999997 ], "spans": [], "index": 4 } ] } ], "index": 1.75 }, { "type": "image", "bbox": [ 105, 266, 502, 341 ], "blocks": [ { "type": "image_body", "bbox": [ 105, 266, 502, 341 ], "group_id": 0, "lines": [ { "bbox": [ 105, 266, 502, 341 ], "spans": [ { "bbox": [ 105, 266, 502, 341 ], "score": 0.92, "type": "image", "image_path": "faccb6b4f330b6e5a7cc8f4cf024e0967f7c913a5163fa0ef856dc8fcf6b3d89.jpg" } ] } ], "index": 6, "virtual_lines": [ { "bbox": [ 105, 266, 502, 291.0 ], "spans": [], "index": 5 }, { "bbox": [ 105, 291.0, 502, 316.0 ], "spans": [], "index": 6 }, { "bbox": [ 105, 316.0, 502, 341.0 ], "spans": [], "index": 7 } ] }, { "type": "image_caption", "bbox": [ 107, 348, 503, 381 ], "group_id": 0, "lines": [ { "bbox": [ 106, 348, 504, 360 ], "spans": [ { "bbox": [ 106, 348, 504, 360 ], "score": 1.0, "content": "Figure 14: Contribution attribution analysis on GLM objective and MIP training. We take GLM-", "type": "text" } ], "index": 8 }, { "bbox": [ 107, 359, 505, 371 ], "spans": [ { "bbox": [ 107, 359, 505, 371 ], "score": 1.0, "content": "10B (English only) as an example in the ablation. Generally, GLM objective’s bidirectional attention", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 370, 504, 382 ], "spans": [ { "bbox": [ 105, 370, 158, 382 ], "score": 1.0, "content": "accounts for", "type": "text" }, { "bbox": [ 158, 370, 177, 380 ], "score": 0.86, "content": "70 \\%", "type": "inline_equation" }, { "bbox": [ 178, 370, 504, 382 ], "score": 1.0, "content": "of the improvements, while MIP’s major contribution lies in text similarity tasks.", "type": "text" } ], "index": 10 } ], "index": 9 } ], "index": 7.5 }, { "type": "title", "bbox": [ 108, 393, 290, 405 ], "lines": [ { "bbox": [ 106, 392, 291, 406 ], "spans": [ { "bbox": [ 106, 392, 291, 406 ], "score": 1.0, "content": "B.8.2 WEIGHT DISTRIBUTION ANALYSIS", "type": "text" } ], "index": 11 } ], "index": 11 }, { "type": "text", "bbox": [ 106, 414, 505, 492 ], "lines": [ { "bbox": [ 105, 414, 505, 427 ], "spans": [ { "bbox": [ 105, 414, 505, 427 ], "score": 1.0, "content": "To achieve INT4 weight quantization, we analyze the weight value distribution of major linear layers", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 426, 506, 438 ], "spans": [ { "bbox": [ 105, 426, 506, 438 ], "score": 1.0, "content": "in GLM-130B and a counterpart BLOOM-176B in a histogram (Cf. Figure 15). The horizontal axis", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 436, 505, 449 ], "spans": [ { "bbox": [ 105, 436, 505, 449 ], "score": 1.0, "content": "denotes the weight value, and the vertical axis denotes the number of weights of such value in", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 447, 506, 460 ], "spans": [ { "bbox": [ 105, 447, 506, 460 ], "score": 1.0, "content": "log scale. As we can see, it is majorly the w2 linear layers in BLOOM-176B that present skewed", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 458, 505, 470 ], "spans": [ { "bbox": [ 105, 458, 505, 470 ], "score": 1.0, "content": "distributions, which would hinder the symmetrical quantization. On the contrary, GLM-130B’s w2", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 470, 505, 482 ], "spans": [ { "bbox": [ 105, 470, 505, 482 ], "score": 1.0, "content": "is well-shaped without many outliers and skewed distribution, and thus paces the way for its INT4", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 481, 273, 493 ], "spans": [ { "bbox": [ 105, 481, 273, 493 ], "score": 1.0, "content": "quantization with little performance loss.", "type": "text" } ], "index": 18 } ], "index": 15, "bbox_fs": [ 105, 414, 506, 493 ] }, { "type": "title", "bbox": [ 107, 510, 325, 521 ], "lines": [ { "bbox": [ 105, 509, 326, 522 ], "spans": [ { "bbox": [ 105, 509, 326, 522 ], "score": 1.0, "content": "B.9 ABLATION ON CONTRIBUTION ATTRIBUTION", "type": "text" } ], "index": 19 } ], "index": 19 }, { "type": "text", "bbox": [ 106, 532, 505, 576 ], "lines": [ { "bbox": [ 106, 532, 505, 544 ], "spans": [ { "bbox": [ 106, 532, 505, 544 ], "score": 1.0, "content": "We analyze the contribution attribution of techniques leveraged in GLM-130B. A series of ablation", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 543, 504, 556 ], "spans": [ { "bbox": [ 105, 543, 504, 556 ], "score": 1.0, "content": "studies have been presented in the paper, and for the convenience of reading, they were originally", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 554, 505, 567 ], "spans": [ { "bbox": [ 105, 554, 505, 567 ], "score": 1.0, "content": "scattered around the whole passage. Here we summarize them here into the following list for read-", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 564, 166, 578 ], "spans": [ { "bbox": [ 105, 564, 166, 578 ], "score": 1.0, "content": "ers’ reference:", "type": "text" } ], "index": 23 } ], "index": 21.5, "bbox_fs": [ 105, 532, 505, 578 ] }, { "type": "list", "bbox": [ 106, 582, 504, 644 ], "lines": [ { "bbox": [ 105, 582, 350, 595 ], "spans": [ { "bbox": [ 105, 582, 350, 595 ], "score": 1.0, "content": "• Ablation on ordinary PostLN and DeepNorm: Figure 3.", "type": "text" } ], "index": 24, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 105, 594, 505, 608 ], "spans": [ { "bbox": [ 105, 594, 505, 608 ], "score": 1.0, "content": "• Ablation on Bidirectional/Unidirectional Attention: Figure 2 (LAMBADA), Table 16 (Condi-", "type": "text" } ], "index": 25, "is_list_start_line": true }, { "bbox": [ 113, 606, 271, 618 ], "spans": [ { "bbox": [ 113, 606, 271, 618 ], "score": 1.0, "content": "tional NLG), Figure 17 (SuperGLUE).", "type": "text" } ], "index": 26, "is_list_end_line": true }, { "bbox": [ 105, 618, 390, 632 ], "spans": [ { "bbox": [ 105, 618, 390, 632 ], "score": 1.0, "content": "• Ablation on Embedding Layer Gradient Shrink (EGS): Figure 4.", "type": "text" } ], "index": 27, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 105, 630, 395, 645 ], "spans": [ { "bbox": [ 105, 630, 395, 645 ], "score": 1.0, "content": "• Ablation on Positional Encodings and FFN: Appendix B.3 Table 8.", "type": "text" } ], "index": 28, "is_list_start_line": true, "is_list_end_line": true } ], "index": 26, "bbox_fs": [ 105, 582, 505, 645 ] }, { "type": "text", "bbox": [ 106, 649, 505, 671 ], "lines": [ { "bbox": [ 106, 649, 505, 661 ], "spans": [ { "bbox": [ 106, 649, 505, 661 ], "score": 1.0, "content": "Additionally, we conduct the following study to justify the contribution of the two most influential", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 660, 488, 672 ], "spans": [ { "bbox": [ 105, 660, 488, 672 ], "score": 1.0, "content": "techniques–GLM Objective and Multi-task Instruction Pre-training (MIP)–used in GLM-130B.", "type": "text" } ], "index": 30 } ], "index": 29.5, "bbox_fs": [ 105, 649, 505, 672 ] }, { "type": "text", "bbox": [ 107, 676, 505, 732 ], "lines": [ { "bbox": [ 106, 676, 505, 688 ], "spans": [ { "bbox": [ 106, 676, 505, 688 ], "score": 1.0, "content": "GLM Objective and MIP. Ablating a 100B-scale LLM from scratch can be too expensive. As a", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 688, 505, 700 ], "spans": [ { "bbox": [ 105, 688, 505, 700 ], "score": 1.0, "content": "substitute, we try our best to conduct the comparison between GLM objective and MIP on GLM-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 698, 506, 712 ], "spans": [ { "bbox": [ 105, 698, 506, 712 ], "score": 1.0, "content": "10B (an English-only version released in (Du et al., 2022), without MIP). We additionally train a", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 708, 505, 723 ], "spans": [ { "bbox": [ 105, 708, 405, 723 ], "score": 1.0, "content": "GLM-10B initialized from a middle-stage original checkpoint with MIP", "type": "text" }, { "bbox": [ 405, 710, 425, 721 ], "score": 0.85, "content": "( 5 \\% )", "type": "inline_equation" }, { "bbox": [ 426, 708, 505, 723 ], "score": 1.0, "content": "to match the same", "type": "text" } ], "index": 34 }, { "bbox": [ 106, 720, 505, 732 ], "spans": [ { "bbox": [ 106, 720, 505, 732 ], "score": 1.0, "content": "training tokens of the original self-supervision-only GLM-130B. The MIP, this time, follows the", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 82, 505, 94 ], "spans": [ { "bbox": [ 105, 82, 505, 94 ], "score": 1.0, "content": "exact dataset setting in T0 (Sanh et al., 2022) and the information extraction datasets in GLM-130B", "type": "text", "cross_page": true } ], "index": 0 }, { "bbox": [ 106, 94, 369, 105 ], "spans": [ { "bbox": [ 106, 94, 369, 105 ], "score": 1.0, "content": "to allow the correct evaluation on some types of tasks (e.g., NLI).", "type": "text", "cross_page": true } ], "index": 1 } ], "index": 33, "bbox_fs": [ 105, 676, 506, 732 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 105, 82, 504, 105 ], "lines": [ { "bbox": [ 105, 82, 505, 94 ], "spans": [ { "bbox": [ 105, 82, 505, 94 ], "score": 1.0, "content": "exact dataset setting in T0 (Sanh et al., 2022) and the information extraction datasets in GLM-130B", "type": "text" } ], "index": 0 }, { "bbox": [ 106, 94, 369, 105 ], "spans": [ { "bbox": [ 106, 94, 369, 105 ], "score": 1.0, "content": "to allow the correct evaluation on some types of tasks (e.g., NLI).", "type": "text" } ], "index": 1 } ], "index": 0.5 }, { "type": "text", "bbox": [ 106, 110, 505, 220 ], "lines": [ { "bbox": [ 105, 110, 505, 123 ], "spans": [ { "bbox": [ 105, 110, 505, 123 ], "score": 1.0, "content": "Figure 14 shows the ablation results. On the 8 datasets we test, we find that the GLM objective", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 122, 505, 133 ], "spans": [ { "bbox": [ 105, 122, 374, 133 ], "score": 1.0, "content": "is a major contributor to the improvement (from GLM (uni) to", "type": "text" }, { "bbox": [ 374, 122, 430, 132 ], "score": 0.81, "content": "\\mathrm { G L M } + \\mathrm { M I P }", "type": "inline_equation" }, { "bbox": [ 430, 122, 505, 133 ], "score": 1.0, "content": "(bi)). For exam-", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 132, 505, 144 ], "spans": [ { "bbox": [ 105, 132, 188, 144 ], "score": 1.0, "content": "ple, it accounts for", "type": "text" }, { "bbox": [ 189, 132, 208, 143 ], "score": 0.85, "content": "73 \\%", "type": "inline_equation" }, { "bbox": [ 209, 132, 350, 144 ], "score": 1.0, "content": "improvement in LAMBADA and", "type": "text" }, { "bbox": [ 351, 133, 370, 143 ], "score": 0.86, "content": "90 \\%", "type": "inline_equation" }, { "bbox": [ 371, 132, 505, 144 ], "score": 1.0, "content": "improvement in MMLU, which", "type": "text" } ], "index": 4 }, { "bbox": [ 104, 142, 506, 157 ], "spans": [ { "bbox": [ 104, 142, 506, 157 ], "score": 1.0, "content": "are very widely adopted challenging benchmarks for LLMs. As for MIP, on some datasets (e.g.,", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 153, 506, 167 ], "spans": [ { "bbox": [ 105, 153, 506, 167 ], "score": 1.0, "content": "WiC, ReCoRD, Hellaswag), MIP may even harm the performance. While for datasets related to text", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 165, 505, 178 ], "spans": [ { "bbox": [ 105, 165, 505, 178 ], "score": 1.0, "content": "similarity and coreference (e.g., WSC, BoolQ, ANLI R1), MIP is the main contributor. It is likely", "type": "text" } ], "index": 7 }, { "bbox": [ 106, 177, 504, 188 ], "spans": [ { "bbox": [ 106, 177, 504, 188 ], "score": 1.0, "content": "because the text similarity and coreference challenges, which people usually construct intentionally", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 187, 505, 200 ], "spans": [ { "bbox": [ 105, 187, 505, 200 ], "score": 1.0, "content": "to test language models’ ability, are seldom seen in the self-supervised corpus that makes up peo-", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 198, 505, 211 ], "spans": [ { "bbox": [ 105, 198, 505, 211 ], "score": 1.0, "content": "ple’s daily written texts. Thus, MIP training mainly helps to bridge the gap between self-supervised", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 209, 221, 221 ], "spans": [ { "bbox": [ 105, 209, 221, 221 ], "score": 1.0, "content": "pre-training and these tasks.", "type": "text" } ], "index": 11 } ], "index": 6.5 }, { "type": "title", "bbox": [ 107, 234, 222, 245 ], "lines": [ { "bbox": [ 106, 234, 223, 245 ], "spans": [ { "bbox": [ 106, 234, 223, 245 ], "score": 1.0, "content": "B.10 LESSONS LEARNED", "type": "text" } ], "index": 12 } ], "index": 12 }, { "type": "text", "bbox": [ 114, 255, 494, 278 ], "lines": [ { "bbox": [ 113, 252, 495, 269 ], "spans": [ { "bbox": [ 113, 252, 495, 269 ], "score": 1.0, "content": "Lesson 1 (Bidirectional Architecture). The bidirectional-attention GLM is a strong architec-", "type": "text" } ], "index": 13 }, { "bbox": [ 115, 264, 266, 279 ], "spans": [ { "bbox": [ 115, 264, 266, 279 ], "score": 1.0, "content": "ture alternative, in addition to GPTs.", "type": "text" } ], "index": 14 } ], "index": 13.5 }, { "type": "text", "bbox": [ 115, 296, 496, 319 ], "lines": [ { "bbox": [ 114, 294, 497, 311 ], "spans": [ { "bbox": [ 114, 294, 497, 311 ], "score": 1.0, "content": "Lesson 2 (Platform-aware Configuration). Configure LLMs based on the cluster and parallel", "type": "text" } ], "index": 15 }, { "bbox": [ 114, 306, 295, 320 ], "spans": [ { "bbox": [ 114, 306, 295, 320 ], "score": 1.0, "content": "strategy used to squeeze hardware potential.", "type": "text" } ], "index": 16 } ], "index": 15.5 }, { "type": "text", "bbox": [ 115, 338, 495, 360 ], "lines": [ { "bbox": [ 114, 335, 497, 352 ], "spans": [ { "bbox": [ 114, 335, 497, 352 ], "score": 1.0, "content": "Lesson 3 (Improved Post-LN). Counter-stereotypically, DeepNorm, a type of Post-LN, is the", "type": "text" } ], "index": 17 }, { "bbox": [ 114, 347, 244, 361 ], "spans": [ { "bbox": [ 114, 347, 244, 361 ], "score": 1.0, "content": "option to stabilize GLM-130B.", "type": "text" } ], "index": 18 } ], "index": 17.5 }, { "type": "text", "bbox": [ 113, 379, 495, 402 ], "lines": [ { "bbox": [ 113, 377, 497, 394 ], "spans": [ { "bbox": [ 113, 377, 497, 394 ], "score": 1.0, "content": "Lesson 4 (Training Stability Categorization). Unexpected training instability that LLMs", "type": "text" } ], "index": 19 }, { "bbox": [ 114, 387, 325, 404 ], "spans": [ { "bbox": [ 114, 387, 325, 404 ], "score": 1.0, "content": "suffer from arouses systematically and numerically.", "type": "text" } ], "index": 20 } ], "index": 19.5 }, { "type": "text", "bbox": [ 114, 420, 495, 444 ], "lines": [ { "bbox": [ 114, 418, 496, 435 ], "spans": [ { "bbox": [ 114, 418, 496, 435 ], "score": 1.0, "content": "Lesson 5 (Systematical Instability: FP16). Though FP16 induces more instability, it enables", "type": "text" } ], "index": 21 }, { "bbox": [ 115, 430, 294, 445 ], "spans": [ { "bbox": [ 115, 430, 294, 445 ], "score": 1.0, "content": "training and inference on diverse platforms.", "type": "text" } ], "index": 22 } ], "index": 21.5 }, { "type": "text", "bbox": [ 115, 462, 494, 485 ], "lines": [ { "bbox": [ 114, 459, 496, 476 ], "spans": [ { "bbox": [ 114, 459, 496, 476 ], "score": 1.0, "content": "Lesson 6 (Numerical Instability: Embedding Gradient Shrink). Shrinking embedding", "type": "text" } ], "index": 23 }, { "bbox": [ 114, 471, 407, 487 ], "spans": [ { "bbox": [ 114, 471, 407, 487 ], "score": 1.0, "content": "layer’s gradient to its 0.1 can solve most numerical instability problems.", "type": "text" } ], "index": 24 } ], "index": 23.5 }, { "type": "text", "bbox": [ 115, 504, 495, 527 ], "lines": [ { "bbox": [ 114, 501, 496, 518 ], "spans": [ { "bbox": [ 114, 501, 496, 518 ], "score": 1.0, "content": "Lesson 7 (GLM’s INT4 Quantization Scaling Law). GLM has a unique INT4 weight quan-", "type": "text" } ], "index": 25 }, { "bbox": [ 115, 513, 339, 527 ], "spans": [ { "bbox": [ 115, 513, 339, 527 ], "score": 1.0, "content": "tization scaling law unobserved in GPT-style BLOOM.", "type": "text" } ], "index": 26 } ], "index": 25.5 }, { "type": "text", "bbox": [ 116, 545, 496, 568 ], "lines": [ { "bbox": [ 114, 542, 497, 559 ], "spans": [ { "bbox": [ 114, 542, 497, 559 ], "score": 1.0, "content": "Lesson 8 (Future Direction). To create powerful LLMs, the main focus can be on 1) more and", "type": "text" } ], "index": 27 }, { "bbox": [ 114, 553, 491, 570 ], "spans": [ { "bbox": [ 114, 553, 491, 570 ], "score": 1.0, "content": "better data, 2) better architectures and pre-training objectives, and 3) more sufficient training.", "type": "text" } ], "index": 28 } ], "index": 27.5 } ], "page_idx": 29, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 25, 293, 38 ], "spans": [ { "bbox": [ 106, 25, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 763 ], "spans": [ { "bbox": [ 298, 750, 313, 763 ], "score": 1.0, "content": "30", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 105, 82, 504, 105 ], "lines": [], "index": 0.5, "bbox_fs": [ 105, 82, 505, 105 ], "lines_deleted": true }, { "type": "text", "bbox": [ 106, 110, 505, 220 ], "lines": [ { "bbox": [ 105, 110, 505, 123 ], "spans": [ { "bbox": [ 105, 110, 505, 123 ], "score": 1.0, "content": "Figure 14 shows the ablation results. On the 8 datasets we test, we find that the GLM objective", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 122, 505, 133 ], "spans": [ { "bbox": [ 105, 122, 374, 133 ], "score": 1.0, "content": "is a major contributor to the improvement (from GLM (uni) to", "type": "text" }, { "bbox": [ 374, 122, 430, 132 ], "score": 0.81, "content": "\\mathrm { G L M } + \\mathrm { M I P }", "type": "inline_equation" }, { "bbox": [ 430, 122, 505, 133 ], "score": 1.0, "content": "(bi)). For exam-", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 132, 505, 144 ], "spans": [ { "bbox": [ 105, 132, 188, 144 ], "score": 1.0, "content": "ple, it accounts for", "type": "text" }, { "bbox": [ 189, 132, 208, 143 ], "score": 0.85, "content": "73 \\%", "type": "inline_equation" }, { "bbox": [ 209, 132, 350, 144 ], "score": 1.0, "content": "improvement in LAMBADA and", "type": "text" }, { "bbox": [ 351, 133, 370, 143 ], "score": 0.86, "content": "90 \\%", "type": "inline_equation" }, { "bbox": [ 371, 132, 505, 144 ], "score": 1.0, "content": "improvement in MMLU, which", "type": "text" } ], "index": 4 }, { "bbox": [ 104, 142, 506, 157 ], "spans": [ { "bbox": [ 104, 142, 506, 157 ], "score": 1.0, "content": "are very widely adopted challenging benchmarks for LLMs. As for MIP, on some datasets (e.g.,", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 153, 506, 167 ], "spans": [ { "bbox": [ 105, 153, 506, 167 ], "score": 1.0, "content": "WiC, ReCoRD, Hellaswag), MIP may even harm the performance. While for datasets related to text", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 165, 505, 178 ], "spans": [ { "bbox": [ 105, 165, 505, 178 ], "score": 1.0, "content": "similarity and coreference (e.g., WSC, BoolQ, ANLI R1), MIP is the main contributor. It is likely", "type": "text" } ], "index": 7 }, { "bbox": [ 106, 177, 504, 188 ], "spans": [ { "bbox": [ 106, 177, 504, 188 ], "score": 1.0, "content": "because the text similarity and coreference challenges, which people usually construct intentionally", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 187, 505, 200 ], "spans": [ { "bbox": [ 105, 187, 505, 200 ], "score": 1.0, "content": "to test language models’ ability, are seldom seen in the self-supervised corpus that makes up peo-", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 198, 505, 211 ], "spans": [ { "bbox": [ 105, 198, 505, 211 ], "score": 1.0, "content": "ple’s daily written texts. Thus, MIP training mainly helps to bridge the gap between self-supervised", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 209, 221, 221 ], "spans": [ { "bbox": [ 105, 209, 221, 221 ], "score": 1.0, "content": "pre-training and these tasks.", "type": "text" } ], "index": 11 } ], "index": 6.5, "bbox_fs": [ 104, 110, 506, 221 ] }, { "type": "title", "bbox": [ 107, 234, 222, 245 ], "lines": [ { "bbox": [ 106, 234, 223, 245 ], "spans": [ { "bbox": [ 106, 234, 223, 245 ], "score": 1.0, "content": "B.10 LESSONS LEARNED", "type": "text" } ], "index": 12 } ], "index": 12 }, { "type": "text", "bbox": [ 114, 255, 494, 278 ], "lines": [ { "bbox": [ 113, 252, 495, 269 ], "spans": [ { "bbox": [ 113, 252, 495, 269 ], "score": 1.0, "content": "Lesson 1 (Bidirectional Architecture). The bidirectional-attention GLM is a strong architec-", "type": "text" } ], "index": 13 }, { "bbox": [ 115, 264, 266, 279 ], "spans": [ { "bbox": [ 115, 264, 266, 279 ], "score": 1.0, "content": "ture alternative, in addition to GPTs.", "type": "text" } ], "index": 14 } ], "index": 13.5, "bbox_fs": [ 113, 252, 495, 279 ] }, { "type": "text", "bbox": [ 115, 296, 496, 319 ], "lines": [ { "bbox": [ 114, 294, 497, 311 ], "spans": [ { "bbox": [ 114, 294, 497, 311 ], "score": 1.0, "content": "Lesson 2 (Platform-aware Configuration). Configure LLMs based on the cluster and parallel", "type": "text" } ], "index": 15 }, { "bbox": [ 114, 306, 295, 320 ], "spans": [ { "bbox": [ 114, 306, 295, 320 ], "score": 1.0, "content": "strategy used to squeeze hardware potential.", "type": "text" } ], "index": 16 } ], "index": 15.5, "bbox_fs": [ 114, 294, 497, 320 ] }, { "type": "text", "bbox": [ 115, 338, 495, 360 ], "lines": [ { "bbox": [ 114, 335, 497, 352 ], "spans": [ { "bbox": [ 114, 335, 497, 352 ], "score": 1.0, "content": "Lesson 3 (Improved Post-LN). Counter-stereotypically, DeepNorm, a type of Post-LN, is the", "type": "text" } ], "index": 17 }, { "bbox": [ 114, 347, 244, 361 ], "spans": [ { "bbox": [ 114, 347, 244, 361 ], "score": 1.0, "content": "option to stabilize GLM-130B.", "type": "text" } ], "index": 18 } ], "index": 17.5, "bbox_fs": [ 114, 335, 497, 361 ] }, { "type": "text", "bbox": [ 113, 379, 495, 402 ], "lines": [ { "bbox": [ 113, 377, 497, 394 ], "spans": [ { "bbox": [ 113, 377, 497, 394 ], "score": 1.0, "content": "Lesson 4 (Training Stability Categorization). Unexpected training instability that LLMs", "type": "text" } ], "index": 19 }, { "bbox": [ 114, 387, 325, 404 ], "spans": [ { "bbox": [ 114, 387, 325, 404 ], "score": 1.0, "content": "suffer from arouses systematically and numerically.", "type": "text" } ], "index": 20 } ], "index": 19.5, "bbox_fs": [ 113, 377, 497, 404 ] }, { "type": "text", "bbox": [ 114, 420, 495, 444 ], "lines": [ { "bbox": [ 114, 418, 496, 435 ], "spans": [ { "bbox": [ 114, 418, 496, 435 ], "score": 1.0, "content": "Lesson 5 (Systematical Instability: FP16). Though FP16 induces more instability, it enables", "type": "text" } ], "index": 21 }, { "bbox": [ 115, 430, 294, 445 ], "spans": [ { "bbox": [ 115, 430, 294, 445 ], "score": 1.0, "content": "training and inference on diverse platforms.", "type": "text" } ], "index": 22 } ], "index": 21.5, "bbox_fs": [ 114, 418, 496, 445 ] }, { "type": "text", "bbox": [ 115, 462, 494, 485 ], "lines": [ { "bbox": [ 114, 459, 496, 476 ], "spans": [ { "bbox": [ 114, 459, 496, 476 ], "score": 1.0, "content": "Lesson 6 (Numerical Instability: Embedding Gradient Shrink). Shrinking embedding", "type": "text" } ], "index": 23 }, { "bbox": [ 114, 471, 407, 487 ], "spans": [ { "bbox": [ 114, 471, 407, 487 ], "score": 1.0, "content": "layer’s gradient to its 0.1 can solve most numerical instability problems.", "type": "text" } ], "index": 24 } ], "index": 23.5, "bbox_fs": [ 114, 459, 496, 487 ] }, { "type": "text", "bbox": [ 115, 504, 495, 527 ], "lines": [ { "bbox": [ 114, 501, 496, 518 ], "spans": [ { "bbox": [ 114, 501, 496, 518 ], "score": 1.0, "content": "Lesson 7 (GLM’s INT4 Quantization Scaling Law). GLM has a unique INT4 weight quan-", "type": "text" } ], "index": 25 }, { "bbox": [ 115, 513, 339, 527 ], "spans": [ { "bbox": [ 115, 513, 339, 527 ], "score": 1.0, "content": "tization scaling law unobserved in GPT-style BLOOM.", "type": "text" } ], "index": 26 } ], "index": 25.5, "bbox_fs": [ 114, 501, 496, 527 ] }, { "type": "text", "bbox": [ 116, 545, 496, 568 ], "lines": [ { "bbox": [ 114, 542, 497, 559 ], "spans": [ { "bbox": [ 114, 542, 497, 559 ], "score": 1.0, "content": "Lesson 8 (Future Direction). To create powerful LLMs, the main focus can be on 1) more and", "type": "text" } ], "index": 27 }, { "bbox": [ 114, 553, 491, 570 ], "spans": [ { "bbox": [ 114, 553, 491, 570 ], "score": 1.0, "content": "better data, 2) better architectures and pre-training objectives, and 3) more sufficient training.", "type": "text" } ], "index": 28 } ], "index": 27.5, "bbox_fs": [ 114, 542, 497, 570 ] } ] }, { "preproc_blocks": [ { "type": "image", "bbox": [ 129, 74, 479, 611 ], "blocks": [ { "type": "image_body", "bbox": [ 129, 74, 479, 611 ], "group_id": 0, "lines": [ { "bbox": [ 129, 74, 479, 611 ], "spans": [ { "bbox": [ 129, 74, 479, 611 ], "score": 0.969, "type": "image", "image_path": "627d6cd4ded25aa893ca472ba392c2d4946af9b3fa7ca6451ae8daca8971bbe4.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 129, 74, 479, 253.0 ], "spans": [], "index": 0 }, { "bbox": [ 129, 253.0, 479, 432.0 ], "spans": [], "index": 1 }, { "bbox": [ 129, 432.0, 479, 611.0 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 106, 617, 506, 673 ], "group_id": 0, "lines": [ { "bbox": [ 105, 616, 505, 630 ], "spans": [ { "bbox": [ 105, 616, 505, 630 ], "score": 1.0, "content": "Figure 15: Weight value distribution of linear layers in GLM-130B (in orange, attn-dense,", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 627, 505, 641 ], "spans": [ { "bbox": [ 105, 627, 505, 641 ], "score": 1.0, "content": "attn-qkv, glu-w1, glu-w2) and BLOOM-176B (in blue, attn-dense, attn-qkv,", "type": "text" } ], "index": 4 }, { "bbox": [ 106, 639, 505, 651 ], "spans": [ { "bbox": [ 106, 639, 505, 651 ], "score": 1.0, "content": "ffn-w1, ffn-w2)’s first 28 transformer layers. Generally for GLM-130B it is attn-dense", "type": "text" } ], "index": 5 }, { "bbox": [ 106, 650, 505, 662 ], "spans": [ { "bbox": [ 106, 650, 505, 662 ], "score": 1.0, "content": "and w2 that may present narrow value distributions. attn-qkv and w1 may also be a reason for", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 661, 349, 674 ], "spans": [ { "bbox": [ 105, 661, 349, 674 ], "score": 1.0, "content": "enabling INT4 quantization in middle layers of GLM-130B.", "type": "text" } ], "index": 7 } ], "index": 5 } ], "index": 3.0 } ], "page_idx": 30, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 310, 760 ], "lines": [ { "bbox": [ 299, 750, 312, 764 ], "spans": [ { "bbox": [ 299, 750, 312, 764 ], "score": 1.0, "content": "", "type": "text", "height": 14, "width": 13 } ] } ] } ], "para_blocks": [ { "type": "image", "bbox": [ 129, 74, 479, 611 ], "blocks": [ { "type": "image_body", "bbox": [ 129, 74, 479, 611 ], "group_id": 0, "lines": [ { "bbox": [ 129, 74, 479, 611 ], "spans": [ { "bbox": [ 129, 74, 479, 611 ], "score": 0.969, "type": "image", "image_path": "627d6cd4ded25aa893ca472ba392c2d4946af9b3fa7ca6451ae8daca8971bbe4.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 129, 74, 479, 253.0 ], "spans": [], "index": 0 }, { "bbox": [ 129, 253.0, 479, 432.0 ], "spans": [], "index": 1 }, { "bbox": [ 129, 432.0, 479, 611.0 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 106, 617, 506, 673 ], "group_id": 0, "lines": [ { "bbox": [ 105, 616, 505, 630 ], "spans": [ { "bbox": [ 105, 616, 505, 630 ], "score": 1.0, "content": "Figure 15: Weight value distribution of linear layers in GLM-130B (in orange, attn-dense,", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 627, 505, 641 ], "spans": [ { "bbox": [ 105, 627, 505, 641 ], "score": 1.0, "content": "attn-qkv, glu-w1, glu-w2) and BLOOM-176B (in blue, attn-dense, attn-qkv,", "type": "text" } ], "index": 4 }, { "bbox": [ 106, 639, 505, 651 ], "spans": [ { "bbox": [ 106, 639, 505, 651 ], "score": 1.0, "content": "ffn-w1, ffn-w2)’s first 28 transformer layers. Generally for GLM-130B it is attn-dense", "type": "text" } ], "index": 5 }, { "bbox": [ 106, 650, 505, 662 ], "spans": [ { "bbox": [ 106, 650, 505, 662 ], "score": 1.0, "content": "and w2 that may present narrow value distributions. attn-qkv and w1 may also be a reason for", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 661, 349, 674 ], "spans": [ { "bbox": [ 105, 661, 349, 674 ], "score": 1.0, "content": "enabling INT4 quantization in middle layers of GLM-130B.", "type": "text" } ], "index": 7 } ], "index": 5 } ], "index": 3.0 } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 107, 81, 318, 94 ], "lines": [ { "bbox": [ 106, 80, 320, 96 ], "spans": [ { "bbox": [ 106, 80, 320, 96 ], "score": 1.0, "content": "C DATASET AND EVALUATION DETAILS", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 107, 115, 344, 126 ], "lines": [ { "bbox": [ 106, 114, 345, 128 ], "spans": [ { "bbox": [ 106, 114, 345, 128 ], "score": 1.0, "content": "C.1 MULTI-TASK INSTRUCTION PRE-TRAINING (MIP)", "type": "text" } ], "index": 1 } ], "index": 1 }, { "type": "text", "bbox": [ 107, 140, 505, 228 ], "lines": [ { "bbox": [ 105, 139, 505, 153 ], "spans": [ { "bbox": [ 105, 139, 505, 153 ], "score": 1.0, "content": "Following practices in (Raffel et al., 2020; Wei et al., 2022a; Sanh et al., 2022; Aribandi et al., 2022),", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 152, 505, 163 ], "spans": [ { "bbox": [ 106, 152, 505, 163 ], "score": 1.0, "content": "we include a number of prompted instruction datasets in GLM-130B’s MIP training, which accounts", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 162, 504, 174 ], "spans": [ { "bbox": [ 105, 162, 120, 174 ], "score": 1.0, "content": "for", "type": "text" }, { "bbox": [ 120, 163, 135, 173 ], "score": 0.86, "content": "5 \\%", "type": "inline_equation" }, { "bbox": [ 135, 162, 504, 174 ], "score": 1.0, "content": "of the training tokens. All prompts for T0 datasets are from PromptSource (Bach et al., 2022)", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 173, 504, 185 ], "spans": [ { "bbox": [ 105, 173, 504, 185 ], "score": 1.0, "content": "and prompts for DeepStruct datasets are newly created. Their composition is shown in Table 12,", "type": "text" } ], "index": 5 }, { "bbox": [ 106, 184, 504, 196 ], "spans": [ { "bbox": [ 106, 184, 504, 196 ], "score": 1.0, "content": "which makes up natural language understanding and generation datasets from T0 (Sanh et al., 2022)", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 194, 505, 208 ], "spans": [ { "bbox": [ 105, 194, 505, 208 ], "score": 1.0, "content": "and promptsource (Bach et al., 2022), and information extraction datasets from DeepStruct (Wang", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 205, 505, 218 ], "spans": [ { "bbox": [ 105, 205, 394, 218 ], "score": 1.0, "content": "et al., 2022a). In GLM-130B’s training, we calculate that approximately", "type": "text" }, { "bbox": [ 394, 207, 414, 217 ], "score": 0.86, "content": "36 \\%", "type": "inline_equation" }, { "bbox": [ 414, 205, 505, 218 ], "score": 1.0, "content": "of the samples in each", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 217, 196, 229 ], "spans": [ { "bbox": [ 106, 217, 196, 229 ], "score": 1.0, "content": "dataset has been seen.", "type": "text" } ], "index": 9 } ], "index": 5.5 }, { "type": "text", "bbox": [ 107, 234, 505, 289 ], "lines": [ { "bbox": [ 106, 235, 505, 246 ], "spans": [ { "bbox": [ 106, 235, 505, 246 ], "score": 1.0, "content": "T0 originally splits datasets for 1) multi-task prompted training and 2) zero-shot task transfer two", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 244, 505, 258 ], "spans": [ { "bbox": [ 105, 244, 505, 258 ], "score": 1.0, "content": "sections. We initially planed to only include training sets of T0’s multi-task prompted training", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 255, 505, 269 ], "spans": [ { "bbox": [ 105, 255, 505, 269 ], "score": 1.0, "content": "section and DeepStruct (Wang et al., 2022a), but by a mistake we included both multi-task prompted", "type": "text" } ], "index": 12 }, { "bbox": [ 106, 267, 505, 279 ], "spans": [ { "bbox": [ 106, 267, 505, 279 ], "score": 1.0, "content": "training and zero-shot task transfer sections’ datasets in MIP and excluded DeepStruct datasets. The", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 278, 484, 290 ], "spans": [ { "bbox": [ 106, 278, 484, 290 ], "score": 1.0, "content": "mistake was fixed at around 23k steps and our model continued to train on the correct version.", "type": "text" } ], "index": 14 } ], "index": 12 }, { "type": "text", "bbox": [ 107, 295, 505, 339 ], "lines": [ { "bbox": [ 105, 294, 505, 308 ], "spans": [ { "bbox": [ 105, 294, 505, 308 ], "score": 1.0, "content": "Natural Language Understanding and Generation. We adopt datasets and corresponding", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 306, 506, 318 ], "spans": [ { "bbox": [ 105, 306, 506, 318 ], "score": 1.0, "content": "prompts from promptsource (Bach et al., 2022). For all prompted samples in each dataset, we set a", "type": "text" } ], "index": 16 }, { "bbox": [ 106, 318, 505, 329 ], "spans": [ { "bbox": [ 106, 318, 505, 329 ], "score": 1.0, "content": "truncation of maximal 10,0000 samples per dataset and combine them together as the MIP dataset.", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 327, 497, 341 ], "spans": [ { "bbox": [ 105, 327, 497, 341 ], "score": 1.0, "content": "Details of the prompted samples and datasets are provided in promptsource’s GitHub repository8.", "type": "text" } ], "index": 18 } ], "index": 16.5 }, { "type": "text", "bbox": [ 107, 344, 505, 433 ], "lines": [ { "bbox": [ 106, 345, 504, 356 ], "spans": [ { "bbox": [ 106, 345, 504, 356 ], "score": 1.0, "content": "Information Extraction. Based on the datasets from DeepStruct (Wang et al., 2022a), a multi-", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 356, 505, 368 ], "spans": [ { "bbox": [ 106, 356, 505, 368 ], "score": 1.0, "content": "task language model pre-training approach for information extraction tasks, we create instructions", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 367, 504, 379 ], "spans": [ { "bbox": [ 106, 367, 504, 379 ], "score": 1.0, "content": "and prompts for part of its datasets (as is shown in Table 12). We reformulate information extraction", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 379, 504, 389 ], "spans": [ { "bbox": [ 106, 379, 504, 389 ], "score": 1.0, "content": "tasks into instruction tuning formats to allow zero-shot generalization to new extraction schema. For", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 389, 505, 401 ], "spans": [ { "bbox": [ 105, 389, 505, 401 ], "score": 1.0, "content": "all prompted samples in each dataset, we set a truncation of maximal 20,0000 samples per dataset as", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 400, 505, 412 ], "spans": [ { "bbox": [ 105, 400, 505, 412 ], "score": 1.0, "content": "there are fewer information extraction datasets than common language understanding and generation", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 411, 505, 422 ], "spans": [ { "bbox": [ 106, 411, 505, 422 ], "score": 1.0, "content": "ones. For KELM (Agarwal et al., 2021) and PropBank (Kingsbury & Palmer) datasets, since their", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 422, 505, 434 ], "spans": [ { "bbox": [ 105, 422, 505, 434 ], "score": 1.0, "content": "original size is gigantic, we sample 50,0000 samples for each of them from their prompted samples.", "type": "text" } ], "index": 26 } ], "index": 22.5 }, { "type": "title", "bbox": [ 107, 458, 333, 470 ], "lines": [ { "bbox": [ 106, 458, 334, 471 ], "spans": [ { "bbox": [ 106, 458, 334, 471 ], "score": 1.0, "content": "C.2 DATA AND PROMPTS IN MIP FOR DEEPSTRUCT", "type": "text" } ], "index": 27 } ], "index": 27 }, { "type": "text", "bbox": [ 107, 483, 505, 539 ], "lines": [ { "bbox": [ 106, 483, 505, 496 ], "spans": [ { "bbox": [ 106, 483, 505, 496 ], "score": 1.0, "content": "Prompts and instructions for all datasets in DeepStruct (Wang et al., 2022a) are newly created by", "type": "text" } ], "index": 28 }, { "bbox": [ 106, 495, 505, 507 ], "spans": [ { "bbox": [ 106, 495, 505, 507 ], "score": 1.0, "content": "authors manually. The introduction, task description, and full prompts for each dataset are attached", "type": "text" } ], "index": 29 }, { "bbox": [ 106, 506, 505, 518 ], "spans": [ { "bbox": [ 106, 506, 505, 518 ], "score": 1.0, "content": "in the following sections. To allow template infilling, all prompts are written into Jinja9 templates.", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 515, 505, 531 ], "spans": [ { "bbox": [ 105, 515, 505, 531 ], "score": 1.0, "content": "When a dataset sample is provided in our format, Joinja engine will render it into a prompted sample", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 527, 174, 540 ], "spans": [ { "bbox": [ 105, 527, 174, 540 ], "score": 1.0, "content": "with instruction.", "type": "text" } ], "index": 32 } ], "index": 30 }, { "type": "text", "bbox": [ 107, 544, 504, 567 ], "lines": [ { "bbox": [ 106, 544, 505, 557 ], "spans": [ { "bbox": [ 106, 544, 505, 557 ], "score": 1.0, "content": "A more systematic evaluation on GLM-130B’s information extraction ability is left for a future", "type": "text" } ], "index": 33 }, { "bbox": [ 106, 556, 469, 568 ], "spans": [ { "bbox": [ 106, 556, 469, 568 ], "score": 1.0, "content": "work, as the concentration in this work is on the training and designing details of an LLM.", "type": "text" } ], "index": 34 } ], "index": 33.5 }, { "type": "title", "bbox": [ 108, 591, 266, 603 ], "lines": [ { "bbox": [ 106, 591, 267, 604 ], "spans": [ { "bbox": [ 106, 591, 267, 604 ], "score": 1.0, "content": "C.2.1 DIALOGUE STATE TRACKING", "type": "text" } ], "index": 35 } ], "index": 35 }, { "type": "text", "bbox": [ 106, 615, 505, 639 ], "lines": [ { "bbox": [ 106, 615, 505, 628 ], "spans": [ { "bbox": [ 106, 615, 505, 628 ], "score": 1.0, "content": "We adopt Multiwoz 2.1 (Eric et al., 2020) dialogue state tracking dataset. The dataset is reformulated", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 626, 326, 640 ], "spans": [ { "bbox": [ 105, 626, 326, 640 ], "score": 1.0, "content": "into two tasks, each with one prompt correspondingly:", "type": "text" } ], "index": 37 } ], "index": 36.5 }, { "type": "text", "bbox": [ 107, 644, 502, 666 ], "lines": [ { "bbox": [ 105, 642, 504, 657 ], "spans": [ { "bbox": [ 105, 642, 504, 657 ], "score": 1.0, "content": "• Dialogue state tracking: which asks the model to extract information from dialogues given a list", "type": "text" } ], "index": 38 }, { "bbox": [ 114, 654, 390, 667 ], "spans": [ { "bbox": [ 114, 654, 390, 667 ], "score": 1.0, "content": "of certain slots, e.g., taxi_arrival_time and destination.", "type": "text" } ], "index": 39 } ], "index": 38.5 }, { "type": "text", "bbox": [ 108, 668, 499, 679 ], "lines": [ { "bbox": [ 105, 666, 500, 680 ], "spans": [ { "bbox": [ 105, 666, 500, 680 ], "score": 1.0, "content": "• Slot filling: which model should fill in one provided slot and identify situations without answer.", "type": "text" } ], "index": 40 } ], "index": 40 } ], "page_idx": 31, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 118, 711, 399, 732 ], "lines": [ { "bbox": [ 117, 708, 401, 723 ], "spans": [ { "bbox": [ 117, 708, 401, 723 ], "score": 1.0, "content": "8https://github.com/bigscience-workshop/promptsource", "type": "text" } ] }, { "bbox": [ 118, 720, 298, 734 ], "spans": [ { "bbox": [ 118, 720, 298, 734 ], "score": 1.0, "content": "9https://github.com/pallets/jinja", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 294, 38 ], "spans": [ { "bbox": [ 106, 26, 294, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 765 ], "spans": [ { "bbox": [ 298, 750, 313, 765 ], "score": 1.0, "content": "", "type": "text", "height": 15, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 107, 81, 318, 94 ], "lines": [ { "bbox": [ 106, 80, 320, 96 ], "spans": [ { "bbox": [ 106, 80, 320, 96 ], "score": 1.0, "content": "C DATASET AND EVALUATION DETAILS", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 107, 115, 344, 126 ], "lines": [ { "bbox": [ 106, 114, 345, 128 ], "spans": [ { "bbox": [ 106, 114, 345, 128 ], "score": 1.0, "content": "C.1 MULTI-TASK INSTRUCTION PRE-TRAINING (MIP)", "type": "text" } ], "index": 1 } ], "index": 1, "bbox_fs": [ 106, 114, 345, 128 ] }, { "type": "text", "bbox": [ 107, 140, 505, 228 ], "lines": [ { "bbox": [ 105, 139, 505, 153 ], "spans": [ { "bbox": [ 105, 139, 505, 153 ], "score": 1.0, "content": "Following practices in (Raffel et al., 2020; Wei et al., 2022a; Sanh et al., 2022; Aribandi et al., 2022),", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 152, 505, 163 ], "spans": [ { "bbox": [ 106, 152, 505, 163 ], "score": 1.0, "content": "we include a number of prompted instruction datasets in GLM-130B’s MIP training, which accounts", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 162, 504, 174 ], "spans": [ { "bbox": [ 105, 162, 120, 174 ], "score": 1.0, "content": "for", "type": "text" }, { "bbox": [ 120, 163, 135, 173 ], "score": 0.86, "content": "5 \\%", "type": "inline_equation" }, { "bbox": [ 135, 162, 504, 174 ], "score": 1.0, "content": "of the training tokens. All prompts for T0 datasets are from PromptSource (Bach et al., 2022)", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 173, 504, 185 ], "spans": [ { "bbox": [ 105, 173, 504, 185 ], "score": 1.0, "content": "and prompts for DeepStruct datasets are newly created. Their composition is shown in Table 12,", "type": "text" } ], "index": 5 }, { "bbox": [ 106, 184, 504, 196 ], "spans": [ { "bbox": [ 106, 184, 504, 196 ], "score": 1.0, "content": "which makes up natural language understanding and generation datasets from T0 (Sanh et al., 2022)", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 194, 505, 208 ], "spans": [ { "bbox": [ 105, 194, 505, 208 ], "score": 1.0, "content": "and promptsource (Bach et al., 2022), and information extraction datasets from DeepStruct (Wang", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 205, 505, 218 ], "spans": [ { "bbox": [ 105, 205, 394, 218 ], "score": 1.0, "content": "et al., 2022a). In GLM-130B’s training, we calculate that approximately", "type": "text" }, { "bbox": [ 394, 207, 414, 217 ], "score": 0.86, "content": "36 \\%", "type": "inline_equation" }, { "bbox": [ 414, 205, 505, 218 ], "score": 1.0, "content": "of the samples in each", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 217, 196, 229 ], "spans": [ { "bbox": [ 106, 217, 196, 229 ], "score": 1.0, "content": "dataset has been seen.", "type": "text" } ], "index": 9 } ], "index": 5.5, "bbox_fs": [ 105, 139, 505, 229 ] }, { "type": "text", "bbox": [ 107, 234, 505, 289 ], "lines": [ { "bbox": [ 106, 235, 505, 246 ], "spans": [ { "bbox": [ 106, 235, 505, 246 ], "score": 1.0, "content": "T0 originally splits datasets for 1) multi-task prompted training and 2) zero-shot task transfer two", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 244, 505, 258 ], "spans": [ { "bbox": [ 105, 244, 505, 258 ], "score": 1.0, "content": "sections. We initially planed to only include training sets of T0’s multi-task prompted training", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 255, 505, 269 ], "spans": [ { "bbox": [ 105, 255, 505, 269 ], "score": 1.0, "content": "section and DeepStruct (Wang et al., 2022a), but by a mistake we included both multi-task prompted", "type": "text" } ], "index": 12 }, { "bbox": [ 106, 267, 505, 279 ], "spans": [ { "bbox": [ 106, 267, 505, 279 ], "score": 1.0, "content": "training and zero-shot task transfer sections’ datasets in MIP and excluded DeepStruct datasets. The", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 278, 484, 290 ], "spans": [ { "bbox": [ 106, 278, 484, 290 ], "score": 1.0, "content": "mistake was fixed at around 23k steps and our model continued to train on the correct version.", "type": "text" } ], "index": 14 } ], "index": 12, "bbox_fs": [ 105, 235, 505, 290 ] }, { "type": "text", "bbox": [ 107, 295, 505, 339 ], "lines": [ { "bbox": [ 105, 294, 505, 308 ], "spans": [ { "bbox": [ 105, 294, 505, 308 ], "score": 1.0, "content": "Natural Language Understanding and Generation. We adopt datasets and corresponding", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 306, 506, 318 ], "spans": [ { "bbox": [ 105, 306, 506, 318 ], "score": 1.0, "content": "prompts from promptsource (Bach et al., 2022). For all prompted samples in each dataset, we set a", "type": "text" } ], "index": 16 }, { "bbox": [ 106, 318, 505, 329 ], "spans": [ { "bbox": [ 106, 318, 505, 329 ], "score": 1.0, "content": "truncation of maximal 10,0000 samples per dataset and combine them together as the MIP dataset.", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 327, 497, 341 ], "spans": [ { "bbox": [ 105, 327, 497, 341 ], "score": 1.0, "content": "Details of the prompted samples and datasets are provided in promptsource’s GitHub repository8.", "type": "text" } ], "index": 18 } ], "index": 16.5, "bbox_fs": [ 105, 294, 506, 341 ] }, { "type": "text", "bbox": [ 107, 344, 505, 433 ], "lines": [ { "bbox": [ 106, 345, 504, 356 ], "spans": [ { "bbox": [ 106, 345, 504, 356 ], "score": 1.0, "content": "Information Extraction. Based on the datasets from DeepStruct (Wang et al., 2022a), a multi-", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 356, 505, 368 ], "spans": [ { "bbox": [ 106, 356, 505, 368 ], "score": 1.0, "content": "task language model pre-training approach for information extraction tasks, we create instructions", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 367, 504, 379 ], "spans": [ { "bbox": [ 106, 367, 504, 379 ], "score": 1.0, "content": "and prompts for part of its datasets (as is shown in Table 12). We reformulate information extraction", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 379, 504, 389 ], "spans": [ { "bbox": [ 106, 379, 504, 389 ], "score": 1.0, "content": "tasks into instruction tuning formats to allow zero-shot generalization to new extraction schema. For", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 389, 505, 401 ], "spans": [ { "bbox": [ 105, 389, 505, 401 ], "score": 1.0, "content": "all prompted samples in each dataset, we set a truncation of maximal 20,0000 samples per dataset as", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 400, 505, 412 ], "spans": [ { "bbox": [ 105, 400, 505, 412 ], "score": 1.0, "content": "there are fewer information extraction datasets than common language understanding and generation", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 411, 505, 422 ], "spans": [ { "bbox": [ 106, 411, 505, 422 ], "score": 1.0, "content": "ones. For KELM (Agarwal et al., 2021) and PropBank (Kingsbury & Palmer) datasets, since their", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 422, 505, 434 ], "spans": [ { "bbox": [ 105, 422, 505, 434 ], "score": 1.0, "content": "original size is gigantic, we sample 50,0000 samples for each of them from their prompted samples.", "type": "text" } ], "index": 26 } ], "index": 22.5, "bbox_fs": [ 105, 345, 505, 434 ] }, { "type": "title", "bbox": [ 107, 458, 333, 470 ], "lines": [ { "bbox": [ 106, 458, 334, 471 ], "spans": [ { "bbox": [ 106, 458, 334, 471 ], "score": 1.0, "content": "C.2 DATA AND PROMPTS IN MIP FOR DEEPSTRUCT", "type": "text" } ], "index": 27 } ], "index": 27 }, { "type": "text", "bbox": [ 107, 483, 505, 539 ], "lines": [ { "bbox": [ 106, 483, 505, 496 ], "spans": [ { "bbox": [ 106, 483, 505, 496 ], "score": 1.0, "content": "Prompts and instructions for all datasets in DeepStruct (Wang et al., 2022a) are newly created by", "type": "text" } ], "index": 28 }, { "bbox": [ 106, 495, 505, 507 ], "spans": [ { "bbox": [ 106, 495, 505, 507 ], "score": 1.0, "content": "authors manually. The introduction, task description, and full prompts for each dataset are attached", "type": "text" } ], "index": 29 }, { "bbox": [ 106, 506, 505, 518 ], "spans": [ { "bbox": [ 106, 506, 505, 518 ], "score": 1.0, "content": "in the following sections. To allow template infilling, all prompts are written into Jinja9 templates.", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 515, 505, 531 ], "spans": [ { "bbox": [ 105, 515, 505, 531 ], "score": 1.0, "content": "When a dataset sample is provided in our format, Joinja engine will render it into a prompted sample", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 527, 174, 540 ], "spans": [ { "bbox": [ 105, 527, 174, 540 ], "score": 1.0, "content": "with instruction.", "type": "text" } ], "index": 32 } ], "index": 30, "bbox_fs": [ 105, 483, 505, 540 ] }, { "type": "text", "bbox": [ 107, 544, 504, 567 ], "lines": [ { "bbox": [ 106, 544, 505, 557 ], "spans": [ { "bbox": [ 106, 544, 505, 557 ], "score": 1.0, "content": "A more systematic evaluation on GLM-130B’s information extraction ability is left for a future", "type": "text" } ], "index": 33 }, { "bbox": [ 106, 556, 469, 568 ], "spans": [ { "bbox": [ 106, 556, 469, 568 ], "score": 1.0, "content": "work, as the concentration in this work is on the training and designing details of an LLM.", "type": "text" } ], "index": 34 } ], "index": 33.5, "bbox_fs": [ 106, 544, 505, 568 ] }, { "type": "title", "bbox": [ 108, 591, 266, 603 ], "lines": [ { "bbox": [ 106, 591, 267, 604 ], "spans": [ { "bbox": [ 106, 591, 267, 604 ], "score": 1.0, "content": "C.2.1 DIALOGUE STATE TRACKING", "type": "text" } ], "index": 35 } ], "index": 35 }, { "type": "text", "bbox": [ 106, 615, 505, 639 ], "lines": [ { "bbox": [ 106, 615, 505, 628 ], "spans": [ { "bbox": [ 106, 615, 505, 628 ], "score": 1.0, "content": "We adopt Multiwoz 2.1 (Eric et al., 2020) dialogue state tracking dataset. The dataset is reformulated", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 626, 326, 640 ], "spans": [ { "bbox": [ 105, 626, 326, 640 ], "score": 1.0, "content": "into two tasks, each with one prompt correspondingly:", "type": "text" } ], "index": 37 } ], "index": 36.5, "bbox_fs": [ 105, 615, 505, 640 ] }, { "type": "text", "bbox": [ 107, 644, 502, 666 ], "lines": [ { "bbox": [ 105, 642, 504, 657 ], "spans": [ { "bbox": [ 105, 642, 504, 657 ], "score": 1.0, "content": "• Dialogue state tracking: which asks the model to extract information from dialogues given a list", "type": "text" } ], "index": 38 }, { "bbox": [ 114, 654, 390, 667 ], "spans": [ { "bbox": [ 114, 654, 390, 667 ], "score": 1.0, "content": "of certain slots, e.g., taxi_arrival_time and destination.", "type": "text" } ], "index": 39 } ], "index": 38.5, "bbox_fs": [ 105, 642, 504, 667 ] }, { "type": "text", "bbox": [ 108, 668, 499, 679 ], "lines": [ { "bbox": [ 105, 666, 500, 680 ], "spans": [ { "bbox": [ 105, 666, 500, 680 ], "score": 1.0, "content": "• Slot filling: which model should fill in one provided slot and identify situations without answer.", "type": "text" } ], "index": 40 } ], "index": 40, "bbox_fs": [ 105, 666, 500, 680 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 109, 82, 265, 94 ], "lines": [ { "bbox": [ 108, 82, 266, 95 ], "spans": [ { "bbox": [ 108, 82, 266, 95 ], "score": 1.0, "content": "(Dialogue State Tracking, Prompt 0)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 109, 99, 379, 110 ], "lines": [ { "bbox": [ 108, 98, 380, 111 ], "spans": [ { "bbox": [ 108, 98, 380, 111 ], "score": 1.0, "content": "Read the dialogues between \"[User]\" and \"[Agent]\",", "type": "text" } ], "index": 1 } ], "index": 1 }, { "type": "text", "bbox": [ 111, 119, 153, 130 ], "lines": [ { "bbox": [ 109, 118, 154, 131 ], "spans": [ { "bbox": [ 109, 118, 154, 131 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 2 } ], "index": 2 }, { "type": "text", "bbox": [ 109, 139, 501, 159 ], "lines": [ { "bbox": [ 108, 137, 500, 150 ], "spans": [ { "bbox": [ 108, 137, 500, 150 ], "score": 1.0, "content": "identify and extract the information related to the following categories", "type": "text" } ], "index": 3 }, { "bbox": [ 115, 148, 220, 160 ], "spans": [ { "bbox": [ 115, 148, 220, 160 ], "score": 1.0, "content": "(from top to down):", "type": "text" } ], "index": 4 } ], "index": 3.5 }, { "type": "text", "bbox": [ 110, 168, 315, 180 ], "lines": [ { "bbox": [ 109, 168, 316, 181 ], "spans": [ { "bbox": [ 109, 168, 316, 181 ], "score": 1.0, "content": "- {{allowed_relations | join(\"\\n- \")}}", "type": "text" } ], "index": 5 } ], "index": 5 }, { "type": "text", "bbox": [ 110, 189, 470, 210 ], "lines": [ { "bbox": [ 108, 187, 471, 201 ], "spans": [ { "bbox": [ 108, 187, 471, 201 ], "score": 1.0, "content": "in the form of \"( [User] ; Y ; Z )\": ||| {{format_triple(relations,", "type": "text" } ], "index": 6 }, { "bbox": [ 108, 197, 284, 210 ], "spans": [ { "bbox": [ 108, 197, 284, 210 ], "score": 1.0, "content": "allowed_relations) | join(\" \")}}", "type": "text" } ], "index": 7 } ], "index": 6.5 }, { "type": "title", "bbox": [ 109, 247, 210, 259 ], "lines": [ { "bbox": [ 108, 246, 211, 261 ], "spans": [ { "bbox": [ 108, 246, 211, 261 ], "score": 1.0, "content": "(Slot Filling, Prompt 0)", "type": "text" } ], "index": 8 } ], "index": 8 }, { "type": "text", "bbox": [ 110, 265, 266, 276 ], "lines": [ { "bbox": [ 108, 263, 267, 277 ], "spans": [ { "bbox": [ 108, 263, 267, 277 ], "score": 1.0, "content": "Given the following dialogue:", "type": "text" } ], "index": 9 } ], "index": 9 }, { "type": "text", "bbox": [ 111, 285, 153, 295 ], "lines": [ { "bbox": [ 109, 284, 154, 296 ], "spans": [ { "bbox": [ 109, 284, 154, 296 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 10 } ], "index": 10 }, { "type": "text", "bbox": [ 109, 305, 499, 335 ], "lines": [ { "bbox": [ 108, 303, 500, 316 ], "spans": [ { "bbox": [ 108, 303, 500, 316 ], "score": 1.0, "content": "please answer the question: has \"[User]\" mentioned \"{{allowed_relations[", "type": "text" } ], "index": 11 }, { "bbox": [ 107, 312, 490, 327 ], "spans": [ { "bbox": [ 107, 312, 490, 327 ], "score": 1.0, "content": "relation_idx].split(': ') | join(\"'s \")}}\" ? If yes, please write down", "type": "text" } ], "index": 12 }, { "bbox": [ 107, 323, 456, 336 ], "spans": [ { "bbox": [ 107, 323, 456, 336 ], "score": 1.0, "content": "the answer from the dialogue; if not, please answer \"not given\".", "type": "text" } ], "index": 13 } ], "index": 12 }, { "type": "text", "bbox": [ 109, 345, 499, 384 ], "lines": [ { "bbox": [ 108, 344, 451, 356 ], "spans": [ { "bbox": [ 108, 344, 451, 356 ], "score": 1.0, "content": "Answer: ||| {% if filter_relation(relations, allowed_relations[", "type": "text" } ], "index": 14 }, { "bbox": [ 107, 352, 429, 367 ], "spans": [ { "bbox": [ 107, 352, 243, 367 ], "score": 1.0, "content": "relation_idx]).__len__()", "type": "text" }, { "bbox": [ 243, 355, 252, 364 ], "score": 0.5, "content": ">", "type": "inline_equation" }, { "bbox": [ 252, 352, 429, 367 ], "score": 1.0, "content": "0 %}{{filter_relation(relations,", "type": "text" } ], "index": 15 }, { "bbox": [ 108, 363, 500, 375 ], "spans": [ { "bbox": [ 108, 363, 500, 375 ], "score": 1.0, "content": "allowed_relations[relation_idx])[0]['tail']}}{% else %}not given{% endif", "type": "text" } ], "index": 16 }, { "bbox": [ 113, 374, 128, 386 ], "spans": [ { "bbox": [ 113, 374, 128, 386 ], "score": 1.0, "content": "%}", "type": "text" } ], "index": 17 } ], "index": 15.5 }, { "type": "title", "bbox": [ 107, 429, 232, 441 ], "lines": [ { "bbox": [ 106, 430, 232, 442 ], "spans": [ { "bbox": [ 106, 430, 232, 442 ], "score": 1.0, "content": "C.2.2 EVENT EXTRACTION", "type": "text" } ], "index": 18 } ], "index": 18 }, { "type": "text", "bbox": [ 106, 459, 505, 481 ], "lines": [ { "bbox": [ 105, 457, 506, 473 ], "spans": [ { "bbox": [ 105, 457, 506, 473 ], "score": 1.0, "content": "We adopt ACE05 (Walker & Consortium, 2005) event extraction datasets following the setting", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 469, 500, 482 ], "spans": [ { "bbox": [ 105, 469, 500, 482 ], "score": 1.0, "content": "in (Wadden et al., 2019). The dataset is reformulated into two tasks with three prompts as follows:", "type": "text" } ], "index": 20 } ], "index": 19.5 }, { "type": "text", "bbox": [ 106, 487, 504, 509 ], "lines": [ { "bbox": [ 105, 485, 505, 500 ], "spans": [ { "bbox": [ 105, 485, 505, 500 ], "score": 1.0, "content": "• Event Argument Extraction: given a trigger in text and a list of its argument roles, the model is", "type": "text" } ], "index": 21 }, { "bbox": [ 114, 498, 331, 510 ], "spans": [ { "bbox": [ 114, 498, 331, 510 ], "score": 1.0, "content": "asked to extract the arguments from the provided text.", "type": "text" } ], "index": 22 } ], "index": 21.5 }, { "type": "text", "bbox": [ 107, 511, 504, 533 ], "lines": [ { "bbox": [ 106, 509, 506, 524 ], "spans": [ { "bbox": [ 106, 509, 506, 524 ], "score": 1.0, "content": "• Argument Identification: given a trigger and a certain argument role, the model is asked to", "type": "text" } ], "index": 23 }, { "bbox": [ 113, 520, 505, 536 ], "spans": [ { "bbox": [ 113, 520, 505, 536 ], "score": 1.0, "content": "extract the argument if it exists in the provided text; otherwise, the model should generate nothing.", "type": "text" } ], "index": 24 } ], "index": 23.5 }, { "type": "title", "bbox": [ 109, 563, 281, 575 ], "lines": [ { "bbox": [ 108, 561, 282, 577 ], "spans": [ { "bbox": [ 108, 561, 282, 577 ], "score": 1.0, "content": "(Event Argument Extraction, Prompt 0)", "type": "text" } ], "index": 25 } ], "index": 25 }, { "type": "text", "bbox": [ 109, 581, 488, 601 ], "lines": [ { "bbox": [ 108, 579, 489, 591 ], "spans": [ { "bbox": [ 108, 579, 489, 591 ], "score": 1.0, "content": "For the task of \"Event Extraction\", given a trigger one should extract", "type": "text" } ], "index": 26 }, { "bbox": [ 109, 589, 450, 601 ], "spans": [ { "bbox": [ 109, 589, 450, 601 ], "score": 1.0, "content": "its related arguments conditioned on a list of potential roles.", "type": "text" } ], "index": 27 } ], "index": 26.5 }, { "type": "text", "bbox": [ 110, 610, 293, 621 ], "lines": [ { "bbox": [ 109, 609, 294, 621 ], "spans": [ { "bbox": [ 109, 609, 294, 621 ], "score": 1.0, "content": "Given the following list of roles:", "type": "text" } ], "index": 28 } ], "index": 28 }, { "type": "text", "bbox": [ 106, 630, 498, 651 ], "lines": [ { "bbox": [ 107, 628, 499, 643 ], "spans": [ { "bbox": [ 107, 628, 499, 643 ], "score": 1.0, "content": "- {{shuffle(allowed_arguments[trigger['event_type']].values()) | join(\"\\", "type": "text" } ], "index": 29 }, { "bbox": [ 106, 640, 147, 650 ], "spans": [ { "bbox": [ 106, 640, 147, 650 ], "score": 1.0, "content": "n- \")}}", "type": "text" } ], "index": 30 } ], "index": 29.5 }, { "type": "text", "bbox": [ 108, 660, 487, 681 ], "lines": [ { "bbox": [ 108, 658, 462, 672 ], "spans": [ { "bbox": [ 108, 658, 462, 672 ], "score": 1.0, "content": "extract related arguments of the trigger \"{{trigger['text']}} ({{", "type": "text" } ], "index": 31 }, { "bbox": [ 107, 667, 489, 683 ], "spans": [ { "bbox": [ 107, 667, 489, 683 ], "score": 1.0, "content": "allowed_triggers[trigger['event_type']]}})\" in the following sentence:", "type": "text" } ], "index": 32 } ], "index": 31.5 }, { "type": "text", "bbox": [ 111, 690, 153, 700 ], "lines": [ { "bbox": [ 109, 689, 154, 701 ], "spans": [ { "bbox": [ 109, 689, 154, 701 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 33 } ], "index": 33 }, { "type": "text", "bbox": [ 109, 710, 438, 721 ], "lines": [ { "bbox": [ 108, 708, 441, 722 ], "spans": [ { "bbox": [ 108, 708, 441, 722 ], "score": 1.0, "content": "Extractions: ||| {{format_triple(relations, \"\") | join(\" \")}}", "type": "text" } ], "index": 34 } ], "index": 34 } ], "page_idx": 32, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 26, 293, 38 ], "lines": [ { "bbox": [ 106, 25, 293, 39 ], "spans": [ { "bbox": [ 106, 25, 293, 39 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 312, 763 ], "spans": [ { "bbox": [ 298, 750, 312, 763 ], "score": 1.0, "content": "33", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 109, 82, 265, 94 ], "lines": [ { "bbox": [ 108, 82, 266, 95 ], "spans": [ { "bbox": [ 108, 82, 266, 95 ], "score": 1.0, "content": "(Dialogue State Tracking, Prompt 0)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 109, 99, 379, 110 ], "lines": [ { "bbox": [ 108, 98, 380, 111 ], "spans": [ { "bbox": [ 108, 98, 380, 111 ], "score": 1.0, "content": "Read the dialogues between \"[User]\" and \"[Agent]\",", "type": "text" } ], "index": 1 } ], "index": 1, "bbox_fs": [ 108, 98, 380, 111 ] }, { "type": "text", "bbox": [ 111, 119, 153, 130 ], "lines": [ { "bbox": [ 109, 118, 154, 131 ], "spans": [ { "bbox": [ 109, 118, 154, 131 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 2 } ], "index": 2, "bbox_fs": [ 109, 118, 154, 131 ] }, { "type": "text", "bbox": [ 109, 139, 501, 159 ], "lines": [ { "bbox": [ 108, 137, 500, 150 ], "spans": [ { "bbox": [ 108, 137, 500, 150 ], "score": 1.0, "content": "identify and extract the information related to the following categories", "type": "text" } ], "index": 3 }, { "bbox": [ 115, 148, 220, 160 ], "spans": [ { "bbox": [ 115, 148, 220, 160 ], "score": 1.0, "content": "(from top to down):", "type": "text" } ], "index": 4 } ], "index": 3.5, "bbox_fs": [ 108, 137, 500, 160 ] }, { "type": "text", "bbox": [ 110, 168, 315, 180 ], "lines": [ { "bbox": [ 109, 168, 316, 181 ], "spans": [ { "bbox": [ 109, 168, 316, 181 ], "score": 1.0, "content": "- {{allowed_relations | join(\"\\n- \")}}", "type": "text" } ], "index": 5 } ], "index": 5, "bbox_fs": [ 109, 168, 316, 181 ] }, { "type": "text", "bbox": [ 110, 189, 470, 210 ], "lines": [ { "bbox": [ 108, 187, 471, 201 ], "spans": [ { "bbox": [ 108, 187, 471, 201 ], "score": 1.0, "content": "in the form of \"( [User] ; Y ; Z )\": ||| {{format_triple(relations,", "type": "text" } ], "index": 6 }, { "bbox": [ 108, 197, 284, 210 ], "spans": [ { "bbox": [ 108, 197, 284, 210 ], "score": 1.0, "content": "allowed_relations) | join(\" \")}}", "type": "text" } ], "index": 7 } ], "index": 6.5, "bbox_fs": [ 108, 187, 471, 210 ] }, { "type": "title", "bbox": [ 109, 247, 210, 259 ], "lines": [ { "bbox": [ 108, 246, 211, 261 ], "spans": [ { "bbox": [ 108, 246, 211, 261 ], "score": 1.0, "content": "(Slot Filling, Prompt 0)", "type": "text" } ], "index": 8 } ], "index": 8 }, { "type": "text", "bbox": [ 110, 265, 266, 276 ], "lines": [ { "bbox": [ 108, 263, 267, 277 ], "spans": [ { "bbox": [ 108, 263, 267, 277 ], "score": 1.0, "content": "Given the following dialogue:", "type": "text" } ], "index": 9 } ], "index": 9, "bbox_fs": [ 108, 263, 267, 277 ] }, { "type": "text", "bbox": [ 111, 285, 153, 295 ], "lines": [ { "bbox": [ 109, 284, 154, 296 ], "spans": [ { "bbox": [ 109, 284, 154, 296 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 10 } ], "index": 10, "bbox_fs": [ 109, 284, 154, 296 ] }, { "type": "text", "bbox": [ 109, 305, 499, 335 ], "lines": [ { "bbox": [ 108, 303, 500, 316 ], "spans": [ { "bbox": [ 108, 303, 500, 316 ], "score": 1.0, "content": "please answer the question: has \"[User]\" mentioned \"{{allowed_relations[", "type": "text" } ], "index": 11 }, { "bbox": [ 107, 312, 490, 327 ], "spans": [ { "bbox": [ 107, 312, 490, 327 ], "score": 1.0, "content": "relation_idx].split(': ') | join(\"'s \")}}\" ? If yes, please write down", "type": "text" } ], "index": 12 }, { "bbox": [ 107, 323, 456, 336 ], "spans": [ { "bbox": [ 107, 323, 456, 336 ], "score": 1.0, "content": "the answer from the dialogue; if not, please answer \"not given\".", "type": "text" } ], "index": 13 } ], "index": 12, "bbox_fs": [ 107, 303, 500, 336 ] }, { "type": "text", "bbox": [ 109, 345, 499, 384 ], "lines": [ { "bbox": [ 108, 344, 451, 356 ], "spans": [ { "bbox": [ 108, 344, 451, 356 ], "score": 1.0, "content": "Answer: ||| {% if filter_relation(relations, allowed_relations[", "type": "text" } ], "index": 14 }, { "bbox": [ 107, 352, 429, 367 ], "spans": [ { "bbox": [ 107, 352, 243, 367 ], "score": 1.0, "content": "relation_idx]).__len__()", "type": "text" }, { "bbox": [ 243, 355, 252, 364 ], "score": 0.5, "content": ">", "type": "inline_equation" }, { "bbox": [ 252, 352, 429, 367 ], "score": 1.0, "content": "0 %}{{filter_relation(relations,", "type": "text" } ], "index": 15 }, { "bbox": [ 108, 363, 500, 375 ], "spans": [ { "bbox": [ 108, 363, 500, 375 ], "score": 1.0, "content": "allowed_relations[relation_idx])[0]['tail']}}{% else %}not given{% endif", "type": "text" } ], "index": 16 }, { "bbox": [ 113, 374, 128, 386 ], "spans": [ { "bbox": [ 113, 374, 128, 386 ], "score": 1.0, "content": "%}", "type": "text" } ], "index": 17 } ], "index": 15.5, "bbox_fs": [ 107, 344, 500, 386 ] }, { "type": "title", "bbox": [ 107, 429, 232, 441 ], "lines": [ { "bbox": [ 106, 430, 232, 442 ], "spans": [ { "bbox": [ 106, 430, 232, 442 ], "score": 1.0, "content": "C.2.2 EVENT EXTRACTION", "type": "text" } ], "index": 18 } ], "index": 18 }, { "type": "text", "bbox": [ 106, 459, 505, 481 ], "lines": [ { "bbox": [ 105, 457, 506, 473 ], "spans": [ { "bbox": [ 105, 457, 506, 473 ], "score": 1.0, "content": "We adopt ACE05 (Walker & Consortium, 2005) event extraction datasets following the setting", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 469, 500, 482 ], "spans": [ { "bbox": [ 105, 469, 500, 482 ], "score": 1.0, "content": "in (Wadden et al., 2019). The dataset is reformulated into two tasks with three prompts as follows:", "type": "text" } ], "index": 20 } ], "index": 19.5, "bbox_fs": [ 105, 457, 506, 482 ] }, { "type": "text", "bbox": [ 106, 487, 504, 509 ], "lines": [ { "bbox": [ 105, 485, 505, 500 ], "spans": [ { "bbox": [ 105, 485, 505, 500 ], "score": 1.0, "content": "• Event Argument Extraction: given a trigger in text and a list of its argument roles, the model is", "type": "text" } ], "index": 21 }, { "bbox": [ 114, 498, 331, 510 ], "spans": [ { "bbox": [ 114, 498, 331, 510 ], "score": 1.0, "content": "asked to extract the arguments from the provided text.", "type": "text" } ], "index": 22 } ], "index": 21.5, "bbox_fs": [ 105, 485, 505, 510 ] }, { "type": "text", "bbox": [ 107, 511, 504, 533 ], "lines": [ { "bbox": [ 106, 509, 506, 524 ], "spans": [ { "bbox": [ 106, 509, 506, 524 ], "score": 1.0, "content": "• Argument Identification: given a trigger and a certain argument role, the model is asked to", "type": "text" } ], "index": 23 }, { "bbox": [ 113, 520, 505, 536 ], "spans": [ { "bbox": [ 113, 520, 505, 536 ], "score": 1.0, "content": "extract the argument if it exists in the provided text; otherwise, the model should generate nothing.", "type": "text" } ], "index": 24 } ], "index": 23.5, "bbox_fs": [ 106, 509, 506, 536 ] }, { "type": "title", "bbox": [ 109, 563, 281, 575 ], "lines": [ { "bbox": [ 108, 561, 282, 577 ], "spans": [ { "bbox": [ 108, 561, 282, 577 ], "score": 1.0, "content": "(Event Argument Extraction, Prompt 0)", "type": "text" } ], "index": 25 } ], "index": 25 }, { "type": "text", "bbox": [ 109, 581, 488, 601 ], "lines": [ { "bbox": [ 108, 579, 489, 591 ], "spans": [ { "bbox": [ 108, 579, 489, 591 ], "score": 1.0, "content": "For the task of \"Event Extraction\", given a trigger one should extract", "type": "text" } ], "index": 26 }, { "bbox": [ 109, 589, 450, 601 ], "spans": [ { "bbox": [ 109, 589, 450, 601 ], "score": 1.0, "content": "its related arguments conditioned on a list of potential roles.", "type": "text" } ], "index": 27 } ], "index": 26.5, "bbox_fs": [ 108, 579, 489, 601 ] }, { "type": "text", "bbox": [ 110, 610, 293, 621 ], "lines": [ { "bbox": [ 109, 609, 294, 621 ], "spans": [ { "bbox": [ 109, 609, 294, 621 ], "score": 1.0, "content": "Given the following list of roles:", "type": "text" } ], "index": 28 } ], "index": 28, "bbox_fs": [ 109, 609, 294, 621 ] }, { "type": "text", "bbox": [ 106, 630, 498, 651 ], "lines": [ { "bbox": [ 107, 628, 499, 643 ], "spans": [ { "bbox": [ 107, 628, 499, 643 ], "score": 1.0, "content": "- {{shuffle(allowed_arguments[trigger['event_type']].values()) | join(\"\\", "type": "text" } ], "index": 29 }, { "bbox": [ 106, 640, 147, 650 ], "spans": [ { "bbox": [ 106, 640, 147, 650 ], "score": 1.0, "content": "n- \")}}", "type": "text" } ], "index": 30 } ], "index": 29.5, "bbox_fs": [ 106, 628, 499, 650 ] }, { "type": "text", "bbox": [ 108, 660, 487, 681 ], "lines": [ { "bbox": [ 108, 658, 462, 672 ], "spans": [ { "bbox": [ 108, 658, 462, 672 ], "score": 1.0, "content": "extract related arguments of the trigger \"{{trigger['text']}} ({{", "type": "text" } ], "index": 31 }, { "bbox": [ 107, 667, 489, 683 ], "spans": [ { "bbox": [ 107, 667, 489, 683 ], "score": 1.0, "content": "allowed_triggers[trigger['event_type']]}})\" in the following sentence:", "type": "text" } ], "index": 32 } ], "index": 31.5, "bbox_fs": [ 107, 658, 489, 683 ] }, { "type": "text", "bbox": [ 111, 690, 153, 700 ], "lines": [ { "bbox": [ 109, 689, 154, 701 ], "spans": [ { "bbox": [ 109, 689, 154, 701 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 33 } ], "index": 33, "bbox_fs": [ 109, 689, 154, 701 ] }, { "type": "text", "bbox": [ 109, 710, 438, 721 ], "lines": [ { "bbox": [ 108, 708, 441, 722 ], "spans": [ { "bbox": [ 108, 708, 441, 722 ], "score": 1.0, "content": "Extractions: ||| {{format_triple(relations, \"\") | join(\" \")}}", "type": "text" } ], "index": 34 } ], "index": 34, "bbox_fs": [ 108, 708, 441, 722 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 110, 82, 281, 94 ], "lines": [ { "bbox": [ 108, 80, 282, 95 ], "spans": [ { "bbox": [ 108, 80, 282, 95 ], "score": 1.0, "content": "(Event Argument Extraction, Prompt 1)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 110, 100, 132, 109 ], "lines": [ { "bbox": [ 109, 98, 134, 110 ], "spans": [ { "bbox": [ 109, 98, 134, 110 ], "score": 1.0, "content": "TEST", "type": "text" } ], "index": 1 } ], "index": 1 }, { "type": "text", "bbox": [ 111, 119, 271, 129 ], "lines": [ { "bbox": [ 109, 118, 272, 130 ], "spans": [ { "bbox": [ 109, 118, 272, 130 ], "score": 1.0, "content": "1. (Event Extraction) {{text}}", "type": "text" } ], "index": 2 } ], "index": 2 }, { "type": "text", "bbox": [ 110, 139, 499, 169 ], "lines": [ { "bbox": [ 108, 137, 496, 151 ], "spans": [ { "bbox": [ 108, 137, 496, 151 ], "score": 1.0, "content": "Please write down ALL event arguments related to the trigger \"{{trigger", "type": "text" } ], "index": 3 }, { "bbox": [ 108, 147, 500, 161 ], "spans": [ { "bbox": [ 108, 147, 500, 161 ], "score": 1.0, "content": "['text']}} ({{allowed_triggers[trigger['event_type']]}})\" marked with \"[", "type": "text" } ], "index": 4 }, { "bbox": [ 111, 158, 306, 171 ], "spans": [ { "bbox": [ 111, 158, 306, 171 ], "score": 1.0, "content": "]\", given the following categories:", "type": "text" } ], "index": 5 } ], "index": 4 }, { "type": "text", "bbox": [ 108, 179, 497, 200 ], "lines": [ { "bbox": [ 108, 177, 500, 192 ], "spans": [ { "bbox": [ 108, 177, 500, 192 ], "score": 1.0, "content": "- {{shuffle(allowed_arguments[trigger['event_type']].values()) | join(\"\\", "type": "text" } ], "index": 6 }, { "bbox": [ 108, 190, 147, 199 ], "spans": [ { "bbox": [ 108, 190, 147, 199 ], "score": 1.0, "content": "n- \")}}", "type": "text" } ], "index": 7 } ], "index": 6.5 }, { "type": "text", "bbox": [ 110, 208, 412, 219 ], "lines": [ { "bbox": [ 108, 207, 414, 221 ], "spans": [ { "bbox": [ 108, 207, 414, 221 ], "score": 1.0, "content": "Answer: ||| {{format_triple(relations, \"\") | join(\" \")}}", "type": "text" } ], "index": 8 } ], "index": 8 }, { "type": "title", "bbox": [ 110, 271, 265, 283 ], "lines": [ { "bbox": [ 108, 270, 266, 285 ], "spans": [ { "bbox": [ 108, 270, 266, 285 ], "score": 1.0, "content": "(Argument Identification, Prompt 0)", "type": "text" } ], "index": 9 } ], "index": 9 }, { "type": "text", "bbox": [ 112, 289, 303, 299 ], "lines": [ { "bbox": [ 109, 288, 304, 299 ], "spans": [ { "bbox": [ 109, 288, 304, 299 ], "score": 1.0, "content": "Let extract event related arguments!", "type": "text" } ], "index": 10 } ], "index": 10 }, { "type": "text", "bbox": [ 110, 309, 488, 339 ], "lines": [ { "bbox": [ 108, 307, 490, 320 ], "spans": [ { "bbox": [ 108, 307, 490, 320 ], "score": 1.0, "content": "In the following passage, an argument with the type \"{{query_arg}}\" is", "type": "text" } ], "index": 11 }, { "bbox": [ 108, 317, 489, 330 ], "spans": [ { "bbox": [ 108, 317, 489, 330 ], "score": 1.0, "content": "related to the event trigger \"{{trigger['text']}} ({{allowed_triggers[", "type": "text" } ], "index": 12 }, { "bbox": [ 108, 327, 257, 340 ], "spans": [ { "bbox": [ 108, 327, 257, 340 ], "score": 1.0, "content": "trigger['event_type']]}})\":", "type": "text" } ], "index": 13 } ], "index": 12 }, { "type": "text", "bbox": [ 111, 348, 153, 358 ], "lines": [ { "bbox": [ 109, 347, 154, 359 ], "spans": [ { "bbox": [ 109, 347, 154, 359 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 14 } ], "index": 14 }, { "type": "text", "bbox": [ 109, 369, 499, 389 ], "lines": [ { "bbox": [ 109, 367, 500, 380 ], "spans": [ { "bbox": [ 109, 367, 500, 380 ], "score": 1.0, "content": "The argument should be (copy from the context if you find it; if not, do", "type": "text" } ], "index": 15 }, { "bbox": [ 112, 375, 484, 390 ], "spans": [ { "bbox": [ 112, 375, 484, 390 ], "score": 1.0, "content": "not generate): ||| {{filter_type(relations, query_arg) | join(\" \")}}", "type": "text" } ], "index": 16 } ], "index": 15.5 }, { "type": "title", "bbox": [ 106, 448, 330, 460 ], "lines": [ { "bbox": [ 106, 448, 331, 461 ], "spans": [ { "bbox": [ 106, 448, 331, 461 ], "score": 1.0, "content": "C.2.3 JOINT ENTITY AND RELATION EXTRACTION", "type": "text" } ], "index": 17 } ], "index": 17 }, { "type": "text", "bbox": [ 106, 483, 505, 539 ], "lines": [ { "bbox": [ 106, 484, 505, 496 ], "spans": [ { "bbox": [ 106, 484, 505, 496 ], "score": 1.0, "content": "Joint entity and relation extraction aims to recognize named entities in a piece of text and judge", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 495, 504, 507 ], "spans": [ { "bbox": [ 106, 495, 504, 507 ], "score": 1.0, "content": "the relationships between them. It is closely related to knowledge acquisition, where the ulti-", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 504, 504, 519 ], "spans": [ { "bbox": [ 105, 504, 504, 519 ], "score": 1.0, "content": "mate target is to structuring the unstructured web contents into knowledge triples (e.g., (London,", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 516, 505, 529 ], "spans": [ { "bbox": [ 106, 516, 505, 529 ], "score": 1.0, "content": "capital_of, Britain)). The task can be formulated into either a pipeline framework (a", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 526, 461, 541 ], "spans": [ { "bbox": [ 105, 526, 461, 541 ], "score": 1.0, "content": "combination of named entity recognition and relation extraction), or end-to-end training.", "type": "text" } ], "index": 22 } ], "index": 20 }, { "type": "text", "bbox": [ 107, 544, 505, 599 ], "lines": [ { "bbox": [ 106, 545, 505, 555 ], "spans": [ { "bbox": [ 106, 545, 505, 555 ], "score": 1.0, "content": "In this work, we adopt three classical joint entity and relation extraction datasets: CoNLL04 (Roth &", "type": "text" } ], "index": 23 }, { "bbox": [ 106, 554, 505, 568 ], "spans": [ { "bbox": [ 106, 554, 505, 568 ], "score": 1.0, "content": "Yih, 2004), NYT (Riedel et al., 2010), and ACE2005 (Walker & Consortium, 2005). In GLM-130B,", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 565, 505, 578 ], "spans": [ { "bbox": [ 106, 565, 505, 578 ], "score": 1.0, "content": "we follow (Wang et al., 2022a) to formulate such challenges into sequence-to-sequence generation,", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 577, 505, 589 ], "spans": [ { "bbox": [ 106, 577, 505, 589 ], "score": 1.0, "content": "where our inputs are raw texts and outputs are triples. We only conduct relation-related tasks for", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 587, 477, 600 ], "spans": [ { "bbox": [ 106, 587, 477, 600 ], "score": 1.0, "content": "these datasets here, and leave the entity-related ones to the named entity recognition section.", "type": "text" } ], "index": 27 } ], "index": 25 }, { "type": "text", "bbox": [ 105, 605, 506, 732 ], "lines": [ { "bbox": [ 106, 604, 505, 617 ], "spans": [ { "bbox": [ 106, 604, 505, 617 ], "score": 1.0, "content": "• Relation Extraction: here we extract knowledge triples consisting of “head entity”, “relation”,", "type": "text" } ], "index": 28 }, { "bbox": [ 113, 615, 505, 630 ], "spans": [ { "bbox": [ 113, 615, 505, 630 ], "score": 1.0, "content": "and “tail entity”, given a list of relation candidates. For example, given the input “In Kunming", "type": "text" } ], "index": 29 }, { "bbox": [ 113, 626, 505, 640 ], "spans": [ { "bbox": [ 113, 626, 505, 640 ], "score": 1.0, "content": "the 800-some faculty and student established the National Southwestern Associated University.”,", "type": "text" } ], "index": 30 }, { "bbox": [ 113, 637, 504, 651 ], "spans": [ { "bbox": [ 113, 637, 504, 651 ], "score": 1.0, "content": "the model output could be (National Southwestern Associated University,", "type": "text" } ], "index": 31 }, { "bbox": [ 113, 648, 306, 662 ], "spans": [ { "bbox": [ 113, 648, 306, 662 ], "score": 1.0, "content": "location of formation, Kunming).", "type": "text" } ], "index": 32 }, { "bbox": [ 106, 662, 505, 675 ], "spans": [ { "bbox": [ 106, 662, 505, 675 ], "score": 1.0, "content": "• Conditional Relation Extraction: given a single relation candidate, judge if the input text con-", "type": "text" } ], "index": 33 }, { "bbox": [ 113, 672, 417, 686 ], "spans": [ { "bbox": [ 113, 672, 417, 686 ], "score": 1.0, "content": "tains the relation. If so, extraction all related triples; if not, do not generate.", "type": "text" } ], "index": 34 }, { "bbox": [ 106, 686, 505, 699 ], "spans": [ { "bbox": [ 106, 686, 505, 699 ], "score": 1.0, "content": "• Knowledge Slot Filling: assign a certain entity from text, and ask the model to extract all triples", "type": "text" } ], "index": 35 }, { "bbox": [ 114, 697, 244, 708 ], "spans": [ { "bbox": [ 114, 697, 244, 708 ], "score": 1.0, "content": "that takes the entity as the head.", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 708, 505, 722 ], "spans": [ { "bbox": [ 106, 708, 505, 722 ], "score": 1.0, "content": "• Relation Classification: given two entities from texts, ask the model to judge the relation between", "type": "text" } ], "index": 37 }, { "bbox": [ 114, 720, 288, 732 ], "spans": [ { "bbox": [ 114, 720, 288, 732 ], "score": 1.0, "content": "them based on a list of candidate relations.", "type": "text" } ], "index": 38 } ], "index": 33 } ], "page_idx": 33, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 26, 293, 37 ], "lines": [ { "bbox": [ 106, 25, 293, 38 ], "spans": [ { "bbox": [ 106, 25, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 764 ], "spans": [ { "bbox": [ 298, 750, 313, 764 ], "score": 1.0, "content": "", "type": "text", "height": 14, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 110, 82, 281, 94 ], "lines": [ { "bbox": [ 108, 80, 282, 95 ], "spans": [ { "bbox": [ 108, 80, 282, 95 ], "score": 1.0, "content": "(Event Argument Extraction, Prompt 1)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 110, 100, 132, 109 ], "lines": [ { "bbox": [ 109, 98, 134, 110 ], "spans": [ { "bbox": [ 109, 98, 134, 110 ], "score": 1.0, "content": "TEST", "type": "text" } ], "index": 1 } ], "index": 1, "bbox_fs": [ 109, 98, 134, 110 ] }, { "type": "text", "bbox": [ 111, 119, 271, 129 ], "lines": [ { "bbox": [ 109, 118, 272, 130 ], "spans": [ { "bbox": [ 109, 118, 272, 130 ], "score": 1.0, "content": "1. (Event Extraction) {{text}}", "type": "text" } ], "index": 2 } ], "index": 2, "bbox_fs": [ 109, 118, 272, 130 ] }, { "type": "text", "bbox": [ 110, 139, 499, 169 ], "lines": [ { "bbox": [ 108, 137, 496, 151 ], "spans": [ { "bbox": [ 108, 137, 496, 151 ], "score": 1.0, "content": "Please write down ALL event arguments related to the trigger \"{{trigger", "type": "text" } ], "index": 3 }, { "bbox": [ 108, 147, 500, 161 ], "spans": [ { "bbox": [ 108, 147, 500, 161 ], "score": 1.0, "content": "['text']}} ({{allowed_triggers[trigger['event_type']]}})\" marked with \"[", "type": "text" } ], "index": 4 }, { "bbox": [ 111, 158, 306, 171 ], "spans": [ { "bbox": [ 111, 158, 306, 171 ], "score": 1.0, "content": "]\", given the following categories:", "type": "text" } ], "index": 5 } ], "index": 4, "bbox_fs": [ 108, 137, 500, 171 ] }, { "type": "text", "bbox": [ 108, 179, 497, 200 ], "lines": [ { "bbox": [ 108, 177, 500, 192 ], "spans": [ { "bbox": [ 108, 177, 500, 192 ], "score": 1.0, "content": "- {{shuffle(allowed_arguments[trigger['event_type']].values()) | join(\"\\", "type": "text" } ], "index": 6 }, { "bbox": [ 108, 190, 147, 199 ], "spans": [ { "bbox": [ 108, 190, 147, 199 ], "score": 1.0, "content": "n- \")}}", "type": "text" } ], "index": 7 } ], "index": 6.5, "bbox_fs": [ 108, 177, 500, 199 ] }, { "type": "text", "bbox": [ 110, 208, 412, 219 ], "lines": [ { "bbox": [ 108, 207, 414, 221 ], "spans": [ { "bbox": [ 108, 207, 414, 221 ], "score": 1.0, "content": "Answer: ||| {{format_triple(relations, \"\") | join(\" \")}}", "type": "text" } ], "index": 8 } ], "index": 8, "bbox_fs": [ 108, 207, 414, 221 ] }, { "type": "title", "bbox": [ 110, 271, 265, 283 ], "lines": [ { "bbox": [ 108, 270, 266, 285 ], "spans": [ { "bbox": [ 108, 270, 266, 285 ], "score": 1.0, "content": "(Argument Identification, Prompt 0)", "type": "text" } ], "index": 9 } ], "index": 9 }, { "type": "text", "bbox": [ 112, 289, 303, 299 ], "lines": [ { "bbox": [ 109, 288, 304, 299 ], "spans": [ { "bbox": [ 109, 288, 304, 299 ], "score": 1.0, "content": "Let extract event related arguments!", "type": "text" } ], "index": 10 } ], "index": 10, "bbox_fs": [ 109, 288, 304, 299 ] }, { "type": "text", "bbox": [ 110, 309, 488, 339 ], "lines": [ { "bbox": [ 108, 307, 490, 320 ], "spans": [ { "bbox": [ 108, 307, 490, 320 ], "score": 1.0, "content": "In the following passage, an argument with the type \"{{query_arg}}\" is", "type": "text" } ], "index": 11 }, { "bbox": [ 108, 317, 489, 330 ], "spans": [ { "bbox": [ 108, 317, 489, 330 ], "score": 1.0, "content": "related to the event trigger \"{{trigger['text']}} ({{allowed_triggers[", "type": "text" } ], "index": 12 }, { "bbox": [ 108, 327, 257, 340 ], "spans": [ { "bbox": [ 108, 327, 257, 340 ], "score": 1.0, "content": "trigger['event_type']]}})\":", "type": "text" } ], "index": 13 } ], "index": 12, "bbox_fs": [ 108, 307, 490, 340 ] }, { "type": "text", "bbox": [ 111, 348, 153, 358 ], "lines": [ { "bbox": [ 109, 347, 154, 359 ], "spans": [ { "bbox": [ 109, 347, 154, 359 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 14 } ], "index": 14, "bbox_fs": [ 109, 347, 154, 359 ] }, { "type": "text", "bbox": [ 109, 369, 499, 389 ], "lines": [ { "bbox": [ 109, 367, 500, 380 ], "spans": [ { "bbox": [ 109, 367, 500, 380 ], "score": 1.0, "content": "The argument should be (copy from the context if you find it; if not, do", "type": "text" } ], "index": 15 }, { "bbox": [ 112, 375, 484, 390 ], "spans": [ { "bbox": [ 112, 375, 484, 390 ], "score": 1.0, "content": "not generate): ||| {{filter_type(relations, query_arg) | join(\" \")}}", "type": "text" } ], "index": 16 } ], "index": 15.5, "bbox_fs": [ 109, 367, 500, 390 ] }, { "type": "title", "bbox": [ 106, 448, 330, 460 ], "lines": [ { "bbox": [ 106, 448, 331, 461 ], "spans": [ { "bbox": [ 106, 448, 331, 461 ], "score": 1.0, "content": "C.2.3 JOINT ENTITY AND RELATION EXTRACTION", "type": "text" } ], "index": 17 } ], "index": 17 }, { "type": "text", "bbox": [ 106, 483, 505, 539 ], "lines": [ { "bbox": [ 106, 484, 505, 496 ], "spans": [ { "bbox": [ 106, 484, 505, 496 ], "score": 1.0, "content": "Joint entity and relation extraction aims to recognize named entities in a piece of text and judge", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 495, 504, 507 ], "spans": [ { "bbox": [ 106, 495, 504, 507 ], "score": 1.0, "content": "the relationships between them. It is closely related to knowledge acquisition, where the ulti-", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 504, 504, 519 ], "spans": [ { "bbox": [ 105, 504, 504, 519 ], "score": 1.0, "content": "mate target is to structuring the unstructured web contents into knowledge triples (e.g., (London,", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 516, 505, 529 ], "spans": [ { "bbox": [ 106, 516, 505, 529 ], "score": 1.0, "content": "capital_of, Britain)). The task can be formulated into either a pipeline framework (a", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 526, 461, 541 ], "spans": [ { "bbox": [ 105, 526, 461, 541 ], "score": 1.0, "content": "combination of named entity recognition and relation extraction), or end-to-end training.", "type": "text" } ], "index": 22 } ], "index": 20, "bbox_fs": [ 105, 484, 505, 541 ] }, { "type": "text", "bbox": [ 107, 544, 505, 599 ], "lines": [ { "bbox": [ 106, 545, 505, 555 ], "spans": [ { "bbox": [ 106, 545, 505, 555 ], "score": 1.0, "content": "In this work, we adopt three classical joint entity and relation extraction datasets: CoNLL04 (Roth &", "type": "text" } ], "index": 23 }, { "bbox": [ 106, 554, 505, 568 ], "spans": [ { "bbox": [ 106, 554, 505, 568 ], "score": 1.0, "content": "Yih, 2004), NYT (Riedel et al., 2010), and ACE2005 (Walker & Consortium, 2005). In GLM-130B,", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 565, 505, 578 ], "spans": [ { "bbox": [ 106, 565, 505, 578 ], "score": 1.0, "content": "we follow (Wang et al., 2022a) to formulate such challenges into sequence-to-sequence generation,", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 577, 505, 589 ], "spans": [ { "bbox": [ 106, 577, 505, 589 ], "score": 1.0, "content": "where our inputs are raw texts and outputs are triples. We only conduct relation-related tasks for", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 587, 477, 600 ], "spans": [ { "bbox": [ 106, 587, 477, 600 ], "score": 1.0, "content": "these datasets here, and leave the entity-related ones to the named entity recognition section.", "type": "text" } ], "index": 27 } ], "index": 25, "bbox_fs": [ 106, 545, 505, 600 ] }, { "type": "list", "bbox": [ 105, 605, 506, 732 ], "lines": [ { "bbox": [ 106, 604, 505, 617 ], "spans": [ { "bbox": [ 106, 604, 505, 617 ], "score": 1.0, "content": "• Relation Extraction: here we extract knowledge triples consisting of “head entity”, “relation”,", "type": "text" } ], "index": 28, "is_list_start_line": true }, { "bbox": [ 113, 615, 505, 630 ], "spans": [ { "bbox": [ 113, 615, 505, 630 ], "score": 1.0, "content": "and “tail entity”, given a list of relation candidates. For example, given the input “In Kunming", "type": "text" } ], "index": 29 }, { "bbox": [ 113, 626, 505, 640 ], "spans": [ { "bbox": [ 113, 626, 505, 640 ], "score": 1.0, "content": "the 800-some faculty and student established the National Southwestern Associated University.”,", "type": "text" } ], "index": 30 }, { "bbox": [ 113, 637, 504, 651 ], "spans": [ { "bbox": [ 113, 637, 504, 651 ], "score": 1.0, "content": "the model output could be (National Southwestern Associated University,", "type": "text" } ], "index": 31 }, { "bbox": [ 113, 648, 306, 662 ], "spans": [ { "bbox": [ 113, 648, 306, 662 ], "score": 1.0, "content": "location of formation, Kunming).", "type": "text" } ], "index": 32, "is_list_end_line": true }, { "bbox": [ 106, 662, 505, 675 ], "spans": [ { "bbox": [ 106, 662, 505, 675 ], "score": 1.0, "content": "• Conditional Relation Extraction: given a single relation candidate, judge if the input text con-", "type": "text" } ], "index": 33, "is_list_start_line": true }, { "bbox": [ 113, 672, 417, 686 ], "spans": [ { "bbox": [ 113, 672, 417, 686 ], "score": 1.0, "content": "tains the relation. If so, extraction all related triples; if not, do not generate.", "type": "text" } ], "index": 34, "is_list_end_line": true }, { "bbox": [ 106, 686, 505, 699 ], "spans": [ { "bbox": [ 106, 686, 505, 699 ], "score": 1.0, "content": "• Knowledge Slot Filling: assign a certain entity from text, and ask the model to extract all triples", "type": "text" } ], "index": 35, "is_list_start_line": true }, { "bbox": [ 114, 697, 244, 708 ], "spans": [ { "bbox": [ 114, 697, 244, 708 ], "score": 1.0, "content": "that takes the entity as the head.", "type": "text" } ], "index": 36, "is_list_end_line": true }, { "bbox": [ 106, 708, 505, 722 ], "spans": [ { "bbox": [ 106, 708, 505, 722 ], "score": 1.0, "content": "• Relation Classification: given two entities from texts, ask the model to judge the relation between", "type": "text" } ], "index": 37, "is_list_start_line": true }, { "bbox": [ 114, 720, 288, 732 ], "spans": [ { "bbox": [ 114, 720, 288, 732 ], "score": 1.0, "content": "them based on a list of candidate relations.", "type": "text" } ], "index": 38, "is_list_end_line": true } ], "index": 33, "bbox_fs": [ 106, 604, 505, 732 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 109, 82, 247, 93 ], "lines": [ { "bbox": [ 108, 80, 248, 95 ], "spans": [ { "bbox": [ 108, 80, 248, 95 ], "score": 1.0, "content": "(Relation Extraction, Prompt 0)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 109, 100, 500, 129 ], "lines": [ { "bbox": [ 108, 98, 484, 111 ], "spans": [ { "bbox": [ 108, 98, 484, 111 ], "score": 1.0, "content": "Can you figure out all triples regarding the relations of \"{{shuffle(", "type": "text" } ], "index": 1 }, { "bbox": [ 108, 107, 500, 120 ], "spans": [ { "bbox": [ 108, 107, 500, 120 ], "score": 1.0, "content": "allowed_relations) | join('\", \"')}}\" from the sentence? List them in the", "type": "text" } ], "index": 2 }, { "bbox": [ 112, 118, 252, 131 ], "spans": [ { "bbox": [ 112, 118, 252, 131 ], "score": 1.0, "content": "shape of \"( X ; Y ; Z )\":", "type": "text" } ], "index": 3 } ], "index": 2 }, { "type": "text", "bbox": [ 110, 139, 490, 159 ], "lines": [ { "bbox": [ 108, 137, 489, 150 ], "spans": [ { "bbox": [ 108, 137, 156, 150 ], "score": 1.0, "content": "{{text}}", "type": "text" }, { "bbox": [ 156, 140, 171, 149 ], "score": 0.37, "content": "= >", "type": "inline_equation" }, { "bbox": [ 171, 137, 489, 150 ], "score": 1.0, "content": "||| {{format_triple(relations, allowed_relations) | join(\"", "type": "text" } ], "index": 4 }, { "bbox": [ 109, 147, 134, 161 ], "spans": [ { "bbox": [ 109, 147, 134, 161 ], "score": 1.0, "content": "\")}}", "type": "text" } ], "index": 5 } ], "index": 4.5 }, { "type": "title", "bbox": [ 110, 176, 300, 188 ], "lines": [ { "bbox": [ 108, 174, 301, 189 ], "spans": [ { "bbox": [ 108, 174, 301, 189 ], "score": 1.0, "content": "(Conditional Relation Extraction, Prompt 0)", "type": "text" } ], "index": 6 } ], "index": 6 }, { "type": "text", "bbox": [ 107, 194, 492, 214 ], "lines": [ { "bbox": [ 108, 192, 494, 204 ], "spans": [ { "bbox": [ 108, 192, 494, 204 ], "score": 1.0, "content": "Conditioned on the relation \"{{allowed_relations[relation_idx]}}\", what", "type": "text" } ], "index": 7 }, { "bbox": [ 108, 203, 325, 213 ], "spans": [ { "bbox": [ 108, 203, 325, 213 ], "score": 1.0, "content": "knowledge triples can be extracted from:", "type": "text" } ], "index": 8 } ], "index": 7.5 }, { "type": "text", "bbox": [ 111, 223, 153, 234 ], "lines": [ { "bbox": [ 110, 222, 154, 235 ], "spans": [ { "bbox": [ 110, 222, 154, 235 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 9 } ], "index": 9 }, { "type": "text", "bbox": [ 109, 244, 439, 264 ], "lines": [ { "bbox": [ 107, 240, 441, 256 ], "spans": [ { "bbox": [ 107, 240, 441, 256 ], "score": 1.0, "content": "Please write them down here: ||| {{format_triple(relations, [", "type": "text" } ], "index": 10 }, { "bbox": [ 108, 250, 365, 266 ], "spans": [ { "bbox": [ 108, 250, 365, 266 ], "score": 1.0, "content": "allowed_relations[relation_idx]]) | join(\" \")}}", "type": "text" } ], "index": 11 } ], "index": 10.5 }, { "type": "title", "bbox": [ 110, 280, 259, 293 ], "lines": [ { "bbox": [ 109, 279, 261, 294 ], "spans": [ { "bbox": [ 109, 279, 261, 294 ], "score": 1.0, "content": "(Knowledge Slot Filling, Prompt 0)", "type": "text" } ], "index": 12 } ], "index": 12 }, { "type": "text", "bbox": [ 110, 298, 299, 318 ], "lines": [ { "bbox": [ 108, 296, 300, 311 ], "spans": [ { "bbox": [ 108, 296, 300, 311 ], "score": 1.0, "content": "{% if entity_types.__len__() > 0 %}", "type": "text" } ], "index": 13 }, { "bbox": [ 109, 307, 192, 318 ], "spans": [ { "bbox": [ 109, 307, 192, 318 ], "score": 1.0, "content": "In the sentence", "type": "text" } ], "index": 14 } ], "index": 13.5 }, { "type": "text", "bbox": [ 111, 327, 153, 338 ], "lines": [ { "bbox": [ 110, 326, 154, 339 ], "spans": [ { "bbox": [ 110, 326, 154, 339 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 15 } ], "index": 15 }, { "type": "text", "bbox": [ 109, 348, 488, 388 ], "lines": [ { "bbox": [ 108, 346, 451, 360 ], "spans": [ { "bbox": [ 108, 346, 130, 360 ], "score": 1.0, "content": "the", "type": "text" }, { "bbox": [ 130, 348, 150, 357 ], "score": 0.3, "content": "\\mathrm { ~ ~ { ~ X ~ } ~ } =", "type": "inline_equation" }, { "bbox": [ 151, 346, 451, 360 ], "score": 1.0, "content": "\"{{entities[entity_idx]}}\" is an entity of the type \"{{", "type": "text" } ], "index": 16 }, { "bbox": [ 108, 356, 488, 369 ], "spans": [ { "bbox": [ 108, 356, 469, 369 ], "score": 1.0, "content": "entity_types[entity_idx]}}\". Extract all possible triples contains", "type": "text" }, { "bbox": [ 468, 356, 488, 368 ], "score": 1.0, "content": "\"{{", "type": "text" } ], "index": 17 }, { "bbox": [ 107, 366, 452, 380 ], "spans": [ { "bbox": [ 107, 366, 452, 380 ], "score": 1.0, "content": "entities[entity_idx]}}\" in the form of ( X ; Y ; Z ), given the", "type": "text" } ], "index": 18 }, { "bbox": [ 109, 377, 289, 389 ], "spans": [ { "bbox": [ 109, 377, 289, 389 ], "score": 1.0, "content": "following candidate properties Y:", "type": "text" } ], "index": 19 } ], "index": 17.5 }, { "type": "text", "bbox": [ 109, 397, 483, 457 ], "lines": [ { "bbox": [ 108, 396, 321, 408 ], "spans": [ { "bbox": [ 108, 396, 321, 408 ], "score": 1.0, "content": "{% for r in allowed_relations %}- {{r}}", "type": "text" } ], "index": 20 }, { "bbox": [ 108, 406, 177, 419 ], "spans": [ { "bbox": [ 108, 406, 177, 419 ], "score": 1.0, "content": "{% endfor %}", "type": "text" } ], "index": 21 }, { "bbox": [ 108, 416, 473, 428 ], "spans": [ { "bbox": [ 108, 416, 403, 428 ], "score": 1.0, "content": "Answer: ||| {% for r in relations %}{% if r['head'][0]", "type": "text" }, { "bbox": [ 404, 418, 420, 427 ], "score": 0.81, "content": "= =", "type": "inline_equation" }, { "bbox": [ 420, 416, 473, 428 ], "score": 1.0, "content": "entities[", "type": "text" } ], "index": 22 }, { "bbox": [ 108, 426, 484, 439 ], "spans": [ { "bbox": [ 108, 426, 484, 439 ], "score": 1.0, "content": "entity_idx] %}{{format_triple([r], allowed_relations) | join(\" \")}}{%", "type": "text" } ], "index": 23 }, { "bbox": [ 108, 437, 220, 449 ], "spans": [ { "bbox": [ 108, 437, 220, 449 ], "score": 1.0, "content": "endif %}{% endfor %}", "type": "text" } ], "index": 24 }, { "bbox": [ 108, 446, 171, 459 ], "spans": [ { "bbox": [ 108, 446, 171, 459 ], "score": 1.0, "content": "{% endif %}", "type": "text" } ], "index": 25 } ], "index": 22.5 }, { "type": "title", "bbox": [ 110, 474, 258, 486 ], "lines": [ { "bbox": [ 108, 473, 259, 488 ], "spans": [ { "bbox": [ 108, 473, 259, 488 ], "score": 1.0, "content": "(Relation Classification, Prompt 0)", "type": "text" } ], "index": 26 } ], "index": 26 }, { "type": "text", "bbox": [ 109, 492, 132, 501 ], "lines": [ { "bbox": [ 108, 491, 135, 502 ], "spans": [ { "bbox": [ 108, 491, 135, 502 ], "score": 1.0, "content": "QUIZ", "type": "text" } ], "index": 27 } ], "index": 27 }, { "type": "text", "bbox": [ 111, 511, 288, 522 ], "lines": [ { "bbox": [ 109, 510, 290, 523 ], "spans": [ { "bbox": [ 109, 510, 290, 523 ], "score": 1.0, "content": "1. Given the candidate relations:", "type": "text" } ], "index": 28 } ], "index": 28 }, { "type": "text", "bbox": [ 110, 531, 363, 542 ], "lines": [ { "bbox": [ 109, 531, 365, 543 ], "spans": [ { "bbox": [ 109, 531, 365, 543 ], "score": 1.0, "content": "- {{shuffle(allowed_relations) | join(\"\\n- \")}}", "type": "text" } ], "index": 29 } ], "index": 29 }, { "type": "text", "bbox": [ 108, 551, 494, 572 ], "lines": [ { "bbox": [ 108, 550, 495, 563 ], "spans": [ { "bbox": [ 108, 550, 495, 563 ], "score": 1.0, "content": "what is the relation between \"{{relations[triple_idx]['head'][0]}}\" and", "type": "text" } ], "index": 30 }, { "bbox": [ 108, 560, 461, 573 ], "spans": [ { "bbox": [ 108, 560, 461, 573 ], "score": 1.0, "content": "\"{{relations[triple_idx]['tail'][0]}}\" in the following sentence?", "type": "text" } ], "index": 31 } ], "index": 30.5 }, { "type": "text", "bbox": [ 111, 581, 153, 592 ], "lines": [ { "bbox": [ 109, 580, 154, 592 ], "spans": [ { "bbox": [ 109, 580, 154, 592 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 32 } ], "index": 32 }, { "type": "text", "bbox": [ 109, 601, 373, 613 ], "lines": [ { "bbox": [ 108, 601, 375, 613 ], "spans": [ { "bbox": [ 108, 601, 375, 613 ], "score": 1.0, "content": "Answer: ||| {{relations[triple_idx]['relation']}}", "type": "text" } ], "index": 33 } ], "index": 33 }, { "type": "text", "bbox": [ 107, 627, 505, 693 ], "lines": [ { "bbox": [ 106, 627, 504, 639 ], "spans": [ { "bbox": [ 106, 627, 504, 639 ], "score": 1.0, "content": "Nevertheless, existing joint entity and relation extraction datasets have very limited relation schema.", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 637, 505, 650 ], "spans": [ { "bbox": [ 105, 637, 505, 650 ], "score": 1.0, "content": "For example, CoNLL04 only contains five different relations; the most diverse NYT dataset con-", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 649, 504, 660 ], "spans": [ { "bbox": [ 106, 649, 504, 660 ], "score": 1.0, "content": "tains 24 Freebase predicates. To allow the model to capture a diverse range of potential verbal-", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 659, 505, 672 ], "spans": [ { "bbox": [ 105, 659, 505, 672 ], "score": 1.0, "content": "ized predicates, we extend the task with automatically generated knowledge-text aligned data from", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 669, 506, 683 ], "spans": [ { "bbox": [ 105, 669, 506, 683 ], "score": 1.0, "content": "KELM (Agarwal et al., 2021). We do not include other distantly supervised dataset (e.g., T-Rex (El-", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 681, 322, 694 ], "spans": [ { "bbox": [ 105, 681, 322, 694 ], "score": 1.0, "content": "sahar et al., 2018)) since they can be extremely noisy.", "type": "text" } ], "index": 39 } ], "index": 36.5 }, { "type": "text", "bbox": [ 108, 698, 504, 732 ], "lines": [ { "bbox": [ 106, 699, 505, 711 ], "spans": [ { "bbox": [ 106, 699, 505, 711 ], "score": 1.0, "content": "For KELM data, since it is based on the full Wikidata schema (which contains too many relations", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 709, 506, 723 ], "spans": [ { "bbox": [ 105, 709, 506, 723 ], "score": 1.0, "content": "to be enumerated), we create two KELM-specific prompts for the task of Relation Extraction and", "type": "text" } ], "index": 41 }, { "bbox": [ 106, 720, 208, 733 ], "spans": [ { "bbox": [ 106, 720, 208, 733 ], "score": 1.0, "content": "Knowledge Slot Filling:", "type": "text" } ], "index": 42 } ], "index": 41 } ], "page_idx": 34, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 26, 293, 38 ], "lines": [ { "bbox": [ 106, 25, 293, 39 ], "spans": [ { "bbox": [ 106, 25, 293, 39 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 749, 313, 764 ], "spans": [ { "bbox": [ 298, 749, 313, 764 ], "score": 1.0, "content": "", "type": "text", "height": 15, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 109, 82, 247, 93 ], "lines": [ { "bbox": [ 108, 80, 248, 95 ], "spans": [ { "bbox": [ 108, 80, 248, 95 ], "score": 1.0, "content": "(Relation Extraction, Prompt 0)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 109, 100, 500, 129 ], "lines": [ { "bbox": [ 108, 98, 484, 111 ], "spans": [ { "bbox": [ 108, 98, 484, 111 ], "score": 1.0, "content": "Can you figure out all triples regarding the relations of \"{{shuffle(", "type": "text" } ], "index": 1 }, { "bbox": [ 108, 107, 500, 120 ], "spans": [ { "bbox": [ 108, 107, 500, 120 ], "score": 1.0, "content": "allowed_relations) | join('\", \"')}}\" from the sentence? List them in the", "type": "text" } ], "index": 2 }, { "bbox": [ 112, 118, 252, 131 ], "spans": [ { "bbox": [ 112, 118, 252, 131 ], "score": 1.0, "content": "shape of \"( X ; Y ; Z )\":", "type": "text" } ], "index": 3 } ], "index": 2, "bbox_fs": [ 108, 98, 500, 131 ] }, { "type": "text", "bbox": [ 110, 139, 490, 159 ], "lines": [ { "bbox": [ 108, 137, 489, 150 ], "spans": [ { "bbox": [ 108, 137, 156, 150 ], "score": 1.0, "content": "{{text}}", "type": "text" }, { "bbox": [ 156, 140, 171, 149 ], "score": 0.37, "content": "= >", "type": "inline_equation" }, { "bbox": [ 171, 137, 489, 150 ], "score": 1.0, "content": "||| {{format_triple(relations, allowed_relations) | join(\"", "type": "text" } ], "index": 4 }, { "bbox": [ 109, 147, 134, 161 ], "spans": [ { "bbox": [ 109, 147, 134, 161 ], "score": 1.0, "content": "\")}}", "type": "text" } ], "index": 5 } ], "index": 4.5, "bbox_fs": [ 108, 137, 489, 161 ] }, { "type": "title", "bbox": [ 110, 176, 300, 188 ], "lines": [ { "bbox": [ 108, 174, 301, 189 ], "spans": [ { "bbox": [ 108, 174, 301, 189 ], "score": 1.0, "content": "(Conditional Relation Extraction, Prompt 0)", "type": "text" } ], "index": 6 } ], "index": 6 }, { "type": "text", "bbox": [ 107, 194, 492, 214 ], "lines": [ { "bbox": [ 108, 192, 494, 204 ], "spans": [ { "bbox": [ 108, 192, 494, 204 ], "score": 1.0, "content": "Conditioned on the relation \"{{allowed_relations[relation_idx]}}\", what", "type": "text" } ], "index": 7 }, { "bbox": [ 108, 203, 325, 213 ], "spans": [ { "bbox": [ 108, 203, 325, 213 ], "score": 1.0, "content": "knowledge triples can be extracted from:", "type": "text" } ], "index": 8 } ], "index": 7.5, "bbox_fs": [ 108, 192, 494, 213 ] }, { "type": "text", "bbox": [ 111, 223, 153, 234 ], "lines": [ { "bbox": [ 110, 222, 154, 235 ], "spans": [ { "bbox": [ 110, 222, 154, 235 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 9 } ], "index": 9, "bbox_fs": [ 110, 222, 154, 235 ] }, { "type": "text", "bbox": [ 109, 244, 439, 264 ], "lines": [ { "bbox": [ 107, 240, 441, 256 ], "spans": [ { "bbox": [ 107, 240, 441, 256 ], "score": 1.0, "content": "Please write them down here: ||| {{format_triple(relations, [", "type": "text" } ], "index": 10 }, { "bbox": [ 108, 250, 365, 266 ], "spans": [ { "bbox": [ 108, 250, 365, 266 ], "score": 1.0, "content": "allowed_relations[relation_idx]]) | join(\" \")}}", "type": "text" } ], "index": 11 } ], "index": 10.5, "bbox_fs": [ 107, 240, 441, 266 ] }, { "type": "title", "bbox": [ 110, 280, 259, 293 ], "lines": [ { "bbox": [ 109, 279, 261, 294 ], "spans": [ { "bbox": [ 109, 279, 261, 294 ], "score": 1.0, "content": "(Knowledge Slot Filling, Prompt 0)", "type": "text" } ], "index": 12 } ], "index": 12 }, { "type": "text", "bbox": [ 110, 298, 299, 318 ], "lines": [ { "bbox": [ 108, 296, 300, 311 ], "spans": [ { "bbox": [ 108, 296, 300, 311 ], "score": 1.0, "content": "{% if entity_types.__len__() > 0 %}", "type": "text" } ], "index": 13 }, { "bbox": [ 109, 307, 192, 318 ], "spans": [ { "bbox": [ 109, 307, 192, 318 ], "score": 1.0, "content": "In the sentence", "type": "text" } ], "index": 14 } ], "index": 13.5, "bbox_fs": [ 108, 296, 300, 318 ] }, { "type": "text", "bbox": [ 111, 327, 153, 338 ], "lines": [ { "bbox": [ 110, 326, 154, 339 ], "spans": [ { "bbox": [ 110, 326, 154, 339 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 15 } ], "index": 15, "bbox_fs": [ 110, 326, 154, 339 ] }, { "type": "text", "bbox": [ 109, 348, 488, 388 ], "lines": [ { "bbox": [ 108, 346, 451, 360 ], "spans": [ { "bbox": [ 108, 346, 130, 360 ], "score": 1.0, "content": "the", "type": "text" }, { "bbox": [ 130, 348, 150, 357 ], "score": 0.3, "content": "\\mathrm { ~ ~ { ~ X ~ } ~ } =", "type": "inline_equation" }, { "bbox": [ 151, 346, 451, 360 ], "score": 1.0, "content": "\"{{entities[entity_idx]}}\" is an entity of the type \"{{", "type": "text" } ], "index": 16 }, { "bbox": [ 108, 356, 488, 369 ], "spans": [ { "bbox": [ 108, 356, 469, 369 ], "score": 1.0, "content": "entity_types[entity_idx]}}\". Extract all possible triples contains", "type": "text" }, { "bbox": [ 468, 356, 488, 368 ], "score": 1.0, "content": "\"{{", "type": "text" } ], "index": 17 }, { "bbox": [ 107, 366, 452, 380 ], "spans": [ { "bbox": [ 107, 366, 452, 380 ], "score": 1.0, "content": "entities[entity_idx]}}\" in the form of ( X ; Y ; Z ), given the", "type": "text" } ], "index": 18 }, { "bbox": [ 109, 377, 289, 389 ], "spans": [ { "bbox": [ 109, 377, 289, 389 ], "score": 1.0, "content": "following candidate properties Y:", "type": "text" } ], "index": 19 } ], "index": 17.5, "bbox_fs": [ 107, 346, 488, 389 ] }, { "type": "list", "bbox": [ 109, 397, 483, 457 ], "lines": [ { "bbox": [ 108, 396, 321, 408 ], "spans": [ { "bbox": [ 108, 396, 321, 408 ], "score": 1.0, "content": "{% for r in allowed_relations %}- {{r}}", "type": "text" } ], "index": 20, "is_list_start_line": true }, { "bbox": [ 108, 406, 177, 419 ], "spans": [ { "bbox": [ 108, 406, 177, 419 ], "score": 1.0, "content": "{% endfor %}", "type": "text" } ], "index": 21, "is_list_start_line": true }, { "bbox": [ 108, 416, 473, 428 ], "spans": [ { "bbox": [ 108, 416, 403, 428 ], "score": 1.0, "content": "Answer: ||| {% for r in relations %}{% if r['head'][0]", "type": "text" }, { "bbox": [ 404, 418, 420, 427 ], "score": 0.81, "content": "= =", "type": "inline_equation" }, { "bbox": [ 420, 416, 473, 428 ], "score": 1.0, "content": "entities[", "type": "text" } ], "index": 22, "is_list_start_line": true }, { "bbox": [ 108, 426, 484, 439 ], "spans": [ { "bbox": [ 108, 426, 484, 439 ], "score": 1.0, "content": "entity_idx] %}{{format_triple([r], allowed_relations) | join(\" \")}}{%", "type": "text" } ], "index": 23, "is_list_start_line": true }, { "bbox": [ 108, 437, 220, 449 ], "spans": [ { "bbox": [ 108, 437, 220, 449 ], "score": 1.0, "content": "endif %}{% endfor %}", "type": "text" } ], "index": 24, "is_list_start_line": true }, { "bbox": [ 108, 446, 171, 459 ], "spans": [ { "bbox": [ 108, 446, 171, 459 ], "score": 1.0, "content": "{% endif %}", "type": "text" } ], "index": 25, "is_list_start_line": true } ], "index": 22.5, "bbox_fs": [ 108, 396, 484, 459 ] }, { "type": "title", "bbox": [ 110, 474, 258, 486 ], "lines": [ { "bbox": [ 108, 473, 259, 488 ], "spans": [ { "bbox": [ 108, 473, 259, 488 ], "score": 1.0, "content": "(Relation Classification, Prompt 0)", "type": "text" } ], "index": 26 } ], "index": 26 }, { "type": "text", "bbox": [ 109, 492, 132, 501 ], "lines": [ { "bbox": [ 108, 491, 135, 502 ], "spans": [ { "bbox": [ 108, 491, 135, 502 ], "score": 1.0, "content": "QUIZ", "type": "text" } ], "index": 27 } ], "index": 27, "bbox_fs": [ 108, 491, 135, 502 ] }, { "type": "text", "bbox": [ 111, 511, 288, 522 ], "lines": [ { "bbox": [ 109, 510, 290, 523 ], "spans": [ { "bbox": [ 109, 510, 290, 523 ], "score": 1.0, "content": "1. Given the candidate relations:", "type": "text" } ], "index": 28 } ], "index": 28, "bbox_fs": [ 109, 510, 290, 523 ] }, { "type": "text", "bbox": [ 110, 531, 363, 542 ], "lines": [ { "bbox": [ 109, 531, 365, 543 ], "spans": [ { "bbox": [ 109, 531, 365, 543 ], "score": 1.0, "content": "- {{shuffle(allowed_relations) | join(\"\\n- \")}}", "type": "text" } ], "index": 29 }, { "bbox": [ 108, 550, 495, 563 ], "spans": [ { "bbox": [ 108, 550, 495, 563 ], "score": 1.0, "content": "what is the relation between \"{{relations[triple_idx]['head'][0]}}\" and", "type": "text" } ], "index": 30 }, { "bbox": [ 108, 560, 461, 573 ], "spans": [ { "bbox": [ 108, 560, 461, 573 ], "score": 1.0, "content": "\"{{relations[triple_idx]['tail'][0]}}\" in the following sentence?", "type": "text" } ], "index": 31 } ], "index": 29, "bbox_fs": [ 109, 531, 365, 543 ] }, { "type": "text", "bbox": [ 108, 551, 494, 572 ], "lines": [], "index": 30.5, "bbox_fs": [ 108, 550, 495, 573 ], "lines_deleted": true }, { "type": "text", "bbox": [ 111, 581, 153, 592 ], "lines": [ { "bbox": [ 109, 580, 154, 592 ], "spans": [ { "bbox": [ 109, 580, 154, 592 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 32 } ], "index": 32, "bbox_fs": [ 109, 580, 154, 592 ] }, { "type": "text", "bbox": [ 109, 601, 373, 613 ], "lines": [ { "bbox": [ 108, 601, 375, 613 ], "spans": [ { "bbox": [ 108, 601, 375, 613 ], "score": 1.0, "content": "Answer: ||| {{relations[triple_idx]['relation']}}", "type": "text" } ], "index": 33 } ], "index": 33, "bbox_fs": [ 108, 601, 375, 613 ] }, { "type": "text", "bbox": [ 107, 627, 505, 693 ], "lines": [ { "bbox": [ 106, 627, 504, 639 ], "spans": [ { "bbox": [ 106, 627, 504, 639 ], "score": 1.0, "content": "Nevertheless, existing joint entity and relation extraction datasets have very limited relation schema.", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 637, 505, 650 ], "spans": [ { "bbox": [ 105, 637, 505, 650 ], "score": 1.0, "content": "For example, CoNLL04 only contains five different relations; the most diverse NYT dataset con-", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 649, 504, 660 ], "spans": [ { "bbox": [ 106, 649, 504, 660 ], "score": 1.0, "content": "tains 24 Freebase predicates. To allow the model to capture a diverse range of potential verbal-", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 659, 505, 672 ], "spans": [ { "bbox": [ 105, 659, 505, 672 ], "score": 1.0, "content": "ized predicates, we extend the task with automatically generated knowledge-text aligned data from", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 669, 506, 683 ], "spans": [ { "bbox": [ 105, 669, 506, 683 ], "score": 1.0, "content": "KELM (Agarwal et al., 2021). We do not include other distantly supervised dataset (e.g., T-Rex (El-", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 681, 322, 694 ], "spans": [ { "bbox": [ 105, 681, 322, 694 ], "score": 1.0, "content": "sahar et al., 2018)) since they can be extremely noisy.", "type": "text" } ], "index": 39 } ], "index": 36.5, "bbox_fs": [ 105, 627, 506, 694 ] }, { "type": "text", "bbox": [ 108, 698, 504, 732 ], "lines": [ { "bbox": [ 106, 699, 505, 711 ], "spans": [ { "bbox": [ 106, 699, 505, 711 ], "score": 1.0, "content": "For KELM data, since it is based on the full Wikidata schema (which contains too many relations", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 709, 506, 723 ], "spans": [ { "bbox": [ 105, 709, 506, 723 ], "score": 1.0, "content": "to be enumerated), we create two KELM-specific prompts for the task of Relation Extraction and", "type": "text" } ], "index": 41 }, { "bbox": [ 106, 720, 208, 733 ], "spans": [ { "bbox": [ 106, 720, 208, 733 ], "score": 1.0, "content": "Knowledge Slot Filling:", "type": "text" } ], "index": 42 } ], "index": 41, "bbox_fs": [ 105, 699, 506, 733 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 109, 81, 312, 94 ], "lines": [ { "bbox": [ 108, 81, 313, 95 ], "spans": [ { "bbox": [ 108, 81, 313, 95 ], "score": 1.0, "content": "(Relation Extraction, Prompt 1, KELM ONLY)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 110, 100, 163, 109 ], "lines": [ { "bbox": [ 109, 98, 165, 110 ], "spans": [ { "bbox": [ 109, 98, 165, 110 ], "score": 1.0, "content": "{# kelm #}", "type": "text" } ], "index": 1 } ], "index": 1 }, { "type": "text", "bbox": [ 113, 113, 497, 129 ], "lines": [ { "bbox": [ 110, 109, 462, 120 ], "spans": [ { "bbox": [ 110, 109, 462, 120 ], "score": 1.0, "content": "Can you figure out all knowledge triples regarding whole Wikidata", "type": "text" } ], "index": 2 }, { "bbox": [ 109, 117, 499, 131 ], "spans": [ { "bbox": [ 109, 117, 499, 131 ], "score": 1.0, "content": "properties from the sentence? List them in the shape of \"( X ; Y ; Z )\":", "type": "text" } ], "index": 3 } ], "index": 2.5 }, { "type": "text", "bbox": [ 110, 139, 433, 150 ], "lines": [ { "bbox": [ 109, 137, 435, 151 ], "spans": [ { "bbox": [ 109, 137, 156, 151 ], "score": 1.0, "content": "{{text}}", "type": "text" }, { "bbox": [ 156, 140, 171, 149 ], "score": 0.52, "content": "= >", "type": "inline_equation" }, { "bbox": [ 171, 137, 435, 151 ], "score": 1.0, "content": "||| {{format_triple(relations, \"\") | join(\" \")}}", "type": "text" } ], "index": 4 } ], "index": 4 }, { "type": "title", "bbox": [ 110, 173, 325, 186 ], "lines": [ { "bbox": [ 108, 173, 326, 187 ], "spans": [ { "bbox": [ 108, 173, 326, 187 ], "score": 1.0, "content": "(Knowledge Slot Filling, Prompt 1, KELM ONLY)", "type": "text" } ], "index": 5 } ], "index": 5 }, { "type": "text", "bbox": [ 109, 191, 491, 221 ], "lines": [ { "bbox": [ 109, 190, 165, 202 ], "spans": [ { "bbox": [ 109, 190, 165, 202 ], "score": 1.0, "content": "{# kelm #}", "type": "text" } ], "index": 6 }, { "bbox": [ 108, 200, 490, 212 ], "spans": [ { "bbox": [ 108, 200, 490, 212 ], "score": 1.0, "content": "Given the entity \"{{entities[entity_idx]}}\" marked with \"[\" and \"]\" in", "type": "text" } ], "index": 7 }, { "bbox": [ 107, 209, 177, 223 ], "spans": [ { "bbox": [ 107, 209, 177, 223 ], "score": 1.0, "content": "the context:", "type": "text" } ], "index": 8 } ], "index": 7 }, { "type": "text", "bbox": [ 111, 231, 153, 241 ], "lines": [ { "bbox": [ 109, 230, 154, 242 ], "spans": [ { "bbox": [ 109, 230, 154, 242 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 9 } ], "index": 9 }, { "type": "text", "bbox": [ 109, 252, 499, 291 ], "lines": [ { "bbox": [ 107, 250, 484, 262 ], "spans": [ { "bbox": [ 107, 250, 484, 262 ], "score": 1.0, "content": "please list all triples related to it (do not generate if there is no", "type": "text" } ], "index": 10 }, { "bbox": [ 107, 260, 479, 272 ], "spans": [ { "bbox": [ 107, 260, 409, 272 ], "score": 1.0, "content": "answer): ||| {% for r in relations %}{% if r['head'][0]", "type": "text" }, { "bbox": [ 409, 262, 424, 270 ], "score": 0.61, "content": "= =", "type": "inline_equation" }, { "bbox": [ 425, 260, 479, 272 ], "score": 1.0, "content": "entities[", "type": "text" } ], "index": 11 }, { "bbox": [ 107, 269, 500, 283 ], "spans": [ { "bbox": [ 107, 269, 500, 283 ], "score": 1.0, "content": "entity_idx] %}{{format_triple([r], \"\") | join(\" \")}}{% endif %}{% endfor", "type": "text" } ], "index": 12 }, { "bbox": [ 113, 279, 128, 293 ], "spans": [ { "bbox": [ 113, 279, 128, 293 ], "score": 1.0, "content": "%}", "type": "text" } ], "index": 13 } ], "index": 11.5 }, { "type": "title", "bbox": [ 109, 321, 273, 333 ], "lines": [ { "bbox": [ 106, 321, 275, 334 ], "spans": [ { "bbox": [ 106, 321, 275, 334 ], "score": 1.0, "content": "C.2.4 NAMED ENTITY RECOGNITION", "type": "text" } ], "index": 14 } ], "index": 14 }, { "type": "text", "bbox": [ 106, 344, 505, 422 ], "lines": [ { "bbox": [ 105, 344, 506, 358 ], "spans": [ { "bbox": [ 105, 344, 506, 358 ], "score": 1.0, "content": "Named entity recognition is a task which targets identifying named entities from raw text corpus", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 356, 505, 368 ], "spans": [ { "bbox": [ 105, 356, 505, 368 ], "score": 1.0, "content": "and assign them with proper entity types. For example, in the sentence “In 1916 GM was reincorpo-", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 366, 505, 380 ], "spans": [ { "bbox": [ 105, 366, 505, 380 ], "score": 1.0, "content": "rated in Detroit as \"General Motors Corporation\".”, General Motors Corporation could", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 378, 505, 390 ], "spans": [ { "bbox": [ 106, 378, 505, 390 ], "score": 1.0, "content": "be of entity type organization. We design two different types of tasks based on named entity", "type": "text" } ], "index": 18 }, { "bbox": [ 104, 388, 506, 401 ], "spans": [ { "bbox": [ 104, 388, 506, 401 ], "score": 1.0, "content": "recognition datasets CoNLL03 (Sang & Meulder, 2003), OntoNotes 5.0 (Pradhan et al., 2013), and", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 399, 505, 412 ], "spans": [ { "bbox": [ 105, 399, 505, 412 ], "score": 1.0, "content": "GENIA (Ohta et al., 2002). We also include named entity recognition sub-tasks from joint entity", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 410, 193, 423 ], "spans": [ { "bbox": [ 105, 410, 193, 423 ], "score": 1.0, "content": "and relation datasets.", "type": "text" } ], "index": 21 } ], "index": 18 }, { "type": "text", "bbox": [ 106, 428, 504, 450 ], "lines": [ { "bbox": [ 105, 426, 505, 441 ], "spans": [ { "bbox": [ 105, 426, 505, 441 ], "score": 1.0, "content": "• Named Entity Recognition: given a certain list of possible entity types (e.g., location,", "type": "text" } ], "index": 22 }, { "bbox": [ 113, 438, 465, 452 ], "spans": [ { "bbox": [ 113, 438, 465, 452 ], "score": 1.0, "content": "person, organization), extract all related entities from the provided text content.", "type": "text" } ], "index": 23 } ], "index": 22.5 }, { "type": "text", "bbox": [ 107, 452, 505, 485 ], "lines": [ { "bbox": [ 105, 450, 505, 465 ], "spans": [ { "bbox": [ 105, 450, 505, 465 ], "score": 1.0, "content": "• Entity Typing: entity typing is one of the important derivative tasks from named entity recogni-", "type": "text" } ], "index": 24 }, { "bbox": [ 114, 462, 505, 475 ], "spans": [ { "bbox": [ 114, 462, 505, 475 ], "score": 1.0, "content": "tion. It aims to classify the correct type of an entity mention (without entity types), and is often", "type": "text" } ], "index": 25 }, { "bbox": [ 114, 474, 362, 487 ], "spans": [ { "bbox": [ 114, 474, 362, 487 ], "score": 1.0, "content": "appended to the entity mention extraction as post-processing.", "type": "text" } ], "index": 26 } ], "index": 25 }, { "type": "title", "bbox": [ 109, 501, 275, 513 ], "lines": [ { "bbox": [ 109, 501, 276, 514 ], "spans": [ { "bbox": [ 109, 501, 276, 514 ], "score": 1.0, "content": "(Named Entity Recognition, Prompt 0)", "type": "text" } ], "index": 27 } ], "index": 27 }, { "type": "text", "bbox": [ 110, 518, 330, 529 ], "lines": [ { "bbox": [ 109, 517, 331, 529 ], "spans": [ { "bbox": [ 109, 517, 331, 529 ], "score": 1.0, "content": "Given the following list of entity types:", "type": "text" } ], "index": 28 } ], "index": 28 }, { "type": "text", "bbox": [ 107, 538, 342, 549 ], "lines": [ { "bbox": [ 110, 536, 343, 550 ], "spans": [ { "bbox": [ 110, 539, 128, 548 ], "score": 0.35, "content": "\\begin{array} { r l } { \\mathrm { ~ Z ~ } } & { { } = } \\end{array}", "type": "inline_equation" }, { "bbox": [ 128, 536, 343, 550 ], "score": 1.0, "content": "{{shuffle(allowed_types) | join(\", \")}}", "type": "text" } ], "index": 29 } ], "index": 29 }, { "type": "text", "bbox": [ 107, 558, 498, 578 ], "lines": [ { "bbox": [ 106, 557, 500, 569 ], "spans": [ { "bbox": [ 106, 557, 500, 569 ], "score": 1.0, "content": "please extract all mentioned entities from left to right in the sentence", "type": "text" } ], "index": 30 }, { "bbox": [ 107, 567, 343, 579 ], "spans": [ { "bbox": [ 107, 567, 343, 579 ], "score": 1.0, "content": ", in the form of \"( X ; instance of ; Z )\".", "type": "text" } ], "index": 31 } ], "index": 30.5 }, { "type": "text", "bbox": [ 108, 588, 488, 609 ], "lines": [ { "bbox": [ 108, 587, 490, 600 ], "spans": [ { "bbox": [ 108, 587, 156, 600 ], "score": 1.0, "content": "{{text}}", "type": "text" }, { "bbox": [ 156, 588, 171, 597 ], "score": 0.55, "content": "= >", "type": "inline_equation" }, { "bbox": [ 171, 587, 490, 600 ], "score": 1.0, "content": "||| {% for entity, type in zip(entities, entity_types) %}(", "type": "text" } ], "index": 32 }, { "bbox": [ 108, 596, 381, 610 ], "spans": [ { "bbox": [ 108, 596, 381, 610 ], "score": 1.0, "content": "{{entity}} ; instance of ; {{type}} ) {% endfor %}", "type": "text" } ], "index": 33 } ], "index": 32.5 }, { "type": "title", "bbox": [ 109, 632, 221, 645 ], "lines": [ { "bbox": [ 108, 632, 222, 645 ], "spans": [ { "bbox": [ 108, 632, 222, 645 ], "score": 1.0, "content": "(Entity Typing, Prompt 0)", "type": "text" } ], "index": 34 } ], "index": 34 }, { "type": "text", "bbox": [ 111, 650, 460, 681 ], "lines": [ { "bbox": [ 108, 649, 462, 662 ], "spans": [ { "bbox": [ 108, 649, 462, 662 ], "score": 1.0, "content": "Extract all entity mentioned in the sentence with entity type \"{{", "type": "text" } ], "index": 35 }, { "bbox": [ 109, 658, 462, 672 ], "spans": [ { "bbox": [ 109, 658, 462, 672 ], "score": 1.0, "content": "allowed_types[type_idx]}}\" in the form of \"( X ; instance of ; {{", "type": "text" } ], "index": 36 }, { "bbox": [ 108, 669, 263, 681 ], "spans": [ { "bbox": [ 108, 669, 263, 681 ], "score": 1.0, "content": "allowed_types[type_idx]}} )\"", "type": "text" } ], "index": 37 } ], "index": 36 }, { "type": "text", "bbox": [ 110, 690, 499, 720 ], "lines": [ { "bbox": [ 108, 689, 495, 702 ], "spans": [ { "bbox": [ 108, 689, 156, 702 ], "score": 1.0, "content": "{{text}}", "type": "text" }, { "bbox": [ 157, 690, 171, 699 ], "score": 0.73, "content": "= >", "type": "inline_equation" }, { "bbox": [ 171, 689, 495, 702 ], "score": 1.0, "content": "||| {% for entity, type in zip(entities, entity_types) %}{%", "type": "text" } ], "index": 38 }, { "bbox": [ 107, 698, 501, 713 ], "spans": [ { "bbox": [ 107, 698, 150, 713 ], "score": 1.0, "content": "if type", "type": "text" }, { "bbox": [ 151, 701, 166, 709 ], "score": 0.8, "content": "= =", "type": "inline_equation" }, { "bbox": [ 167, 698, 501, 713 ], "score": 1.0, "content": "allowed_types[type_idx] %}( {{entity}} ; instance of ; {{type", "type": "text" } ], "index": 39 }, { "bbox": [ 108, 709, 263, 722 ], "spans": [ { "bbox": [ 108, 709, 263, 722 ], "score": 1.0, "content": "}} ) {% endif %}{% endfor %}", "type": "text" } ], "index": 40 } ], "index": 39 } ], "page_idx": 35, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 763 ], "spans": [ { "bbox": [ 298, 750, 313, 763 ], "score": 1.0, "content": "36", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 109, 81, 312, 94 ], "lines": [ { "bbox": [ 108, 81, 313, 95 ], "spans": [ { "bbox": [ 108, 81, 313, 95 ], "score": 1.0, "content": "(Relation Extraction, Prompt 1, KELM ONLY)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 110, 100, 163, 109 ], "lines": [ { "bbox": [ 109, 98, 165, 110 ], "spans": [ { "bbox": [ 109, 98, 165, 110 ], "score": 1.0, "content": "{# kelm #}", "type": "text" } ], "index": 1 } ], "index": 1, "bbox_fs": [ 109, 98, 165, 110 ] }, { "type": "text", "bbox": [ 113, 113, 497, 129 ], "lines": [ { "bbox": [ 110, 109, 462, 120 ], "spans": [ { "bbox": [ 110, 109, 462, 120 ], "score": 1.0, "content": "Can you figure out all knowledge triples regarding whole Wikidata", "type": "text" } ], "index": 2 }, { "bbox": [ 109, 117, 499, 131 ], "spans": [ { "bbox": [ 109, 117, 499, 131 ], "score": 1.0, "content": "properties from the sentence? List them in the shape of \"( X ; Y ; Z )\":", "type": "text" } ], "index": 3 } ], "index": 2.5, "bbox_fs": [ 109, 109, 499, 131 ] }, { "type": "text", "bbox": [ 110, 139, 433, 150 ], "lines": [ { "bbox": [ 109, 137, 435, 151 ], "spans": [ { "bbox": [ 109, 137, 156, 151 ], "score": 1.0, "content": "{{text}}", "type": "text" }, { "bbox": [ 156, 140, 171, 149 ], "score": 0.52, "content": "= >", "type": "inline_equation" }, { "bbox": [ 171, 137, 435, 151 ], "score": 1.0, "content": "||| {{format_triple(relations, \"\") | join(\" \")}}", "type": "text" } ], "index": 4 } ], "index": 4, "bbox_fs": [ 109, 137, 435, 151 ] }, { "type": "title", "bbox": [ 110, 173, 325, 186 ], "lines": [ { "bbox": [ 108, 173, 326, 187 ], "spans": [ { "bbox": [ 108, 173, 326, 187 ], "score": 1.0, "content": "(Knowledge Slot Filling, Prompt 1, KELM ONLY)", "type": "text" } ], "index": 5 } ], "index": 5 }, { "type": "list", "bbox": [ 109, 191, 491, 221 ], "lines": [ { "bbox": [ 109, 190, 165, 202 ], "spans": [ { "bbox": [ 109, 190, 165, 202 ], "score": 1.0, "content": "{# kelm #}", "type": "text" } ], "index": 6, "is_list_start_line": true }, { "bbox": [ 108, 200, 490, 212 ], "spans": [ { "bbox": [ 108, 200, 490, 212 ], "score": 1.0, "content": "Given the entity \"{{entities[entity_idx]}}\" marked with \"[\" and \"]\" in", "type": "text" } ], "index": 7, "is_list_start_line": true }, { "bbox": [ 107, 209, 177, 223 ], "spans": [ { "bbox": [ 107, 209, 177, 223 ], "score": 1.0, "content": "the context:", "type": "text" } ], "index": 8, "is_list_start_line": true } ], "index": 7, "bbox_fs": [ 107, 190, 490, 223 ] }, { "type": "text", "bbox": [ 111, 231, 153, 241 ], "lines": [ { "bbox": [ 109, 230, 154, 242 ], "spans": [ { "bbox": [ 109, 230, 154, 242 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 9 } ], "index": 9, "bbox_fs": [ 109, 230, 154, 242 ] }, { "type": "text", "bbox": [ 109, 252, 499, 291 ], "lines": [ { "bbox": [ 107, 250, 484, 262 ], "spans": [ { "bbox": [ 107, 250, 484, 262 ], "score": 1.0, "content": "please list all triples related to it (do not generate if there is no", "type": "text" } ], "index": 10 }, { "bbox": [ 107, 260, 479, 272 ], "spans": [ { "bbox": [ 107, 260, 409, 272 ], "score": 1.0, "content": "answer): ||| {% for r in relations %}{% if r['head'][0]", "type": "text" }, { "bbox": [ 409, 262, 424, 270 ], "score": 0.61, "content": "= =", "type": "inline_equation" }, { "bbox": [ 425, 260, 479, 272 ], "score": 1.0, "content": "entities[", "type": "text" } ], "index": 11 }, { "bbox": [ 107, 269, 500, 283 ], "spans": [ { "bbox": [ 107, 269, 500, 283 ], "score": 1.0, "content": "entity_idx] %}{{format_triple([r], \"\") | join(\" \")}}{% endif %}{% endfor", "type": "text" } ], "index": 12 }, { "bbox": [ 113, 279, 128, 293 ], "spans": [ { "bbox": [ 113, 279, 128, 293 ], "score": 1.0, "content": "%}", "type": "text" } ], "index": 13 } ], "index": 11.5, "bbox_fs": [ 107, 250, 500, 293 ] }, { "type": "title", "bbox": [ 109, 321, 273, 333 ], "lines": [ { "bbox": [ 106, 321, 275, 334 ], "spans": [ { "bbox": [ 106, 321, 275, 334 ], "score": 1.0, "content": "C.2.4 NAMED ENTITY RECOGNITION", "type": "text" } ], "index": 14 } ], "index": 14 }, { "type": "text", "bbox": [ 106, 344, 505, 422 ], "lines": [ { "bbox": [ 105, 344, 506, 358 ], "spans": [ { "bbox": [ 105, 344, 506, 358 ], "score": 1.0, "content": "Named entity recognition is a task which targets identifying named entities from raw text corpus", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 356, 505, 368 ], "spans": [ { "bbox": [ 105, 356, 505, 368 ], "score": 1.0, "content": "and assign them with proper entity types. For example, in the sentence “In 1916 GM was reincorpo-", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 366, 505, 380 ], "spans": [ { "bbox": [ 105, 366, 505, 380 ], "score": 1.0, "content": "rated in Detroit as \"General Motors Corporation\".”, General Motors Corporation could", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 378, 505, 390 ], "spans": [ { "bbox": [ 106, 378, 505, 390 ], "score": 1.0, "content": "be of entity type organization. We design two different types of tasks based on named entity", "type": "text" } ], "index": 18 }, { "bbox": [ 104, 388, 506, 401 ], "spans": [ { "bbox": [ 104, 388, 506, 401 ], "score": 1.0, "content": "recognition datasets CoNLL03 (Sang & Meulder, 2003), OntoNotes 5.0 (Pradhan et al., 2013), and", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 399, 505, 412 ], "spans": [ { "bbox": [ 105, 399, 505, 412 ], "score": 1.0, "content": "GENIA (Ohta et al., 2002). We also include named entity recognition sub-tasks from joint entity", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 410, 193, 423 ], "spans": [ { "bbox": [ 105, 410, 193, 423 ], "score": 1.0, "content": "and relation datasets.", "type": "text" } ], "index": 21 } ], "index": 18, "bbox_fs": [ 104, 344, 506, 423 ] }, { "type": "text", "bbox": [ 106, 428, 504, 450 ], "lines": [ { "bbox": [ 105, 426, 505, 441 ], "spans": [ { "bbox": [ 105, 426, 505, 441 ], "score": 1.0, "content": "• Named Entity Recognition: given a certain list of possible entity types (e.g., location,", "type": "text" } ], "index": 22 }, { "bbox": [ 113, 438, 465, 452 ], "spans": [ { "bbox": [ 113, 438, 465, 452 ], "score": 1.0, "content": "person, organization), extract all related entities from the provided text content.", "type": "text" } ], "index": 23 } ], "index": 22.5, "bbox_fs": [ 105, 426, 505, 452 ] }, { "type": "text", "bbox": [ 107, 452, 505, 485 ], "lines": [ { "bbox": [ 105, 450, 505, 465 ], "spans": [ { "bbox": [ 105, 450, 505, 465 ], "score": 1.0, "content": "• Entity Typing: entity typing is one of the important derivative tasks from named entity recogni-", "type": "text" } ], "index": 24 }, { "bbox": [ 114, 462, 505, 475 ], "spans": [ { "bbox": [ 114, 462, 505, 475 ], "score": 1.0, "content": "tion. It aims to classify the correct type of an entity mention (without entity types), and is often", "type": "text" } ], "index": 25 }, { "bbox": [ 114, 474, 362, 487 ], "spans": [ { "bbox": [ 114, 474, 362, 487 ], "score": 1.0, "content": "appended to the entity mention extraction as post-processing.", "type": "text" } ], "index": 26 } ], "index": 25, "bbox_fs": [ 105, 450, 505, 487 ] }, { "type": "title", "bbox": [ 109, 501, 275, 513 ], "lines": [ { "bbox": [ 109, 501, 276, 514 ], "spans": [ { "bbox": [ 109, 501, 276, 514 ], "score": 1.0, "content": "(Named Entity Recognition, Prompt 0)", "type": "text" } ], "index": 27 } ], "index": 27 }, { "type": "text", "bbox": [ 110, 518, 330, 529 ], "lines": [ { "bbox": [ 109, 517, 331, 529 ], "spans": [ { "bbox": [ 109, 517, 331, 529 ], "score": 1.0, "content": "Given the following list of entity types:", "type": "text" } ], "index": 28 } ], "index": 28, "bbox_fs": [ 109, 517, 331, 529 ] }, { "type": "text", "bbox": [ 107, 538, 342, 549 ], "lines": [ { "bbox": [ 110, 536, 343, 550 ], "spans": [ { "bbox": [ 110, 539, 128, 548 ], "score": 0.35, "content": "\\begin{array} { r l } { \\mathrm { ~ Z ~ } } & { { } = } \\end{array}", "type": "inline_equation" }, { "bbox": [ 128, 536, 343, 550 ], "score": 1.0, "content": "{{shuffle(allowed_types) | join(\", \")}}", "type": "text" } ], "index": 29 } ], "index": 29, "bbox_fs": [ 110, 536, 343, 550 ] }, { "type": "text", "bbox": [ 107, 558, 498, 578 ], "lines": [ { "bbox": [ 106, 557, 500, 569 ], "spans": [ { "bbox": [ 106, 557, 500, 569 ], "score": 1.0, "content": "please extract all mentioned entities from left to right in the sentence", "type": "text" } ], "index": 30 }, { "bbox": [ 107, 567, 343, 579 ], "spans": [ { "bbox": [ 107, 567, 343, 579 ], "score": 1.0, "content": ", in the form of \"( X ; instance of ; Z )\".", "type": "text" } ], "index": 31 } ], "index": 30.5, "bbox_fs": [ 106, 557, 500, 579 ] }, { "type": "text", "bbox": [ 108, 588, 488, 609 ], "lines": [ { "bbox": [ 108, 587, 490, 600 ], "spans": [ { "bbox": [ 108, 587, 156, 600 ], "score": 1.0, "content": "{{text}}", "type": "text" }, { "bbox": [ 156, 588, 171, 597 ], "score": 0.55, "content": "= >", "type": "inline_equation" }, { "bbox": [ 171, 587, 490, 600 ], "score": 1.0, "content": "||| {% for entity, type in zip(entities, entity_types) %}(", "type": "text" } ], "index": 32 }, { "bbox": [ 108, 596, 381, 610 ], "spans": [ { "bbox": [ 108, 596, 381, 610 ], "score": 1.0, "content": "{{entity}} ; instance of ; {{type}} ) {% endfor %}", "type": "text" } ], "index": 33 } ], "index": 32.5, "bbox_fs": [ 108, 587, 490, 610 ] }, { "type": "title", "bbox": [ 109, 632, 221, 645 ], "lines": [ { "bbox": [ 108, 632, 222, 645 ], "spans": [ { "bbox": [ 108, 632, 222, 645 ], "score": 1.0, "content": "(Entity Typing, Prompt 0)", "type": "text" } ], "index": 34 } ], "index": 34 }, { "type": "text", "bbox": [ 111, 650, 460, 681 ], "lines": [ { "bbox": [ 108, 649, 462, 662 ], "spans": [ { "bbox": [ 108, 649, 462, 662 ], "score": 1.0, "content": "Extract all entity mentioned in the sentence with entity type \"{{", "type": "text" } ], "index": 35 }, { "bbox": [ 109, 658, 462, 672 ], "spans": [ { "bbox": [ 109, 658, 462, 672 ], "score": 1.0, "content": "allowed_types[type_idx]}}\" in the form of \"( X ; instance of ; {{", "type": "text" } ], "index": 36 }, { "bbox": [ 108, 669, 263, 681 ], "spans": [ { "bbox": [ 108, 669, 263, 681 ], "score": 1.0, "content": "allowed_types[type_idx]}} )\"", "type": "text" } ], "index": 37 } ], "index": 36, "bbox_fs": [ 108, 649, 462, 681 ] }, { "type": "text", "bbox": [ 110, 690, 499, 720 ], "lines": [ { "bbox": [ 108, 689, 495, 702 ], "spans": [ { "bbox": [ 108, 689, 156, 702 ], "score": 1.0, "content": "{{text}}", "type": "text" }, { "bbox": [ 157, 690, 171, 699 ], "score": 0.73, "content": "= >", "type": "inline_equation" }, { "bbox": [ 171, 689, 495, 702 ], "score": 1.0, "content": "||| {% for entity, type in zip(entities, entity_types) %}{%", "type": "text" } ], "index": 38 }, { "bbox": [ 107, 698, 501, 713 ], "spans": [ { "bbox": [ 107, 698, 150, 713 ], "score": 1.0, "content": "if type", "type": "text" }, { "bbox": [ 151, 701, 166, 709 ], "score": 0.8, "content": "= =", "type": "inline_equation" }, { "bbox": [ 167, 698, 501, 713 ], "score": 1.0, "content": "allowed_types[type_idx] %}( {{entity}} ; instance of ; {{type", "type": "text" } ], "index": 39 }, { "bbox": [ 108, 709, 263, 722 ], "spans": [ { "bbox": [ 108, 709, 263, 722 ], "score": 1.0, "content": "}} ) {% endif %}{% endfor %}", "type": "text" } ], "index": 40 } ], "index": 39, "bbox_fs": [ 107, 689, 501, 722 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 109, 82, 221, 94 ], "lines": [ { "bbox": [ 108, 81, 222, 95 ], "spans": [ { "bbox": [ 108, 81, 222, 95 ], "score": 1.0, "content": "(Entity Typing, Prompt 1)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 110, 99, 451, 120 ], "lines": [ { "bbox": [ 108, 97, 452, 111 ], "spans": [ { "bbox": [ 108, 97, 452, 111 ], "score": 1.0, "content": "List all \"{{allowed_types[type_idx]}}\" entities appeared in the", "type": "text" } ], "index": 1 }, { "bbox": [ 108, 107, 297, 120 ], "spans": [ { "bbox": [ 108, 107, 282, 120 ], "score": 1.0, "content": "following passage, joined by \" |", "type": "text" }, { "bbox": [ 288, 109, 297, 117 ], "score": 1.0, "content": "\":", "type": "text" } ], "index": 2 } ], "index": 1.5 }, { "type": "text", "bbox": [ 110, 129, 501, 150 ], "lines": [ { "bbox": [ 109, 128, 500, 141 ], "spans": [ { "bbox": [ 109, 128, 156, 141 ], "score": 1.0, "content": "{{text}}", "type": "text" }, { "bbox": [ 156, 130, 171, 138 ], "score": 0.7, "content": "= >", "type": "inline_equation" }, { "bbox": [ 171, 128, 500, 141 ], "score": 1.0, "content": "||| {{filter_type(zip(entities, entity_types), allowed_types", "type": "text" } ], "index": 3 }, { "bbox": [ 109, 137, 258, 150 ], "spans": [ { "bbox": [ 109, 137, 258, 150 ], "score": 1.0, "content": "[type_idx]) | join(\" | \")}}", "type": "text" } ], "index": 4 } ], "index": 3.5 }, { "type": "title", "bbox": [ 110, 176, 221, 188 ], "lines": [ { "bbox": [ 109, 175, 222, 189 ], "spans": [ { "bbox": [ 109, 175, 222, 189 ], "score": 1.0, "content": "(Entity Typing, Prompt 2)", "type": "text" } ], "index": 5 } ], "index": 5 }, { "type": "text", "bbox": [ 112, 193, 298, 203 ], "lines": [ { "bbox": [ 111, 192, 299, 204 ], "spans": [ { "bbox": [ 111, 192, 299, 204 ], "score": 1.0, "content": "{% if entity_types.__len__() > 0 %}", "type": "text" } ], "index": 6 } ], "index": 6 }, { "type": "text", "bbox": [ 109, 204, 470, 214 ], "lines": [ { "bbox": [ 108, 202, 472, 214 ], "spans": [ { "bbox": [ 108, 202, 472, 214 ], "score": 1.0, "content": "Based on the list of potential entity types and ignore their order:", "type": "text" } ], "index": 7 } ], "index": 7 }, { "type": "text", "bbox": [ 109, 222, 342, 234 ], "lines": [ { "bbox": [ 109, 222, 344, 235 ], "spans": [ { "bbox": [ 109, 222, 344, 235 ], "score": 1.0, "content": "- {{shuffle(allowed_types) | join(\"\\n- \")}}", "type": "text" } ], "index": 8 } ], "index": 8 }, { "type": "text", "bbox": [ 109, 243, 477, 263 ], "lines": [ { "bbox": [ 108, 241, 478, 255 ], "spans": [ { "bbox": [ 108, 241, 478, 255 ], "score": 1.0, "content": "the entity \"{{entities[entity_idx]}}\" marked with \"[\" and \"]\" in the", "type": "text" } ], "index": 9 }, { "bbox": [ 108, 252, 214, 264 ], "spans": [ { "bbox": [ 108, 252, 214, 264 ], "score": 1.0, "content": "following sentence:", "type": "text" } ], "index": 10 } ], "index": 9.5 }, { "type": "text", "bbox": [ 111, 273, 153, 283 ], "lines": [ { "bbox": [ 109, 271, 154, 284 ], "spans": [ { "bbox": [ 109, 271, 154, 284 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 11 } ], "index": 11 }, { "type": "text", "bbox": [ 109, 293, 341, 313 ], "lines": [ { "bbox": [ 108, 291, 343, 304 ], "spans": [ { "bbox": [ 108, 291, 343, 304 ], "score": 1.0, "content": "belongs to ||| {{entity_types[entity_idx]}}", "type": "text" } ], "index": 12 }, { "bbox": [ 109, 302, 169, 313 ], "spans": [ { "bbox": [ 109, 302, 169, 313 ], "score": 1.0, "content": "{% endif %}", "type": "text" } ], "index": 13 } ], "index": 12.5 }, { "type": "title", "bbox": [ 108, 345, 260, 357 ], "lines": [ { "bbox": [ 106, 344, 262, 358 ], "spans": [ { "bbox": [ 106, 344, 262, 358 ], "score": 1.0, "content": "C.2.5 RELATION CLASSIFICATION", "type": "text" } ], "index": 14 } ], "index": 14 }, { "type": "text", "bbox": [ 106, 369, 505, 446 ], "lines": [ { "bbox": [ 105, 369, 505, 381 ], "spans": [ { "bbox": [ 105, 369, 505, 381 ], "score": 1.0, "content": "Relation classification is a fundamental task in information extraction, which identifies the relation-", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 380, 506, 393 ], "spans": [ { "bbox": [ 106, 380, 506, 393 ], "score": 1.0, "content": "ships from a list of candidates between two given entities. The problem is a long standing one as it", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 391, 505, 403 ], "spans": [ { "bbox": [ 105, 391, 505, 403 ], "score": 1.0, "content": "suffers from outrageous cost of data labeling, since manual labeling on knowledge-intensive tasks", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 402, 506, 414 ], "spans": [ { "bbox": [ 105, 402, 506, 414 ], "score": 1.0, "content": "requires educated annotators that charges high. A de facto data creation method in relation extrac-", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 413, 506, 426 ], "spans": [ { "bbox": [ 106, 413, 506, 426 ], "score": 1.0, "content": "tion relies on distant supervision, which aligns existing knowledge triples in knowledge bases to text", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 425, 505, 436 ], "spans": [ { "bbox": [ 106, 425, 505, 436 ], "score": 1.0, "content": "contents automatically, and assume that such alignments are correct in certain conditions. Here we", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 435, 488, 447 ], "spans": [ { "bbox": [ 106, 435, 488, 447 ], "score": 1.0, "content": "only include TacRED (Zhang et al., 2017) dataset and create several different tasks based on it.", "type": "text" } ], "index": 21 } ], "index": 18 }, { "type": "text", "bbox": [ 107, 452, 506, 486 ], "lines": [ { "bbox": [ 106, 451, 505, 464 ], "spans": [ { "bbox": [ 106, 451, 505, 464 ], "score": 1.0, "content": "• Relation Classification: the most traditional task formulation. Given two entities from text and", "type": "text" } ], "index": 22 }, { "bbox": [ 114, 463, 505, 475 ], "spans": [ { "bbox": [ 114, 463, 505, 475 ], "score": 1.0, "content": "classify their relation from a list of candidates. The form can be either answering the relation", "type": "text" } ], "index": 23 }, { "bbox": [ 114, 473, 371, 486 ], "spans": [ { "bbox": [ 114, 473, 371, 486 ], "score": 1.0, "content": "directly or in the form of a triple (similar to relation extraction).", "type": "text" } ], "index": 24 } ], "index": 23 }, { "type": "text", "bbox": [ 106, 487, 503, 510 ], "lines": [ { "bbox": [ 105, 485, 505, 499 ], "spans": [ { "bbox": [ 105, 485, 505, 499 ], "score": 1.0, "content": "• Knowledge Slot Filling: change the task into given head entity and relation, to identify whether", "type": "text" } ], "index": 25 }, { "bbox": [ 113, 496, 362, 512 ], "spans": [ { "bbox": [ 113, 496, 362, 512 ], "score": 1.0, "content": "the tail entity exists in the input text. If not, generate nothing.", "type": "text" } ], "index": 26 } ], "index": 25.5 }, { "type": "text", "bbox": [ 107, 511, 505, 556 ], "lines": [ { "bbox": [ 105, 509, 505, 523 ], "spans": [ { "bbox": [ 105, 509, 505, 523 ], "score": 1.0, "content": "• Yes or No Question: turn the problem into a task similar to natural language inference. For", "type": "text" } ], "index": 27 }, { "bbox": [ 114, 522, 505, 534 ], "spans": [ { "bbox": [ 114, 522, 505, 534 ], "score": 1.0, "content": "example, given the sentence “The series focuses on the life of Carnie Wilson, daughter of Brian", "type": "text" } ], "index": 28 }, { "bbox": [ 115, 533, 505, 545 ], "spans": [ { "bbox": [ 115, 533, 505, 545 ], "score": 1.0, "content": "Wilson, founder of the Beach Boys.”, the model will be asked to judge the correctness of a triple", "type": "text" } ], "index": 29 }, { "bbox": [ 114, 543, 474, 556 ], "spans": [ { "bbox": [ 114, 543, 474, 556 ], "score": 1.0, "content": "such as Carnie Wilson, father, Brian Wilson by answering “yes” or “no”.", "type": "text" } ], "index": 30 } ], "index": 28.5 }, { "type": "title", "bbox": [ 110, 573, 258, 585 ], "lines": [ { "bbox": [ 108, 571, 259, 586 ], "spans": [ { "bbox": [ 108, 571, 259, 586 ], "score": 1.0, "content": "(Relation Classification, Prompt 0)", "type": "text" } ], "index": 31 } ], "index": 31 }, { "type": "text", "bbox": [ 109, 591, 347, 610 ], "lines": [ { "bbox": [ 109, 590, 300, 602 ], "spans": [ { "bbox": [ 109, 590, 300, 602 ], "score": 1.0, "content": "{% if entity_types.__len__() > 0 %}", "type": "text" } ], "index": 32 }, { "bbox": [ 107, 596, 349, 613 ], "spans": [ { "bbox": [ 107, 596, 349, 613 ], "score": 1.0, "content": "Given the following categories of relations:", "type": "text" } ], "index": 33 } ], "index": 32.5 }, { "type": "text", "bbox": [ 110, 620, 411, 631 ], "lines": [ { "bbox": [ 109, 619, 414, 632 ], "spans": [ { "bbox": [ 109, 619, 414, 632 ], "score": 1.0, "content": "- {{shuffle(allowed_relations.values()) | join(\"\\n- \")}}", "type": "text" } ], "index": 34 } ], "index": 34 }, { "type": "text", "bbox": [ 108, 640, 497, 660 ], "lines": [ { "bbox": [ 107, 639, 500, 651 ], "spans": [ { "bbox": [ 107, 639, 500, 651 ], "score": 1.0, "content": "predict the relation between \"{{relations[0]['head']}}\" and \"{{relations", "type": "text" } ], "index": 35 }, { "bbox": [ 108, 649, 332, 662 ], "spans": [ { "bbox": [ 108, 649, 332, 662 ], "score": 1.0, "content": "[0]['tail']}}\" in the following sentence:", "type": "text" } ], "index": 36 } ], "index": 35.5 }, { "type": "text", "bbox": [ 111, 670, 153, 680 ], "lines": [ { "bbox": [ 110, 669, 154, 681 ], "spans": [ { "bbox": [ 110, 669, 154, 681 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 37 } ], "index": 37 }, { "type": "text", "bbox": [ 110, 690, 495, 720 ], "lines": [ { "bbox": [ 108, 687, 496, 701 ], "spans": [ { "bbox": [ 108, 687, 496, 701 ], "score": 1.0, "content": "The relation should be : ||| {{allowed_relations[relations[0]['relation", "type": "text" } ], "index": 38 }, { "bbox": [ 108, 696, 141, 713 ], "spans": [ { "bbox": [ 108, 696, 141, 713 ], "score": 1.0, "content": "']]}}", "type": "text" } ], "index": 39 }, { "bbox": [ 108, 708, 172, 722 ], "spans": [ { "bbox": [ 108, 708, 172, 722 ], "score": 1.0, "content": "{% endif %}", "type": "text" } ], "index": 40 } ], "index": 39 } ], "page_idx": 36, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 26, 293, 38 ], "lines": [ { "bbox": [ 106, 25, 293, 39 ], "spans": [ { "bbox": [ 106, 25, 293, 39 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 764 ], "spans": [ { "bbox": [ 298, 750, 313, 764 ], "score": 1.0, "content": "", "type": "text", "height": 14, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 109, 82, 221, 94 ], "lines": [ { "bbox": [ 108, 81, 222, 95 ], "spans": [ { "bbox": [ 108, 81, 222, 95 ], "score": 1.0, "content": "(Entity Typing, Prompt 1)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 110, 99, 451, 120 ], "lines": [ { "bbox": [ 108, 97, 452, 111 ], "spans": [ { "bbox": [ 108, 97, 452, 111 ], "score": 1.0, "content": "List all \"{{allowed_types[type_idx]}}\" entities appeared in the", "type": "text" } ], "index": 1 }, { "bbox": [ 108, 107, 297, 120 ], "spans": [ { "bbox": [ 108, 107, 282, 120 ], "score": 1.0, "content": "following passage, joined by \" |", "type": "text" }, { "bbox": [ 288, 109, 297, 117 ], "score": 1.0, "content": "\":", "type": "text" } ], "index": 2 } ], "index": 1.5, "bbox_fs": [ 108, 97, 452, 120 ] }, { "type": "text", "bbox": [ 110, 129, 501, 150 ], "lines": [ { "bbox": [ 109, 128, 500, 141 ], "spans": [ { "bbox": [ 109, 128, 156, 141 ], "score": 1.0, "content": "{{text}}", "type": "text" }, { "bbox": [ 156, 130, 171, 138 ], "score": 0.7, "content": "= >", "type": "inline_equation" }, { "bbox": [ 171, 128, 500, 141 ], "score": 1.0, "content": "||| {{filter_type(zip(entities, entity_types), allowed_types", "type": "text" } ], "index": 3 }, { "bbox": [ 109, 137, 258, 150 ], "spans": [ { "bbox": [ 109, 137, 258, 150 ], "score": 1.0, "content": "[type_idx]) | join(\" | \")}}", "type": "text" } ], "index": 4 } ], "index": 3.5, "bbox_fs": [ 109, 128, 500, 150 ] }, { "type": "title", "bbox": [ 110, 176, 221, 188 ], "lines": [ { "bbox": [ 109, 175, 222, 189 ], "spans": [ { "bbox": [ 109, 175, 222, 189 ], "score": 1.0, "content": "(Entity Typing, Prompt 2)", "type": "text" } ], "index": 5 } ], "index": 5 }, { "type": "text", "bbox": [ 112, 193, 298, 203 ], "lines": [ { "bbox": [ 111, 192, 299, 204 ], "spans": [ { "bbox": [ 111, 192, 299, 204 ], "score": 1.0, "content": "{% if entity_types.__len__() > 0 %}", "type": "text" } ], "index": 6 } ], "index": 6, "bbox_fs": [ 111, 192, 299, 204 ] }, { "type": "text", "bbox": [ 109, 204, 470, 214 ], "lines": [ { "bbox": [ 108, 202, 472, 214 ], "spans": [ { "bbox": [ 108, 202, 472, 214 ], "score": 1.0, "content": "Based on the list of potential entity types and ignore their order:", "type": "text" } ], "index": 7 } ], "index": 7, "bbox_fs": [ 108, 202, 472, 214 ] }, { "type": "text", "bbox": [ 109, 222, 342, 234 ], "lines": [ { "bbox": [ 109, 222, 344, 235 ], "spans": [ { "bbox": [ 109, 222, 344, 235 ], "score": 1.0, "content": "- {{shuffle(allowed_types) | join(\"\\n- \")}}", "type": "text" } ], "index": 8 } ], "index": 8, "bbox_fs": [ 109, 222, 344, 235 ] }, { "type": "text", "bbox": [ 109, 243, 477, 263 ], "lines": [ { "bbox": [ 108, 241, 478, 255 ], "spans": [ { "bbox": [ 108, 241, 478, 255 ], "score": 1.0, "content": "the entity \"{{entities[entity_idx]}}\" marked with \"[\" and \"]\" in the", "type": "text" } ], "index": 9 }, { "bbox": [ 108, 252, 214, 264 ], "spans": [ { "bbox": [ 108, 252, 214, 264 ], "score": 1.0, "content": "following sentence:", "type": "text" } ], "index": 10 } ], "index": 9.5, "bbox_fs": [ 108, 241, 478, 264 ] }, { "type": "text", "bbox": [ 111, 273, 153, 283 ], "lines": [ { "bbox": [ 109, 271, 154, 284 ], "spans": [ { "bbox": [ 109, 271, 154, 284 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 11 } ], "index": 11, "bbox_fs": [ 109, 271, 154, 284 ] }, { "type": "text", "bbox": [ 109, 293, 341, 313 ], "lines": [ { "bbox": [ 108, 291, 343, 304 ], "spans": [ { "bbox": [ 108, 291, 343, 304 ], "score": 1.0, "content": "belongs to ||| {{entity_types[entity_idx]}}", "type": "text" } ], "index": 12 }, { "bbox": [ 109, 302, 169, 313 ], "spans": [ { "bbox": [ 109, 302, 169, 313 ], "score": 1.0, "content": "{% endif %}", "type": "text" } ], "index": 13 } ], "index": 12.5, "bbox_fs": [ 108, 291, 343, 313 ] }, { "type": "title", "bbox": [ 108, 345, 260, 357 ], "lines": [ { "bbox": [ 106, 344, 262, 358 ], "spans": [ { "bbox": [ 106, 344, 262, 358 ], "score": 1.0, "content": "C.2.5 RELATION CLASSIFICATION", "type": "text" } ], "index": 14 } ], "index": 14 }, { "type": "text", "bbox": [ 106, 369, 505, 446 ], "lines": [ { "bbox": [ 105, 369, 505, 381 ], "spans": [ { "bbox": [ 105, 369, 505, 381 ], "score": 1.0, "content": "Relation classification is a fundamental task in information extraction, which identifies the relation-", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 380, 506, 393 ], "spans": [ { "bbox": [ 106, 380, 506, 393 ], "score": 1.0, "content": "ships from a list of candidates between two given entities. The problem is a long standing one as it", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 391, 505, 403 ], "spans": [ { "bbox": [ 105, 391, 505, 403 ], "score": 1.0, "content": "suffers from outrageous cost of data labeling, since manual labeling on knowledge-intensive tasks", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 402, 506, 414 ], "spans": [ { "bbox": [ 105, 402, 506, 414 ], "score": 1.0, "content": "requires educated annotators that charges high. A de facto data creation method in relation extrac-", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 413, 506, 426 ], "spans": [ { "bbox": [ 106, 413, 506, 426 ], "score": 1.0, "content": "tion relies on distant supervision, which aligns existing knowledge triples in knowledge bases to text", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 425, 505, 436 ], "spans": [ { "bbox": [ 106, 425, 505, 436 ], "score": 1.0, "content": "contents automatically, and assume that such alignments are correct in certain conditions. Here we", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 435, 488, 447 ], "spans": [ { "bbox": [ 106, 435, 488, 447 ], "score": 1.0, "content": "only include TacRED (Zhang et al., 2017) dataset and create several different tasks based on it.", "type": "text" } ], "index": 21 } ], "index": 18, "bbox_fs": [ 105, 369, 506, 447 ] }, { "type": "text", "bbox": [ 107, 452, 506, 486 ], "lines": [ { "bbox": [ 106, 451, 505, 464 ], "spans": [ { "bbox": [ 106, 451, 505, 464 ], "score": 1.0, "content": "• Relation Classification: the most traditional task formulation. Given two entities from text and", "type": "text" } ], "index": 22 }, { "bbox": [ 114, 463, 505, 475 ], "spans": [ { "bbox": [ 114, 463, 505, 475 ], "score": 1.0, "content": "classify their relation from a list of candidates. The form can be either answering the relation", "type": "text" } ], "index": 23 }, { "bbox": [ 114, 473, 371, 486 ], "spans": [ { "bbox": [ 114, 473, 371, 486 ], "score": 1.0, "content": "directly or in the form of a triple (similar to relation extraction).", "type": "text" } ], "index": 24 } ], "index": 23, "bbox_fs": [ 106, 451, 505, 486 ] }, { "type": "text", "bbox": [ 106, 487, 503, 510 ], "lines": [ { "bbox": [ 105, 485, 505, 499 ], "spans": [ { "bbox": [ 105, 485, 505, 499 ], "score": 1.0, "content": "• Knowledge Slot Filling: change the task into given head entity and relation, to identify whether", "type": "text" } ], "index": 25 }, { "bbox": [ 113, 496, 362, 512 ], "spans": [ { "bbox": [ 113, 496, 362, 512 ], "score": 1.0, "content": "the tail entity exists in the input text. If not, generate nothing.", "type": "text" } ], "index": 26 } ], "index": 25.5, "bbox_fs": [ 105, 485, 505, 512 ] }, { "type": "text", "bbox": [ 107, 511, 505, 556 ], "lines": [ { "bbox": [ 105, 509, 505, 523 ], "spans": [ { "bbox": [ 105, 509, 505, 523 ], "score": 1.0, "content": "• Yes or No Question: turn the problem into a task similar to natural language inference. For", "type": "text" } ], "index": 27 }, { "bbox": [ 114, 522, 505, 534 ], "spans": [ { "bbox": [ 114, 522, 505, 534 ], "score": 1.0, "content": "example, given the sentence “The series focuses on the life of Carnie Wilson, daughter of Brian", "type": "text" } ], "index": 28 }, { "bbox": [ 115, 533, 505, 545 ], "spans": [ { "bbox": [ 115, 533, 505, 545 ], "score": 1.0, "content": "Wilson, founder of the Beach Boys.”, the model will be asked to judge the correctness of a triple", "type": "text" } ], "index": 29 }, { "bbox": [ 114, 543, 474, 556 ], "spans": [ { "bbox": [ 114, 543, 474, 556 ], "score": 1.0, "content": "such as Carnie Wilson, father, Brian Wilson by answering “yes” or “no”.", "type": "text" } ], "index": 30 } ], "index": 28.5, "bbox_fs": [ 105, 509, 505, 556 ] }, { "type": "title", "bbox": [ 110, 573, 258, 585 ], "lines": [ { "bbox": [ 108, 571, 259, 586 ], "spans": [ { "bbox": [ 108, 571, 259, 586 ], "score": 1.0, "content": "(Relation Classification, Prompt 0)", "type": "text" } ], "index": 31 } ], "index": 31 }, { "type": "text", "bbox": [ 109, 591, 347, 610 ], "lines": [ { "bbox": [ 109, 590, 300, 602 ], "spans": [ { "bbox": [ 109, 590, 300, 602 ], "score": 1.0, "content": "{% if entity_types.__len__() > 0 %}", "type": "text" } ], "index": 32 }, { "bbox": [ 107, 596, 349, 613 ], "spans": [ { "bbox": [ 107, 596, 349, 613 ], "score": 1.0, "content": "Given the following categories of relations:", "type": "text" } ], "index": 33 } ], "index": 32.5, "bbox_fs": [ 107, 590, 349, 613 ] }, { "type": "text", "bbox": [ 110, 620, 411, 631 ], "lines": [ { "bbox": [ 109, 619, 414, 632 ], "spans": [ { "bbox": [ 109, 619, 414, 632 ], "score": 1.0, "content": "- {{shuffle(allowed_relations.values()) | join(\"\\n- \")}}", "type": "text" } ], "index": 34 } ], "index": 34, "bbox_fs": [ 109, 619, 414, 632 ] }, { "type": "text", "bbox": [ 108, 640, 497, 660 ], "lines": [ { "bbox": [ 107, 639, 500, 651 ], "spans": [ { "bbox": [ 107, 639, 500, 651 ], "score": 1.0, "content": "predict the relation between \"{{relations[0]['head']}}\" and \"{{relations", "type": "text" } ], "index": 35 }, { "bbox": [ 108, 649, 332, 662 ], "spans": [ { "bbox": [ 108, 649, 332, 662 ], "score": 1.0, "content": "[0]['tail']}}\" in the following sentence:", "type": "text" } ], "index": 36 } ], "index": 35.5, "bbox_fs": [ 107, 639, 500, 662 ] }, { "type": "text", "bbox": [ 111, 670, 153, 680 ], "lines": [ { "bbox": [ 110, 669, 154, 681 ], "spans": [ { "bbox": [ 110, 669, 154, 681 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 37 } ], "index": 37, "bbox_fs": [ 110, 669, 154, 681 ] }, { "type": "list", "bbox": [ 110, 690, 495, 720 ], "lines": [ { "bbox": [ 108, 687, 496, 701 ], "spans": [ { "bbox": [ 108, 687, 496, 701 ], "score": 1.0, "content": "The relation should be : ||| {{allowed_relations[relations[0]['relation", "type": "text" } ], "index": 38, "is_list_start_line": true }, { "bbox": [ 108, 696, 141, 713 ], "spans": [ { "bbox": [ 108, 696, 141, 713 ], "score": 1.0, "content": "']]}}", "type": "text" } ], "index": 39, "is_list_start_line": true }, { "bbox": [ 108, 708, 172, 722 ], "spans": [ { "bbox": [ 108, 708, 172, 722 ], "score": 1.0, "content": "{% endif %}", "type": "text" } ], "index": 40, "is_list_start_line": true } ], "index": 39, "bbox_fs": [ 108, 687, 496, 722 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 109, 82, 258, 93 ], "lines": [ { "bbox": [ 109, 81, 259, 94 ], "spans": [ { "bbox": [ 109, 81, 259, 94 ], "score": 1.0, "content": "(Relation Classification, Prompt 1)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 110, 100, 478, 119 ], "lines": [ { "bbox": [ 109, 99, 479, 111 ], "spans": [ { "bbox": [ 109, 99, 479, 111 ], "score": 1.0, "content": "1. (Relation Extraction) Answer the relation between entities in the", "type": "text" } ], "index": 1 }, { "bbox": [ 109, 108, 240, 120 ], "spans": [ { "bbox": [ 109, 108, 240, 120 ], "score": 1.0, "content": "form of \"( X ; Y ; Z )\":", "type": "text" } ], "index": 2 } ], "index": 1.5 }, { "type": "text", "bbox": [ 111, 129, 153, 140 ], "lines": [ { "bbox": [ 109, 127, 154, 141 ], "spans": [ { "bbox": [ 109, 127, 154, 141 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 3 } ], "index": 3 }, { "type": "text", "bbox": [ 110, 149, 480, 180 ], "lines": [ { "bbox": [ 108, 147, 482, 161 ], "spans": [ { "bbox": [ 108, 147, 482, 161 ], "score": 1.0, "content": "The relation between \"{{relations[0]['head']}}\" and \"{{relations[0]['", "type": "text" } ], "index": 4 }, { "bbox": [ 109, 159, 474, 170 ], "spans": [ { "bbox": [ 109, 159, 474, 170 ], "score": 1.0, "content": "tail']}}\" is: ||| ( {{relations[0]['head']}} ; {{allowed_relations[", "type": "text" } ], "index": 5 }, { "bbox": [ 108, 168, 414, 181 ], "spans": [ { "bbox": [ 108, 168, 414, 181 ], "score": 1.0, "content": "relations[0]['relation']]}} ; {{relations[0]['tail']}} )", "type": "text" } ], "index": 6 } ], "index": 5 }, { "type": "title", "bbox": [ 110, 200, 260, 212 ], "lines": [ { "bbox": [ 109, 199, 261, 213 ], "spans": [ { "bbox": [ 109, 199, 261, 213 ], "score": 1.0, "content": "(Knowledge Slot Filling, Prompt 0)", "type": "text" } ], "index": 7 } ], "index": 7 }, { "type": "text", "bbox": [ 109, 217, 490, 237 ], "lines": [ { "bbox": [ 108, 217, 491, 229 ], "spans": [ { "bbox": [ 108, 217, 491, 229 ], "score": 1.0, "content": "Based on the sentence provided below, infer the missing argument asked", "type": "text" } ], "index": 8 }, { "bbox": [ 108, 227, 198, 238 ], "spans": [ { "bbox": [ 108, 227, 198, 238 ], "score": 1.0, "content": "by the question:", "type": "text" } ], "index": 9 } ], "index": 8.5 }, { "type": "text", "bbox": [ 111, 247, 153, 257 ], "lines": [ { "bbox": [ 109, 246, 154, 258 ], "spans": [ { "bbox": [ 109, 246, 154, 258 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 10 } ], "index": 10 }, { "type": "text", "bbox": [ 109, 267, 418, 288 ], "lines": [ { "bbox": [ 107, 265, 419, 280 ], "spans": [ { "bbox": [ 107, 265, 419, 280 ], "score": 1.0, "content": "Question: What/Who/Where is \"{{relations[0]['head']}}\" {{", "type": "text" } ], "index": 11 }, { "bbox": [ 108, 275, 365, 287 ], "spans": [ { "bbox": [ 108, 275, 365, 287 ], "score": 1.0, "content": "allowed_relations[relations[0]['relation']]}} ?", "type": "text" } ], "index": 12 } ], "index": 11.5 }, { "type": "text", "bbox": [ 110, 297, 304, 308 ], "lines": [ { "bbox": [ 108, 295, 305, 308 ], "spans": [ { "bbox": [ 108, 295, 305, 308 ], "score": 1.0, "content": "Answer: ||| {{relations[0]['tail']}}", "type": "text" } ], "index": 13 } ], "index": 13 }, { "type": "title", "bbox": [ 108, 333, 262, 345 ], "lines": [ { "bbox": [ 106, 333, 263, 345 ], "spans": [ { "bbox": [ 106, 333, 263, 345 ], "score": 1.0, "content": "C.2.6 SEMANTIC ROLE LABELING", "type": "text" } ], "index": 14 } ], "index": 14 }, { "type": "text", "bbox": [ 106, 354, 506, 399 ], "lines": [ { "bbox": [ 106, 353, 506, 367 ], "spans": [ { "bbox": [ 106, 353, 506, 367 ], "score": 1.0, "content": "Semantic role labeling is a long-standing information task that wants to identify the semantic argu-", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 366, 506, 378 ], "spans": [ { "bbox": [ 106, 366, 506, 378 ], "score": 1.0, "content": "ments related to a given predicate in a sentence. For example, in the sentence “Grant was employed", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 377, 505, 389 ], "spans": [ { "bbox": [ 105, 377, 505, 389 ], "score": 1.0, "content": "at IBM for 21 years where she held several executive positions.” and the predicate “employed” in", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 388, 471, 400 ], "spans": [ { "bbox": [ 106, 388, 471, 400 ], "score": 1.0, "content": "it, semantic role labeling identifies the Grant as the subject and IBM as the second object.", "type": "text" } ], "index": 18 } ], "index": 16.5 }, { "type": "text", "bbox": [ 107, 404, 503, 427 ], "lines": [ { "bbox": [ 106, 404, 506, 417 ], "spans": [ { "bbox": [ 106, 404, 506, 417 ], "score": 1.0, "content": "We create two different tasks based on semantic role labelling datasets CoNLL05 (Carreras &", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 415, 462, 428 ], "spans": [ { "bbox": [ 106, 415, 462, 428 ], "score": 1.0, "content": "Màrquez, 2005), CoNLL12 (Pradhan et al., 2013), and PropBank (Kingsbury & Palmer).", "type": "text" } ], "index": 20 } ], "index": 19.5 }, { "type": "text", "bbox": [ 106, 432, 506, 503 ], "lines": [ { "bbox": [ 106, 432, 505, 444 ], "spans": [ { "bbox": [ 106, 432, 505, 444 ], "score": 1.0, "content": "• Semantic Role Labeling: the traditional task form, where a verb (i.e., predicate) is annotated in", "type": "text" } ], "index": 21 }, { "bbox": [ 113, 443, 363, 455 ], "spans": [ { "bbox": [ 113, 443, 363, 455 ], "score": 1.0, "content": "text and the model is asked to generate related semantic roles.", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 455, 505, 470 ], "spans": [ { "bbox": [ 105, 455, 505, 470 ], "score": 1.0, "content": "• Semantic Role Filling: given a verb and and a potential semantic role, the model is asked to judge", "type": "text" } ], "index": 23 }, { "bbox": [ 113, 468, 333, 480 ], "spans": [ { "bbox": [ 113, 468, 333, 480 ], "score": 1.0, "content": "whether the role exists in the sentence and generate it.", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 478, 505, 495 ], "spans": [ { "bbox": [ 105, 478, 505, 495 ], "score": 1.0, "content": "• Predicate Recognition: given a segment of a sentence and its corresponding semantic role, iden-", "type": "text" } ], "index": 25 }, { "bbox": [ 114, 491, 237, 503 ], "spans": [ { "bbox": [ 114, 491, 237, 503 ], "score": 1.0, "content": "tify which verb it is related to.", "type": "text" } ], "index": 26 } ], "index": 23.5 }, { "type": "title", "bbox": [ 110, 515, 263, 527 ], "lines": [ { "bbox": [ 109, 514, 265, 528 ], "spans": [ { "bbox": [ 109, 514, 265, 528 ], "score": 1.0, "content": "(Semantic Role Labeling, Prompt 0)", "type": "text" } ], "index": 27 } ], "index": 27 }, { "type": "text", "bbox": [ 109, 532, 495, 553 ], "lines": [ { "bbox": [ 109, 531, 495, 543 ], "spans": [ { "bbox": [ 109, 531, 495, 543 ], "score": 1.0, "content": "Provided with the target verb \"{{verb}}\" marked with \"[\" and \"]\" in the", "type": "text" } ], "index": 28 }, { "bbox": [ 108, 541, 451, 554 ], "spans": [ { "bbox": [ 108, 541, 451, 554 ], "score": 1.0, "content": "following sentence, find out its \"{{allowed_types[type_idx]}}\":", "type": "text" } ], "index": 29 } ], "index": 28.5 }, { "type": "text", "bbox": [ 110, 562, 493, 583 ], "lines": [ { "bbox": [ 110, 561, 495, 574 ], "spans": [ { "bbox": [ 110, 561, 156, 574 ], "score": 1.0, "content": "{{text}}", "type": "text" }, { "bbox": [ 156, 563, 171, 571 ], "score": 0.74, "content": "= >", "type": "inline_equation" }, { "bbox": [ 171, 561, 495, 574 ], "score": 1.0, "content": "||| {% for entity, type in zip(entities, entity_types) %}{%", "type": "text" } ], "index": 30 }, { "bbox": [ 109, 570, 490, 584 ], "spans": [ { "bbox": [ 109, 570, 150, 584 ], "score": 1.0, "content": "if type", "type": "text" }, { "bbox": [ 151, 573, 166, 582 ], "score": 0.82, "content": "= =", "type": "inline_equation" }, { "bbox": [ 167, 570, 490, 584 ], "score": 1.0, "content": "allowed_types[type_idx] %}{{entity}}{% endif %}{% endfor %}", "type": "text" } ], "index": 31 } ], "index": 30.5 }, { "type": "title", "bbox": [ 110, 603, 254, 615 ], "lines": [ { "bbox": [ 109, 601, 255, 616 ], "spans": [ { "bbox": [ 109, 601, 255, 616 ], "score": 1.0, "content": "(Semantic Role Filling, Prompt 0)", "type": "text" } ], "index": 32 } ], "index": 32 }, { "type": "text", "bbox": [ 109, 620, 342, 631 ], "lines": [ { "bbox": [ 108, 619, 343, 631 ], "spans": [ { "bbox": [ 108, 619, 343, 631 ], "score": 1.0, "content": "Given the following list of argument types:", "type": "text" } ], "index": 33 } ], "index": 33 }, { "type": "text", "bbox": [ 110, 640, 293, 651 ], "lines": [ { "bbox": [ 110, 639, 295, 652 ], "spans": [ { "bbox": [ 110, 640, 128, 650 ], "score": 0.49, "content": "\\begin{array} { r l } { \\mathrm { ~ Z ~ } } & { { } = } \\end{array}", "type": "inline_equation" }, { "bbox": [ 128, 639, 295, 652 ], "score": 1.0, "content": "{{allowed_types | join(\", \")}}", "type": "text" } ], "index": 34 } ], "index": 34 }, { "type": "text", "bbox": [ 109, 660, 498, 690 ], "lines": [ { "bbox": [ 108, 658, 468, 671 ], "spans": [ { "bbox": [ 108, 658, 468, 671 ], "score": 1.0, "content": "find out all arguments related to verb \"{{verb}}\" mentioned in the", "type": "text" } ], "index": 35 }, { "bbox": [ 109, 669, 500, 681 ], "spans": [ { "bbox": [ 109, 669, 500, 681 ], "score": 1.0, "content": "following sentence from left to right, in the form of \"( X ; instance of", "type": "text" } ], "index": 36 }, { "bbox": [ 110, 679, 153, 691 ], "spans": [ { "bbox": [ 110, 679, 153, 691 ], "score": 1.0, "content": "; Z )\".", "type": "text" } ], "index": 37 } ], "index": 36 }, { "type": "text", "bbox": [ 110, 700, 489, 721 ], "lines": [ { "bbox": [ 110, 698, 490, 712 ], "spans": [ { "bbox": [ 110, 700, 191, 710 ], "score": 0.27, "content": "\\begin{array}{c} \\{ \\ \\begin{array} { c } { { \\mathrm { ~ ( ~ t ~ e ~ x t ~ ) ~ } \\} } \\end{array} \\} \\begin{array} { = } { > } \\end{array} \\begin{array} { | } { | \\ | } \\end{array} \\begin{array} { } \\end{array} } \\end{array}", "type": "inline_equation" }, { "bbox": [ 191, 698, 490, 712 ], "score": 1.0, "content": "{% for entity, type in zip(entities, entity_types) %}(", "type": "text" } ], "index": 38 }, { "bbox": [ 109, 708, 392, 722 ], "spans": [ { "bbox": [ 109, 708, 392, 722 ], "score": 1.0, "content": "{{entity}} ; argument type ; {{type}} ) {% endfor %}", "type": "text" } ], "index": 39 } ], "index": 38.5 } ], "page_idx": 37, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 26, 293, 38 ], "lines": [ { "bbox": [ 106, 25, 293, 39 ], "spans": [ { "bbox": [ 106, 25, 293, 39 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 763 ], "spans": [ { "bbox": [ 298, 750, 313, 763 ], "score": 1.0, "content": "38", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 109, 82, 258, 93 ], "lines": [ { "bbox": [ 109, 81, 259, 94 ], "spans": [ { "bbox": [ 109, 81, 259, 94 ], "score": 1.0, "content": "(Relation Classification, Prompt 1)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 110, 100, 478, 119 ], "lines": [ { "bbox": [ 109, 99, 479, 111 ], "spans": [ { "bbox": [ 109, 99, 479, 111 ], "score": 1.0, "content": "1. (Relation Extraction) Answer the relation between entities in the", "type": "text" } ], "index": 1 }, { "bbox": [ 109, 108, 240, 120 ], "spans": [ { "bbox": [ 109, 108, 240, 120 ], "score": 1.0, "content": "form of \"( X ; Y ; Z )\":", "type": "text" } ], "index": 2 } ], "index": 1.5, "bbox_fs": [ 109, 99, 479, 120 ] }, { "type": "text", "bbox": [ 111, 129, 153, 140 ], "lines": [ { "bbox": [ 109, 127, 154, 141 ], "spans": [ { "bbox": [ 109, 127, 154, 141 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 3 } ], "index": 3, "bbox_fs": [ 109, 127, 154, 141 ] }, { "type": "text", "bbox": [ 110, 149, 480, 180 ], "lines": [ { "bbox": [ 108, 147, 482, 161 ], "spans": [ { "bbox": [ 108, 147, 482, 161 ], "score": 1.0, "content": "The relation between \"{{relations[0]['head']}}\" and \"{{relations[0]['", "type": "text" } ], "index": 4 }, { "bbox": [ 109, 159, 474, 170 ], "spans": [ { "bbox": [ 109, 159, 474, 170 ], "score": 1.0, "content": "tail']}}\" is: ||| ( {{relations[0]['head']}} ; {{allowed_relations[", "type": "text" } ], "index": 5 }, { "bbox": [ 108, 168, 414, 181 ], "spans": [ { "bbox": [ 108, 168, 414, 181 ], "score": 1.0, "content": "relations[0]['relation']]}} ; {{relations[0]['tail']}} )", "type": "text" } ], "index": 6 } ], "index": 5, "bbox_fs": [ 108, 147, 482, 181 ] }, { "type": "title", "bbox": [ 110, 200, 260, 212 ], "lines": [ { "bbox": [ 109, 199, 261, 213 ], "spans": [ { "bbox": [ 109, 199, 261, 213 ], "score": 1.0, "content": "(Knowledge Slot Filling, Prompt 0)", "type": "text" } ], "index": 7 } ], "index": 7 }, { "type": "text", "bbox": [ 109, 217, 490, 237 ], "lines": [ { "bbox": [ 108, 217, 491, 229 ], "spans": [ { "bbox": [ 108, 217, 491, 229 ], "score": 1.0, "content": "Based on the sentence provided below, infer the missing argument asked", "type": "text" } ], "index": 8 }, { "bbox": [ 108, 227, 198, 238 ], "spans": [ { "bbox": [ 108, 227, 198, 238 ], "score": 1.0, "content": "by the question:", "type": "text" } ], "index": 9 } ], "index": 8.5, "bbox_fs": [ 108, 217, 491, 238 ] }, { "type": "text", "bbox": [ 111, 247, 153, 257 ], "lines": [ { "bbox": [ 109, 246, 154, 258 ], "spans": [ { "bbox": [ 109, 246, 154, 258 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 10 } ], "index": 10, "bbox_fs": [ 109, 246, 154, 258 ] }, { "type": "text", "bbox": [ 109, 267, 418, 288 ], "lines": [ { "bbox": [ 107, 265, 419, 280 ], "spans": [ { "bbox": [ 107, 265, 419, 280 ], "score": 1.0, "content": "Question: What/Who/Where is \"{{relations[0]['head']}}\" {{", "type": "text" } ], "index": 11 }, { "bbox": [ 108, 275, 365, 287 ], "spans": [ { "bbox": [ 108, 275, 365, 287 ], "score": 1.0, "content": "allowed_relations[relations[0]['relation']]}} ?", "type": "text" } ], "index": 12 } ], "index": 11.5, "bbox_fs": [ 107, 265, 419, 287 ] }, { "type": "text", "bbox": [ 110, 297, 304, 308 ], "lines": [ { "bbox": [ 108, 295, 305, 308 ], "spans": [ { "bbox": [ 108, 295, 305, 308 ], "score": 1.0, "content": "Answer: ||| {{relations[0]['tail']}}", "type": "text" } ], "index": 13 } ], "index": 13, "bbox_fs": [ 108, 295, 305, 308 ] }, { "type": "title", "bbox": [ 108, 333, 262, 345 ], "lines": [ { "bbox": [ 106, 333, 263, 345 ], "spans": [ { "bbox": [ 106, 333, 263, 345 ], "score": 1.0, "content": "C.2.6 SEMANTIC ROLE LABELING", "type": "text" } ], "index": 14 } ], "index": 14 }, { "type": "text", "bbox": [ 106, 354, 506, 399 ], "lines": [ { "bbox": [ 106, 353, 506, 367 ], "spans": [ { "bbox": [ 106, 353, 506, 367 ], "score": 1.0, "content": "Semantic role labeling is a long-standing information task that wants to identify the semantic argu-", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 366, 506, 378 ], "spans": [ { "bbox": [ 106, 366, 506, 378 ], "score": 1.0, "content": "ments related to a given predicate in a sentence. For example, in the sentence “Grant was employed", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 377, 505, 389 ], "spans": [ { "bbox": [ 105, 377, 505, 389 ], "score": 1.0, "content": "at IBM for 21 years where she held several executive positions.” and the predicate “employed” in", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 388, 471, 400 ], "spans": [ { "bbox": [ 106, 388, 471, 400 ], "score": 1.0, "content": "it, semantic role labeling identifies the Grant as the subject and IBM as the second object.", "type": "text" } ], "index": 18 } ], "index": 16.5, "bbox_fs": [ 105, 353, 506, 400 ] }, { "type": "text", "bbox": [ 107, 404, 503, 427 ], "lines": [ { "bbox": [ 106, 404, 506, 417 ], "spans": [ { "bbox": [ 106, 404, 506, 417 ], "score": 1.0, "content": "We create two different tasks based on semantic role labelling datasets CoNLL05 (Carreras &", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 415, 462, 428 ], "spans": [ { "bbox": [ 106, 415, 462, 428 ], "score": 1.0, "content": "Màrquez, 2005), CoNLL12 (Pradhan et al., 2013), and PropBank (Kingsbury & Palmer).", "type": "text" } ], "index": 20 } ], "index": 19.5, "bbox_fs": [ 106, 404, 506, 428 ] }, { "type": "list", "bbox": [ 106, 432, 506, 503 ], "lines": [ { "bbox": [ 106, 432, 505, 444 ], "spans": [ { "bbox": [ 106, 432, 505, 444 ], "score": 1.0, "content": "• Semantic Role Labeling: the traditional task form, where a verb (i.e., predicate) is annotated in", "type": "text" } ], "index": 21, "is_list_start_line": true }, { "bbox": [ 113, 443, 363, 455 ], "spans": [ { "bbox": [ 113, 443, 363, 455 ], "score": 1.0, "content": "text and the model is asked to generate related semantic roles.", "type": "text" } ], "index": 22, "is_list_end_line": true }, { "bbox": [ 105, 455, 505, 470 ], "spans": [ { "bbox": [ 105, 455, 505, 470 ], "score": 1.0, "content": "• Semantic Role Filling: given a verb and and a potential semantic role, the model is asked to judge", "type": "text" } ], "index": 23, "is_list_start_line": true }, { "bbox": [ 113, 468, 333, 480 ], "spans": [ { "bbox": [ 113, 468, 333, 480 ], "score": 1.0, "content": "whether the role exists in the sentence and generate it.", "type": "text" } ], "index": 24, "is_list_end_line": true }, { "bbox": [ 105, 478, 505, 495 ], "spans": [ { "bbox": [ 105, 478, 505, 495 ], "score": 1.0, "content": "• Predicate Recognition: given a segment of a sentence and its corresponding semantic role, iden-", "type": "text" } ], "index": 25, "is_list_start_line": true }, { "bbox": [ 114, 491, 237, 503 ], "spans": [ { "bbox": [ 114, 491, 237, 503 ], "score": 1.0, "content": "tify which verb it is related to.", "type": "text" } ], "index": 26, "is_list_end_line": true } ], "index": 23.5, "bbox_fs": [ 105, 432, 505, 503 ] }, { "type": "title", "bbox": [ 110, 515, 263, 527 ], "lines": [ { "bbox": [ 109, 514, 265, 528 ], "spans": [ { "bbox": [ 109, 514, 265, 528 ], "score": 1.0, "content": "(Semantic Role Labeling, Prompt 0)", "type": "text" } ], "index": 27 } ], "index": 27 }, { "type": "text", "bbox": [ 109, 532, 495, 553 ], "lines": [ { "bbox": [ 109, 531, 495, 543 ], "spans": [ { "bbox": [ 109, 531, 495, 543 ], "score": 1.0, "content": "Provided with the target verb \"{{verb}}\" marked with \"[\" and \"]\" in the", "type": "text" } ], "index": 28 }, { "bbox": [ 108, 541, 451, 554 ], "spans": [ { "bbox": [ 108, 541, 451, 554 ], "score": 1.0, "content": "following sentence, find out its \"{{allowed_types[type_idx]}}\":", "type": "text" } ], "index": 29 } ], "index": 28.5, "bbox_fs": [ 108, 531, 495, 554 ] }, { "type": "text", "bbox": [ 110, 562, 493, 583 ], "lines": [ { "bbox": [ 110, 561, 495, 574 ], "spans": [ { "bbox": [ 110, 561, 156, 574 ], "score": 1.0, "content": "{{text}}", "type": "text" }, { "bbox": [ 156, 563, 171, 571 ], "score": 0.74, "content": "= >", "type": "inline_equation" }, { "bbox": [ 171, 561, 495, 574 ], "score": 1.0, "content": "||| {% for entity, type in zip(entities, entity_types) %}{%", "type": "text" } ], "index": 30 }, { "bbox": [ 109, 570, 490, 584 ], "spans": [ { "bbox": [ 109, 570, 150, 584 ], "score": 1.0, "content": "if type", "type": "text" }, { "bbox": [ 151, 573, 166, 582 ], "score": 0.82, "content": "= =", "type": "inline_equation" }, { "bbox": [ 167, 570, 490, 584 ], "score": 1.0, "content": "allowed_types[type_idx] %}{{entity}}{% endif %}{% endfor %}", "type": "text" } ], "index": 31 } ], "index": 30.5, "bbox_fs": [ 109, 561, 495, 584 ] }, { "type": "title", "bbox": [ 110, 603, 254, 615 ], "lines": [ { "bbox": [ 109, 601, 255, 616 ], "spans": [ { "bbox": [ 109, 601, 255, 616 ], "score": 1.0, "content": "(Semantic Role Filling, Prompt 0)", "type": "text" } ], "index": 32 } ], "index": 32 }, { "type": "text", "bbox": [ 109, 620, 342, 631 ], "lines": [ { "bbox": [ 108, 619, 343, 631 ], "spans": [ { "bbox": [ 108, 619, 343, 631 ], "score": 1.0, "content": "Given the following list of argument types:", "type": "text" } ], "index": 33 } ], "index": 33, "bbox_fs": [ 108, 619, 343, 631 ] }, { "type": "text", "bbox": [ 110, 640, 293, 651 ], "lines": [ { "bbox": [ 110, 639, 295, 652 ], "spans": [ { "bbox": [ 110, 640, 128, 650 ], "score": 0.49, "content": "\\begin{array} { r l } { \\mathrm { ~ Z ~ } } & { { } = } \\end{array}", "type": "inline_equation" }, { "bbox": [ 128, 639, 295, 652 ], "score": 1.0, "content": "{{allowed_types | join(\", \")}}", "type": "text" } ], "index": 34 } ], "index": 34, "bbox_fs": [ 110, 639, 295, 652 ] }, { "type": "text", "bbox": [ 109, 660, 498, 690 ], "lines": [ { "bbox": [ 108, 658, 468, 671 ], "spans": [ { "bbox": [ 108, 658, 468, 671 ], "score": 1.0, "content": "find out all arguments related to verb \"{{verb}}\" mentioned in the", "type": "text" } ], "index": 35 }, { "bbox": [ 109, 669, 500, 681 ], "spans": [ { "bbox": [ 109, 669, 500, 681 ], "score": 1.0, "content": "following sentence from left to right, in the form of \"( X ; instance of", "type": "text" } ], "index": 36 }, { "bbox": [ 110, 679, 153, 691 ], "spans": [ { "bbox": [ 110, 679, 153, 691 ], "score": 1.0, "content": "; Z )\".", "type": "text" } ], "index": 37 } ], "index": 36, "bbox_fs": [ 108, 658, 500, 691 ] }, { "type": "text", "bbox": [ 110, 700, 489, 721 ], "lines": [ { "bbox": [ 110, 698, 490, 712 ], "spans": [ { "bbox": [ 110, 700, 191, 710 ], "score": 0.27, "content": "\\begin{array}{c} \\{ \\ \\begin{array} { c } { { \\mathrm { ~ ( ~ t ~ e ~ x t ~ ) ~ } \\} } \\end{array} \\} \\begin{array} { = } { > } \\end{array} \\begin{array} { | } { | \\ | } \\end{array} \\begin{array} { } \\end{array} } \\end{array}", "type": "inline_equation" }, { "bbox": [ 191, 698, 490, 712 ], "score": 1.0, "content": "{% for entity, type in zip(entities, entity_types) %}(", "type": "text" } ], "index": 38 }, { "bbox": [ 109, 708, 392, 722 ], "spans": [ { "bbox": [ 109, 708, 392, 722 ], "score": 1.0, "content": "{{entity}} ; argument type ; {{type}} ) {% endfor %}", "type": "text" } ], "index": 39 } ], "index": 38.5, "bbox_fs": [ 109, 698, 490, 722 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 110, 82, 256, 94 ], "lines": [ { "bbox": [ 109, 81, 257, 95 ], "spans": [ { "bbox": [ 109, 81, 257, 95 ], "score": 1.0, "content": "(Predicate Recognition, Prompt 0)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 109, 100, 165, 109 ], "lines": [ { "bbox": [ 108, 99, 167, 109 ], "spans": [ { "bbox": [ 108, 99, 167, 109 ], "score": 1.0, "content": "FINAL EXAM", "type": "text" } ], "index": 1 } ], "index": 1 }, { "type": "text", "bbox": [ 109, 119, 500, 149 ], "lines": [ { "bbox": [ 108, 118, 441, 131 ], "spans": [ { "bbox": [ 108, 118, 441, 131 ], "score": 1.0, "content": "1. Based on the fact that \"{{entities[entity_idx]}}\" is a \"{{", "type": "text" } ], "index": 2 }, { "bbox": [ 108, 129, 501, 140 ], "spans": [ { "bbox": [ 108, 129, 501, 140 ], "score": 1.0, "content": "entity_types[entity_idx]}}\", which verb in the following sentence should", "type": "text" } ], "index": 3 }, { "bbox": [ 113, 138, 193, 149 ], "spans": [ { "bbox": [ 113, 138, 193, 149 ], "score": 1.0, "content": "it related to?", "type": "text" } ], "index": 4 } ], "index": 3 }, { "type": "text", "bbox": [ 111, 159, 153, 169 ], "lines": [ { "bbox": [ 110, 158, 154, 170 ], "spans": [ { "bbox": [ 110, 158, 154, 170 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 5 } ], "index": 5 }, { "type": "text", "bbox": [ 109, 179, 217, 190 ], "lines": [ { "bbox": [ 109, 178, 218, 190 ], "spans": [ { "bbox": [ 109, 178, 218, 190 ], "score": 1.0, "content": "Answer: ||| {{verb}}", "type": "text" } ], "index": 6 } ], "index": 6 }, { "type": "text", "bbox": [ 108, 211, 406, 223 ], "lines": [ { "bbox": [ 106, 211, 407, 225 ], "spans": [ { "bbox": [ 106, 211, 407, 225 ], "score": 1.0, "content": "C.3 RESULT SOURCES FOR GPT-3, BLOOM-176B, AND OPT-175B", "type": "text" } ], "index": 7 } ], "index": 7 }, { "type": "text", "bbox": [ 107, 232, 505, 266 ], "lines": [ { "bbox": [ 105, 232, 505, 245 ], "spans": [ { "bbox": [ 105, 232, 505, 245 ], "score": 1.0, "content": "Here we describe the result sources for GPT-3, BLOOM-176B, and OPT-175B. Other LLMs we", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 244, 506, 257 ], "spans": [ { "bbox": [ 105, 244, 506, 257 ], "score": 1.0, "content": "may compare are mostly completely closed-sourced; thus, their results are all taken from existing", "type": "text" } ], "index": 9 }, { "bbox": [ 104, 254, 390, 268 ], "spans": [ { "bbox": [ 104, 254, 390, 268 ], "score": 1.0, "content": "preprints, publications, or the results stored in BIG-bench repository10.", "type": "text" } ], "index": 10 } ], "index": 9 }, { "type": "text", "bbox": [ 107, 271, 504, 305 ], "lines": [ { "bbox": [ 106, 272, 505, 284 ], "spans": [ { "bbox": [ 106, 272, 505, 284 ], "score": 1.0, "content": "For GPT-3, while most of its results in this paper are taken from existing literature if not specified,", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 283, 505, 295 ], "spans": [ { "bbox": [ 106, 283, 505, 295 ], "score": 1.0, "content": "the rest were acquired via our own requesting OpenAI Danvici API are explicitly mentioned. For", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 293, 423, 306 ], "spans": [ { "bbox": [ 105, 293, 423, 306 ], "score": 1.0, "content": "BLOOM-176B and OPT-175B, if without specific annotation, their results are:", "type": "text" } ], "index": 13 } ], "index": 12 }, { "type": "text", "bbox": [ 106, 310, 437, 348 ], "lines": [ { "bbox": [ 105, 309, 307, 322 ], "spans": [ { "bbox": [ 105, 309, 307, 322 ], "score": 1.0, "content": "• Taken from the OPT paper (Zhang et al., 2022).", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 322, 389, 335 ], "spans": [ { "bbox": [ 105, 322, 389, 335 ], "score": 1.0, "content": "• Taken from the EAI-Eval BigScience Arch&Scale - Google Sheet11.", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 335, 434, 349 ], "spans": [ { "bbox": [ 106, 335, 429, 349 ], "score": 1.0, "content": "• Taken from BigScience evaluation results repository in Huggingface Datasets1", "type": "text" }, { "bbox": [ 421, 337, 434, 344 ], "score": 1.0, "content": "2", "type": "text" } ], "index": 16 } ], "index": 15 }, { "type": "text", "bbox": [ 106, 353, 502, 376 ], "lines": [ { "bbox": [ 106, 353, 504, 366 ], "spans": [ { "bbox": [ 106, 353, 504, 366 ], "score": 1.0, "content": "Specifically, we cannot evaluate OPT-175B by ourselves as we are still not officially granted the", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 365, 414, 376 ], "spans": [ { "bbox": [ 106, 365, 414, 376 ], "score": 1.0, "content": "checkpoint, though we have sent several applications in the past few months.", "type": "text" } ], "index": 18 } ], "index": 17.5 }, { "type": "title", "bbox": [ 108, 390, 254, 401 ], "lines": [ { "bbox": [ 106, 389, 256, 402 ], "spans": [ { "bbox": [ 106, 389, 256, 402 ], "score": 1.0, "content": "C.4 PILE TEST-SET EVALUATION", "type": "text" } ], "index": 19 } ], "index": 19 }, { "type": "text", "bbox": [ 107, 410, 309, 619 ], "lines": [ { "bbox": [ 106, 410, 310, 423 ], "spans": [ { "bbox": [ 106, 410, 310, 423 ], "score": 1.0, "content": "Pile evalution (Gao et al., 2020) is a comprehen-", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 422, 310, 433 ], "spans": [ { "bbox": [ 106, 422, 310, 433 ], "score": 1.0, "content": "sive language modeling benchmark which origi-", "type": "text" } ], "index": 23 }, { "bbox": [ 106, 433, 311, 444 ], "spans": [ { "bbox": [ 106, 433, 311, 444 ], "score": 1.0, "content": "nally includes 22 different text datasets from di-", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 444, 312, 456 ], "spans": [ { "bbox": [ 106, 444, 312, 456 ], "score": 1.0, "content": "verse domains. We report our results over a part of", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 454, 311, 466 ], "spans": [ { "bbox": [ 106, 454, 311, 466 ], "score": 1.0, "content": "18 datasets with previously reported baseline re-", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 465, 311, 477 ], "spans": [ { "bbox": [ 106, 465, 311, 477 ], "score": 1.0, "content": "sults (Lieber et al., 2021). Different from tradi-", "type": "text" } ], "index": 27 }, { "bbox": [ 106, 477, 311, 489 ], "spans": [ { "bbox": [ 106, 477, 311, 489 ], "score": 1.0, "content": "tional language modeling benchmarks, Pile evalu-", "type": "text" } ], "index": 28 }, { "bbox": [ 106, 487, 311, 500 ], "spans": [ { "bbox": [ 106, 487, 311, 500 ], "score": 1.0, "content": "ation report the BPB (bits-per-byte) perplexity to", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 498, 311, 510 ], "spans": [ { "bbox": [ 105, 498, 311, 510 ], "score": 1.0, "content": "avoid the mismatch comparison between models", "type": "text" } ], "index": 30 }, { "bbox": [ 106, 509, 311, 521 ], "spans": [ { "bbox": [ 106, 509, 311, 521 ], "score": 1.0, "content": "with different vocabularies. Because in general,", "type": "text" } ], "index": 31 }, { "bbox": [ 106, 521, 311, 532 ], "spans": [ { "bbox": [ 106, 521, 311, 532 ], "score": 1.0, "content": "language models with a larger vocabulary will be", "type": "text" } ], "index": 32 }, { "bbox": [ 106, 531, 311, 543 ], "spans": [ { "bbox": [ 106, 531, 311, 543 ], "score": 1.0, "content": "favored in perplexity comparison if not restricted.", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 542, 311, 555 ], "spans": [ { "bbox": [ 105, 542, 311, 555 ], "score": 1.0, "content": "In the evaluation, we strictly follow the setting", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 553, 311, 565 ], "spans": [ { "bbox": [ 105, 553, 311, 565 ], "score": 1.0, "content": "in (Gao et al., 2020), leveraging [gMASK] and", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 564, 311, 576 ], "spans": [ { "bbox": [ 105, 564, 311, 576 ], "score": 1.0, "content": "a context-length of 1,024 with bidirectional atten-", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 576, 311, 587 ], "spans": [ { "bbox": [ 106, 576, 311, 587 ], "score": 1.0, "content": "tion, and the rest 1024 tokens to calculate BPB in", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 586, 311, 599 ], "spans": [ { "bbox": [ 105, 586, 311, 599 ], "score": 1.0, "content": "an autoregressive manner. The weighted average", "type": "text" } ], "index": 38 }, { "bbox": [ 106, 597, 311, 608 ], "spans": [ { "bbox": [ 106, 597, 311, 608 ], "score": 1.0, "content": "BPB are calculated based on each shared dataset’s", "type": "text" } ], "index": 39 }, { "bbox": [ 106, 608, 277, 619 ], "spans": [ { "bbox": [ 106, 608, 277, 619 ], "score": 1.0, "content": "ratio in Pile training-set (Gao et al., 2020).", "type": "text" } ], "index": 40 } ], "index": 31 }, { "type": "table", "bbox": [ 320, 410, 507, 622 ], "blocks": [ { "type": "table_caption", "bbox": [ 317, 381, 505, 404 ], "group_id": 0, "lines": [ { "bbox": [ 317, 381, 505, 393 ], "spans": [ { "bbox": [ 317, 381, 505, 393 ], "score": 1.0, "content": "Table 13: GLM-130B and its similar-sized", "type": "text" } ], "index": 20 }, { "bbox": [ 317, 392, 463, 405 ], "spans": [ { "bbox": [ 317, 392, 463, 405 ], "score": 1.0, "content": "LLMs’ BPB results on Pile test-set.", "type": "text" } ], "index": 21 } ], "index": 20.5 }, { "type": "table_body", "bbox": [ 320, 410, 507, 622 ], "group_id": 0, "lines": [ { "bbox": [ 320, 410, 507, 622 ], "spans": [ { "bbox": [ 320, 410, 507, 622 ], "score": 0.98, "html": "
Jurassic-1 GPT-3 GLM-130B
dm_mathematics1.0401.3700.786
ubuntu_irc0.8570.9460.977
opensubtitles0.8790.9320.889
hackernews0.8690.9750.873
books330.8350.8020.803
pile_cc0.6690.6980.771
philpapers0.7410.7230.766
gutenberg_pg_190.8901.1600.821
arxiv0.6800.8380.570
stackexchange0.6550.7730.611
nih_exporter0.5900.6120.614
0.5870.6250.610
pubmed_abstracts0.537
uspto_backgrounds pubmed_central0.5370.566
freelaw0.5790.6900.510 0.499
github0.514 0.3580.612 0.6450.329
enron_emails0.9580.604
youtube_subtitles0.621 0.8250.8150.746
Weighted Avg.0.6500.7420.634
", "type": "table", "image_path": "f74959fcfdf1079439c325e662cbef5fd36f16e7a859438c03b6c48905121c26.jpg" } ] } ], "index": 49, "virtual_lines": [ { "bbox": [ 320, 410, 507, 422.47058823529414 ], "spans": [], "index": 41 }, { "bbox": [ 320, 422.47058823529414, 507, 434.9411764705883 ], "spans": [], "index": 42 }, { "bbox": [ 320, 434.9411764705883, 507, 447.41176470588243 ], "spans": [], "index": 43 }, { "bbox": [ 320, 447.41176470588243, 507, 459.8823529411766 ], "spans": [], "index": 44 }, { "bbox": [ 320, 459.8823529411766, 507, 472.3529411764707 ], "spans": [], "index": 45 }, { "bbox": [ 320, 472.3529411764707, 507, 484.82352941176487 ], "spans": [], "index": 46 }, { "bbox": [ 320, 484.82352941176487, 507, 497.294117647059 ], "spans": [], "index": 47 }, { "bbox": [ 320, 497.294117647059, 507, 509.76470588235316 ], "spans": [], "index": 48 }, { "bbox": [ 320, 509.76470588235316, 507, 522.2352941176473 ], "spans": [], "index": 49 }, { "bbox": [ 320, 522.2352941176473, 507, 534.7058823529414 ], "spans": [], "index": 50 }, { "bbox": [ 320, 534.7058823529414, 507, 547.1764705882356 ], "spans": [], "index": 51 }, { "bbox": [ 320, 547.1764705882356, 507, 559.6470588235297 ], "spans": [], "index": 52 }, { "bbox": [ 320, 559.6470588235297, 507, 572.1176470588239 ], "spans": [], "index": 53 }, { "bbox": [ 320, 572.1176470588239, 507, 584.588235294118 ], "spans": [], "index": 54 }, { "bbox": [ 320, 584.588235294118, 507, 597.0588235294122 ], "spans": [], "index": 55 }, { "bbox": [ 320, 597.0588235294122, 507, 609.5294117647063 ], "spans": [], "index": 56 }, { "bbox": [ 320, 609.5294117647063, 507, 622.0000000000005 ], "spans": [], "index": 57 } ] } ], "index": 34.75 }, { "type": "text", "bbox": [ 106, 625, 506, 669 ], "lines": [ { "bbox": [ 106, 625, 505, 637 ], "spans": [ { "bbox": [ 106, 625, 505, 637 ], "score": 1.0, "content": "The detailed metrics on Pile test-set are reported in Table 13. We observe that compared to GPT-", "type": "text" } ], "index": 58 }, { "bbox": [ 104, 635, 506, 649 ], "spans": [ { "bbox": [ 104, 635, 506, 649 ], "score": 1.0, "content": "3, GLM-130B has a noticeable weaker performance on phil_papers and pile_cc, which is likely", "type": "text" } ], "index": 59 }, { "bbox": [ 105, 647, 505, 659 ], "spans": [ { "bbox": [ 105, 647, 505, 659 ], "score": 1.0, "content": "because of GLM-130B’s bilingual natural and lack of more diverse and high-quality private collected", "type": "text" } ], "index": 60 }, { "bbox": [ 105, 659, 143, 672 ], "spans": [ { "bbox": [ 105, 659, 143, 672 ], "score": 1.0, "content": "corpora.", "type": "text" } ], "index": 61 } ], "index": 59.5 } ], "page_idx": 38, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 680, 505, 732 ], "lines": [ { "bbox": [ 114, 675, 315, 694 ], "spans": [ { "bbox": [ 114, 675, 315, 694 ], "score": 1.0, "content": "10https://github.com/google/BIG-bench", "type": "text" } ] }, { "bbox": [ 114, 686, 506, 704 ], "spans": [ { "bbox": [ 114, 686, 506, 704 ], "score": 1.0, "content": "11https://docs.google.com/spreadsheets/d/1CI8Q9RCblLRzUOPJ6ViqBmo284-8oj", "type": "text" } ] }, { "bbox": [ 106, 700, 179, 711 ], "spans": [ { "bbox": [ 106, 700, 179, 711 ], "score": 1.0, "content": "luQ-CmaEuhuv0", "type": "text" } ] }, { "bbox": [ 113, 707, 506, 726 ], "spans": [ { "bbox": [ 113, 707, 506, 726 ], "score": 1.0, "content": "12https://huggingface.co/datasets/bigscience/evaluation-results/tree/ma", "type": "text" } ] }, { "bbox": [ 106, 720, 362, 732 ], "spans": [ { "bbox": [ 106, 720, 362, 732 ], "score": 1.0, "content": "in/bloom/bloomzeval/transformers/evaluation_val", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 107, 26, 293, 37 ], "lines": [ { "bbox": [ 106, 25, 293, 38 ], "spans": [ { "bbox": [ 106, 25, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 763 ], "spans": [ { "bbox": [ 298, 750, 313, 763 ], "score": 1.0, "content": "39", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 110, 82, 256, 94 ], "lines": [ { "bbox": [ 109, 81, 257, 95 ], "spans": [ { "bbox": [ 109, 81, 257, 95 ], "score": 1.0, "content": "(Predicate Recognition, Prompt 0)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 109, 100, 165, 109 ], "lines": [ { "bbox": [ 108, 99, 167, 109 ], "spans": [ { "bbox": [ 108, 99, 167, 109 ], "score": 1.0, "content": "FINAL EXAM", "type": "text" } ], "index": 1 } ], "index": 1, "bbox_fs": [ 108, 99, 167, 109 ] }, { "type": "text", "bbox": [ 109, 119, 500, 149 ], "lines": [ { "bbox": [ 108, 118, 441, 131 ], "spans": [ { "bbox": [ 108, 118, 441, 131 ], "score": 1.0, "content": "1. Based on the fact that \"{{entities[entity_idx]}}\" is a \"{{", "type": "text" } ], "index": 2 }, { "bbox": [ 108, 129, 501, 140 ], "spans": [ { "bbox": [ 108, 129, 501, 140 ], "score": 1.0, "content": "entity_types[entity_idx]}}\", which verb in the following sentence should", "type": "text" } ], "index": 3 }, { "bbox": [ 113, 138, 193, 149 ], "spans": [ { "bbox": [ 113, 138, 193, 149 ], "score": 1.0, "content": "it related to?", "type": "text" } ], "index": 4 } ], "index": 3, "bbox_fs": [ 108, 118, 501, 149 ] }, { "type": "text", "bbox": [ 111, 159, 153, 169 ], "lines": [ { "bbox": [ 110, 158, 154, 170 ], "spans": [ { "bbox": [ 110, 158, 154, 170 ], "score": 1.0, "content": "{{text}}", "type": "text" } ], "index": 5 } ], "index": 5, "bbox_fs": [ 110, 158, 154, 170 ] }, { "type": "text", "bbox": [ 109, 179, 217, 190 ], "lines": [ { "bbox": [ 109, 178, 218, 190 ], "spans": [ { "bbox": [ 109, 178, 218, 190 ], "score": 1.0, "content": "Answer: ||| {{verb}}", "type": "text" } ], "index": 6 } ], "index": 6, "bbox_fs": [ 109, 178, 218, 190 ] }, { "type": "text", "bbox": [ 108, 211, 406, 223 ], "lines": [ { "bbox": [ 106, 211, 407, 225 ], "spans": [ { "bbox": [ 106, 211, 407, 225 ], "score": 1.0, "content": "C.3 RESULT SOURCES FOR GPT-3, BLOOM-176B, AND OPT-175B", "type": "text" } ], "index": 7 } ], "index": 7, "bbox_fs": [ 106, 211, 407, 225 ] }, { "type": "text", "bbox": [ 107, 232, 505, 266 ], "lines": [ { "bbox": [ 105, 232, 505, 245 ], "spans": [ { "bbox": [ 105, 232, 505, 245 ], "score": 1.0, "content": "Here we describe the result sources for GPT-3, BLOOM-176B, and OPT-175B. Other LLMs we", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 244, 506, 257 ], "spans": [ { "bbox": [ 105, 244, 506, 257 ], "score": 1.0, "content": "may compare are mostly completely closed-sourced; thus, their results are all taken from existing", "type": "text" } ], "index": 9 }, { "bbox": [ 104, 254, 390, 268 ], "spans": [ { "bbox": [ 104, 254, 390, 268 ], "score": 1.0, "content": "preprints, publications, or the results stored in BIG-bench repository10.", "type": "text" } ], "index": 10 } ], "index": 9, "bbox_fs": [ 104, 232, 506, 268 ] }, { "type": "text", "bbox": [ 107, 271, 504, 305 ], "lines": [ { "bbox": [ 106, 272, 505, 284 ], "spans": [ { "bbox": [ 106, 272, 505, 284 ], "score": 1.0, "content": "For GPT-3, while most of its results in this paper are taken from existing literature if not specified,", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 283, 505, 295 ], "spans": [ { "bbox": [ 106, 283, 505, 295 ], "score": 1.0, "content": "the rest were acquired via our own requesting OpenAI Danvici API are explicitly mentioned. For", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 293, 423, 306 ], "spans": [ { "bbox": [ 105, 293, 423, 306 ], "score": 1.0, "content": "BLOOM-176B and OPT-175B, if without specific annotation, their results are:", "type": "text" } ], "index": 13 } ], "index": 12, "bbox_fs": [ 105, 272, 505, 306 ] }, { "type": "text", "bbox": [ 106, 310, 437, 348 ], "lines": [ { "bbox": [ 105, 309, 307, 322 ], "spans": [ { "bbox": [ 105, 309, 307, 322 ], "score": 1.0, "content": "• Taken from the OPT paper (Zhang et al., 2022).", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 322, 389, 335 ], "spans": [ { "bbox": [ 105, 322, 389, 335 ], "score": 1.0, "content": "• Taken from the EAI-Eval BigScience Arch&Scale - Google Sheet11.", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 335, 434, 349 ], "spans": [ { "bbox": [ 106, 335, 429, 349 ], "score": 1.0, "content": "• Taken from BigScience evaluation results repository in Huggingface Datasets1", "type": "text" }, { "bbox": [ 421, 337, 434, 344 ], "score": 1.0, "content": "2", "type": "text" } ], "index": 16 } ], "index": 15, "bbox_fs": [ 105, 309, 434, 349 ] }, { "type": "text", "bbox": [ 106, 353, 502, 376 ], "lines": [ { "bbox": [ 106, 353, 504, 366 ], "spans": [ { "bbox": [ 106, 353, 504, 366 ], "score": 1.0, "content": "Specifically, we cannot evaluate OPT-175B by ourselves as we are still not officially granted the", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 365, 414, 376 ], "spans": [ { "bbox": [ 106, 365, 414, 376 ], "score": 1.0, "content": "checkpoint, though we have sent several applications in the past few months.", "type": "text" } ], "index": 18 } ], "index": 17.5, "bbox_fs": [ 106, 353, 504, 376 ] }, { "type": "title", "bbox": [ 108, 390, 254, 401 ], "lines": [ { "bbox": [ 106, 389, 256, 402 ], "spans": [ { "bbox": [ 106, 389, 256, 402 ], "score": 1.0, "content": "C.4 PILE TEST-SET EVALUATION", "type": "text" } ], "index": 19 } ], "index": 19 }, { "type": "text", "bbox": [ 107, 410, 309, 619 ], "lines": [ { "bbox": [ 106, 410, 310, 423 ], "spans": [ { "bbox": [ 106, 410, 310, 423 ], "score": 1.0, "content": "Pile evalution (Gao et al., 2020) is a comprehen-", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 422, 310, 433 ], "spans": [ { "bbox": [ 106, 422, 310, 433 ], "score": 1.0, "content": "sive language modeling benchmark which origi-", "type": "text" } ], "index": 23 }, { "bbox": [ 106, 433, 311, 444 ], "spans": [ { "bbox": [ 106, 433, 311, 444 ], "score": 1.0, "content": "nally includes 22 different text datasets from di-", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 444, 312, 456 ], "spans": [ { "bbox": [ 106, 444, 312, 456 ], "score": 1.0, "content": "verse domains. We report our results over a part of", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 454, 311, 466 ], "spans": [ { "bbox": [ 106, 454, 311, 466 ], "score": 1.0, "content": "18 datasets with previously reported baseline re-", "type": "text" } ], "index": 26 }, { "bbox": [ 106, 465, 311, 477 ], "spans": [ { "bbox": [ 106, 465, 311, 477 ], "score": 1.0, "content": "sults (Lieber et al., 2021). Different from tradi-", "type": "text" } ], "index": 27 }, { "bbox": [ 106, 477, 311, 489 ], "spans": [ { "bbox": [ 106, 477, 311, 489 ], "score": 1.0, "content": "tional language modeling benchmarks, Pile evalu-", "type": "text" } ], "index": 28 }, { "bbox": [ 106, 487, 311, 500 ], "spans": [ { "bbox": [ 106, 487, 311, 500 ], "score": 1.0, "content": "ation report the BPB (bits-per-byte) perplexity to", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 498, 311, 510 ], "spans": [ { "bbox": [ 105, 498, 311, 510 ], "score": 1.0, "content": "avoid the mismatch comparison between models", "type": "text" } ], "index": 30 }, { "bbox": [ 106, 509, 311, 521 ], "spans": [ { "bbox": [ 106, 509, 311, 521 ], "score": 1.0, "content": "with different vocabularies. Because in general,", "type": "text" } ], "index": 31 }, { "bbox": [ 106, 521, 311, 532 ], "spans": [ { "bbox": [ 106, 521, 311, 532 ], "score": 1.0, "content": "language models with a larger vocabulary will be", "type": "text" } ], "index": 32 }, { "bbox": [ 106, 531, 311, 543 ], "spans": [ { "bbox": [ 106, 531, 311, 543 ], "score": 1.0, "content": "favored in perplexity comparison if not restricted.", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 542, 311, 555 ], "spans": [ { "bbox": [ 105, 542, 311, 555 ], "score": 1.0, "content": "In the evaluation, we strictly follow the setting", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 553, 311, 565 ], "spans": [ { "bbox": [ 105, 553, 311, 565 ], "score": 1.0, "content": "in (Gao et al., 2020), leveraging [gMASK] and", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 564, 311, 576 ], "spans": [ { "bbox": [ 105, 564, 311, 576 ], "score": 1.0, "content": "a context-length of 1,024 with bidirectional atten-", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 576, 311, 587 ], "spans": [ { "bbox": [ 106, 576, 311, 587 ], "score": 1.0, "content": "tion, and the rest 1024 tokens to calculate BPB in", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 586, 311, 599 ], "spans": [ { "bbox": [ 105, 586, 311, 599 ], "score": 1.0, "content": "an autoregressive manner. The weighted average", "type": "text" } ], "index": 38 }, { "bbox": [ 106, 597, 311, 608 ], "spans": [ { "bbox": [ 106, 597, 311, 608 ], "score": 1.0, "content": "BPB are calculated based on each shared dataset’s", "type": "text" } ], "index": 39 }, { "bbox": [ 106, 608, 277, 619 ], "spans": [ { "bbox": [ 106, 608, 277, 619 ], "score": 1.0, "content": "ratio in Pile training-set (Gao et al., 2020).", "type": "text" } ], "index": 40 } ], "index": 31, "bbox_fs": [ 105, 410, 312, 619 ] }, { "type": "table", "bbox": [ 320, 410, 507, 622 ], "blocks": [ { "type": "table_caption", "bbox": [ 317, 381, 505, 404 ], "group_id": 0, "lines": [ { "bbox": [ 317, 381, 505, 393 ], "spans": [ { "bbox": [ 317, 381, 505, 393 ], "score": 1.0, "content": "Table 13: GLM-130B and its similar-sized", "type": "text" } ], "index": 20 }, { "bbox": [ 317, 392, 463, 405 ], "spans": [ { "bbox": [ 317, 392, 463, 405 ], "score": 1.0, "content": "LLMs’ BPB results on Pile test-set.", "type": "text" } ], "index": 21 } ], "index": 20.5 }, { "type": "table_body", "bbox": [ 320, 410, 507, 622 ], "group_id": 0, "lines": [ { "bbox": [ 320, 410, 507, 622 ], "spans": [ { "bbox": [ 320, 410, 507, 622 ], "score": 0.98, "html": "
Jurassic-1 GPT-3 GLM-130B
dm_mathematics1.0401.3700.786
ubuntu_irc0.8570.9460.977
opensubtitles0.8790.9320.889
hackernews0.8690.9750.873
books330.8350.8020.803
pile_cc0.6690.6980.771
philpapers0.7410.7230.766
gutenberg_pg_190.8901.1600.821
arxiv0.6800.8380.570
stackexchange0.6550.7730.611
nih_exporter0.5900.6120.614
0.5870.6250.610
pubmed_abstracts0.537
uspto_backgrounds pubmed_central0.5370.566
freelaw0.5790.6900.510 0.499
github0.514 0.3580.612 0.6450.329
enron_emails0.9580.604
youtube_subtitles0.621 0.8250.8150.746
Weighted Avg.0.6500.7420.634
", "type": "table", "image_path": "f74959fcfdf1079439c325e662cbef5fd36f16e7a859438c03b6c48905121c26.jpg" } ] } ], "index": 49, "virtual_lines": [ { "bbox": [ 320, 410, 507, 422.47058823529414 ], "spans": [], "index": 41 }, { "bbox": [ 320, 422.47058823529414, 507, 434.9411764705883 ], "spans": [], "index": 42 }, { "bbox": [ 320, 434.9411764705883, 507, 447.41176470588243 ], "spans": [], "index": 43 }, { "bbox": [ 320, 447.41176470588243, 507, 459.8823529411766 ], "spans": [], "index": 44 }, { "bbox": [ 320, 459.8823529411766, 507, 472.3529411764707 ], "spans": [], "index": 45 }, { "bbox": [ 320, 472.3529411764707, 507, 484.82352941176487 ], "spans": [], "index": 46 }, { "bbox": [ 320, 484.82352941176487, 507, 497.294117647059 ], "spans": [], "index": 47 }, { "bbox": [ 320, 497.294117647059, 507, 509.76470588235316 ], "spans": [], "index": 48 }, { "bbox": [ 320, 509.76470588235316, 507, 522.2352941176473 ], "spans": [], "index": 49 }, { "bbox": [ 320, 522.2352941176473, 507, 534.7058823529414 ], "spans": [], "index": 50 }, { "bbox": [ 320, 534.7058823529414, 507, 547.1764705882356 ], "spans": [], "index": 51 }, { "bbox": [ 320, 547.1764705882356, 507, 559.6470588235297 ], "spans": [], "index": 52 }, { "bbox": [ 320, 559.6470588235297, 507, 572.1176470588239 ], "spans": [], "index": 53 }, { "bbox": [ 320, 572.1176470588239, 507, 584.588235294118 ], "spans": [], "index": 54 }, { "bbox": [ 320, 584.588235294118, 507, 597.0588235294122 ], "spans": [], "index": 55 }, { "bbox": [ 320, 597.0588235294122, 507, 609.5294117647063 ], "spans": [], "index": 56 }, { "bbox": [ 320, 609.5294117647063, 507, 622.0000000000005 ], "spans": [], "index": 57 } ] } ], "index": 34.75 }, { "type": "text", "bbox": [ 106, 625, 506, 669 ], "lines": [ { "bbox": [ 106, 625, 505, 637 ], "spans": [ { "bbox": [ 106, 625, 505, 637 ], "score": 1.0, "content": "The detailed metrics on Pile test-set are reported in Table 13. We observe that compared to GPT-", "type": "text" } ], "index": 58 }, { "bbox": [ 104, 635, 506, 649 ], "spans": [ { "bbox": [ 104, 635, 506, 649 ], "score": 1.0, "content": "3, GLM-130B has a noticeable weaker performance on phil_papers and pile_cc, which is likely", "type": "text" } ], "index": 59 }, { "bbox": [ 105, 647, 505, 659 ], "spans": [ { "bbox": [ 105, 647, 505, 659 ], "score": 1.0, "content": "because of GLM-130B’s bilingual natural and lack of more diverse and high-quality private collected", "type": "text" } ], "index": 60 }, { "bbox": [ 105, 659, 143, 672 ], "spans": [ { "bbox": [ 105, 659, 143, 672 ], "score": 1.0, "content": "corpora.", "type": "text" } ], "index": 61 } ], "index": 59.5, "bbox_fs": [ 104, 625, 506, 672 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 108, 82, 266, 93 ], "lines": [ { "bbox": [ 106, 81, 267, 95 ], "spans": [ { "bbox": [ 106, 81, 267, 95 ], "score": 1.0, "content": "C.5 BIG-BENCH-LITE EVALUATION", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 107, 105, 338, 302 ], "lines": [ { "bbox": [ 105, 104, 339, 118 ], "spans": [ { "bbox": [ 105, 104, 339, 118 ], "score": 1.0, "content": "Recent works (Wei et al., 2022c; Wang et al., 2022c) re-", "type": "text" } ], "index": 1 }, { "bbox": [ 106, 116, 339, 128 ], "spans": [ { "bbox": [ 106, 116, 339, 128 ], "score": 1.0, "content": "veal that LLMs are capable to do reasoning beyond con-", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 127, 339, 139 ], "spans": [ { "bbox": [ 106, 127, 339, 139 ], "score": 1.0, "content": "ventional language tasks. As a response, BIG-bench (Sri-", "type": "text" } ], "index": 3 }, { "bbox": [ 106, 138, 339, 151 ], "spans": [ { "bbox": [ 106, 138, 339, 151 ], "score": 1.0, "content": "vastava et al., 2022) is recently set up by crowdsourcing", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 150, 339, 160 ], "spans": [ { "bbox": [ 105, 150, 339, 160 ], "score": 1.0, "content": "new types of tasks from global researchers to test LLMs", "type": "text" } ], "index": 5 }, { "bbox": [ 106, 160, 339, 172 ], "spans": [ { "bbox": [ 106, 160, 339, 172 ], "score": 1.0, "content": "unexplored abilities. For economical consideration, we", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 172, 339, 183 ], "spans": [ { "bbox": [ 106, 172, 339, 183 ], "score": 1.0, "content": "evaluate GLM-130B on an official subset of original 150-", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 182, 339, 194 ], "spans": [ { "bbox": [ 105, 182, 339, 194 ], "score": 1.0, "content": "task BIG-bench, the BIG-bench-lite with 24 tasks. These", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 194, 339, 205 ], "spans": [ { "bbox": [ 106, 194, 339, 205 ], "score": 1.0, "content": "tasks can be categorized into two types: one is based on", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 204, 339, 216 ], "spans": [ { "bbox": [ 106, 204, 339, 216 ], "score": 1.0, "content": "multiple-choice question answering with answer options,", "type": "text" } ], "index": 10 }, { "bbox": [ 106, 216, 339, 227 ], "spans": [ { "bbox": [ 106, 216, 339, 227 ], "score": 1.0, "content": "and another is direct generation without options. For the", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 226, 340, 239 ], "spans": [ { "bbox": [ 105, 226, 340, 239 ], "score": 1.0, "content": "first category, we assess the probability of each option’s", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 236, 340, 249 ], "spans": [ { "bbox": [ 105, 236, 340, 249 ], "score": 1.0, "content": "full content and pick the largest one as the answer; for", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 248, 339, 261 ], "spans": [ { "bbox": [ 105, 248, 339, 261 ], "score": 1.0, "content": "the second one, we generate the answer using greedy de-", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 259, 339, 271 ], "spans": [ { "bbox": [ 106, 259, 339, 271 ], "score": 1.0, "content": "coding. All evaluations done in BIG-bench are based on", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 270, 340, 282 ], "spans": [ { "bbox": [ 106, 270, 340, 282 ], "score": 1.0, "content": "[MASK], since answers here are usually short pieces of", "type": "text" } ], "index": 16 }, { "bbox": [ 106, 281, 339, 292 ], "spans": [ { "bbox": [ 106, 281, 339, 292 ], "score": 1.0, "content": "texts. All results on 24 BIG-bench-lite (Srivastava et al.,", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 291, 339, 303 ], "spans": [ { "bbox": [ 105, 291, 339, 303 ], "score": 1.0, "content": "2022) datasets of three LLMs are shown in Table 14 and", "type": "text" } ], "index": 18 } ], "index": 9.5 }, { "type": "image", "bbox": [ 346, 106, 502, 259 ], "blocks": [ { "type": "image_body", "bbox": [ 346, 106, 502, 259 ], "group_id": 0, "lines": [ { "bbox": [ 346, 106, 502, 259 ], "spans": [ { "bbox": [ 346, 106, 502, 259 ], "score": 0.97, "type": "image", "image_path": "7946f3ec5b0eba21f439862d00ef4e2a0bcde7e370594ab02d68fa9c5809ce8e.jpg" } ] } ], "index": 24.5, "virtual_lines": [ { "bbox": [ 346, 106, 502, 118.75 ], "spans": [], "index": 19 }, { "bbox": [ 346, 118.75, 502, 131.5 ], "spans": [], "index": 20 }, { "bbox": [ 346, 131.5, 502, 144.25 ], "spans": [], "index": 21 }, { "bbox": [ 346, 144.25, 502, 157.0 ], "spans": [], "index": 22 }, { "bbox": [ 346, 157.0, 502, 169.75 ], "spans": [], "index": 23 }, { "bbox": [ 346, 169.75, 502, 182.5 ], "spans": [], "index": 24 }, { "bbox": [ 346, 182.5, 502, 195.25 ], "spans": [], "index": 25 }, { "bbox": [ 346, 195.25, 502, 208.0 ], "spans": [], "index": 26 }, { "bbox": [ 346, 208.0, 502, 220.75 ], "spans": [], "index": 27 }, { "bbox": [ 346, 220.75, 502, 233.5 ], "spans": [], "index": 28 }, { "bbox": [ 346, 233.5, 502, 246.25 ], "spans": [], "index": 29 }, { "bbox": [ 346, 246.25, 502, 259.0 ], "spans": [], "index": 30 } ] }, { "type": "image_caption", "bbox": [ 346, 267, 504, 290 ], "group_id": 0, "lines": [ { "bbox": [ 346, 267, 504, 279 ], "spans": [ { "bbox": [ 346, 267, 504, 279 ], "score": 1.0, "content": "Figure 16: A full scope of BIG-bench-", "type": "text" } ], "index": 31 }, { "bbox": [ 346, 279, 449, 290 ], "spans": [ { "bbox": [ 346, 279, 449, 290 ], "score": 1.0, "content": "lite (24 tasks) evaluation.", "type": "text" } ], "index": 32 } ], "index": 31.5 } ], "index": 28.0 }, { "type": "text", "bbox": [ 106, 303, 504, 325 ], "lines": [ { "bbox": [ 106, 303, 505, 315 ], "spans": [ { "bbox": [ 106, 303, 505, 315 ], "score": 1.0, "content": "Figure 16. We just adopt the original prompts from BIG-bench and use the official implementation", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 313, 452, 327 ], "spans": [ { "bbox": [ 105, 313, 452, 327 ], "score": 1.0, "content": "to generate priming examples for few-shot evaluation and to calculate the final scores.", "type": "text" } ], "index": 34 } ], "index": 33.5 }, { "type": "title", "bbox": [ 108, 345, 224, 356 ], "lines": [ { "bbox": [ 105, 343, 226, 358 ], "spans": [ { "bbox": [ 105, 343, 226, 358 ], "score": 1.0, "content": "C.6 MMLU EVALUATION", "type": "text" } ], "index": 35 } ], "index": 35 }, { "type": "text", "bbox": [ 107, 369, 503, 402 ], "lines": [ { "bbox": [ 106, 368, 505, 380 ], "spans": [ { "bbox": [ 106, 368, 505, 380 ], "score": 1.0, "content": "All results on 57 MMLU (Hendrycks et al., 2021) datasets of GLM-130B and BLOOM 176B are", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 378, 505, 392 ], "spans": [ { "bbox": [ 105, 378, 505, 392 ], "score": 1.0, "content": "shown in Table 15. In Section 5.2, we report weighted average accuracy (i.e., accuracy average per", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 390, 442, 402 ], "spans": [ { "bbox": [ 105, 390, 442, 402 ], "score": 1.0, "content": "sample, rather than by discipline) of GLM-130B, GPT-3 175B, and BLOOM 176B.", "type": "text" } ], "index": 38 } ], "index": 37 }, { "type": "text", "bbox": [ 105, 407, 502, 430 ], "lines": [ { "bbox": [ 105, 405, 504, 421 ], "spans": [ { "bbox": [ 105, 405, 444, 421 ], "score": 1.0, "content": "Below is a prompted example with 1-shot priming. We predict the probability on", "type": "text" }, { "bbox": [ 444, 407, 498, 419 ], "score": 0.79, "content": "[ ^ { \\prime } \\mathbb { A } ^ { \\prime } \\ , \\ ^ { \\prime } \\mathbb { B } ^ { \\prime }", "type": "inline_equation" }, { "bbox": [ 498, 405, 504, 421 ], "score": 1.0, "content": ",", "type": "text" } ], "index": 39 }, { "bbox": [ 107, 417, 478, 432 ], "spans": [ { "bbox": [ 107, 419, 160, 430 ], "score": 0.79, "content": "\\prime _ { \\mathrm { ~ C ~ } ^ { \\prime } } , \\quad \\prime _ { \\mathrm { ~ D ~ } ^ { \\prime } } ]", "type": "inline_equation" }, { "bbox": [ 161, 417, 478, 432 ], "score": 1.0, "content": "at the next token, and take the one with the maximal probability as the answer.", "type": "text" } ], "index": 40 } ], "index": 39.5 }, { "type": "title", "bbox": [ 109, 443, 219, 455 ], "lines": [ { "bbox": [ 109, 442, 219, 455 ], "spans": [ { "bbox": [ 109, 442, 219, 455 ], "score": 1.0, "content": "(MMLU 1-shot Example)", "type": "text" } ], "index": 41 } ], "index": 41 }, { "type": "text", "bbox": [ 110, 460, 437, 471 ], "lines": [ { "bbox": [ 108, 459, 439, 472 ], "spans": [ { "bbox": [ 108, 459, 439, 472 ], "score": 1.0, "content": "The following are multiple choice questions about philosophy.", "type": "text" } ], "index": 42 } ], "index": 42 }, { "type": "text", "bbox": [ 109, 480, 497, 520 ], "lines": [ { "bbox": [ 107, 478, 404, 492 ], "spans": [ { "bbox": [ 107, 478, 404, 492 ], "score": 1.0, "content": "According to d'Holbach, people always act according to", "type": "text" } ], "index": 43 }, { "bbox": [ 109, 489, 498, 502 ], "spans": [ { "bbox": [ 109, 489, 498, 502 ], "score": 1.0, "content": "(A) free choices (B) dictates of the soul (C) necessary natural laws (D)", "type": "text" } ], "index": 44 }, { "bbox": [ 112, 499, 209, 510 ], "spans": [ { "bbox": [ 112, 499, 209, 510 ], "score": 1.0, "content": "undetermined will", "type": "text" } ], "index": 45 }, { "bbox": [ 108, 510, 295, 522 ], "spans": [ { "bbox": [ 108, 510, 295, 522 ], "score": 1.0, "content": "Answer: (C) necessary natural laws", "type": "text" } ], "index": 46 } ], "index": 44.5 }, { "type": "text", "bbox": [ 108, 530, 459, 570 ], "lines": [ { "bbox": [ 107, 528, 295, 541 ], "spans": [ { "bbox": [ 107, 528, 295, 541 ], "score": 1.0, "content": "Epicurus holds that philosophy is:", "type": "text" } ], "index": 47 }, { "bbox": [ 109, 539, 460, 551 ], "spans": [ { "bbox": [ 109, 539, 460, 551 ], "score": 1.0, "content": "(A) not suitable for the young. (B) not suitable for the old. (C)", "type": "text" } ], "index": 48 }, { "bbox": [ 108, 549, 376, 561 ], "spans": [ { "bbox": [ 108, 549, 376, 561 ], "score": 1.0, "content": "important, but unpleasant. (D) none of the above.", "type": "text" } ], "index": 49 }, { "bbox": [ 107, 559, 162, 571 ], "spans": [ { "bbox": [ 107, 559, 162, 571 ], "score": 1.0, "content": "Answer: (", "type": "text" } ], "index": 50 } ], "index": 48.5 }, { "type": "title", "bbox": [ 107, 598, 359, 610 ], "lines": [ { "bbox": [ 106, 598, 360, 611 ], "spans": [ { "bbox": [ 106, 598, 360, 611 ], "score": 1.0, "content": "C.7 CHINESE LANGUAGE UNDERSTANDING EVALUATION", "type": "text" } ], "index": 51 } ], "index": 51 }, { "type": "text", "bbox": [ 106, 621, 505, 732 ], "lines": [ { "bbox": [ 105, 621, 505, 633 ], "spans": [ { "bbox": [ 105, 621, 505, 633 ], "score": 1.0, "content": "Here we elaborate the prompts we use for CLUE (Xu et al., 2020) and FewCLUE (Xu et al., 2021)", "type": "text" } ], "index": 52 }, { "bbox": [ 106, 632, 505, 645 ], "spans": [ { "bbox": [ 106, 632, 505, 645 ], "score": 1.0, "content": "evaluation. On Chinese datasets, prompting meets some challenges as Chinese texts are organized", "type": "text" } ], "index": 53 }, { "bbox": [ 106, 644, 504, 655 ], "spans": [ { "bbox": [ 106, 644, 504, 655 ], "score": 1.0, "content": "by single characters rather than words, leading to unequal length of verbalizers in many cases. Albeit", "type": "text" } ], "index": 54 }, { "bbox": [ 106, 654, 505, 667 ], "spans": [ { "bbox": [ 106, 654, 505, 667 ], "score": 1.0, "content": "dataset-specific calibration (Wang et al., 2021; Wu et al., 2021) can help to mitigate the issue, the", "type": "text" } ], "index": 55 }, { "bbox": [ 106, 666, 504, 677 ], "spans": [ { "bbox": [ 106, 666, 504, 677 ], "score": 1.0, "content": "too specified technique can be complicated in implementation. Our evaluation in this paper adopts", "type": "text" } ], "index": 56 }, { "bbox": [ 104, 677, 505, 689 ], "spans": [ { "bbox": [ 104, 677, 505, 689 ], "score": 1.0, "content": "a more easy to solve method leveraging GLM-130B’s unique features. As GLM-130B is a bilingual", "type": "text" } ], "index": 57 }, { "bbox": [ 105, 687, 505, 700 ], "spans": [ { "bbox": [ 105, 687, 505, 700 ], "score": 1.0, "content": "LLM with English MIP, we adopt English prompts and verbalizers from similar tasks in (Bach", "type": "text" } ], "index": 58 }, { "bbox": [ 105, 698, 505, 711 ], "spans": [ { "bbox": [ 105, 698, 505, 711 ], "score": 1.0, "content": "et al., 2022) for Chinese dataset evaluation and find such strategies to be quite effective. In terms", "type": "text" } ], "index": 59 }, { "bbox": [ 105, 709, 505, 722 ], "spans": [ { "bbox": [ 105, 709, 505, 722 ], "score": 1.0, "content": "of evaluation metrics, except for DRCD and CMRC2018 two question answering datasets which", "type": "text" } ], "index": 60 }, { "bbox": [ 105, 720, 280, 734 ], "spans": [ { "bbox": [ 105, 720, 280, 734 ], "score": 1.0, "content": "reports EM, other datasets report accuracy.", "type": "text" } ], "index": 61 } ], "index": 56.5 } ], "page_idx": 39, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 763 ], "spans": [ { "bbox": [ 298, 750, 313, 763 ], "score": 1.0, "content": "40", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 108, 82, 266, 93 ], "lines": [ { "bbox": [ 106, 81, 267, 95 ], "spans": [ { "bbox": [ 106, 81, 267, 95 ], "score": 1.0, "content": "C.5 BIG-BENCH-LITE EVALUATION", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 107, 105, 338, 302 ], "lines": [ { "bbox": [ 105, 104, 339, 118 ], "spans": [ { "bbox": [ 105, 104, 339, 118 ], "score": 1.0, "content": "Recent works (Wei et al., 2022c; Wang et al., 2022c) re-", "type": "text" } ], "index": 1 }, { "bbox": [ 106, 116, 339, 128 ], "spans": [ { "bbox": [ 106, 116, 339, 128 ], "score": 1.0, "content": "veal that LLMs are capable to do reasoning beyond con-", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 127, 339, 139 ], "spans": [ { "bbox": [ 106, 127, 339, 139 ], "score": 1.0, "content": "ventional language tasks. As a response, BIG-bench (Sri-", "type": "text" } ], "index": 3 }, { "bbox": [ 106, 138, 339, 151 ], "spans": [ { "bbox": [ 106, 138, 339, 151 ], "score": 1.0, "content": "vastava et al., 2022) is recently set up by crowdsourcing", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 150, 339, 160 ], "spans": [ { "bbox": [ 105, 150, 339, 160 ], "score": 1.0, "content": "new types of tasks from global researchers to test LLMs", "type": "text" } ], "index": 5 }, { "bbox": [ 106, 160, 339, 172 ], "spans": [ { "bbox": [ 106, 160, 339, 172 ], "score": 1.0, "content": "unexplored abilities. For economical consideration, we", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 172, 339, 183 ], "spans": [ { "bbox": [ 106, 172, 339, 183 ], "score": 1.0, "content": "evaluate GLM-130B on an official subset of original 150-", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 182, 339, 194 ], "spans": [ { "bbox": [ 105, 182, 339, 194 ], "score": 1.0, "content": "task BIG-bench, the BIG-bench-lite with 24 tasks. These", "type": "text" } ], "index": 8 }, { "bbox": [ 106, 194, 339, 205 ], "spans": [ { "bbox": [ 106, 194, 339, 205 ], "score": 1.0, "content": "tasks can be categorized into two types: one is based on", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 204, 339, 216 ], "spans": [ { "bbox": [ 106, 204, 339, 216 ], "score": 1.0, "content": "multiple-choice question answering with answer options,", "type": "text" } ], "index": 10 }, { "bbox": [ 106, 216, 339, 227 ], "spans": [ { "bbox": [ 106, 216, 339, 227 ], "score": 1.0, "content": "and another is direct generation without options. For the", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 226, 340, 239 ], "spans": [ { "bbox": [ 105, 226, 340, 239 ], "score": 1.0, "content": "first category, we assess the probability of each option’s", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 236, 340, 249 ], "spans": [ { "bbox": [ 105, 236, 340, 249 ], "score": 1.0, "content": "full content and pick the largest one as the answer; for", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 248, 339, 261 ], "spans": [ { "bbox": [ 105, 248, 339, 261 ], "score": 1.0, "content": "the second one, we generate the answer using greedy de-", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 259, 339, 271 ], "spans": [ { "bbox": [ 106, 259, 339, 271 ], "score": 1.0, "content": "coding. All evaluations done in BIG-bench are based on", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 270, 340, 282 ], "spans": [ { "bbox": [ 106, 270, 340, 282 ], "score": 1.0, "content": "[MASK], since answers here are usually short pieces of", "type": "text" } ], "index": 16 }, { "bbox": [ 106, 281, 339, 292 ], "spans": [ { "bbox": [ 106, 281, 339, 292 ], "score": 1.0, "content": "texts. All results on 24 BIG-bench-lite (Srivastava et al.,", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 291, 339, 303 ], "spans": [ { "bbox": [ 105, 291, 339, 303 ], "score": 1.0, "content": "2022) datasets of three LLMs are shown in Table 14 and", "type": "text" } ], "index": 18 } ], "index": 9.5, "bbox_fs": [ 105, 104, 340, 303 ] }, { "type": "image", "bbox": [ 346, 106, 502, 259 ], "blocks": [ { "type": "image_body", "bbox": [ 346, 106, 502, 259 ], "group_id": 0, "lines": [ { "bbox": [ 346, 106, 502, 259 ], "spans": [ { "bbox": [ 346, 106, 502, 259 ], "score": 0.97, "type": "image", "image_path": "7946f3ec5b0eba21f439862d00ef4e2a0bcde7e370594ab02d68fa9c5809ce8e.jpg" } ] } ], "index": 24.5, "virtual_lines": [ { "bbox": [ 346, 106, 502, 118.75 ], "spans": [], "index": 19 }, { "bbox": [ 346, 118.75, 502, 131.5 ], "spans": [], "index": 20 }, { "bbox": [ 346, 131.5, 502, 144.25 ], "spans": [], "index": 21 }, { "bbox": [ 346, 144.25, 502, 157.0 ], "spans": [], "index": 22 }, { "bbox": [ 346, 157.0, 502, 169.75 ], "spans": [], "index": 23 }, { "bbox": [ 346, 169.75, 502, 182.5 ], "spans": [], "index": 24 }, { "bbox": [ 346, 182.5, 502, 195.25 ], "spans": [], "index": 25 }, { "bbox": [ 346, 195.25, 502, 208.0 ], "spans": [], "index": 26 }, { "bbox": [ 346, 208.0, 502, 220.75 ], "spans": [], "index": 27 }, { "bbox": [ 346, 220.75, 502, 233.5 ], "spans": [], "index": 28 }, { "bbox": [ 346, 233.5, 502, 246.25 ], "spans": [], "index": 29 }, { "bbox": [ 346, 246.25, 502, 259.0 ], "spans": [], "index": 30 } ] }, { "type": "image_caption", "bbox": [ 346, 267, 504, 290 ], "group_id": 0, "lines": [ { "bbox": [ 346, 267, 504, 279 ], "spans": [ { "bbox": [ 346, 267, 504, 279 ], "score": 1.0, "content": "Figure 16: A full scope of BIG-bench-", "type": "text" } ], "index": 31 }, { "bbox": [ 346, 279, 449, 290 ], "spans": [ { "bbox": [ 346, 279, 449, 290 ], "score": 1.0, "content": "lite (24 tasks) evaluation.", "type": "text" } ], "index": 32 } ], "index": 31.5 } ], "index": 28.0 }, { "type": "text", "bbox": [ 106, 303, 504, 325 ], "lines": [ { "bbox": [ 106, 303, 505, 315 ], "spans": [ { "bbox": [ 106, 303, 505, 315 ], "score": 1.0, "content": "Figure 16. We just adopt the original prompts from BIG-bench and use the official implementation", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 313, 452, 327 ], "spans": [ { "bbox": [ 105, 313, 452, 327 ], "score": 1.0, "content": "to generate priming examples for few-shot evaluation and to calculate the final scores.", "type": "text" } ], "index": 34 } ], "index": 33.5, "bbox_fs": [ 105, 303, 505, 327 ] }, { "type": "title", "bbox": [ 108, 345, 224, 356 ], "lines": [ { "bbox": [ 105, 343, 226, 358 ], "spans": [ { "bbox": [ 105, 343, 226, 358 ], "score": 1.0, "content": "C.6 MMLU EVALUATION", "type": "text" } ], "index": 35 } ], "index": 35 }, { "type": "text", "bbox": [ 107, 369, 503, 402 ], "lines": [ { "bbox": [ 106, 368, 505, 380 ], "spans": [ { "bbox": [ 106, 368, 505, 380 ], "score": 1.0, "content": "All results on 57 MMLU (Hendrycks et al., 2021) datasets of GLM-130B and BLOOM 176B are", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 378, 505, 392 ], "spans": [ { "bbox": [ 105, 378, 505, 392 ], "score": 1.0, "content": "shown in Table 15. In Section 5.2, we report weighted average accuracy (i.e., accuracy average per", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 390, 442, 402 ], "spans": [ { "bbox": [ 105, 390, 442, 402 ], "score": 1.0, "content": "sample, rather than by discipline) of GLM-130B, GPT-3 175B, and BLOOM 176B.", "type": "text" } ], "index": 38 } ], "index": 37, "bbox_fs": [ 105, 368, 505, 402 ] }, { "type": "text", "bbox": [ 105, 407, 502, 430 ], "lines": [ { "bbox": [ 105, 405, 504, 421 ], "spans": [ { "bbox": [ 105, 405, 444, 421 ], "score": 1.0, "content": "Below is a prompted example with 1-shot priming. We predict the probability on", "type": "text" }, { "bbox": [ 444, 407, 498, 419 ], "score": 0.79, "content": "[ ^ { \\prime } \\mathbb { A } ^ { \\prime } \\ , \\ ^ { \\prime } \\mathbb { B } ^ { \\prime }", "type": "inline_equation" }, { "bbox": [ 498, 405, 504, 421 ], "score": 1.0, "content": ",", "type": "text" } ], "index": 39 }, { "bbox": [ 107, 417, 478, 432 ], "spans": [ { "bbox": [ 107, 419, 160, 430 ], "score": 0.79, "content": "\\prime _ { \\mathrm { ~ C ~ } ^ { \\prime } } , \\quad \\prime _ { \\mathrm { ~ D ~ } ^ { \\prime } } ]", "type": "inline_equation" }, { "bbox": [ 161, 417, 478, 432 ], "score": 1.0, "content": "at the next token, and take the one with the maximal probability as the answer.", "type": "text" } ], "index": 40 } ], "index": 39.5, "bbox_fs": [ 105, 405, 504, 432 ] }, { "type": "title", "bbox": [ 109, 443, 219, 455 ], "lines": [ { "bbox": [ 109, 442, 219, 455 ], "spans": [ { "bbox": [ 109, 442, 219, 455 ], "score": 1.0, "content": "(MMLU 1-shot Example)", "type": "text" } ], "index": 41 } ], "index": 41 }, { "type": "text", "bbox": [ 110, 460, 437, 471 ], "lines": [ { "bbox": [ 108, 459, 439, 472 ], "spans": [ { "bbox": [ 108, 459, 439, 472 ], "score": 1.0, "content": "The following are multiple choice questions about philosophy.", "type": "text" } ], "index": 42 } ], "index": 42, "bbox_fs": [ 108, 459, 439, 472 ] }, { "type": "list", "bbox": [ 109, 480, 497, 520 ], "lines": [ { "bbox": [ 107, 478, 404, 492 ], "spans": [ { "bbox": [ 107, 478, 404, 492 ], "score": 1.0, "content": "According to d'Holbach, people always act according to", "type": "text" } ], "index": 43, "is_list_start_line": true }, { "bbox": [ 109, 489, 498, 502 ], "spans": [ { "bbox": [ 109, 489, 498, 502 ], "score": 1.0, "content": "(A) free choices (B) dictates of the soul (C) necessary natural laws (D)", "type": "text" } ], "index": 44, "is_list_start_line": true }, { "bbox": [ 112, 499, 209, 510 ], "spans": [ { "bbox": [ 112, 499, 209, 510 ], "score": 1.0, "content": "undetermined will", "type": "text" } ], "index": 45, "is_list_start_line": true }, { "bbox": [ 108, 510, 295, 522 ], "spans": [ { "bbox": [ 108, 510, 295, 522 ], "score": 1.0, "content": "Answer: (C) necessary natural laws", "type": "text" } ], "index": 46, "is_list_start_line": true }, { "bbox": [ 107, 528, 295, 541 ], "spans": [ { "bbox": [ 107, 528, 295, 541 ], "score": 1.0, "content": "Epicurus holds that philosophy is:", "type": "text" } ], "index": 47, "is_list_end_line": true }, { "bbox": [ 109, 539, 460, 551 ], "spans": [ { "bbox": [ 109, 539, 460, 551 ], "score": 1.0, "content": "(A) not suitable for the young. (B) not suitable for the old. (C)", "type": "text" } ], "index": 48, "is_list_start_line": true }, { "bbox": [ 108, 549, 376, 561 ], "spans": [ { "bbox": [ 108, 549, 376, 561 ], "score": 1.0, "content": "important, but unpleasant. (D) none of the above.", "type": "text" } ], "index": 49, "is_list_end_line": true }, { "bbox": [ 107, 559, 162, 571 ], "spans": [ { "bbox": [ 107, 559, 162, 571 ], "score": 1.0, "content": "Answer: (", "type": "text" } ], "index": 50, "is_list_start_line": true, "is_list_end_line": true } ], "index": 44.5, "bbox_fs": [ 107, 478, 498, 522 ] }, { "type": "list", "bbox": [ 108, 530, 459, 570 ], "lines": [], "index": 48.5, "bbox_fs": [ 107, 528, 460, 571 ], "lines_deleted": true }, { "type": "title", "bbox": [ 107, 598, 359, 610 ], "lines": [ { "bbox": [ 106, 598, 360, 611 ], "spans": [ { "bbox": [ 106, 598, 360, 611 ], "score": 1.0, "content": "C.7 CHINESE LANGUAGE UNDERSTANDING EVALUATION", "type": "text" } ], "index": 51 } ], "index": 51 }, { "type": "text", "bbox": [ 106, 621, 505, 732 ], "lines": [ { "bbox": [ 105, 621, 505, 633 ], "spans": [ { "bbox": [ 105, 621, 505, 633 ], "score": 1.0, "content": "Here we elaborate the prompts we use for CLUE (Xu et al., 2020) and FewCLUE (Xu et al., 2021)", "type": "text" } ], "index": 52 }, { "bbox": [ 106, 632, 505, 645 ], "spans": [ { "bbox": [ 106, 632, 505, 645 ], "score": 1.0, "content": "evaluation. On Chinese datasets, prompting meets some challenges as Chinese texts are organized", "type": "text" } ], "index": 53 }, { "bbox": [ 106, 644, 504, 655 ], "spans": [ { "bbox": [ 106, 644, 504, 655 ], "score": 1.0, "content": "by single characters rather than words, leading to unequal length of verbalizers in many cases. Albeit", "type": "text" } ], "index": 54 }, { "bbox": [ 106, 654, 505, 667 ], "spans": [ { "bbox": [ 106, 654, 505, 667 ], "score": 1.0, "content": "dataset-specific calibration (Wang et al., 2021; Wu et al., 2021) can help to mitigate the issue, the", "type": "text" } ], "index": 55 }, { "bbox": [ 106, 666, 504, 677 ], "spans": [ { "bbox": [ 106, 666, 504, 677 ], "score": 1.0, "content": "too specified technique can be complicated in implementation. Our evaluation in this paper adopts", "type": "text" } ], "index": 56 }, { "bbox": [ 104, 677, 505, 689 ], "spans": [ { "bbox": [ 104, 677, 505, 689 ], "score": 1.0, "content": "a more easy to solve method leveraging GLM-130B’s unique features. As GLM-130B is a bilingual", "type": "text" } ], "index": 57 }, { "bbox": [ 105, 687, 505, 700 ], "spans": [ { "bbox": [ 105, 687, 505, 700 ], "score": 1.0, "content": "LLM with English MIP, we adopt English prompts and verbalizers from similar tasks in (Bach", "type": "text" } ], "index": 58 }, { "bbox": [ 105, 698, 505, 711 ], "spans": [ { "bbox": [ 105, 698, 505, 711 ], "score": 1.0, "content": "et al., 2022) for Chinese dataset evaluation and find such strategies to be quite effective. In terms", "type": "text" } ], "index": 59 }, { "bbox": [ 105, 709, 505, 722 ], "spans": [ { "bbox": [ 105, 709, 505, 722 ], "score": 1.0, "content": "of evaluation metrics, except for DRCD and CMRC2018 two question answering datasets which", "type": "text" } ], "index": 60 }, { "bbox": [ 105, 720, 280, 734 ], "spans": [ { "bbox": [ 105, 720, 280, 734 ], "score": 1.0, "content": "reports EM, other datasets report accuracy.", "type": "text" } ], "index": 61 } ], "index": 56.5, "bbox_fs": [ 104, 621, 505, 734 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 109, 82, 285, 93 ], "lines": [ { "bbox": [ 106, 82, 287, 95 ], "spans": [ { "bbox": [ 106, 82, 287, 95 ], "score": 1.0, "content": "C.8 NATURAL LANGUAGE GENERATION", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 107, 104, 505, 268 ], "lines": [ { "bbox": [ 105, 103, 506, 116 ], "spans": [ { "bbox": [ 105, 103, 506, 116 ], "score": 1.0, "content": "Natural language generation, or conditional natural language generation here, refers to tasks that", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 115, 505, 126 ], "spans": [ { "bbox": [ 105, 115, 505, 126 ], "score": 1.0, "content": "require generating text based on the given information, such as tables and documents. We evaluate", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 125, 504, 137 ], "spans": [ { "bbox": [ 105, 125, 504, 137 ], "score": 1.0, "content": "GLM-130B on data-to-text and summarization tasks. The datasets include WebNLG 2020 (Cas-", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 136, 504, 148 ], "spans": [ { "bbox": [ 105, 136, 504, 148 ], "score": 1.0, "content": "tro Ferreira et al., 2020), Clean E2E NLG (Dušek et al., 2019) and WikiLingua (Scialom et al.,", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 147, 505, 159 ], "spans": [ { "bbox": [ 105, 147, 505, 159 ], "score": 1.0, "content": "2020) from GEM generation benchmark (Gehrmann et al., 2021). We select full WebNLG 2020", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 158, 505, 171 ], "spans": [ { "bbox": [ 105, 158, 505, 171 ], "score": 1.0, "content": "and the Clean E2E NLG in the test set and randomly select 5000 test examples from WikiLingua", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 168, 505, 182 ], "spans": [ { "bbox": [ 105, 168, 505, 182 ], "score": 1.0, "content": "following the practice in (Chowdhery et al., 2022). Following the settings in PaLM, the prompt", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 180, 505, 192 ], "spans": [ { "bbox": [ 105, 180, 505, 192 ], "score": 1.0, "content": "used for the Summarization tasks is “Summarize the following article:” and the prompt used for", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 190, 505, 204 ], "spans": [ { "bbox": [ 105, 190, 505, 204 ], "score": 1.0, "content": "the Data-to-Text tasks is “Verbalize:”. An exception is E2E, where we process the data using", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 203, 505, 214 ], "spans": [ { "bbox": [ 106, 203, 505, 214 ], "score": 1.0, "content": "the prompt “generate-gramatically-correct-text from” provided in promptsource for GLM-130B and", "type": "text" } ], "index": 10 }, { "bbox": [ 106, 213, 505, 226 ], "spans": [ { "bbox": [ 106, 213, 505, 226 ], "score": 1.0, "content": "GPT-3 175B (Davinci). All evaluations are one-shot, and the demonstration samples are randomly", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 224, 506, 236 ], "spans": [ { "bbox": [ 105, 224, 506, 236 ], "score": 1.0, "content": "sampled from the training set. We report the F-measure of ROUGE-2, ROUGE-L (Lin, 2004) and", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 235, 505, 247 ], "spans": [ { "bbox": [ 105, 235, 505, 247 ], "score": 1.0, "content": "BLEURT-20 (Pu et al., 2021). We compare our model with LaMDA, GPT-3 175B (Davinci), and", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 246, 505, 258 ], "spans": [ { "bbox": [ 105, 246, 505, 258 ], "score": 1.0, "content": "PaLM, where the results of LaMDA and PaLM are reported by (Chowdhery et al., 2022), and we", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 257, 329, 269 ], "spans": [ { "bbox": [ 105, 257, 329, 269 ], "score": 1.0, "content": "evaluate GPT-3 175B (Davinci) through OpenAI API.13", "type": "text" } ], "index": 15 } ], "index": 8 }, { "type": "text", "bbox": [ 107, 274, 505, 362 ], "lines": [ { "bbox": [ 105, 274, 505, 286 ], "spans": [ { "bbox": [ 105, 274, 505, 286 ], "score": 1.0, "content": "Our results are presented in Table 16. It shows that GLM-130B has better performances than", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 284, 505, 298 ], "spans": [ { "bbox": [ 105, 284, 505, 298 ], "score": 1.0, "content": "LaMDA and GPT-3 (Davinci) on all tasks. In the Data-to-text task, GLM-130B performs slightly", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 296, 505, 308 ], "spans": [ { "bbox": [ 105, 296, 505, 308 ], "score": 1.0, "content": "worse than PaLM-540B, while in the summary task, GLM-130B has even higher ROUGE results.", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 307, 505, 319 ], "spans": [ { "bbox": [ 105, 307, 505, 319 ], "score": 1.0, "content": "We also ablate GLM-130B to unidirectional to demonstrate the advantage of bidirectional attention.", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 317, 505, 330 ], "spans": [ { "bbox": [ 105, 317, 505, 330 ], "score": 1.0, "content": "Unidirectional GLM-130B underperforms GPT-3 175B in all three datasets, but when it shifts to", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 329, 505, 341 ], "spans": [ { "bbox": [ 105, 329, 505, 341 ], "score": 1.0, "content": "bidirectional attention, there is an instant boost, making GLM-130B even comparable to PaLM-", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 339, 505, 352 ], "spans": [ { "bbox": [ 105, 339, 505, 352 ], "score": 1.0, "content": "540B in a few cases. It indicates that bidirectional attention over the provided context (i.e., prefix)", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 350, 310, 363 ], "spans": [ { "bbox": [ 105, 350, 310, 363 ], "score": 1.0, "content": "can also be beneficial for text generation missions.", "type": "text" } ], "index": 23 } ], "index": 19.5 }, { "type": "table", "bbox": [ 120, 407, 488, 545 ], "blocks": [ { "type": "table_caption", "bbox": [ 108, 370, 502, 404 ], "group_id": 0, "lines": [ { "bbox": [ 106, 370, 503, 383 ], "spans": [ { "bbox": [ 106, 370, 503, 383 ], "score": 1.0, "content": "Table 16: 1-shot GEM English natural language generation tasks (WebNLG, E2E, and WikiLingua).", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 381, 503, 393 ], "spans": [ { "bbox": [ 106, 381, 503, 393 ], "score": 1.0, "content": "We compare two versions of GLM-130B (uni: unidirectional attention, bi: bidirectional attention),", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 392, 474, 406 ], "spans": [ { "bbox": [ 106, 392, 474, 406 ], "score": 1.0, "content": "showing that bidirectional attention can also improve conditional generation’s performance.", "type": "text" } ], "index": 26 } ], "index": 25 }, { "type": "table_body", "bbox": [ 120, 407, 488, 545 ], "group_id": 0, "lines": [ { "bbox": [ 120, 407, 488, 545 ], "spans": [ { "bbox": [ 120, 407, 488, 545 ], "score": 0.985, "html": "
TaskDatasetMetricLaMDA 137BGPT-3175B (Davinci)GLM-130BPaLM-540B
unibi
Data to TextWebNLGROUGE-230.529.925.338.544.4
ROUGE-L-41.236.749.353.8
BLEURT-20159.053.267.773.9
E2EROUGE-229.230.330.933.935.2
ROUGE-L-39.240.042.643.9
BLEURT-20-64.565.068.169.7
SummaryWikiLinguaROUGE-25.47.25.810.49.9
ROUGE-L18.916.423.420.6
BLEURT-20-41.239.445.047.7
", "type": "table", "image_path": "ed6bb4d3edafc673840026c2995da81db68fed9d994c2e39ebfe9ae063cae074.jpg" } ] } ], "index": 28, "virtual_lines": [ { "bbox": [ 120, 407, 488, 453.0 ], "spans": [], "index": 27 }, { "bbox": [ 120, 453.0, 488, 499.0 ], "spans": [], "index": 28 }, { "bbox": [ 120, 499.0, 488, 545.0 ], "spans": [], "index": 29 } ] } ], "index": 26.5 }, { "type": "title", "bbox": [ 108, 554, 311, 565 ], "lines": [ { "bbox": [ 107, 553, 312, 567 ], "spans": [ { "bbox": [ 107, 553, 312, 567 ], "score": 1.0, "content": "(E2E Example, without demonstration sample)", "type": "text" } ], "index": 30 } ], "index": 30 }, { "type": "text", "bbox": [ 109, 571, 383, 611 ], "lines": [ { "bbox": [ 108, 570, 384, 582 ], "spans": [ { "bbox": [ 108, 570, 384, 582 ], "score": 1.0, "content": "Aleksandr_Prudnikov , height , 185.0 (centimetres).", "type": "text" } ], "index": 31 }, { "bbox": [ 108, 581, 353, 592 ], "spans": [ { "bbox": [ 108, 581, 353, 592 ], "score": 1.0, "content": "FC_Spartak_Moscow , ground , Otkrytiye_Arena.", "type": "text" } ], "index": 32 }, { "bbox": [ 107, 590, 364, 603 ], "spans": [ { "bbox": [ 107, 590, 364, 603 ], "score": 1.0, "content": "Aleksandr_Prudnikov , club , FC_Spartak_Moscow.", "type": "text" } ], "index": 33 }, { "bbox": [ 108, 599, 166, 612 ], "spans": [ { "bbox": [ 108, 599, 166, 612 ], "score": 1.0, "content": "Verbalize:", "type": "text" } ], "index": 34 } ], "index": 32.5 }, { "type": "text", "bbox": [ 108, 626, 501, 646 ], "lines": [ { "bbox": [ 106, 623, 503, 639 ], "spans": [ { "bbox": [ 106, 623, 503, 639 ], "score": 1.0, "content": "Groundtruth: 185 centimetre tall Aleksandr Prudnikov played for the Otkrytiye Arena based FC Spartak,", "type": "text" } ], "index": 35 }, { "bbox": [ 107, 633, 145, 647 ], "spans": [ { "bbox": [ 107, 633, 145, 647 ], "score": 1.0, "content": "Moscow.", "type": "text" } ], "index": 36 } ], "index": 35.5 }, { "type": "text", "bbox": [ 109, 650, 501, 671 ], "lines": [ { "bbox": [ 108, 648, 503, 663 ], "spans": [ { "bbox": [ 108, 648, 503, 663 ], "score": 1.0, "content": "GPT-3 175B (Davinci): Aleksandr Prudnikov is a midfielder for FC Spartak Moscow, a football (soccer) club", "type": "text" } ], "index": 37 }, { "bbox": [ 108, 659, 205, 672 ], "spans": [ { "bbox": [ 108, 659, 205, 672 ], "score": 1.0, "content": "based in Moscow, Russia.", "type": "text" } ], "index": 38 } ], "index": 37.5 }, { "type": "text", "bbox": [ 111, 675, 422, 686 ], "lines": [ { "bbox": [ 109, 674, 423, 687 ], "spans": [ { "bbox": [ 109, 674, 245, 687 ], "score": 1.0, "content": "GLM-130B: Aleksandr Prudnikov is", "type": "text" }, { "bbox": [ 245, 676, 280, 686 ], "score": 0.5, "content": "1 8 5 . 0 \\mathrm { c m }", "type": "inline_equation" }, { "bbox": [ 280, 674, 423, 687 ], "score": 1.0, "content": "tall and plays for FC Spartak Moscow.", "type": "text" } ], "index": 39 } ], "index": 39 } ], "page_idx": 40, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 702, 504, 732 ], "lines": [ { "bbox": [ 114, 698, 506, 714 ], "spans": [ { "bbox": [ 114, 698, 506, 714 ], "score": 1.0, "content": "13We use ROUGE implementation at https://github.com/google-research/google-research/tree/master/rouge", "type": "text" } ] }, { "bbox": [ 105, 711, 506, 724 ], "spans": [ { "bbox": [ 105, 711, 506, 724 ], "score": 1.0, "content": "and BLEURT-20 implementation at https://github.com/google-research/google-research/tree/master/rouge,", "type": "text" } ] }, { "bbox": [ 105, 720, 448, 733 ], "spans": [ { "bbox": [ 105, 720, 448, 733 ], "score": 1.0, "content": "whose checkpoint is available at https://storage.googleapis.com/bleurt-oss-21/BLEURT-20.zip", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 25, 293, 38 ], "spans": [ { "bbox": [ 106, 25, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 752, 310, 760 ], "lines": [ { "bbox": [ 298, 750, 312, 764 ], "spans": [ { "bbox": [ 298, 750, 312, 764 ], "score": 1.0, "content": "", "type": "text", "height": 14, "width": 14 } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 109, 82, 285, 93 ], "lines": [ { "bbox": [ 106, 82, 287, 95 ], "spans": [ { "bbox": [ 106, 82, 287, 95 ], "score": 1.0, "content": "C.8 NATURAL LANGUAGE GENERATION", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 107, 104, 505, 268 ], "lines": [ { "bbox": [ 105, 103, 506, 116 ], "spans": [ { "bbox": [ 105, 103, 506, 116 ], "score": 1.0, "content": "Natural language generation, or conditional natural language generation here, refers to tasks that", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 115, 505, 126 ], "spans": [ { "bbox": [ 105, 115, 505, 126 ], "score": 1.0, "content": "require generating text based on the given information, such as tables and documents. We evaluate", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 125, 504, 137 ], "spans": [ { "bbox": [ 105, 125, 504, 137 ], "score": 1.0, "content": "GLM-130B on data-to-text and summarization tasks. The datasets include WebNLG 2020 (Cas-", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 136, 504, 148 ], "spans": [ { "bbox": [ 105, 136, 504, 148 ], "score": 1.0, "content": "tro Ferreira et al., 2020), Clean E2E NLG (Dušek et al., 2019) and WikiLingua (Scialom et al.,", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 147, 505, 159 ], "spans": [ { "bbox": [ 105, 147, 505, 159 ], "score": 1.0, "content": "2020) from GEM generation benchmark (Gehrmann et al., 2021). We select full WebNLG 2020", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 158, 505, 171 ], "spans": [ { "bbox": [ 105, 158, 505, 171 ], "score": 1.0, "content": "and the Clean E2E NLG in the test set and randomly select 5000 test examples from WikiLingua", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 168, 505, 182 ], "spans": [ { "bbox": [ 105, 168, 505, 182 ], "score": 1.0, "content": "following the practice in (Chowdhery et al., 2022). Following the settings in PaLM, the prompt", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 180, 505, 192 ], "spans": [ { "bbox": [ 105, 180, 505, 192 ], "score": 1.0, "content": "used for the Summarization tasks is “Summarize the following article:” and the prompt used for", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 190, 505, 204 ], "spans": [ { "bbox": [ 105, 190, 505, 204 ], "score": 1.0, "content": "the Data-to-Text tasks is “Verbalize:”. An exception is E2E, where we process the data using", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 203, 505, 214 ], "spans": [ { "bbox": [ 106, 203, 505, 214 ], "score": 1.0, "content": "the prompt “generate-gramatically-correct-text from” provided in promptsource for GLM-130B and", "type": "text" } ], "index": 10 }, { "bbox": [ 106, 213, 505, 226 ], "spans": [ { "bbox": [ 106, 213, 505, 226 ], "score": 1.0, "content": "GPT-3 175B (Davinci). All evaluations are one-shot, and the demonstration samples are randomly", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 224, 506, 236 ], "spans": [ { "bbox": [ 105, 224, 506, 236 ], "score": 1.0, "content": "sampled from the training set. We report the F-measure of ROUGE-2, ROUGE-L (Lin, 2004) and", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 235, 505, 247 ], "spans": [ { "bbox": [ 105, 235, 505, 247 ], "score": 1.0, "content": "BLEURT-20 (Pu et al., 2021). We compare our model with LaMDA, GPT-3 175B (Davinci), and", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 246, 505, 258 ], "spans": [ { "bbox": [ 105, 246, 505, 258 ], "score": 1.0, "content": "PaLM, where the results of LaMDA and PaLM are reported by (Chowdhery et al., 2022), and we", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 257, 329, 269 ], "spans": [ { "bbox": [ 105, 257, 329, 269 ], "score": 1.0, "content": "evaluate GPT-3 175B (Davinci) through OpenAI API.13", "type": "text" } ], "index": 15 } ], "index": 8, "bbox_fs": [ 105, 103, 506, 269 ] }, { "type": "text", "bbox": [ 107, 274, 505, 362 ], "lines": [ { "bbox": [ 105, 274, 505, 286 ], "spans": [ { "bbox": [ 105, 274, 505, 286 ], "score": 1.0, "content": "Our results are presented in Table 16. It shows that GLM-130B has better performances than", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 284, 505, 298 ], "spans": [ { "bbox": [ 105, 284, 505, 298 ], "score": 1.0, "content": "LaMDA and GPT-3 (Davinci) on all tasks. In the Data-to-text task, GLM-130B performs slightly", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 296, 505, 308 ], "spans": [ { "bbox": [ 105, 296, 505, 308 ], "score": 1.0, "content": "worse than PaLM-540B, while in the summary task, GLM-130B has even higher ROUGE results.", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 307, 505, 319 ], "spans": [ { "bbox": [ 105, 307, 505, 319 ], "score": 1.0, "content": "We also ablate GLM-130B to unidirectional to demonstrate the advantage of bidirectional attention.", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 317, 505, 330 ], "spans": [ { "bbox": [ 105, 317, 505, 330 ], "score": 1.0, "content": "Unidirectional GLM-130B underperforms GPT-3 175B in all three datasets, but when it shifts to", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 329, 505, 341 ], "spans": [ { "bbox": [ 105, 329, 505, 341 ], "score": 1.0, "content": "bidirectional attention, there is an instant boost, making GLM-130B even comparable to PaLM-", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 339, 505, 352 ], "spans": [ { "bbox": [ 105, 339, 505, 352 ], "score": 1.0, "content": "540B in a few cases. It indicates that bidirectional attention over the provided context (i.e., prefix)", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 350, 310, 363 ], "spans": [ { "bbox": [ 105, 350, 310, 363 ], "score": 1.0, "content": "can also be beneficial for text generation missions.", "type": "text" } ], "index": 23 } ], "index": 19.5, "bbox_fs": [ 105, 274, 505, 363 ] }, { "type": "table", "bbox": [ 120, 407, 488, 545 ], "blocks": [ { "type": "table_caption", "bbox": [ 108, 370, 502, 404 ], "group_id": 0, "lines": [ { "bbox": [ 106, 370, 503, 383 ], "spans": [ { "bbox": [ 106, 370, 503, 383 ], "score": 1.0, "content": "Table 16: 1-shot GEM English natural language generation tasks (WebNLG, E2E, and WikiLingua).", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 381, 503, 393 ], "spans": [ { "bbox": [ 106, 381, 503, 393 ], "score": 1.0, "content": "We compare two versions of GLM-130B (uni: unidirectional attention, bi: bidirectional attention),", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 392, 474, 406 ], "spans": [ { "bbox": [ 106, 392, 474, 406 ], "score": 1.0, "content": "showing that bidirectional attention can also improve conditional generation’s performance.", "type": "text" } ], "index": 26 } ], "index": 25 }, { "type": "table_body", "bbox": [ 120, 407, 488, 545 ], "group_id": 0, "lines": [ { "bbox": [ 120, 407, 488, 545 ], "spans": [ { "bbox": [ 120, 407, 488, 545 ], "score": 0.985, "html": "
TaskDatasetMetricLaMDA 137BGPT-3175B (Davinci)GLM-130BPaLM-540B
unibi
Data to TextWebNLGROUGE-230.529.925.338.544.4
ROUGE-L-41.236.749.353.8
BLEURT-20159.053.267.773.9
E2EROUGE-229.230.330.933.935.2
ROUGE-L-39.240.042.643.9
BLEURT-20-64.565.068.169.7
SummaryWikiLinguaROUGE-25.47.25.810.49.9
ROUGE-L18.916.423.420.6
BLEURT-20-41.239.445.047.7
", "type": "table", "image_path": "ed6bb4d3edafc673840026c2995da81db68fed9d994c2e39ebfe9ae063cae074.jpg" } ] } ], "index": 28, "virtual_lines": [ { "bbox": [ 120, 407, 488, 453.0 ], "spans": [], "index": 27 }, { "bbox": [ 120, 453.0, 488, 499.0 ], "spans": [], "index": 28 }, { "bbox": [ 120, 499.0, 488, 545.0 ], "spans": [], "index": 29 } ] } ], "index": 26.5 }, { "type": "title", "bbox": [ 108, 554, 311, 565 ], "lines": [ { "bbox": [ 107, 553, 312, 567 ], "spans": [ { "bbox": [ 107, 553, 312, 567 ], "score": 1.0, "content": "(E2E Example, without demonstration sample)", "type": "text" } ], "index": 30 } ], "index": 30 }, { "type": "text", "bbox": [ 109, 571, 383, 611 ], "lines": [ { "bbox": [ 108, 570, 384, 582 ], "spans": [ { "bbox": [ 108, 570, 384, 582 ], "score": 1.0, "content": "Aleksandr_Prudnikov , height , 185.0 (centimetres).", "type": "text" } ], "index": 31 }, { "bbox": [ 108, 581, 353, 592 ], "spans": [ { "bbox": [ 108, 581, 353, 592 ], "score": 1.0, "content": "FC_Spartak_Moscow , ground , Otkrytiye_Arena.", "type": "text" } ], "index": 32 }, { "bbox": [ 107, 590, 364, 603 ], "spans": [ { "bbox": [ 107, 590, 364, 603 ], "score": 1.0, "content": "Aleksandr_Prudnikov , club , FC_Spartak_Moscow.", "type": "text" } ], "index": 33 }, { "bbox": [ 108, 599, 166, 612 ], "spans": [ { "bbox": [ 108, 599, 166, 612 ], "score": 1.0, "content": "Verbalize:", "type": "text" } ], "index": 34 } ], "index": 32.5, "bbox_fs": [ 107, 570, 384, 612 ] }, { "type": "text", "bbox": [ 108, 626, 501, 646 ], "lines": [ { "bbox": [ 106, 623, 503, 639 ], "spans": [ { "bbox": [ 106, 623, 503, 639 ], "score": 1.0, "content": "Groundtruth: 185 centimetre tall Aleksandr Prudnikov played for the Otkrytiye Arena based FC Spartak,", "type": "text" } ], "index": 35 }, { "bbox": [ 107, 633, 145, 647 ], "spans": [ { "bbox": [ 107, 633, 145, 647 ], "score": 1.0, "content": "Moscow.", "type": "text" } ], "index": 36 } ], "index": 35.5, "bbox_fs": [ 106, 623, 503, 647 ] }, { "type": "text", "bbox": [ 109, 650, 501, 671 ], "lines": [ { "bbox": [ 108, 648, 503, 663 ], "spans": [ { "bbox": [ 108, 648, 503, 663 ], "score": 1.0, "content": "GPT-3 175B (Davinci): Aleksandr Prudnikov is a midfielder for FC Spartak Moscow, a football (soccer) club", "type": "text" } ], "index": 37 }, { "bbox": [ 108, 659, 205, 672 ], "spans": [ { "bbox": [ 108, 659, 205, 672 ], "score": 1.0, "content": "based in Moscow, Russia.", "type": "text" } ], "index": 38 } ], "index": 37.5, "bbox_fs": [ 108, 648, 503, 672 ] }, { "type": "text", "bbox": [ 111, 675, 422, 686 ], "lines": [ { "bbox": [ 109, 674, 423, 687 ], "spans": [ { "bbox": [ 109, 674, 245, 687 ], "score": 1.0, "content": "GLM-130B: Aleksandr Prudnikov is", "type": "text" }, { "bbox": [ 245, 676, 280, 686 ], "score": 0.5, "content": "1 8 5 . 0 \\mathrm { c m }", "type": "inline_equation" }, { "bbox": [ 280, 674, 423, 687 ], "score": 1.0, "content": "tall and plays for FC Spartak Moscow.", "type": "text" } ], "index": 39 } ], "index": 39, "bbox_fs": [ 109, 674, 423, 687 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 111, 82, 310, 93 ], "lines": [ { "bbox": [ 109, 81, 312, 95 ], "spans": [ { "bbox": [ 109, 81, 312, 95 ], "score": 1.0, "content": "(E2E Example, without demonstration sample)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 110, 100, 466, 119 ], "lines": [ { "bbox": [ 109, 99, 467, 111 ], "spans": [ { "bbox": [ 109, 99, 467, 111 ], "score": 1.0, "content": "Combine all of the following data into a concise and grammatically", "type": "text" } ], "index": 1 }, { "bbox": [ 109, 109, 181, 120 ], "spans": [ { "bbox": [ 109, 109, 181, 120 ], "score": 1.0, "content": "correct text:", "type": "text" } ], "index": 2 } ], "index": 1.5 }, { "type": "text", "bbox": [ 109, 120, 224, 149 ], "lines": [ { "bbox": [ 108, 119, 203, 130 ], "spans": [ { "bbox": [ 108, 119, 203, 130 ], "score": 1.0, "content": "name : Blue Spice", "type": "text" } ], "index": 3 }, { "bbox": [ 108, 127, 226, 141 ], "spans": [ { "bbox": [ 108, 127, 226, 141 ], "score": 1.0, "content": "eatType : coffee shop", "type": "text" } ], "index": 4 }, { "bbox": [ 107, 139, 198, 149 ], "spans": [ { "bbox": [ 107, 139, 198, 149 ], "score": 1.0, "content": "area : riverside", "type": "text" } ], "index": 5 } ], "index": 4 }, { "type": "text", "bbox": [ 109, 164, 388, 174 ], "lines": [ { "bbox": [ 108, 162, 388, 176 ], "spans": [ { "bbox": [ 108, 162, 388, 176 ], "score": 1.0, "content": "Groundtruth: At the riverside, there is a coffee shop called The Blue Spice.", "type": "text" } ], "index": 6 } ], "index": 6 }, { "type": "text", "bbox": [ 111, 178, 501, 199 ], "lines": [ { "bbox": [ 108, 176, 503, 190 ], "spans": [ { "bbox": [ 108, 176, 503, 190 ], "score": 1.0, "content": "GPT-3 175B (Davinci): Blue Spice is a riverside coffee shop which is located on the corner of River Street", "type": "text" } ], "index": 7 }, { "bbox": [ 109, 188, 189, 200 ], "spans": [ { "bbox": [ 109, 188, 189, 200 ], "score": 1.0, "content": "and Riverbank Street.", "type": "text" } ], "index": 8 } ], "index": 7.5 }, { "type": "text", "bbox": [ 108, 204, 421, 214 ], "lines": [ { "bbox": [ 108, 203, 422, 216 ], "spans": [ { "bbox": [ 108, 203, 422, 216 ], "score": 1.0, "content": "GLM-130B: There’s a coffee shop that serves coffee in the riverside area, Blue Spice.", "type": "text" } ], "index": 9 } ], "index": 9 }, { "type": "title", "bbox": [ 109, 217, 345, 227 ], "lines": [ { "bbox": [ 109, 216, 345, 228 ], "spans": [ { "bbox": [ 109, 216, 345, 228 ], "score": 1.0, "content": "(WikiLingua Example, without demonstration sample)", "type": "text" } ], "index": 10 } ], "index": 10 }, { "type": "text", "bbox": [ 109, 233, 498, 363 ], "lines": [ { "bbox": [ 108, 232, 467, 244 ], "spans": [ { "bbox": [ 108, 232, 467, 244 ], "score": 1.0, "content": "The majority of your customers will search for you online, so it's", "type": "text" } ], "index": 11 }, { "bbox": [ 108, 242, 467, 254 ], "spans": [ { "bbox": [ 108, 242, 467, 254 ], "score": 1.0, "content": "essential to have a user-friendly website. At the very least, your", "type": "text" } ], "index": 12 }, { "bbox": [ 108, 252, 495, 266 ], "spans": [ { "bbox": [ 108, 252, 495, 266 ], "score": 1.0, "content": "website should include information about your business and your history", "type": "text" } ], "index": 13 }, { "bbox": [ 109, 263, 467, 275 ], "spans": [ { "bbox": [ 109, 263, 467, 275 ], "score": 1.0, "content": "in the moving industry, details about the quoting process, contact", "type": "text" } ], "index": 14 }, { "bbox": [ 108, 272, 488, 285 ], "spans": [ { "bbox": [ 108, 272, 488, 285 ], "score": 1.0, "content": "information, and a description of the services you offer. If possible,", "type": "text" } ], "index": 15 }, { "bbox": [ 108, 282, 484, 294 ], "spans": [ { "bbox": [ 108, 282, 484, 294 ], "score": 1.0, "content": "allow customers to schedule quotes online, view your availability, or", "type": "text" } ], "index": 16 }, { "bbox": [ 108, 292, 499, 305 ], "spans": [ { "bbox": [ 108, 292, 499, 305 ], "score": 1.0, "content": "read testimonials from other customers. One of the easiest ways to start", "type": "text" } ], "index": 17 }, { "bbox": [ 111, 303, 488, 315 ], "spans": [ { "bbox": [ 111, 303, 488, 315 ], "score": 1.0, "content": "your business is by helping people you already know with their moves.", "type": "text" } ], "index": 18 }, { "bbox": [ 108, 313, 489, 325 ], "spans": [ { "bbox": [ 108, 313, 489, 325 ], "score": 1.0, "content": "You can be on the lookout for any announcements related to moving that", "type": "text" } ], "index": 19 }, { "bbox": [ 107, 322, 489, 335 ], "spans": [ { "bbox": [ 107, 322, 489, 335 ], "score": 1.0, "content": "your friends make on social media. Once you have provided good service", "type": "text" } ], "index": 20 }, { "bbox": [ 108, 333, 473, 344 ], "spans": [ { "bbox": [ 108, 333, 473, 344 ], "score": 1.0, "content": "to friends, they are likely to recommend you to others. In order to", "type": "text" } ], "index": 21 }, { "bbox": [ 108, 343, 473, 355 ], "spans": [ { "bbox": [ 108, 343, 473, 355 ], "score": 1.0, "content": "spread the word about your business, have some professional looking", "type": "text" } ], "index": 22 }, { "bbox": [ 108, 353, 499, 365 ], "spans": [ { "bbox": [ 108, 353, 499, 365 ], "score": 1.0, "content": "promotional materials printed and distribute them around your community.", "type": "text" } ], "index": 23 } ], "index": 17 }, { "type": "text", "bbox": [ 114, 643, 179, 651 ], "lines": [ { "bbox": [ 114, 642, 181, 652 ], "spans": [ { "bbox": [ 114, 642, 181, 652 ], "score": 1.0, "content": "the article:", "type": "text" } ], "index": 24 } ], "index": 24 }, { "type": "text", "bbox": [ 110, 666, 501, 687 ], "lines": [ { "bbox": [ 109, 666, 502, 678 ], "spans": [ { "bbox": [ 109, 666, 502, 678 ], "score": 1.0, "content": "Groundtruth: Create a website. Start with friends. Distribute business cards and flyers. Network for promo-", "type": "text" } ], "index": 25 }, { "bbox": [ 109, 676, 456, 688 ], "spans": [ { "bbox": [ 109, 676, 456, 688 ], "score": 1.0, "content": "tion. Seek out free advertising opportunities. Consider paid advertising. Gain a good reputation.", "type": "text" } ], "index": 26 } ], "index": 25.5 }, { "type": "text", "bbox": [ 111, 691, 483, 702 ], "lines": [ { "bbox": [ 110, 690, 483, 702 ], "spans": [ { "bbox": [ 110, 690, 483, 702 ], "score": 1.0, "content": "GPT-3 175B (Davinci): Market yourself online. Look for opportunities to market your services offline.", "type": "text" } ], "index": 27 } ], "index": 27 }, { "type": "text", "bbox": [ 110, 706, 500, 727 ], "lines": [ { "bbox": [ 108, 705, 502, 718 ], "spans": [ { "bbox": [ 108, 705, 502, 718 ], "score": 1.0, "content": "GLM-130B: Have a user-friendly website. Promote your business through social media. Build relationships", "type": "text" } ], "index": 28 }, { "bbox": [ 107, 714, 483, 729 ], "spans": [ { "bbox": [ 107, 714, 483, 729 ], "score": 1.0, "content": "with influential people in your community. Use directory sites like Craigslist to advertise your services.", "type": "text" } ], "index": 29 } ], "index": 28.5 } ], "page_idx": 41, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 752, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 764 ], "spans": [ { "bbox": [ 298, 750, 313, 764 ], "score": 1.0, "content": "", "type": "text", "height": 14, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 111, 82, 310, 93 ], "lines": [ { "bbox": [ 109, 81, 312, 95 ], "spans": [ { "bbox": [ 109, 81, 312, 95 ], "score": 1.0, "content": "(E2E Example, without demonstration sample)", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 110, 100, 466, 119 ], "lines": [ { "bbox": [ 109, 99, 467, 111 ], "spans": [ { "bbox": [ 109, 99, 467, 111 ], "score": 1.0, "content": "Combine all of the following data into a concise and grammatically", "type": "text" } ], "index": 1 }, { "bbox": [ 109, 109, 181, 120 ], "spans": [ { "bbox": [ 109, 109, 181, 120 ], "score": 1.0, "content": "correct text:", "type": "text" } ], "index": 2 } ], "index": 1.5, "bbox_fs": [ 109, 99, 467, 120 ] }, { "type": "text", "bbox": [ 109, 120, 224, 149 ], "lines": [ { "bbox": [ 108, 119, 203, 130 ], "spans": [ { "bbox": [ 108, 119, 203, 130 ], "score": 1.0, "content": "name : Blue Spice", "type": "text" } ], "index": 3 }, { "bbox": [ 108, 127, 226, 141 ], "spans": [ { "bbox": [ 108, 127, 226, 141 ], "score": 1.0, "content": "eatType : coffee shop", "type": "text" } ], "index": 4 }, { "bbox": [ 107, 139, 198, 149 ], "spans": [ { "bbox": [ 107, 139, 198, 149 ], "score": 1.0, "content": "area : riverside", "type": "text" } ], "index": 5 } ], "index": 4, "bbox_fs": [ 107, 119, 226, 149 ] }, { "type": "text", "bbox": [ 109, 164, 388, 174 ], "lines": [ { "bbox": [ 108, 162, 388, 176 ], "spans": [ { "bbox": [ 108, 162, 388, 176 ], "score": 1.0, "content": "Groundtruth: At the riverside, there is a coffee shop called The Blue Spice.", "type": "text" } ], "index": 6 } ], "index": 6, "bbox_fs": [ 108, 162, 388, 176 ] }, { "type": "text", "bbox": [ 111, 178, 501, 199 ], "lines": [ { "bbox": [ 108, 176, 503, 190 ], "spans": [ { "bbox": [ 108, 176, 503, 190 ], "score": 1.0, "content": "GPT-3 175B (Davinci): Blue Spice is a riverside coffee shop which is located on the corner of River Street", "type": "text" } ], "index": 7 }, { "bbox": [ 109, 188, 189, 200 ], "spans": [ { "bbox": [ 109, 188, 189, 200 ], "score": 1.0, "content": "and Riverbank Street.", "type": "text" } ], "index": 8 } ], "index": 7.5, "bbox_fs": [ 108, 176, 503, 200 ] }, { "type": "text", "bbox": [ 108, 204, 421, 214 ], "lines": [ { "bbox": [ 108, 203, 422, 216 ], "spans": [ { "bbox": [ 108, 203, 422, 216 ], "score": 1.0, "content": "GLM-130B: There’s a coffee shop that serves coffee in the riverside area, Blue Spice.", "type": "text" } ], "index": 9 } ], "index": 9, "bbox_fs": [ 108, 203, 422, 216 ] }, { "type": "title", "bbox": [ 109, 217, 345, 227 ], "lines": [ { "bbox": [ 109, 216, 345, 228 ], "spans": [ { "bbox": [ 109, 216, 345, 228 ], "score": 1.0, "content": "(WikiLingua Example, without demonstration sample)", "type": "text" } ], "index": 10 } ], "index": 10 }, { "type": "text", "bbox": [ 109, 233, 498, 363 ], "lines": [ { "bbox": [ 108, 232, 467, 244 ], "spans": [ { "bbox": [ 108, 232, 467, 244 ], "score": 1.0, "content": "The majority of your customers will search for you online, so it's", "type": "text" } ], "index": 11 }, { "bbox": [ 108, 242, 467, 254 ], "spans": [ { "bbox": [ 108, 242, 467, 254 ], "score": 1.0, "content": "essential to have a user-friendly website. At the very least, your", "type": "text" } ], "index": 12 }, { "bbox": [ 108, 252, 495, 266 ], "spans": [ { "bbox": [ 108, 252, 495, 266 ], "score": 1.0, "content": "website should include information about your business and your history", "type": "text" } ], "index": 13 }, { "bbox": [ 109, 263, 467, 275 ], "spans": [ { "bbox": [ 109, 263, 467, 275 ], "score": 1.0, "content": "in the moving industry, details about the quoting process, contact", "type": "text" } ], "index": 14 }, { "bbox": [ 108, 272, 488, 285 ], "spans": [ { "bbox": [ 108, 272, 488, 285 ], "score": 1.0, "content": "information, and a description of the services you offer. If possible,", "type": "text" } ], "index": 15 }, { "bbox": [ 108, 282, 484, 294 ], "spans": [ { "bbox": [ 108, 282, 484, 294 ], "score": 1.0, "content": "allow customers to schedule quotes online, view your availability, or", "type": "text" } ], "index": 16 }, { "bbox": [ 108, 292, 499, 305 ], "spans": [ { "bbox": [ 108, 292, 499, 305 ], "score": 1.0, "content": "read testimonials from other customers. One of the easiest ways to start", "type": "text" } ], "index": 17 }, { "bbox": [ 111, 303, 488, 315 ], "spans": [ { "bbox": [ 111, 303, 488, 315 ], "score": 1.0, "content": "your business is by helping people you already know with their moves.", "type": "text" } ], "index": 18 }, { "bbox": [ 108, 313, 489, 325 ], "spans": [ { "bbox": [ 108, 313, 489, 325 ], "score": 1.0, "content": "You can be on the lookout for any announcements related to moving that", "type": "text" } ], "index": 19 }, { "bbox": [ 107, 322, 489, 335 ], "spans": [ { "bbox": [ 107, 322, 489, 335 ], "score": 1.0, "content": "your friends make on social media. Once you have provided good service", "type": "text" } ], "index": 20 }, { "bbox": [ 108, 333, 473, 344 ], "spans": [ { "bbox": [ 108, 333, 473, 344 ], "score": 1.0, "content": "to friends, they are likely to recommend you to others. In order to", "type": "text" } ], "index": 21 }, { "bbox": [ 108, 343, 473, 355 ], "spans": [ { "bbox": [ 108, 343, 473, 355 ], "score": 1.0, "content": "spread the word about your business, have some professional looking", "type": "text" } ], "index": 22 }, { "bbox": [ 108, 353, 499, 365 ], "spans": [ { "bbox": [ 108, 353, 499, 365 ], "score": 1.0, "content": "promotional materials printed and distribute them around your community.", "type": "text" } ], "index": 23 } ], "index": 17, "bbox_fs": [ 107, 232, 499, 365 ] }, { "type": "text", "bbox": [ 114, 643, 179, 651 ], "lines": [ { "bbox": [ 114, 642, 181, 652 ], "spans": [ { "bbox": [ 114, 642, 181, 652 ], "score": 1.0, "content": "the article:", "type": "text" } ], "index": 24 } ], "index": 24, "bbox_fs": [ 114, 642, 181, 652 ] }, { "type": "text", "bbox": [ 110, 666, 501, 687 ], "lines": [ { "bbox": [ 109, 666, 502, 678 ], "spans": [ { "bbox": [ 109, 666, 502, 678 ], "score": 1.0, "content": "Groundtruth: Create a website. Start with friends. Distribute business cards and flyers. Network for promo-", "type": "text" } ], "index": 25 }, { "bbox": [ 109, 676, 456, 688 ], "spans": [ { "bbox": [ 109, 676, 456, 688 ], "score": 1.0, "content": "tion. Seek out free advertising opportunities. Consider paid advertising. Gain a good reputation.", "type": "text" } ], "index": 26 } ], "index": 25.5, "bbox_fs": [ 109, 666, 502, 688 ] }, { "type": "text", "bbox": [ 111, 691, 483, 702 ], "lines": [ { "bbox": [ 110, 690, 483, 702 ], "spans": [ { "bbox": [ 110, 690, 483, 702 ], "score": 1.0, "content": "GPT-3 175B (Davinci): Market yourself online. Look for opportunities to market your services offline.", "type": "text" } ], "index": 27 } ], "index": 27, "bbox_fs": [ 110, 690, 483, 702 ] }, { "type": "text", "bbox": [ 110, 706, 500, 727 ], "lines": [ { "bbox": [ 108, 705, 502, 718 ], "spans": [ { "bbox": [ 108, 705, 502, 718 ], "score": 1.0, "content": "GLM-130B: Have a user-friendly website. Promote your business through social media. Build relationships", "type": "text" } ], "index": 28 }, { "bbox": [ 107, 714, 483, 729 ], "spans": [ { "bbox": [ 107, 714, 483, 729 ], "score": 1.0, "content": "with influential people in your community. Use directory sites like Craigslist to advertise your services.", "type": "text" } ], "index": 29 } ], "index": 28.5, "bbox_fs": [ 107, 705, 502, 729 ] } ] }, { "preproc_blocks": [ { "type": "table", "bbox": [ 106, 122, 505, 197 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 80, 505, 114 ], "group_id": 0, "lines": [ { "bbox": [ 105, 79, 505, 94 ], "spans": [ { "bbox": [ 105, 79, 505, 94 ], "score": 1.0, "content": "Table 17: Winograd-style tasks evaluation (Winogender and Winograd273). All scores are accuracy.", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 90, 505, 104 ], "spans": [ { "bbox": [ 105, 90, 222, 104 ], "score": 1.0, "content": "K refers to number of shots.", "type": "text" }, { "bbox": [ 222, 91, 277, 102 ], "score": 0.51, "content": "^ { * } \\mathrm { P a L M } 5 4 0 \\mathrm { B }", "type": "inline_equation" }, { "bbox": [ 277, 90, 505, 104 ], "score": 1.0, "content": "did not report the exact 0-shot Winogender result, so we", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 101, 306, 115 ], "spans": [ { "bbox": [ 105, 101, 306, 115 ], "score": 1.0, "content": "have to estimate a value from its plotted diagram.", "type": "text" } ], "index": 2 } ], "index": 1 }, { "type": "table_body", "bbox": [ 106, 122, 505, 197 ], "group_id": 0, "lines": [ { "bbox": [ 106, 122, 505, 197 ], "spans": [ { "bbox": [ 106, 122, 505, 197 ], "score": 0.981, "html": "
KGPT-3 (Davinci)OPT 175BBLOOM 176BPaLM 540BChinchillaGopher 280BGLM-130B
Winogender064.254.849.175.0*78.371.479.7
162.6-53.179.4-80.7
Winograd273088.352.949.190.1--84.3
", "type": "table", "image_path": "4209a7963126c4f7c72e3e9ad2b5b91a70014455f09c73ba4cad097fbffe9a43.jpg" } ] } ], "index": 4, "virtual_lines": [ { "bbox": [ 106, 122, 505, 147.0 ], "spans": [], "index": 3 }, { "bbox": [ 106, 147.0, 505, 172.0 ], "spans": [], "index": 4 }, { "bbox": [ 106, 172.0, 505, 197.0 ], "spans": [], "index": 5 } ] } ], "index": 2.5 }, { "type": "table", "bbox": [ 111, 242, 498, 306 ], "blocks": [ { "type": "table_caption", "bbox": [ 150, 222, 460, 234 ], "group_id": 1, "lines": [ { "bbox": [ 150, 220, 460, 236 ], "spans": [ { "bbox": [ 150, 220, 460, 236 ], "score": 1.0, "content": "Table 18: Closed-book question answering (Natural Questions, StrategyQA).", "type": "text" } ], "index": 6 } ], "index": 6 }, { "type": "table_body", "bbox": [ 111, 242, 498, 306 ], "group_id": 1, "lines": [ { "bbox": [ 111, 242, 498, 306 ], "spans": [ { "bbox": [ 111, 242, 498, 306 ], "score": 0.979, "html": "
GPT-3 (Davinci)BLOOM 176BPaLM 540BChinchillaGopher 280BGLM-130B
Natural Questions (EM)14.613.121.216.610.111.7
StrategyQA (Acc)52.349.864.0--60.6
", "type": "table", "image_path": "986291ed83a11cfca6cfa50b3e3716adb802590dac0a35daad53d8e8ba97c82d.jpg" } ] } ], "index": 8, "virtual_lines": [ { "bbox": [ 111, 242, 498, 263.3333333333333 ], "spans": [], "index": 7 }, { "bbox": [ 111, 263.3333333333333, 498, 284.66666666666663 ], "spans": [], "index": 8 }, { "bbox": [ 111, 284.66666666666663, 498, 305.99999999999994 ], "spans": [], "index": 9 } ] } ], "index": 7.0 }, { "type": "table", "bbox": [ 111, 350, 498, 414 ], "blocks": [ { "type": "table_caption", "bbox": [ 108, 330, 502, 342 ], "group_id": 2, "lines": [ { "bbox": [ 108, 329, 503, 343 ], "spans": [ { "bbox": [ 108, 329, 503, 343 ], "score": 1.0, "content": "Table 19: Commonsense reasoning (Commonsense QA, MC-TACO). K refers to number of shots.", "type": "text" } ], "index": 10 } ], "index": 10 }, { "type": "table_body", "bbox": [ 111, 350, 498, 414 ], "group_id": 2, "lines": [ { "bbox": [ 111, 350, 498, 414 ], "spans": [ { "bbox": [ 111, 350, 498, 414 ], "score": 0.978, "html": "
KGPT-3 (Davinci)OPT175BBLOOM 176BGLM-130B
Commonsense QA (Acc)057.242.861.6
161.21162.2
MC-TACO (EM)0112.413.113.6
", "type": "table", "image_path": "be05480b612c96d6f1d59d2c67fae78f62c3da3e4c3093eff2e96605bccd3a0e.jpg" } ] } ], "index": 12, "virtual_lines": [ { "bbox": [ 111, 350, 498, 371.3333333333333 ], "spans": [], "index": 11 }, { "bbox": [ 111, 371.3333333333333, 498, 392.66666666666663 ], "spans": [], "index": 12 }, { "bbox": [ 111, 392.66666666666663, 498, 413.99999999999994 ], "spans": [], "index": 13 } ] } ], "index": 11.0 }, { "type": "title", "bbox": [ 108, 433, 246, 445 ], "lines": [ { "bbox": [ 106, 432, 248, 446 ], "spans": [ { "bbox": [ 106, 432, 248, 446 ], "score": 1.0, "content": "C.9 WINOGRAD-STYLE TASKS", "type": "text" } ], "index": 14 } ], "index": 14 }, { "type": "text", "bbox": [ 106, 454, 505, 575 ], "lines": [ { "bbox": [ 106, 454, 505, 466 ], "spans": [ { "bbox": [ 106, 454, 505, 466 ], "score": 1.0, "content": "We include the evaluation on Winograd-style tasks, which derives from the classical Winograd", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 465, 505, 477 ], "spans": [ { "bbox": [ 106, 465, 505, 477 ], "score": 1.0, "content": "Schemas Challenge (Levesque et al., 2012) that aims to test coreference resolution in an ambiguous", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 476, 505, 488 ], "spans": [ { "bbox": [ 105, 476, 505, 488 ], "score": 1.0, "content": "context for the machine to understand. Since in MIP, we have included the Winogrande (Sakaguchi", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 486, 504, 499 ], "spans": [ { "bbox": [ 105, 486, 504, 499 ], "score": 1.0, "content": "et al., 2021) and SuperGLUE WSC (Wang et al., 2019), here we test on Winogender (Rudinger et al.,", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 498, 505, 510 ], "spans": [ { "bbox": [ 106, 498, 505, 510 ], "score": 1.0, "content": "2018) and Winograd273 (Levesque et al., 2012). For Winogender, GPT-3’s results are acquired from", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 508, 505, 521 ], "spans": [ { "bbox": [ 106, 508, 505, 521 ], "score": 1.0, "content": "OpenAI API, and BLOOM’s 1-shot result is evaluated by ourselves. For Winograd273, since exist-", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 520, 505, 532 ], "spans": [ { "bbox": [ 106, 520, 505, 532 ], "score": 1.0, "content": "ing works (Brown et al., 2020; Chowdhery et al., 2022) show that 1-shot learning brings almost no", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 531, 505, 543 ], "spans": [ { "bbox": [ 106, 531, 505, 543 ], "score": 1.0, "content": "improvement, we only test the zero-shot result. Another thing to notice is that, despite GPT-style", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 541, 505, 554 ], "spans": [ { "bbox": [ 105, 541, 505, 554 ], "score": 1.0, "content": "models (e.g., GPT-3, PaLM) adopting the “partial evaluation” described in (Radford et al., 2019),", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 552, 506, 565 ], "spans": [ { "bbox": [ 105, 552, 506, 565 ], "score": 1.0, "content": "we find the prompt “ The \"\" refers to [MASK]” is better for", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 563, 276, 576 ], "spans": [ { "bbox": [ 106, 563, 276, 576 ], "score": 1.0, "content": "GLM-130B and adopt it in the evaluation.", "type": "text" } ], "index": 25 } ], "index": 20 }, { "type": "text", "bbox": [ 108, 580, 502, 603 ], "lines": [ { "bbox": [ 107, 580, 505, 593 ], "spans": [ { "bbox": [ 107, 580, 505, 593 ], "score": 1.0, "content": "The results are presented in Table 17. GLM-130B performs the best across all evaluated LLM on", "type": "text" } ], "index": 26 }, { "bbox": [ 107, 591, 414, 604 ], "spans": [ { "bbox": [ 107, 591, 414, 604 ], "score": 1.0, "content": "Winogender, and marginally poorer than GPT-3 and PaLM on Winograd273.", "type": "text" } ], "index": 27 } ], "index": 26.5 }, { "type": "title", "bbox": [ 109, 617, 306, 628 ], "lines": [ { "bbox": [ 106, 616, 308, 630 ], "spans": [ { "bbox": [ 106, 616, 308, 630 ], "score": 1.0, "content": "C.10 CLOSED-BOOK QUESTION ANSWERING", "type": "text" } ], "index": 28 } ], "index": 28 }, { "type": "text", "bbox": [ 107, 637, 505, 693 ], "lines": [ { "bbox": [ 106, 637, 505, 649 ], "spans": [ { "bbox": [ 106, 637, 505, 649 ], "score": 1.0, "content": "Closed-book question answering (CBQA) (Roberts et al., 2020) is a widely adopted task to evaluate", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 648, 505, 660 ], "spans": [ { "bbox": [ 105, 648, 505, 660 ], "score": 1.0, "content": "language models’ memorization of factual knowledge, on contrary to the traditional “open-book”", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 658, 505, 672 ], "spans": [ { "bbox": [ 105, 658, 505, 672 ], "score": 1.0, "content": "evaluation. As we have included TriviaQA (Joshi et al., 2017) and WebQuestions (Berant et al.,", "type": "text" } ], "index": 31 }, { "bbox": [ 106, 671, 505, 682 ], "spans": [ { "bbox": [ 106, 671, 505, 682 ], "score": 1.0, "content": "2013) in the MIP training, here we choose Natural Questions (Kwiatkowski et al., 2019) and Strat-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 681, 364, 694 ], "spans": [ { "bbox": [ 105, 681, 364, 694 ], "score": 1.0, "content": "egyQA (Geva et al., 2021) as the evaluation datasets for CBQA.", "type": "text" } ], "index": 33 } ], "index": 31 }, { "type": "text", "bbox": [ 108, 699, 504, 732 ], "lines": [ { "bbox": [ 106, 698, 505, 712 ], "spans": [ { "bbox": [ 106, 698, 505, 712 ], "score": 1.0, "content": "The results are presented in Table 18. GLM-130B performs relatively poorer on Natural Questions", "type": "text" } ], "index": 34 }, { "bbox": [ 106, 709, 506, 723 ], "spans": [ { "bbox": [ 106, 709, 506, 723 ], "score": 1.0, "content": "and performs well on StrategyQA. GLM-130B’s underperformance on Natural Questions, we spec-", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 720, 505, 733 ], "spans": [ { "bbox": [ 106, 720, 505, 733 ], "score": 1.0, "content": "ulate, potentially derives from the insufficiency fitting on English corpora, as it roughly only viewed", "type": "text" } ], "index": 36 } ], "index": 35 } ], "page_idx": 42, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 763 ], "spans": [ { "bbox": [ 298, 750, 313, 763 ], "score": 1.0, "content": "43", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "table", "bbox": [ 106, 122, 505, 197 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 80, 505, 114 ], "group_id": 0, "lines": [ { "bbox": [ 105, 79, 505, 94 ], "spans": [ { "bbox": [ 105, 79, 505, 94 ], "score": 1.0, "content": "Table 17: Winograd-style tasks evaluation (Winogender and Winograd273). All scores are accuracy.", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 90, 505, 104 ], "spans": [ { "bbox": [ 105, 90, 222, 104 ], "score": 1.0, "content": "K refers to number of shots.", "type": "text" }, { "bbox": [ 222, 91, 277, 102 ], "score": 0.51, "content": "^ { * } \\mathrm { P a L M } 5 4 0 \\mathrm { B }", "type": "inline_equation" }, { "bbox": [ 277, 90, 505, 104 ], "score": 1.0, "content": "did not report the exact 0-shot Winogender result, so we", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 101, 306, 115 ], "spans": [ { "bbox": [ 105, 101, 306, 115 ], "score": 1.0, "content": "have to estimate a value from its plotted diagram.", "type": "text" } ], "index": 2 } ], "index": 1 }, { "type": "table_body", "bbox": [ 106, 122, 505, 197 ], "group_id": 0, "lines": [ { "bbox": [ 106, 122, 505, 197 ], "spans": [ { "bbox": [ 106, 122, 505, 197 ], "score": 0.981, "html": "
KGPT-3 (Davinci)OPT 175BBLOOM 176BPaLM 540BChinchillaGopher 280BGLM-130B
Winogender064.254.849.175.0*78.371.479.7
162.6-53.179.4-80.7
Winograd273088.352.949.190.1--84.3
", "type": "table", "image_path": "4209a7963126c4f7c72e3e9ad2b5b91a70014455f09c73ba4cad097fbffe9a43.jpg" } ] } ], "index": 4, "virtual_lines": [ { "bbox": [ 106, 122, 505, 147.0 ], "spans": [], "index": 3 }, { "bbox": [ 106, 147.0, 505, 172.0 ], "spans": [], "index": 4 }, { "bbox": [ 106, 172.0, 505, 197.0 ], "spans": [], "index": 5 } ] } ], "index": 2.5 }, { "type": "table", "bbox": [ 111, 242, 498, 306 ], "blocks": [ { "type": "table_caption", "bbox": [ 150, 222, 460, 234 ], "group_id": 1, "lines": [ { "bbox": [ 150, 220, 460, 236 ], "spans": [ { "bbox": [ 150, 220, 460, 236 ], "score": 1.0, "content": "Table 18: Closed-book question answering (Natural Questions, StrategyQA).", "type": "text" } ], "index": 6 } ], "index": 6 }, { "type": "table_body", "bbox": [ 111, 242, 498, 306 ], "group_id": 1, "lines": [ { "bbox": [ 111, 242, 498, 306 ], "spans": [ { "bbox": [ 111, 242, 498, 306 ], "score": 0.979, "html": "
GPT-3 (Davinci)BLOOM 176BPaLM 540BChinchillaGopher 280BGLM-130B
Natural Questions (EM)14.613.121.216.610.111.7
StrategyQA (Acc)52.349.864.0--60.6
", "type": "table", "image_path": "986291ed83a11cfca6cfa50b3e3716adb802590dac0a35daad53d8e8ba97c82d.jpg" } ] } ], "index": 8, "virtual_lines": [ { "bbox": [ 111, 242, 498, 263.3333333333333 ], "spans": [], "index": 7 }, { "bbox": [ 111, 263.3333333333333, 498, 284.66666666666663 ], "spans": [], "index": 8 }, { "bbox": [ 111, 284.66666666666663, 498, 305.99999999999994 ], "spans": [], "index": 9 } ] } ], "index": 7.0 }, { "type": "table", "bbox": [ 111, 350, 498, 414 ], "blocks": [ { "type": "table_caption", "bbox": [ 108, 330, 502, 342 ], "group_id": 2, "lines": [ { "bbox": [ 108, 329, 503, 343 ], "spans": [ { "bbox": [ 108, 329, 503, 343 ], "score": 1.0, "content": "Table 19: Commonsense reasoning (Commonsense QA, MC-TACO). K refers to number of shots.", "type": "text" } ], "index": 10 } ], "index": 10 }, { "type": "table_body", "bbox": [ 111, 350, 498, 414 ], "group_id": 2, "lines": [ { "bbox": [ 111, 350, 498, 414 ], "spans": [ { "bbox": [ 111, 350, 498, 414 ], "score": 0.978, "html": "
KGPT-3 (Davinci)OPT175BBLOOM 176BGLM-130B
Commonsense QA (Acc)057.242.861.6
161.21162.2
MC-TACO (EM)0112.413.113.6
", "type": "table", "image_path": "be05480b612c96d6f1d59d2c67fae78f62c3da3e4c3093eff2e96605bccd3a0e.jpg" } ] } ], "index": 12, "virtual_lines": [ { "bbox": [ 111, 350, 498, 371.3333333333333 ], "spans": [], "index": 11 }, { "bbox": [ 111, 371.3333333333333, 498, 392.66666666666663 ], "spans": [], "index": 12 }, { "bbox": [ 111, 392.66666666666663, 498, 413.99999999999994 ], "spans": [], "index": 13 } ] } ], "index": 11.0 }, { "type": "title", "bbox": [ 108, 433, 246, 445 ], "lines": [ { "bbox": [ 106, 432, 248, 446 ], "spans": [ { "bbox": [ 106, 432, 248, 446 ], "score": 1.0, "content": "C.9 WINOGRAD-STYLE TASKS", "type": "text" } ], "index": 14 } ], "index": 14 }, { "type": "text", "bbox": [ 106, 454, 505, 575 ], "lines": [ { "bbox": [ 106, 454, 505, 466 ], "spans": [ { "bbox": [ 106, 454, 505, 466 ], "score": 1.0, "content": "We include the evaluation on Winograd-style tasks, which derives from the classical Winograd", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 465, 505, 477 ], "spans": [ { "bbox": [ 106, 465, 505, 477 ], "score": 1.0, "content": "Schemas Challenge (Levesque et al., 2012) that aims to test coreference resolution in an ambiguous", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 476, 505, 488 ], "spans": [ { "bbox": [ 105, 476, 505, 488 ], "score": 1.0, "content": "context for the machine to understand. Since in MIP, we have included the Winogrande (Sakaguchi", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 486, 504, 499 ], "spans": [ { "bbox": [ 105, 486, 504, 499 ], "score": 1.0, "content": "et al., 2021) and SuperGLUE WSC (Wang et al., 2019), here we test on Winogender (Rudinger et al.,", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 498, 505, 510 ], "spans": [ { "bbox": [ 106, 498, 505, 510 ], "score": 1.0, "content": "2018) and Winograd273 (Levesque et al., 2012). For Winogender, GPT-3’s results are acquired from", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 508, 505, 521 ], "spans": [ { "bbox": [ 106, 508, 505, 521 ], "score": 1.0, "content": "OpenAI API, and BLOOM’s 1-shot result is evaluated by ourselves. For Winograd273, since exist-", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 520, 505, 532 ], "spans": [ { "bbox": [ 106, 520, 505, 532 ], "score": 1.0, "content": "ing works (Brown et al., 2020; Chowdhery et al., 2022) show that 1-shot learning brings almost no", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 531, 505, 543 ], "spans": [ { "bbox": [ 106, 531, 505, 543 ], "score": 1.0, "content": "improvement, we only test the zero-shot result. Another thing to notice is that, despite GPT-style", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 541, 505, 554 ], "spans": [ { "bbox": [ 105, 541, 505, 554 ], "score": 1.0, "content": "models (e.g., GPT-3, PaLM) adopting the “partial evaluation” described in (Radford et al., 2019),", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 552, 506, 565 ], "spans": [ { "bbox": [ 105, 552, 506, 565 ], "score": 1.0, "content": "we find the prompt “ The \"\" refers to [MASK]” is better for", "type": "text" } ], "index": 24 }, { "bbox": [ 106, 563, 276, 576 ], "spans": [ { "bbox": [ 106, 563, 276, 576 ], "score": 1.0, "content": "GLM-130B and adopt it in the evaluation.", "type": "text" } ], "index": 25 } ], "index": 20, "bbox_fs": [ 105, 454, 506, 576 ] }, { "type": "text", "bbox": [ 108, 580, 502, 603 ], "lines": [ { "bbox": [ 107, 580, 505, 593 ], "spans": [ { "bbox": [ 107, 580, 505, 593 ], "score": 1.0, "content": "The results are presented in Table 17. GLM-130B performs the best across all evaluated LLM on", "type": "text" } ], "index": 26 }, { "bbox": [ 107, 591, 414, 604 ], "spans": [ { "bbox": [ 107, 591, 414, 604 ], "score": 1.0, "content": "Winogender, and marginally poorer than GPT-3 and PaLM on Winograd273.", "type": "text" } ], "index": 27 } ], "index": 26.5, "bbox_fs": [ 107, 580, 505, 604 ] }, { "type": "title", "bbox": [ 109, 617, 306, 628 ], "lines": [ { "bbox": [ 106, 616, 308, 630 ], "spans": [ { "bbox": [ 106, 616, 308, 630 ], "score": 1.0, "content": "C.10 CLOSED-BOOK QUESTION ANSWERING", "type": "text" } ], "index": 28 } ], "index": 28 }, { "type": "text", "bbox": [ 107, 637, 505, 693 ], "lines": [ { "bbox": [ 106, 637, 505, 649 ], "spans": [ { "bbox": [ 106, 637, 505, 649 ], "score": 1.0, "content": "Closed-book question answering (CBQA) (Roberts et al., 2020) is a widely adopted task to evaluate", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 648, 505, 660 ], "spans": [ { "bbox": [ 105, 648, 505, 660 ], "score": 1.0, "content": "language models’ memorization of factual knowledge, on contrary to the traditional “open-book”", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 658, 505, 672 ], "spans": [ { "bbox": [ 105, 658, 505, 672 ], "score": 1.0, "content": "evaluation. As we have included TriviaQA (Joshi et al., 2017) and WebQuestions (Berant et al.,", "type": "text" } ], "index": 31 }, { "bbox": [ 106, 671, 505, 682 ], "spans": [ { "bbox": [ 106, 671, 505, 682 ], "score": 1.0, "content": "2013) in the MIP training, here we choose Natural Questions (Kwiatkowski et al., 2019) and Strat-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 681, 364, 694 ], "spans": [ { "bbox": [ 105, 681, 364, 694 ], "score": 1.0, "content": "egyQA (Geva et al., 2021) as the evaluation datasets for CBQA.", "type": "text" } ], "index": 33 } ], "index": 31, "bbox_fs": [ 105, 637, 505, 694 ] }, { "type": "text", "bbox": [ 108, 699, 504, 732 ], "lines": [ { "bbox": [ 106, 698, 505, 712 ], "spans": [ { "bbox": [ 106, 698, 505, 712 ], "score": 1.0, "content": "The results are presented in Table 18. GLM-130B performs relatively poorer on Natural Questions", "type": "text" } ], "index": 34 }, { "bbox": [ 106, 709, 506, 723 ], "spans": [ { "bbox": [ 106, 709, 506, 723 ], "score": 1.0, "content": "and performs well on StrategyQA. GLM-130B’s underperformance on Natural Questions, we spec-", "type": "text" } ], "index": 35 }, { "bbox": [ 106, 720, 505, 733 ], "spans": [ { "bbox": [ 106, 720, 505, 733 ], "score": 1.0, "content": "ulate, potentially derives from the insufficiency fitting on English corpora, as it roughly only viewed", "type": "text" } ], "index": 36 } ], "index": 35, "bbox_fs": [ 106, 698, 506, 733 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 107, 82, 504, 127 ], "lines": [ { "bbox": [ 106, 82, 505, 94 ], "spans": [ { "bbox": [ 106, 82, 505, 94 ], "score": 1.0, "content": "200B English tokens and thus does not memorize the detailed knowledge very well. Since CBQA", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 94, 505, 106 ], "spans": [ { "bbox": [ 105, 94, 505, 106 ], "score": 1.0, "content": "seems to be a task that especially stresses memorization, as is indicated by Chinchilla (Hoffmann", "type": "text" } ], "index": 1 }, { "bbox": [ 104, 104, 506, 117 ], "spans": [ { "bbox": [ 104, 104, 506, 117 ], "score": 1.0, "content": "et al., 2022)’s a strong performance, we think with sufficient training later, GLM-130B can perform", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 115, 135, 128 ], "spans": [ { "bbox": [ 105, 115, 135, 128 ], "score": 1.0, "content": "better.", "type": "text" } ], "index": 3 } ], "index": 1.5 }, { "type": "title", "bbox": [ 108, 144, 261, 155 ], "lines": [ { "bbox": [ 106, 144, 262, 157 ], "spans": [ { "bbox": [ 106, 144, 262, 157 ], "score": 1.0, "content": "C.11 COMMONSENSE REASONING", "type": "text" } ], "index": 4 } ], "index": 4 }, { "type": "text", "bbox": [ 107, 166, 505, 255 ], "lines": [ { "bbox": [ 105, 165, 505, 178 ], "spans": [ { "bbox": [ 105, 165, 505, 178 ], "score": 1.0, "content": "Here we evaluate GLM-130B and some other LLMs on commonsense reasoning abilities. As we", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 177, 505, 189 ], "spans": [ { "bbox": [ 105, 177, 505, 189 ], "score": 1.0, "content": "have included PIQA (Bisk et al., 2020), ARC (Clark et al., 2018), and OpenbookQA (Mihaylov", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 188, 505, 201 ], "spans": [ { "bbox": [ 105, 188, 505, 201 ], "score": 1.0, "content": "et al., 2018) in the MIP training, we select another two widely adopted commonsense reasoning", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 198, 505, 211 ], "spans": [ { "bbox": [ 105, 198, 505, 211 ], "score": 1.0, "content": "datasets in our evaluation: Commonsense QA (Talmor et al., 2019) and Multiple-choice Temporal", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 210, 505, 222 ], "spans": [ { "bbox": [ 105, 210, 505, 222 ], "score": 1.0, "content": "Commonsense (MC-TACO, Zhou et al. (2019)). For Commonsense QA, we test the GPT-3 via", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 220, 506, 234 ], "spans": [ { "bbox": [ 105, 220, 506, 234 ], "score": 1.0, "content": "OpenAI Davinci API, BLOOM-176B via its Huggingface Implementation, and GLM-130B using", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 232, 506, 245 ], "spans": [ { "bbox": [ 105, 232, 506, 245 ], "score": 1.0, "content": "the prompt “answer_given_question_without_options” from promptsource (Bach et al., 2022). For", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 243, 445, 255 ], "spans": [ { "bbox": [ 105, 243, 445, 255 ], "score": 1.0, "content": "StrategyQA, we follow the EM computation method provided in (Zhou et al., 2019).", "type": "text" } ], "index": 12 } ], "index": 8.5 }, { "type": "text", "bbox": [ 108, 260, 505, 304 ], "lines": [ { "bbox": [ 106, 260, 505, 272 ], "spans": [ { "bbox": [ 106, 260, 505, 272 ], "score": 1.0, "content": "The results are shown in Table 19. As we can see, GLM-130B performs the best on both Com-", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 271, 506, 284 ], "spans": [ { "bbox": [ 105, 271, 506, 284 ], "score": 1.0, "content": "monsense QA and MC-TACO across evaluated LLMs, demonstrating that GLM-130B has a good", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 282, 506, 294 ], "spans": [ { "bbox": [ 105, 282, 506, 294 ], "score": 1.0, "content": "grasp of commonsense knowledge. OPT’s results are not included due to the reason described in", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 292, 168, 306 ], "spans": [ { "bbox": [ 105, 292, 168, 306 ], "score": 1.0, "content": "Appendix C.3.", "type": "text" } ], "index": 16 } ], "index": 14.5 }, { "type": "text", "bbox": [ 108, 322, 475, 333 ], "lines": [ { "bbox": [ 106, 322, 477, 334 ], "spans": [ { "bbox": [ 106, 322, 477, 334 ], "score": 1.0, "content": "C.12 FIXED LABEL DATASETS: A CASE STUDY IN NATURAL LANGUAGE INFERENCE", "type": "text" } ], "index": 17 } ], "index": 17 }, { "type": "text", "bbox": [ 107, 344, 504, 399 ], "lines": [ { "bbox": [ 106, 344, 505, 356 ], "spans": [ { "bbox": [ 106, 344, 505, 356 ], "score": 1.0, "content": "As is discussed in Section 5, we adopt a rather strict criterion for selecting datasets for zero/few-shot", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 355, 504, 367 ], "spans": [ { "bbox": [ 106, 355, 504, 367 ], "score": 1.0, "content": "learning in GLM-130B’s evaluation due to the use of MIP. Nevertheless, the criterion significantly", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 366, 505, 379 ], "spans": [ { "bbox": [ 106, 366, 505, 379 ], "score": 1.0, "content": "reduces the dataset we could currently evaluate, and especially some readers have doubted whether", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 375, 506, 392 ], "spans": [ { "bbox": [ 105, 375, 506, 392 ], "score": 1.0, "content": "the restriction of not evaluating on MIP-seen fixed-label datasets is necessary (e.g., natural language", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 388, 505, 401 ], "spans": [ { "bbox": [ 106, 388, 505, 401 ], "score": 1.0, "content": "inference (NLI)), and suggest that we may report them in an independent section to avoid confusion.", "type": "text" } ], "index": 22 } ], "index": 20 }, { "type": "text", "bbox": [ 107, 405, 505, 460 ], "lines": [ { "bbox": [ 105, 404, 505, 418 ], "spans": [ { "bbox": [ 105, 404, 505, 418 ], "score": 1.0, "content": "Frankly speaking, in such a setting GLM-130B’s zero/few-shot learning could be quite advanta-", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 416, 505, 429 ], "spans": [ { "bbox": [ 105, 416, 505, 429 ], "score": 1.0, "content": "geous. Below, we take NLI as a typical example to show GLM-130B’s outperformance in the", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 427, 505, 439 ], "spans": [ { "bbox": [ 105, 427, 505, 439 ], "score": 1.0, "content": "scenarios. We include 6 widely-used NLI datasets–which are not incorporated in GLM-130B’s MIP", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 438, 506, 451 ], "spans": [ { "bbox": [ 105, 438, 506, 451 ], "score": 1.0, "content": "training, as the benchmarks. The results are presented in Table 20, which shows that GLM-130B’s", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 448, 396, 462 ], "spans": [ { "bbox": [ 105, 448, 396, 462 ], "score": 1.0, "content": "“zero-shot” performance could be much better due to the seen task type.", "type": "text" } ], "index": 27 } ], "index": 25 }, { "type": "table", "bbox": [ 110, 518, 498, 609 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 476, 505, 510 ], "group_id": 0, "lines": [ { "bbox": [ 105, 475, 505, 489 ], "spans": [ { "bbox": [ 105, 475, 505, 489 ], "score": 1.0, "content": "Table 20: “Zero-shot” results of GLM-130B on 6 typical natural language inference (NLI) datasets.", "type": "text" } ], "index": 28 }, { "bbox": [ 106, 486, 505, 499 ], "spans": [ { "bbox": [ 106, 487, 112, 497 ], "score": 0.29, "content": "^ *", "type": "inline_equation" }, { "bbox": [ 112, 486, 505, 499 ], "score": 1.0, "content": "DISCLAIMER: Despite the datasets are never seen, some other NLI datasets have been in-", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 497, 502, 511 ], "spans": [ { "bbox": [ 105, 497, 502, 511 ], "score": 1.0, "content": "cluded in GLM-130B’s MIP, making it different from the existing standard zero-shot setting.", "type": "text" } ], "index": 30 } ], "index": 29 }, { "type": "table_body", "bbox": [ 110, 518, 498, 609 ], "group_id": 0, "lines": [ { "bbox": [ 110, 518, 498, 609 ], "spans": [ { "bbox": [ 110, 518, 498, 609 ], "score": 0.983, "html": "
BLOOM176BOPT175BGLM-130B*
qnli (valid, median of 5 prompts)50.955.486.7
mnli (valid, median of 15 prompts)35.536.085.7
mnli_mismatched (valid, median of 15 prompts)35.536.084.6
wnli (valid, median of 5 prompts)57.753.567.6
glue/cola (valid, median of 5 prompts)39.044.457.6
glue/mrpc (valid, median of 5 prompts)31.644.687.3
", "type": "table", "image_path": "fa3f6f860515a5520653a4035bb9e172b2f893a9dc71772b981db648bc914436.jpg" } ] } ], "index": 32, "virtual_lines": [ { "bbox": [ 110, 518, 498, 548.3333333333334 ], "spans": [], "index": 31 }, { "bbox": [ 110, 548.3333333333334, 498, 578.6666666666667 ], "spans": [], "index": 32 }, { "bbox": [ 110, 578.6666666666667, 498, 609.0000000000001 ], "spans": [], "index": 33 } ] } ], "index": 30.5 }, { "type": "title", "bbox": [ 107, 632, 196, 644 ], "lines": [ { "bbox": [ 105, 631, 198, 646 ], "spans": [ { "bbox": [ 105, 631, 198, 646 ], "score": 1.0, "content": "C.13 SUPERGLUE", "type": "text" } ], "index": 34 } ], "index": 34 }, { "type": "text", "bbox": [ 107, 654, 505, 732 ], "lines": [ { "bbox": [ 106, 654, 505, 667 ], "spans": [ { "bbox": [ 106, 654, 505, 667 ], "score": 1.0, "content": "We also report our evaluation of GLM-130B on the SuperGLUE (Wang et al., 2019) benchmark,", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 666, 505, 678 ], "spans": [ { "bbox": [ 105, 666, 505, 678 ], "score": 1.0, "content": "which consists 8 different natural language understanding challenges. Noted that these results", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 677, 505, 689 ], "spans": [ { "bbox": [ 105, 677, 505, 689 ], "score": 1.0, "content": "are neither zero/few-shot nor fine-tuned results, because 7 out of 8 tasks’ training sets have been", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 687, 505, 700 ], "spans": [ { "bbox": [ 105, 687, 505, 700 ], "score": 1.0, "content": "included in GLM-130B’s MIP training (except for ReCoRD) together with other 67 multi-task", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 698, 505, 711 ], "spans": [ { "bbox": [ 105, 698, 505, 711 ], "score": 1.0, "content": "datasets; however, GLM-130B is also not individually fine-tuned on any of them. Therefore, these", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 709, 505, 722 ], "spans": [ { "bbox": [ 105, 709, 505, 722 ], "score": 1.0, "content": "results are not for relative comparison for any other models’, but only for readers’ reference on", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 720, 228, 733 ], "spans": [ { "bbox": [ 106, 720, 228, 733 ], "score": 1.0, "content": "GLM-130B’s absolute ability.", "type": "text" } ], "index": 41 } ], "index": 38 } ], "page_idx": 43, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 752, 311, 759 ], "lines": [] } ], "para_blocks": [ { "type": "text", "bbox": [ 107, 82, 504, 127 ], "lines": [ { "bbox": [ 106, 82, 505, 94 ], "spans": [ { "bbox": [ 106, 82, 505, 94 ], "score": 1.0, "content": "200B English tokens and thus does not memorize the detailed knowledge very well. Since CBQA", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 94, 505, 106 ], "spans": [ { "bbox": [ 105, 94, 505, 106 ], "score": 1.0, "content": "seems to be a task that especially stresses memorization, as is indicated by Chinchilla (Hoffmann", "type": "text" } ], "index": 1 }, { "bbox": [ 104, 104, 506, 117 ], "spans": [ { "bbox": [ 104, 104, 506, 117 ], "score": 1.0, "content": "et al., 2022)’s a strong performance, we think with sufficient training later, GLM-130B can perform", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 115, 135, 128 ], "spans": [ { "bbox": [ 105, 115, 135, 128 ], "score": 1.0, "content": "better.", "type": "text" } ], "index": 3 } ], "index": 1.5, "bbox_fs": [ 104, 82, 506, 128 ] }, { "type": "title", "bbox": [ 108, 144, 261, 155 ], "lines": [ { "bbox": [ 106, 144, 262, 157 ], "spans": [ { "bbox": [ 106, 144, 262, 157 ], "score": 1.0, "content": "C.11 COMMONSENSE REASONING", "type": "text" } ], "index": 4 } ], "index": 4 }, { "type": "text", "bbox": [ 107, 166, 505, 255 ], "lines": [ { "bbox": [ 105, 165, 505, 178 ], "spans": [ { "bbox": [ 105, 165, 505, 178 ], "score": 1.0, "content": "Here we evaluate GLM-130B and some other LLMs on commonsense reasoning abilities. As we", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 177, 505, 189 ], "spans": [ { "bbox": [ 105, 177, 505, 189 ], "score": 1.0, "content": "have included PIQA (Bisk et al., 2020), ARC (Clark et al., 2018), and OpenbookQA (Mihaylov", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 188, 505, 201 ], "spans": [ { "bbox": [ 105, 188, 505, 201 ], "score": 1.0, "content": "et al., 2018) in the MIP training, we select another two widely adopted commonsense reasoning", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 198, 505, 211 ], "spans": [ { "bbox": [ 105, 198, 505, 211 ], "score": 1.0, "content": "datasets in our evaluation: Commonsense QA (Talmor et al., 2019) and Multiple-choice Temporal", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 210, 505, 222 ], "spans": [ { "bbox": [ 105, 210, 505, 222 ], "score": 1.0, "content": "Commonsense (MC-TACO, Zhou et al. (2019)). For Commonsense QA, we test the GPT-3 via", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 220, 506, 234 ], "spans": [ { "bbox": [ 105, 220, 506, 234 ], "score": 1.0, "content": "OpenAI Davinci API, BLOOM-176B via its Huggingface Implementation, and GLM-130B using", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 232, 506, 245 ], "spans": [ { "bbox": [ 105, 232, 506, 245 ], "score": 1.0, "content": "the prompt “answer_given_question_without_options” from promptsource (Bach et al., 2022). For", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 243, 445, 255 ], "spans": [ { "bbox": [ 105, 243, 445, 255 ], "score": 1.0, "content": "StrategyQA, we follow the EM computation method provided in (Zhou et al., 2019).", "type": "text" } ], "index": 12 } ], "index": 8.5, "bbox_fs": [ 105, 165, 506, 255 ] }, { "type": "text", "bbox": [ 108, 260, 505, 304 ], "lines": [ { "bbox": [ 106, 260, 505, 272 ], "spans": [ { "bbox": [ 106, 260, 505, 272 ], "score": 1.0, "content": "The results are shown in Table 19. As we can see, GLM-130B performs the best on both Com-", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 271, 506, 284 ], "spans": [ { "bbox": [ 105, 271, 506, 284 ], "score": 1.0, "content": "monsense QA and MC-TACO across evaluated LLMs, demonstrating that GLM-130B has a good", "type": "text" } ], "index": 14 }, { "bbox": [ 105, 282, 506, 294 ], "spans": [ { "bbox": [ 105, 282, 506, 294 ], "score": 1.0, "content": "grasp of commonsense knowledge. OPT’s results are not included due to the reason described in", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 292, 168, 306 ], "spans": [ { "bbox": [ 105, 292, 168, 306 ], "score": 1.0, "content": "Appendix C.3.", "type": "text" } ], "index": 16 } ], "index": 14.5, "bbox_fs": [ 105, 260, 506, 306 ] }, { "type": "text", "bbox": [ 108, 322, 475, 333 ], "lines": [ { "bbox": [ 106, 322, 477, 334 ], "spans": [ { "bbox": [ 106, 322, 477, 334 ], "score": 1.0, "content": "C.12 FIXED LABEL DATASETS: A CASE STUDY IN NATURAL LANGUAGE INFERENCE", "type": "text" } ], "index": 17 } ], "index": 17, "bbox_fs": [ 106, 322, 477, 334 ] }, { "type": "text", "bbox": [ 107, 344, 504, 399 ], "lines": [ { "bbox": [ 106, 344, 505, 356 ], "spans": [ { "bbox": [ 106, 344, 505, 356 ], "score": 1.0, "content": "As is discussed in Section 5, we adopt a rather strict criterion for selecting datasets for zero/few-shot", "type": "text" } ], "index": 18 }, { "bbox": [ 106, 355, 504, 367 ], "spans": [ { "bbox": [ 106, 355, 504, 367 ], "score": 1.0, "content": "learning in GLM-130B’s evaluation due to the use of MIP. Nevertheless, the criterion significantly", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 366, 505, 379 ], "spans": [ { "bbox": [ 106, 366, 505, 379 ], "score": 1.0, "content": "reduces the dataset we could currently evaluate, and especially some readers have doubted whether", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 375, 506, 392 ], "spans": [ { "bbox": [ 105, 375, 506, 392 ], "score": 1.0, "content": "the restriction of not evaluating on MIP-seen fixed-label datasets is necessary (e.g., natural language", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 388, 505, 401 ], "spans": [ { "bbox": [ 106, 388, 505, 401 ], "score": 1.0, "content": "inference (NLI)), and suggest that we may report them in an independent section to avoid confusion.", "type": "text" } ], "index": 22 } ], "index": 20, "bbox_fs": [ 105, 344, 506, 401 ] }, { "type": "text", "bbox": [ 107, 405, 505, 460 ], "lines": [ { "bbox": [ 105, 404, 505, 418 ], "spans": [ { "bbox": [ 105, 404, 505, 418 ], "score": 1.0, "content": "Frankly speaking, in such a setting GLM-130B’s zero/few-shot learning could be quite advanta-", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 416, 505, 429 ], "spans": [ { "bbox": [ 105, 416, 505, 429 ], "score": 1.0, "content": "geous. Below, we take NLI as a typical example to show GLM-130B’s outperformance in the", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 427, 505, 439 ], "spans": [ { "bbox": [ 105, 427, 505, 439 ], "score": 1.0, "content": "scenarios. We include 6 widely-used NLI datasets–which are not incorporated in GLM-130B’s MIP", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 438, 506, 451 ], "spans": [ { "bbox": [ 105, 438, 506, 451 ], "score": 1.0, "content": "training, as the benchmarks. The results are presented in Table 20, which shows that GLM-130B’s", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 448, 396, 462 ], "spans": [ { "bbox": [ 105, 448, 396, 462 ], "score": 1.0, "content": "“zero-shot” performance could be much better due to the seen task type.", "type": "text" } ], "index": 27 } ], "index": 25, "bbox_fs": [ 105, 404, 506, 462 ] }, { "type": "table", "bbox": [ 110, 518, 498, 609 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 476, 505, 510 ], "group_id": 0, "lines": [ { "bbox": [ 105, 475, 505, 489 ], "spans": [ { "bbox": [ 105, 475, 505, 489 ], "score": 1.0, "content": "Table 20: “Zero-shot” results of GLM-130B on 6 typical natural language inference (NLI) datasets.", "type": "text" } ], "index": 28 }, { "bbox": [ 106, 486, 505, 499 ], "spans": [ { "bbox": [ 106, 487, 112, 497 ], "score": 0.29, "content": "^ *", "type": "inline_equation" }, { "bbox": [ 112, 486, 505, 499 ], "score": 1.0, "content": "DISCLAIMER: Despite the datasets are never seen, some other NLI datasets have been in-", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 497, 502, 511 ], "spans": [ { "bbox": [ 105, 497, 502, 511 ], "score": 1.0, "content": "cluded in GLM-130B’s MIP, making it different from the existing standard zero-shot setting.", "type": "text" } ], "index": 30 } ], "index": 29 }, { "type": "table_body", "bbox": [ 110, 518, 498, 609 ], "group_id": 0, "lines": [ { "bbox": [ 110, 518, 498, 609 ], "spans": [ { "bbox": [ 110, 518, 498, 609 ], "score": 0.983, "html": "
BLOOM176BOPT175BGLM-130B*
qnli (valid, median of 5 prompts)50.955.486.7
mnli (valid, median of 15 prompts)35.536.085.7
mnli_mismatched (valid, median of 15 prompts)35.536.084.6
wnli (valid, median of 5 prompts)57.753.567.6
glue/cola (valid, median of 5 prompts)39.044.457.6
glue/mrpc (valid, median of 5 prompts)31.644.687.3
", "type": "table", "image_path": "fa3f6f860515a5520653a4035bb9e172b2f893a9dc71772b981db648bc914436.jpg" } ] } ], "index": 32, "virtual_lines": [ { "bbox": [ 110, 518, 498, 548.3333333333334 ], "spans": [], "index": 31 }, { "bbox": [ 110, 548.3333333333334, 498, 578.6666666666667 ], "spans": [], "index": 32 }, { "bbox": [ 110, 578.6666666666667, 498, 609.0000000000001 ], "spans": [], "index": 33 } ] } ], "index": 30.5 }, { "type": "title", "bbox": [ 107, 632, 196, 644 ], "lines": [ { "bbox": [ 105, 631, 198, 646 ], "spans": [ { "bbox": [ 105, 631, 198, 646 ], "score": 1.0, "content": "C.13 SUPERGLUE", "type": "text" } ], "index": 34 } ], "index": 34 }, { "type": "text", "bbox": [ 107, 654, 505, 732 ], "lines": [ { "bbox": [ 106, 654, 505, 667 ], "spans": [ { "bbox": [ 106, 654, 505, 667 ], "score": 1.0, "content": "We also report our evaluation of GLM-130B on the SuperGLUE (Wang et al., 2019) benchmark,", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 666, 505, 678 ], "spans": [ { "bbox": [ 105, 666, 505, 678 ], "score": 1.0, "content": "which consists 8 different natural language understanding challenges. Noted that these results", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 677, 505, 689 ], "spans": [ { "bbox": [ 105, 677, 505, 689 ], "score": 1.0, "content": "are neither zero/few-shot nor fine-tuned results, because 7 out of 8 tasks’ training sets have been", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 687, 505, 700 ], "spans": [ { "bbox": [ 105, 687, 505, 700 ], "score": 1.0, "content": "included in GLM-130B’s MIP training (except for ReCoRD) together with other 67 multi-task", "type": "text" } ], "index": 38 }, { "bbox": [ 105, 698, 505, 711 ], "spans": [ { "bbox": [ 105, 698, 505, 711 ], "score": 1.0, "content": "datasets; however, GLM-130B is also not individually fine-tuned on any of them. Therefore, these", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 709, 505, 722 ], "spans": [ { "bbox": [ 105, 709, 505, 722 ], "score": 1.0, "content": "results are not for relative comparison for any other models’, but only for readers’ reference on", "type": "text" } ], "index": 40 }, { "bbox": [ 106, 720, 228, 733 ], "spans": [ { "bbox": [ 106, 720, 228, 733 ], "score": 1.0, "content": "GLM-130B’s absolute ability.", "type": "text" } ], "index": 41 } ], "index": 38, "bbox_fs": [ 105, 654, 505, 733 ] } ] }, { "preproc_blocks": [ { "type": "image", "bbox": [ 106, 79, 503, 171 ], "blocks": [ { "type": "image_body", "bbox": [ 106, 79, 503, 171 ], "group_id": 0, "lines": [ { "bbox": [ 106, 79, 503, 171 ], "spans": [ { "bbox": [ 106, 79, 503, 171 ], "score": 0.944, "type": "image", "image_path": "f55bb0dce90be1d84f3a233001579f48bc4c0a4525e3554ecddd4b386950fcb8.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 106, 79, 503, 109.66666666666667 ], "spans": [], "index": 0 }, { "bbox": [ 106, 109.66666666666667, 503, 140.33333333333334 ], "spans": [], "index": 1 }, { "bbox": [ 106, 140.33333333333334, 503, 171.0 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 106, 178, 505, 223 ], "group_id": 0, "lines": [ { "bbox": [ 105, 177, 505, 191 ], "spans": [ { "bbox": [ 105, 177, 505, 191 ], "score": 1.0, "content": "Figure 17: GLM-130B (uni and bi)’s untuned results on SuperGLUE development set, using prompt-", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 190, 505, 202 ], "spans": [ { "bbox": [ 105, 190, 505, 202 ], "score": 1.0, "content": "source (Bach et al., 2022) prompts and task formulation. DISCLAIMER: Noted that some of the", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 200, 506, 214 ], "spans": [ { "bbox": [ 105, 200, 506, 214 ], "score": 1.0, "content": "SuperGLUE training sets have been included in the MIP training. We report the results here", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 210, 225, 225 ], "spans": [ { "bbox": [ 105, 210, 225, 225 ], "score": 1.0, "content": "only for readers’ reference.", "type": "text" } ], "index": 6 } ], "index": 4.5 } ], "index": 2.75 }, { "type": "image", "bbox": [ 144, 234, 465, 330 ], "blocks": [ { "type": "image_body", "bbox": [ 144, 234, 465, 330 ], "group_id": 1, "lines": [ { "bbox": [ 144, 234, 465, 330 ], "spans": [ { "bbox": [ 144, 234, 465, 330 ], "score": 0.967, "type": "image", "image_path": "7a0df67091ca37c3cd95d35f352b4c21534f3fcee8cabf3b659eaf309a079cfe.jpg" } ] } ], "index": 8, "virtual_lines": [ { "bbox": [ 144, 234, 465, 266.0 ], "spans": [], "index": 7 }, { "bbox": [ 144, 266.0, 465, 298.0 ], "spans": [], "index": 8 }, { "bbox": [ 144, 298.0, 465, 330.0 ], "spans": [], "index": 9 } ] }, { "type": "image_caption", "bbox": [ 107, 336, 504, 360 ], "group_id": 1, "lines": [ { "bbox": [ 105, 334, 506, 351 ], "spans": [ { "bbox": [ 105, 334, 506, 351 ], "score": 1.0, "content": "Figure 18: Chain-of-thought prompting can also improve GLM-130B’s performance on reasoning", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 346, 263, 362 ], "spans": [ { "bbox": [ 105, 346, 263, 362 ], "score": 1.0, "content": "tasks compared to standard prompting.", "type": "text" } ], "index": 11 } ], "index": 10.5 } ], "index": 9.25 }, { "type": "table", "bbox": [ 119, 380, 492, 416 ], "blocks": [ { "type": "table_body", "bbox": [ 119, 380, 492, 416 ], "group_id": 0, "lines": [ { "bbox": [ 119, 380, 492, 416 ], "spans": [ { "bbox": [ 119, 380, 492, 416 ], "score": 0.958, "html": "
BoolQCBCOPAMultiRCReCoRDRTEWiCwSC
GLM-130B89.6998.2110089.3292.1194.2276.9688.5
", "type": "table", "image_path": "468cef0113b1ec3d66be2e545b6da60296df63396408e83515976aa568a747db.jpg" } ] } ], "index": 13, "virtual_lines": [ { "bbox": [ 119, 380, 492, 392.0 ], "spans": [], "index": 12 }, { "bbox": [ 119, 392.0, 492, 404.0 ], "spans": [], "index": 13 }, { "bbox": [ 119, 404.0, 492, 416.0 ], "spans": [], "index": 14 } ] }, { "type": "table_caption", "bbox": [ 108, 424, 504, 457 ], "group_id": 0, "lines": [ { "bbox": [ 106, 423, 505, 435 ], "spans": [ { "bbox": [ 106, 423, 505, 435 ], "score": 1.0, "content": "Table 21: The results of GLM-130B on the SuperGLUE dataset obtained using the P-tuning v2 (Liu", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 434, 505, 446 ], "spans": [ { "bbox": [ 105, 434, 505, 446 ], "score": 1.0, "content": "et al., 2022). We report the Accuracy metric for all datasets except for MultiRC (F1a) and ReCoRD", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 444, 130, 458 ], "spans": [ { "bbox": [ 105, 444, 130, 458 ], "score": 1.0, "content": "(F1).", "type": "text" } ], "index": 17 } ], "index": 16 } ], "index": 14.5 }, { "type": "text", "bbox": [ 107, 479, 505, 546 ], "lines": [ { "bbox": [ 105, 479, 506, 492 ], "spans": [ { "bbox": [ 105, 479, 506, 492 ], "score": 1.0, "content": "The results are presented in Figure 17. We ablate the unidirectional and bidirectional GLM-130B to", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 491, 505, 503 ], "spans": [ { "bbox": [ 105, 491, 505, 503 ], "score": 1.0, "content": "justify the usefulness of GLM objective in boosting LLMs’ ability to understand. Each point in the", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 502, 504, 514 ], "spans": [ { "bbox": [ 106, 502, 504, 514 ], "score": 1.0, "content": "figure refers to a prompt-specific result, for which the prompt is from the promptsource (Bach et al.,", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 511, 506, 525 ], "spans": [ { "bbox": [ 105, 511, 506, 525 ], "score": 1.0, "content": "2022) repository. We adopt the task formulation from promptsource, too. As we can observe, GLM", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 523, 505, 536 ], "spans": [ { "bbox": [ 105, 523, 505, 536 ], "score": 1.0, "content": "(bi) has much fewer variances and higher performances on all tasks. For some of the tasks (such as", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 533, 470, 548 ], "spans": [ { "bbox": [ 105, 533, 410, 548 ], "score": 1.0, "content": "CB, MultiRC, RTE, COPA, and BoolQ), GLM-130B can even achieve over", "type": "text" }, { "bbox": [ 410, 535, 429, 545 ], "score": 0.85, "content": "80 \\%", "type": "inline_equation" }, { "bbox": [ 430, 533, 470, 548 ], "score": 1.0, "content": "accuracy.", "type": "text" } ], "index": 23 } ], "index": 20.5 }, { "type": "text", "bbox": [ 107, 551, 505, 640 ], "lines": [ { "bbox": [ 106, 552, 505, 563 ], "spans": [ { "bbox": [ 106, 552, 505, 563 ], "score": 1.0, "content": "We also attempted to fine-tune GLM-130B on the SuperGLUE dataset. However, we encountered", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 562, 505, 575 ], "spans": [ { "bbox": [ 105, 562, 505, 575 ], "score": 1.0, "content": "the issue of rapid overfitting within a single epoch when we used full parameter fine-tuning on", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 574, 506, 586 ], "spans": [ { "bbox": [ 105, 574, 506, 586 ], "score": 1.0, "content": "downstream tasks. This resulted in poor performance on the validation set. To address this issue,", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 585, 505, 597 ], "spans": [ { "bbox": [ 105, 585, 505, 597 ], "score": 1.0, "content": "we explored the use of efficient parameter fine-tuning methods, which tune only a small number", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 596, 505, 608 ], "spans": [ { "bbox": [ 105, 596, 505, 608 ], "score": 1.0, "content": "of parameters and are less prone to overfitting. After experimenting with several methods, we use", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 606, 505, 619 ], "spans": [ { "bbox": [ 105, 606, 505, 619 ], "score": 1.0, "content": "P-Tuning v2 (Liu et al., 2022), which demonstrated comparable results to full parameter fine-tuning", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 617, 505, 630 ], "spans": [ { "bbox": [ 105, 617, 225, 630 ], "score": 1.0, "content": "in GLM-130B, but with only", "type": "text" }, { "bbox": [ 225, 618, 247, 628 ], "score": 0.87, "content": "0 . 1 \\%", "type": "inline_equation" }, { "bbox": [ 248, 617, 258, 630 ], "score": 1.0, "content": "to", "type": "text" }, { "bbox": [ 259, 618, 273, 628 ], "score": 0.87, "content": "3 \\%", "type": "inline_equation" }, { "bbox": [ 273, 617, 505, 630 ], "score": 1.0, "content": "of tuned parameters. The results of our experiments with", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 628, 263, 640 ], "spans": [ { "bbox": [ 105, 628, 263, 640 ], "score": 1.0, "content": "P-Tuning v2 are presented in Table 21.", "type": "text" } ], "index": 31 } ], "index": 27.5 }, { "type": "title", "bbox": [ 109, 655, 284, 666 ], "lines": [ { "bbox": [ 107, 654, 285, 667 ], "spans": [ { "bbox": [ 107, 654, 285, 667 ], "score": 1.0, "content": "C.14 CHAIN-OF-THOUGHT PROMPTING", "type": "text" } ], "index": 32 } ], "index": 32 }, { "type": "text", "bbox": [ 108, 677, 504, 732 ], "lines": [ { "bbox": [ 107, 677, 505, 689 ], "spans": [ { "bbox": [ 107, 677, 505, 689 ], "score": 1.0, "content": "We evaluate the chain-of-thought prompting performance on Last letter concatenation (LLC),", "type": "text" } ], "index": 33 }, { "bbox": [ 107, 687, 504, 699 ], "spans": [ { "bbox": [ 107, 687, 504, 699 ], "score": 1.0, "content": "Coin Flip, Reverse List, and two tasks from BIG-bench Srivastava et al. (2022) Sports under-", "type": "text" } ], "index": 34 }, { "bbox": [ 106, 698, 506, 711 ], "spans": [ { "bbox": [ 106, 698, 506, 711 ], "score": 1.0, "content": "standing, and Date understanding, following the setting in Wei et al. (2022c). The results are shown", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 708, 506, 723 ], "spans": [ { "bbox": [ 105, 708, 506, 723 ], "score": 1.0, "content": "in Figure 17. We find that chain-of-thought prompting can improve GLM-130B’s performance on", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 720, 306, 734 ], "spans": [ { "bbox": [ 106, 720, 306, 734 ], "score": 1.0, "content": "symbolic reasoning and commonsense reasoning.", "type": "text" } ], "index": 37 } ], "index": 35 } ], "page_idx": 44, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 752, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 763 ], "spans": [ { "bbox": [ 298, 750, 313, 763 ], "score": 1.0, "content": "", "type": "text", "height": 13, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "image", "bbox": [ 106, 79, 503, 171 ], "blocks": [ { "type": "image_body", "bbox": [ 106, 79, 503, 171 ], "group_id": 0, "lines": [ { "bbox": [ 106, 79, 503, 171 ], "spans": [ { "bbox": [ 106, 79, 503, 171 ], "score": 0.944, "type": "image", "image_path": "f55bb0dce90be1d84f3a233001579f48bc4c0a4525e3554ecddd4b386950fcb8.jpg" } ] } ], "index": 1, "virtual_lines": [ { "bbox": [ 106, 79, 503, 109.66666666666667 ], "spans": [], "index": 0 }, { "bbox": [ 106, 109.66666666666667, 503, 140.33333333333334 ], "spans": [], "index": 1 }, { "bbox": [ 106, 140.33333333333334, 503, 171.0 ], "spans": [], "index": 2 } ] }, { "type": "image_caption", "bbox": [ 106, 178, 505, 223 ], "group_id": 0, "lines": [ { "bbox": [ 105, 177, 505, 191 ], "spans": [ { "bbox": [ 105, 177, 505, 191 ], "score": 1.0, "content": "Figure 17: GLM-130B (uni and bi)’s untuned results on SuperGLUE development set, using prompt-", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 190, 505, 202 ], "spans": [ { "bbox": [ 105, 190, 505, 202 ], "score": 1.0, "content": "source (Bach et al., 2022) prompts and task formulation. DISCLAIMER: Noted that some of the", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 200, 506, 214 ], "spans": [ { "bbox": [ 105, 200, 506, 214 ], "score": 1.0, "content": "SuperGLUE training sets have been included in the MIP training. We report the results here", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 210, 225, 225 ], "spans": [ { "bbox": [ 105, 210, 225, 225 ], "score": 1.0, "content": "only for readers’ reference.", "type": "text" } ], "index": 6 } ], "index": 4.5 } ], "index": 2.75 }, { "type": "image", "bbox": [ 144, 234, 465, 330 ], "blocks": [ { "type": "image_body", "bbox": [ 144, 234, 465, 330 ], "group_id": 1, "lines": [ { "bbox": [ 144, 234, 465, 330 ], "spans": [ { "bbox": [ 144, 234, 465, 330 ], "score": 0.967, "type": "image", "image_path": "7a0df67091ca37c3cd95d35f352b4c21534f3fcee8cabf3b659eaf309a079cfe.jpg" } ] } ], "index": 8, "virtual_lines": [ { "bbox": [ 144, 234, 465, 266.0 ], "spans": [], "index": 7 }, { "bbox": [ 144, 266.0, 465, 298.0 ], "spans": [], "index": 8 }, { "bbox": [ 144, 298.0, 465, 330.0 ], "spans": [], "index": 9 } ] }, { "type": "image_caption", "bbox": [ 107, 336, 504, 360 ], "group_id": 1, "lines": [ { "bbox": [ 105, 334, 506, 351 ], "spans": [ { "bbox": [ 105, 334, 506, 351 ], "score": 1.0, "content": "Figure 18: Chain-of-thought prompting can also improve GLM-130B’s performance on reasoning", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 346, 263, 362 ], "spans": [ { "bbox": [ 105, 346, 263, 362 ], "score": 1.0, "content": "tasks compared to standard prompting.", "type": "text" } ], "index": 11 } ], "index": 10.5 } ], "index": 9.25 }, { "type": "table", "bbox": [ 119, 380, 492, 416 ], "blocks": [ { "type": "table_body", "bbox": [ 119, 380, 492, 416 ], "group_id": 0, "lines": [ { "bbox": [ 119, 380, 492, 416 ], "spans": [ { "bbox": [ 119, 380, 492, 416 ], "score": 0.958, "html": "
BoolQCBCOPAMultiRCReCoRDRTEWiCwSC
GLM-130B89.6998.2110089.3292.1194.2276.9688.5
", "type": "table", "image_path": "468cef0113b1ec3d66be2e545b6da60296df63396408e83515976aa568a747db.jpg" } ] } ], "index": 13, "virtual_lines": [ { "bbox": [ 119, 380, 492, 392.0 ], "spans": [], "index": 12 }, { "bbox": [ 119, 392.0, 492, 404.0 ], "spans": [], "index": 13 }, { "bbox": [ 119, 404.0, 492, 416.0 ], "spans": [], "index": 14 } ] }, { "type": "table_caption", "bbox": [ 108, 424, 504, 457 ], "group_id": 0, "lines": [ { "bbox": [ 106, 423, 505, 435 ], "spans": [ { "bbox": [ 106, 423, 505, 435 ], "score": 1.0, "content": "Table 21: The results of GLM-130B on the SuperGLUE dataset obtained using the P-tuning v2 (Liu", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 434, 505, 446 ], "spans": [ { "bbox": [ 105, 434, 505, 446 ], "score": 1.0, "content": "et al., 2022). We report the Accuracy metric for all datasets except for MultiRC (F1a) and ReCoRD", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 444, 130, 458 ], "spans": [ { "bbox": [ 105, 444, 130, 458 ], "score": 1.0, "content": "(F1).", "type": "text" } ], "index": 17 } ], "index": 16 } ], "index": 14.5 }, { "type": "text", "bbox": [ 107, 479, 505, 546 ], "lines": [ { "bbox": [ 105, 479, 506, 492 ], "spans": [ { "bbox": [ 105, 479, 506, 492 ], "score": 1.0, "content": "The results are presented in Figure 17. We ablate the unidirectional and bidirectional GLM-130B to", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 491, 505, 503 ], "spans": [ { "bbox": [ 105, 491, 505, 503 ], "score": 1.0, "content": "justify the usefulness of GLM objective in boosting LLMs’ ability to understand. Each point in the", "type": "text" } ], "index": 19 }, { "bbox": [ 106, 502, 504, 514 ], "spans": [ { "bbox": [ 106, 502, 504, 514 ], "score": 1.0, "content": "figure refers to a prompt-specific result, for which the prompt is from the promptsource (Bach et al.,", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 511, 506, 525 ], "spans": [ { "bbox": [ 105, 511, 506, 525 ], "score": 1.0, "content": "2022) repository. We adopt the task formulation from promptsource, too. As we can observe, GLM", "type": "text" } ], "index": 21 }, { "bbox": [ 105, 523, 505, 536 ], "spans": [ { "bbox": [ 105, 523, 505, 536 ], "score": 1.0, "content": "(bi) has much fewer variances and higher performances on all tasks. For some of the tasks (such as", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 533, 470, 548 ], "spans": [ { "bbox": [ 105, 533, 410, 548 ], "score": 1.0, "content": "CB, MultiRC, RTE, COPA, and BoolQ), GLM-130B can even achieve over", "type": "text" }, { "bbox": [ 410, 535, 429, 545 ], "score": 0.85, "content": "80 \\%", "type": "inline_equation" }, { "bbox": [ 430, 533, 470, 548 ], "score": 1.0, "content": "accuracy.", "type": "text" } ], "index": 23 } ], "index": 20.5, "bbox_fs": [ 105, 479, 506, 548 ] }, { "type": "text", "bbox": [ 107, 551, 505, 640 ], "lines": [ { "bbox": [ 106, 552, 505, 563 ], "spans": [ { "bbox": [ 106, 552, 505, 563 ], "score": 1.0, "content": "We also attempted to fine-tune GLM-130B on the SuperGLUE dataset. However, we encountered", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 562, 505, 575 ], "spans": [ { "bbox": [ 105, 562, 505, 575 ], "score": 1.0, "content": "the issue of rapid overfitting within a single epoch when we used full parameter fine-tuning on", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 574, 506, 586 ], "spans": [ { "bbox": [ 105, 574, 506, 586 ], "score": 1.0, "content": "downstream tasks. This resulted in poor performance on the validation set. To address this issue,", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 585, 505, 597 ], "spans": [ { "bbox": [ 105, 585, 505, 597 ], "score": 1.0, "content": "we explored the use of efficient parameter fine-tuning methods, which tune only a small number", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 596, 505, 608 ], "spans": [ { "bbox": [ 105, 596, 505, 608 ], "score": 1.0, "content": "of parameters and are less prone to overfitting. After experimenting with several methods, we use", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 606, 505, 619 ], "spans": [ { "bbox": [ 105, 606, 505, 619 ], "score": 1.0, "content": "P-Tuning v2 (Liu et al., 2022), which demonstrated comparable results to full parameter fine-tuning", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 617, 505, 630 ], "spans": [ { "bbox": [ 105, 617, 225, 630 ], "score": 1.0, "content": "in GLM-130B, but with only", "type": "text" }, { "bbox": [ 225, 618, 247, 628 ], "score": 0.87, "content": "0 . 1 \\%", "type": "inline_equation" }, { "bbox": [ 248, 617, 258, 630 ], "score": 1.0, "content": "to", "type": "text" }, { "bbox": [ 259, 618, 273, 628 ], "score": 0.87, "content": "3 \\%", "type": "inline_equation" }, { "bbox": [ 273, 617, 505, 630 ], "score": 1.0, "content": "of tuned parameters. The results of our experiments with", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 628, 263, 640 ], "spans": [ { "bbox": [ 105, 628, 263, 640 ], "score": 1.0, "content": "P-Tuning v2 are presented in Table 21.", "type": "text" } ], "index": 31 } ], "index": 27.5, "bbox_fs": [ 105, 552, 506, 640 ] }, { "type": "title", "bbox": [ 109, 655, 284, 666 ], "lines": [ { "bbox": [ 107, 654, 285, 667 ], "spans": [ { "bbox": [ 107, 654, 285, 667 ], "score": 1.0, "content": "C.14 CHAIN-OF-THOUGHT PROMPTING", "type": "text" } ], "index": 32 } ], "index": 32 }, { "type": "text", "bbox": [ 108, 677, 504, 732 ], "lines": [ { "bbox": [ 107, 677, 505, 689 ], "spans": [ { "bbox": [ 107, 677, 505, 689 ], "score": 1.0, "content": "We evaluate the chain-of-thought prompting performance on Last letter concatenation (LLC),", "type": "text" } ], "index": 33 }, { "bbox": [ 107, 687, 504, 699 ], "spans": [ { "bbox": [ 107, 687, 504, 699 ], "score": 1.0, "content": "Coin Flip, Reverse List, and two tasks from BIG-bench Srivastava et al. (2022) Sports under-", "type": "text" } ], "index": 34 }, { "bbox": [ 106, 698, 506, 711 ], "spans": [ { "bbox": [ 106, 698, 506, 711 ], "score": 1.0, "content": "standing, and Date understanding, following the setting in Wei et al. (2022c). The results are shown", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 708, 506, 723 ], "spans": [ { "bbox": [ 105, 708, 506, 723 ], "score": 1.0, "content": "in Figure 17. We find that chain-of-thought prompting can improve GLM-130B’s performance on", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 720, 306, 734 ], "spans": [ { "bbox": [ 106, 720, 306, 734 ], "score": 1.0, "content": "symbolic reasoning and commonsense reasoning.", "type": "text" } ], "index": 37 } ], "index": 35, "bbox_fs": [ 105, 677, 506, 734 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 110, 84, 217, 96 ], "lines": [ { "bbox": [ 109, 84, 219, 99 ], "spans": [ { "bbox": [ 109, 84, 219, 99 ], "score": 1.0, "content": "Log-scaling Ability Tasks", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "image", "bbox": [ 105, 101, 504, 228 ], "blocks": [ { "type": "image_body", "bbox": [ 105, 101, 504, 228 ], "group_id": 0, "lines": [ { "bbox": [ 105, 101, 504, 228 ], "spans": [ { "bbox": [ 105, 101, 504, 228 ], "score": 0.966, "type": "image", "image_path": "137056cee4899dcdc5d8380ee26047bc23178f4d822fd5e9550df31f7ecf9e48.jpg" } ] } ], "index": 2, "virtual_lines": [ { "bbox": [ 105, 101, 504, 143.33333333333334 ], "spans": [], "index": 1 }, { "bbox": [ 105, 143.33333333333334, 504, 185.66666666666669 ], "spans": [], "index": 2 }, { "bbox": [ 105, 185.66666666666669, 504, 228.00000000000003 ], "spans": [], "index": 3 } ] }, { "type": "image_caption", "bbox": [ 107, 235, 504, 259 ], "group_id": 0, "lines": [ { "bbox": [ 106, 235, 504, 248 ], "spans": [ { "bbox": [ 106, 235, 504, 248 ], "score": 1.0, "content": "Figure 19: Log-scaling ability tasks of GLM-130B. These tasks’ performance grows logarithmically", "type": "text" } ], "index": 4 }, { "bbox": [ 106, 246, 483, 259 ], "spans": [ { "bbox": [ 106, 246, 483, 259 ], "score": 1.0, "content": "with the amount of GLM parameters. Most of traditional NLP tasks fall into the same pattern.", "type": "text" } ], "index": 5 } ], "index": 4.5 } ], "index": 3.25 }, { "type": "text", "bbox": [ 107, 282, 505, 316 ], "lines": [ { "bbox": [ 106, 283, 504, 294 ], "spans": [ { "bbox": [ 106, 283, 504, 294 ], "score": 1.0, "content": "Last letter concatenation (LLC). The task asks the model to concatenate the last letters of words", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 293, 505, 308 ], "spans": [ { "bbox": [ 105, 293, 226, 308 ], "score": 1.0, "content": "in a name (e.g., \"Elon Musk\"", "type": "text" }, { "bbox": [ 226, 295, 238, 304 ], "score": 0.62, "content": "- >", "type": "inline_equation" }, { "bbox": [ 238, 293, 505, 308 ], "score": 1.0, "content": "\"nk\"). We generate full names by randomly concatenating the top", "type": "text" } ], "index": 7 }, { "bbox": [ 107, 305, 309, 316 ], "spans": [ { "bbox": [ 107, 305, 309, 316 ], "score": 1.0, "content": "1000 first and last names from name census data14.", "type": "text" } ], "index": 8 } ], "index": 7 }, { "type": "text", "bbox": [ 107, 322, 505, 377 ], "lines": [ { "bbox": [ 106, 322, 505, 334 ], "spans": [ { "bbox": [ 106, 322, 505, 334 ], "score": 1.0, "content": "Coin flip. This task asks the model to answer whether a coin is still heads up after people either", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 333, 504, 346 ], "spans": [ { "bbox": [ 105, 333, 504, 346 ], "score": 1.0, "content": "flip or don’t flip it beginning from being heads up. (e.g., \"A coin is heads up. Phoebe flips the coin.", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 343, 505, 357 ], "spans": [ { "bbox": [ 105, 343, 347, 357 ], "score": 1.0, "content": "Osvaldo does not flip the coin. Is the coin still heads up?\"", "type": "text" }, { "bbox": [ 348, 345, 360, 354 ], "score": 0.63, "content": "- >", "type": "inline_equation" }, { "bbox": [ 360, 343, 505, 357 ], "score": 1.0, "content": "\"no\"). We additionally evaluate on", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 354, 506, 367 ], "spans": [ { "bbox": [ 105, 354, 506, 367 ], "score": 1.0, "content": "the scenario where the number of people in the query examples is larger than that in the in-context", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 365, 317, 379 ], "spans": [ { "bbox": [ 105, 365, 317, 379 ], "score": 1.0, "content": "examples, i.e. the out-of-distribution (OOD) setting.", "type": "text" } ], "index": 13 } ], "index": 11 }, { "type": "text", "bbox": [ 107, 383, 505, 416 ], "lines": [ { "bbox": [ 105, 380, 505, 397 ], "spans": [ { "bbox": [ 105, 380, 505, 397 ], "score": 1.0, "content": "Reverse List. This task asks the model to reverse the order of a list of everyday objects (e.g.,", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 393, 505, 407 ], "spans": [ { "bbox": [ 106, 393, 246, 407 ], "score": 1.0, "content": "\"cigar, umbrella, key, gum, alarm\"", "type": "text" }, { "bbox": [ 247, 395, 259, 404 ], "score": 0.61, "content": "- >", "type": "inline_equation" }, { "bbox": [ 259, 393, 505, 407 ], "score": 1.0, "content": "\"alarm, gum, key, umbrella, cigar\"). We generate the lists by", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 404, 356, 417 ], "spans": [ { "bbox": [ 106, 404, 356, 417 ], "score": 1.0, "content": "randomly sampling from the vocabulary of everyday objects15.", "type": "text" } ], "index": 16 } ], "index": 15 }, { "type": "text", "bbox": [ 105, 421, 503, 444 ], "lines": [ { "bbox": [ 105, 419, 505, 436 ], "spans": [ { "bbox": [ 105, 419, 505, 436 ], "score": 1.0, "content": "Sports. This task asks the model to judge the truthfulness of a statement about a sports player (e.g.,", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 432, 420, 445 ], "spans": [ { "bbox": [ 106, 432, 373, 445 ], "score": 1.0, "content": "\"Joao Moutinho caught the screen pass in the NFC championship\"", "type": "text" }, { "bbox": [ 373, 434, 385, 442 ], "score": 0.71, "content": "- >", "type": "inline_equation" }, { "bbox": [ 385, 432, 420, 445 ], "score": 1.0, "content": "\"false\").", "type": "text" } ], "index": 18 } ], "index": 17.5 }, { "type": "text", "bbox": [ 105, 449, 504, 472 ], "lines": [ { "bbox": [ 105, 448, 506, 463 ], "spans": [ { "bbox": [ 105, 448, 506, 463 ], "score": 1.0, "content": "Date. This task asks the model to infer the data from a given context (e.g., \"2015 is coming in 36", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 460, 449, 473 ], "spans": [ { "bbox": [ 105, 460, 449, 473 ], "score": 1.0, "content": "hours. What is the date one week from today in MM/DD/YYYY?\" -> \"01/05/2015\").", "type": "text" } ], "index": 20 } ], "index": 19.5 }, { "type": "text", "bbox": [ 107, 477, 505, 533 ], "lines": [ { "bbox": [ 106, 476, 505, 490 ], "spans": [ { "bbox": [ 106, 476, 505, 490 ], "score": 1.0, "content": "We use the same examples and chains as Wei et al. (2022c). For each task, we try two different", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 488, 505, 500 ], "spans": [ { "bbox": [ 106, 488, 505, 500 ], "score": 1.0, "content": "formats of prompts and both unidirectional and bidirectional attention mechanism and report the", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 500, 505, 511 ], "spans": [ { "bbox": [ 106, 500, 505, 511 ], "score": 1.0, "content": "best performance. The first format is \"Question: {context} Answer: {target}\". The second one is", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 510, 505, 523 ], "spans": [ { "bbox": [ 105, 510, 505, 523 ], "score": 1.0, "content": "to add serial numbers before examples in the first format of prompts. The results are presented in", "type": "text" } ], "index": 24 }, { "bbox": [ 104, 521, 151, 534 ], "spans": [ { "bbox": [ 104, 521, 151, 534 ], "score": 1.0, "content": "Figure 18.", "type": "text" } ], "index": 25 } ], "index": 23 }, { "type": "title", "bbox": [ 107, 551, 396, 564 ], "lines": [ { "bbox": [ 106, 551, 397, 565 ], "spans": [ { "bbox": [ 106, 551, 397, 565 ], "score": 1.0, "content": "D SCALING AND EMERGENT ABILITIES IN GLM-130B", "type": "text" } ], "index": 26 } ], "index": 26 }, { "type": "text", "bbox": [ 107, 578, 505, 633 ], "lines": [ { "bbox": [ 106, 578, 506, 590 ], "spans": [ { "bbox": [ 106, 578, 506, 590 ], "score": 1.0, "content": "Scaling up pre-trained language models has been proven to boost downstream performance on a", "type": "text" } ], "index": 27 }, { "bbox": [ 106, 589, 505, 601 ], "spans": [ { "bbox": [ 106, 589, 505, 601 ], "score": 1.0, "content": "wide range of tasks continually. His, emergent abilities which are unpredictable from smaller scales.", "type": "text" } ], "index": 28 }, { "bbox": [ 106, 600, 505, 613 ], "spans": [ { "bbox": [ 106, 600, 505, 613 ], "score": 1.0, "content": "To illustrate this, we conducted extensive experiments to explore the scaling property and emergent", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 610, 505, 624 ], "spans": [ { "bbox": [ 105, 610, 505, 624 ], "score": 1.0, "content": "abilities. Following prior literature (Wei et al., 2022b), we categorize the NLP tasks into two types", "type": "text" } ], "index": 30 }, { "bbox": [ 106, 622, 215, 635 ], "spans": [ { "bbox": [ 106, 622, 215, 635 ], "score": 1.0, "content": "based on our observations.", "type": "text" } ], "index": 31 } ], "index": 29 }, { "type": "text", "bbox": [ 107, 639, 502, 672 ], "lines": [ { "bbox": [ 106, 638, 504, 652 ], "spans": [ { "bbox": [ 106, 638, 504, 652 ], "score": 1.0, "content": "• Log-scaling Ability Tasks (Cf. Figure 19): where the task performance grows logarithmically", "type": "text" } ], "index": 32 }, { "bbox": [ 114, 650, 504, 662 ], "spans": [ { "bbox": [ 114, 650, 504, 662 ], "score": 1.0, "content": "with the number of model parameters. Typical tasks and datasets include LAMBADA, Wikitext-", "type": "text" } ], "index": 33 }, { "bbox": [ 115, 660, 252, 673 ], "spans": [ { "bbox": [ 115, 660, 252, 673 ], "score": 1.0, "content": "103, Wikitext-2, Penn Tree Bank.", "type": "text" } ], "index": 34 } ], "index": 33 }, { "type": "text", "bbox": [ 109, 674, 504, 696 ], "lines": [ { "bbox": [ 106, 672, 505, 687 ], "spans": [ { "bbox": [ 106, 672, 505, 687 ], "score": 1.0, "content": "• Emergent Ability Tasks (Cf. Figure 20): where the task performance only soars up when the", "type": "text" } ], "index": 35 }, { "bbox": [ 114, 685, 505, 697 ], "spans": [ { "bbox": [ 114, 685, 505, 697 ], "score": 1.0, "content": "amount of model parameters reaches a certain threshold. Typical tasks and datasets include:", "type": "text" } ], "index": 36 } ], "index": 35.5 } ], "page_idx": 45, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 115, 711, 334, 732 ], "lines": [ { "bbox": [ 115, 709, 244, 722 ], "spans": [ { "bbox": [ 115, 709, 244, 722 ], "score": 1.0, "content": "14https://namecensus.com", "type": "text" } ] }, { "bbox": [ 115, 718, 336, 735 ], "spans": [ { "bbox": [ 115, 718, 336, 735 ], "score": 1.0, "content": "15https://www.vocabulary.com/lists/189583", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 752, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 763 ], "spans": [ { "bbox": [ 298, 750, 313, 763 ], "score": 1.0, "content": "", "type": "text", "height": 13, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 110, 84, 217, 96 ], "lines": [ { "bbox": [ 109, 84, 219, 99 ], "spans": [ { "bbox": [ 109, 84, 219, 99 ], "score": 1.0, "content": "Log-scaling Ability Tasks", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "image", "bbox": [ 105, 101, 504, 228 ], "blocks": [ { "type": "image_body", "bbox": [ 105, 101, 504, 228 ], "group_id": 0, "lines": [ { "bbox": [ 105, 101, 504, 228 ], "spans": [ { "bbox": [ 105, 101, 504, 228 ], "score": 0.966, "type": "image", "image_path": "137056cee4899dcdc5d8380ee26047bc23178f4d822fd5e9550df31f7ecf9e48.jpg" } ] } ], "index": 2, "virtual_lines": [ { "bbox": [ 105, 101, 504, 143.33333333333334 ], "spans": [], "index": 1 }, { "bbox": [ 105, 143.33333333333334, 504, 185.66666666666669 ], "spans": [], "index": 2 }, { "bbox": [ 105, 185.66666666666669, 504, 228.00000000000003 ], "spans": [], "index": 3 } ] }, { "type": "image_caption", "bbox": [ 107, 235, 504, 259 ], "group_id": 0, "lines": [ { "bbox": [ 106, 235, 504, 248 ], "spans": [ { "bbox": [ 106, 235, 504, 248 ], "score": 1.0, "content": "Figure 19: Log-scaling ability tasks of GLM-130B. These tasks’ performance grows logarithmically", "type": "text" } ], "index": 4 }, { "bbox": [ 106, 246, 483, 259 ], "spans": [ { "bbox": [ 106, 246, 483, 259 ], "score": 1.0, "content": "with the amount of GLM parameters. Most of traditional NLP tasks fall into the same pattern.", "type": "text" } ], "index": 5 } ], "index": 4.5 } ], "index": 3.25 }, { "type": "text", "bbox": [ 107, 282, 505, 316 ], "lines": [ { "bbox": [ 106, 283, 504, 294 ], "spans": [ { "bbox": [ 106, 283, 504, 294 ], "score": 1.0, "content": "Last letter concatenation (LLC). The task asks the model to concatenate the last letters of words", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 293, 505, 308 ], "spans": [ { "bbox": [ 105, 293, 226, 308 ], "score": 1.0, "content": "in a name (e.g., \"Elon Musk\"", "type": "text" }, { "bbox": [ 226, 295, 238, 304 ], "score": 0.62, "content": "- >", "type": "inline_equation" }, { "bbox": [ 238, 293, 505, 308 ], "score": 1.0, "content": "\"nk\"). We generate full names by randomly concatenating the top", "type": "text" } ], "index": 7 }, { "bbox": [ 107, 305, 309, 316 ], "spans": [ { "bbox": [ 107, 305, 309, 316 ], "score": 1.0, "content": "1000 first and last names from name census data14.", "type": "text" } ], "index": 8 } ], "index": 7, "bbox_fs": [ 105, 283, 505, 316 ] }, { "type": "text", "bbox": [ 107, 322, 505, 377 ], "lines": [ { "bbox": [ 106, 322, 505, 334 ], "spans": [ { "bbox": [ 106, 322, 505, 334 ], "score": 1.0, "content": "Coin flip. This task asks the model to answer whether a coin is still heads up after people either", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 333, 504, 346 ], "spans": [ { "bbox": [ 105, 333, 504, 346 ], "score": 1.0, "content": "flip or don’t flip it beginning from being heads up. (e.g., \"A coin is heads up. Phoebe flips the coin.", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 343, 505, 357 ], "spans": [ { "bbox": [ 105, 343, 347, 357 ], "score": 1.0, "content": "Osvaldo does not flip the coin. Is the coin still heads up?\"", "type": "text" }, { "bbox": [ 348, 345, 360, 354 ], "score": 0.63, "content": "- >", "type": "inline_equation" }, { "bbox": [ 360, 343, 505, 357 ], "score": 1.0, "content": "\"no\"). We additionally evaluate on", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 354, 506, 367 ], "spans": [ { "bbox": [ 105, 354, 506, 367 ], "score": 1.0, "content": "the scenario where the number of people in the query examples is larger than that in the in-context", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 365, 317, 379 ], "spans": [ { "bbox": [ 105, 365, 317, 379 ], "score": 1.0, "content": "examples, i.e. the out-of-distribution (OOD) setting.", "type": "text" } ], "index": 13 } ], "index": 11, "bbox_fs": [ 105, 322, 506, 379 ] }, { "type": "text", "bbox": [ 107, 383, 505, 416 ], "lines": [ { "bbox": [ 105, 380, 505, 397 ], "spans": [ { "bbox": [ 105, 380, 505, 397 ], "score": 1.0, "content": "Reverse List. This task asks the model to reverse the order of a list of everyday objects (e.g.,", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 393, 505, 407 ], "spans": [ { "bbox": [ 106, 393, 246, 407 ], "score": 1.0, "content": "\"cigar, umbrella, key, gum, alarm\"", "type": "text" }, { "bbox": [ 247, 395, 259, 404 ], "score": 0.61, "content": "- >", "type": "inline_equation" }, { "bbox": [ 259, 393, 505, 407 ], "score": 1.0, "content": "\"alarm, gum, key, umbrella, cigar\"). We generate the lists by", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 404, 356, 417 ], "spans": [ { "bbox": [ 106, 404, 356, 417 ], "score": 1.0, "content": "randomly sampling from the vocabulary of everyday objects15.", "type": "text" } ], "index": 16 } ], "index": 15, "bbox_fs": [ 105, 380, 505, 417 ] }, { "type": "text", "bbox": [ 105, 421, 503, 444 ], "lines": [ { "bbox": [ 105, 419, 505, 436 ], "spans": [ { "bbox": [ 105, 419, 505, 436 ], "score": 1.0, "content": "Sports. This task asks the model to judge the truthfulness of a statement about a sports player (e.g.,", "type": "text" } ], "index": 17 }, { "bbox": [ 106, 432, 420, 445 ], "spans": [ { "bbox": [ 106, 432, 373, 445 ], "score": 1.0, "content": "\"Joao Moutinho caught the screen pass in the NFC championship\"", "type": "text" }, { "bbox": [ 373, 434, 385, 442 ], "score": 0.71, "content": "- >", "type": "inline_equation" }, { "bbox": [ 385, 432, 420, 445 ], "score": 1.0, "content": "\"false\").", "type": "text" } ], "index": 18 } ], "index": 17.5, "bbox_fs": [ 105, 419, 505, 445 ] }, { "type": "text", "bbox": [ 105, 449, 504, 472 ], "lines": [ { "bbox": [ 105, 448, 506, 463 ], "spans": [ { "bbox": [ 105, 448, 506, 463 ], "score": 1.0, "content": "Date. This task asks the model to infer the data from a given context (e.g., \"2015 is coming in 36", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 460, 449, 473 ], "spans": [ { "bbox": [ 105, 460, 449, 473 ], "score": 1.0, "content": "hours. What is the date one week from today in MM/DD/YYYY?\" -> \"01/05/2015\").", "type": "text" } ], "index": 20 } ], "index": 19.5, "bbox_fs": [ 105, 448, 506, 473 ] }, { "type": "text", "bbox": [ 107, 477, 505, 533 ], "lines": [ { "bbox": [ 106, 476, 505, 490 ], "spans": [ { "bbox": [ 106, 476, 505, 490 ], "score": 1.0, "content": "We use the same examples and chains as Wei et al. (2022c). For each task, we try two different", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 488, 505, 500 ], "spans": [ { "bbox": [ 106, 488, 505, 500 ], "score": 1.0, "content": "formats of prompts and both unidirectional and bidirectional attention mechanism and report the", "type": "text" } ], "index": 22 }, { "bbox": [ 106, 500, 505, 511 ], "spans": [ { "bbox": [ 106, 500, 505, 511 ], "score": 1.0, "content": "best performance. The first format is \"Question: {context} Answer: {target}\". The second one is", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 510, 505, 523 ], "spans": [ { "bbox": [ 105, 510, 505, 523 ], "score": 1.0, "content": "to add serial numbers before examples in the first format of prompts. The results are presented in", "type": "text" } ], "index": 24 }, { "bbox": [ 104, 521, 151, 534 ], "spans": [ { "bbox": [ 104, 521, 151, 534 ], "score": 1.0, "content": "Figure 18.", "type": "text" } ], "index": 25 } ], "index": 23, "bbox_fs": [ 104, 476, 505, 534 ] }, { "type": "title", "bbox": [ 107, 551, 396, 564 ], "lines": [ { "bbox": [ 106, 551, 397, 565 ], "spans": [ { "bbox": [ 106, 551, 397, 565 ], "score": 1.0, "content": "D SCALING AND EMERGENT ABILITIES IN GLM-130B", "type": "text" } ], "index": 26 } ], "index": 26 }, { "type": "text", "bbox": [ 107, 578, 505, 633 ], "lines": [ { "bbox": [ 106, 578, 506, 590 ], "spans": [ { "bbox": [ 106, 578, 506, 590 ], "score": 1.0, "content": "Scaling up pre-trained language models has been proven to boost downstream performance on a", "type": "text" } ], "index": 27 }, { "bbox": [ 106, 589, 505, 601 ], "spans": [ { "bbox": [ 106, 589, 505, 601 ], "score": 1.0, "content": "wide range of tasks continually. His, emergent abilities which are unpredictable from smaller scales.", "type": "text" } ], "index": 28 }, { "bbox": [ 106, 600, 505, 613 ], "spans": [ { "bbox": [ 106, 600, 505, 613 ], "score": 1.0, "content": "To illustrate this, we conducted extensive experiments to explore the scaling property and emergent", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 610, 505, 624 ], "spans": [ { "bbox": [ 105, 610, 505, 624 ], "score": 1.0, "content": "abilities. Following prior literature (Wei et al., 2022b), we categorize the NLP tasks into two types", "type": "text" } ], "index": 30 }, { "bbox": [ 106, 622, 215, 635 ], "spans": [ { "bbox": [ 106, 622, 215, 635 ], "score": 1.0, "content": "based on our observations.", "type": "text" } ], "index": 31 } ], "index": 29, "bbox_fs": [ 105, 578, 506, 635 ] }, { "type": "text", "bbox": [ 107, 639, 502, 672 ], "lines": [ { "bbox": [ 106, 638, 504, 652 ], "spans": [ { "bbox": [ 106, 638, 504, 652 ], "score": 1.0, "content": "• Log-scaling Ability Tasks (Cf. Figure 19): where the task performance grows logarithmically", "type": "text" } ], "index": 32 }, { "bbox": [ 114, 650, 504, 662 ], "spans": [ { "bbox": [ 114, 650, 504, 662 ], "score": 1.0, "content": "with the number of model parameters. Typical tasks and datasets include LAMBADA, Wikitext-", "type": "text" } ], "index": 33 }, { "bbox": [ 115, 660, 252, 673 ], "spans": [ { "bbox": [ 115, 660, 252, 673 ], "score": 1.0, "content": "103, Wikitext-2, Penn Tree Bank.", "type": "text" } ], "index": 34 } ], "index": 33, "bbox_fs": [ 106, 638, 504, 673 ] }, { "type": "text", "bbox": [ 109, 674, 504, 696 ], "lines": [ { "bbox": [ 106, 672, 505, 687 ], "spans": [ { "bbox": [ 106, 672, 505, 687 ], "score": 1.0, "content": "• Emergent Ability Tasks (Cf. Figure 20): where the task performance only soars up when the", "type": "text" } ], "index": 35 }, { "bbox": [ 114, 685, 505, 697 ], "spans": [ { "bbox": [ 114, 685, 505, 697 ], "score": 1.0, "content": "amount of model parameters reaches a certain threshold. Typical tasks and datasets include:", "type": "text" } ], "index": 36 } ], "index": 35.5, "bbox_fs": [ 106, 672, 505, 697 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 110, 85, 210, 96 ], "lines": [ { "bbox": [ 109, 84, 211, 98 ], "spans": [ { "bbox": [ 109, 84, 211, 98 ], "score": 1.0, "content": "Emergent Ability Tasks", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "image", "bbox": [ 105, 99, 503, 349 ], "blocks": [ { "type": "image_body", "bbox": [ 105, 99, 503, 349 ], "group_id": 0, "lines": [ { "bbox": [ 105, 99, 503, 349 ], "spans": [ { "bbox": [ 105, 99, 503, 349 ], "score": 0.971, "type": "image", "image_path": "99994029ac28fce8ea469d4724fa4cb6d882e1114c9a707945a57484c4327d19.jpg" } ] } ], "index": 2, "virtual_lines": [ { "bbox": [ 105, 99, 503, 182.33333333333331 ], "spans": [], "index": 1 }, { "bbox": [ 105, 182.33333333333331, 503, 265.66666666666663 ], "spans": [], "index": 2 }, { "bbox": [ 105, 265.66666666666663, 503, 348.99999999999994 ], "spans": [], "index": 3 } ] }, { "type": "image_caption", "bbox": [ 106, 357, 505, 402 ], "group_id": 0, "lines": [ { "bbox": [ 105, 357, 506, 369 ], "spans": [ { "bbox": [ 105, 357, 506, 369 ], "score": 1.0, "content": "Figure 20: Emergent ability tasks of GLM-130B. These tasks’ performance does not grow much", "type": "text" } ], "index": 4 }, { "bbox": [ 106, 368, 505, 380 ], "spans": [ { "bbox": [ 106, 368, 505, 380 ], "score": 1.0, "content": "until the model size reaches a certain threshold (e.g., 100B or 10B). After reaching the threshold, the", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 379, 506, 392 ], "spans": [ { "bbox": [ 105, 379, 506, 392 ], "score": 1.0, "content": "model performance soars up quickly. The BIG-bench (Srivastava et al., 2022) benchmark collects", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 390, 212, 404 ], "spans": [ { "bbox": [ 105, 390, 212, 404 ], "score": 1.0, "content": "many of these challenges.", "type": "text" } ], "index": 7 } ], "index": 5.5 } ], "index": 3.75 }, { "type": "text", "bbox": [ 113, 424, 504, 446 ], "lines": [ { "bbox": [ 114, 423, 505, 436 ], "spans": [ { "bbox": [ 114, 423, 505, 436 ], "score": 1.0, "content": "MMLU, hindu_knowledge, crass_ai, implicatures, understanding_fables, modified_arithmetic,", "type": "text" } ], "index": 8 }, { "bbox": [ 114, 434, 489, 447 ], "spans": [ { "bbox": [ 114, 434, 489, 447 ], "score": 1.0, "content": "implicit_relations, and gre_reading_comprehension from BIG-bench (Srivastava et al., 2022).", "type": "text" } ], "index": 9 } ], "index": 8.5 }, { "type": "text", "bbox": [ 107, 451, 505, 496 ], "lines": [ { "bbox": [ 105, 450, 506, 464 ], "spans": [ { "bbox": [ 105, 450, 506, 464 ], "score": 1.0, "content": "In line with the observation in (Wei et al., 2022b), we show that GLM-130B also presents the two", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 462, 506, 475 ], "spans": [ { "bbox": [ 105, 462, 506, 475 ], "score": 1.0, "content": "similar scaling behaviors to other LLMs such as GPT-3, LaMDA, and PaLM. Though why and how", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 472, 505, 487 ], "spans": [ { "bbox": [ 105, 472, 505, 487 ], "score": 1.0, "content": "LLMs present these intriguing properties remain unclear, GLM-130B provides open opportunities", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 484, 368, 497 ], "spans": [ { "bbox": [ 105, 484, 368, 497 ], "score": 1.0, "content": "for all researchers to test and understand the reason behind them.", "type": "text" } ], "index": 13 } ], "index": 11.5 } ], "page_idx": 46, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 759 ], "lines": [ { "bbox": [ 298, 750, 312, 763 ], "spans": [ { "bbox": [ 298, 750, 312, 763 ], "score": 1.0, "content": "", "type": "text", "height": 13, "width": 14 } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 110, 85, 210, 96 ], "lines": [ { "bbox": [ 109, 84, 211, 98 ], "spans": [ { "bbox": [ 109, 84, 211, 98 ], "score": 1.0, "content": "Emergent Ability Tasks", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "image", "bbox": [ 105, 99, 503, 349 ], "blocks": [ { "type": "image_body", "bbox": [ 105, 99, 503, 349 ], "group_id": 0, "lines": [ { "bbox": [ 105, 99, 503, 349 ], "spans": [ { "bbox": [ 105, 99, 503, 349 ], "score": 0.971, "type": "image", "image_path": "99994029ac28fce8ea469d4724fa4cb6d882e1114c9a707945a57484c4327d19.jpg" } ] } ], "index": 2, "virtual_lines": [ { "bbox": [ 105, 99, 503, 182.33333333333331 ], "spans": [], "index": 1 }, { "bbox": [ 105, 182.33333333333331, 503, 265.66666666666663 ], "spans": [], "index": 2 }, { "bbox": [ 105, 265.66666666666663, 503, 348.99999999999994 ], "spans": [], "index": 3 } ] }, { "type": "image_caption", "bbox": [ 106, 357, 505, 402 ], "group_id": 0, "lines": [ { "bbox": [ 105, 357, 506, 369 ], "spans": [ { "bbox": [ 105, 357, 506, 369 ], "score": 1.0, "content": "Figure 20: Emergent ability tasks of GLM-130B. These tasks’ performance does not grow much", "type": "text" } ], "index": 4 }, { "bbox": [ 106, 368, 505, 380 ], "spans": [ { "bbox": [ 106, 368, 505, 380 ], "score": 1.0, "content": "until the model size reaches a certain threshold (e.g., 100B or 10B). After reaching the threshold, the", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 379, 506, 392 ], "spans": [ { "bbox": [ 105, 379, 506, 392 ], "score": 1.0, "content": "model performance soars up quickly. The BIG-bench (Srivastava et al., 2022) benchmark collects", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 390, 212, 404 ], "spans": [ { "bbox": [ 105, 390, 212, 404 ], "score": 1.0, "content": "many of these challenges.", "type": "text" } ], "index": 7 } ], "index": 5.5 } ], "index": 3.75 }, { "type": "text", "bbox": [ 113, 424, 504, 446 ], "lines": [ { "bbox": [ 114, 423, 505, 436 ], "spans": [ { "bbox": [ 114, 423, 505, 436 ], "score": 1.0, "content": "MMLU, hindu_knowledge, crass_ai, implicatures, understanding_fables, modified_arithmetic,", "type": "text" } ], "index": 8 }, { "bbox": [ 114, 434, 489, 447 ], "spans": [ { "bbox": [ 114, 434, 489, 447 ], "score": 1.0, "content": "implicit_relations, and gre_reading_comprehension from BIG-bench (Srivastava et al., 2022).", "type": "text" } ], "index": 9 } ], "index": 8.5, "bbox_fs": [ 114, 423, 505, 447 ] }, { "type": "text", "bbox": [ 107, 451, 505, 496 ], "lines": [ { "bbox": [ 105, 450, 506, 464 ], "spans": [ { "bbox": [ 105, 450, 506, 464 ], "score": 1.0, "content": "In line with the observation in (Wei et al., 2022b), we show that GLM-130B also presents the two", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 462, 506, 475 ], "spans": [ { "bbox": [ 105, 462, 506, 475 ], "score": 1.0, "content": "similar scaling behaviors to other LLMs such as GPT-3, LaMDA, and PaLM. Though why and how", "type": "text" } ], "index": 11 }, { "bbox": [ 105, 472, 505, 487 ], "spans": [ { "bbox": [ 105, 472, 505, 487 ], "score": 1.0, "content": "LLMs present these intriguing properties remain unclear, GLM-130B provides open opportunities", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 484, 368, 497 ], "spans": [ { "bbox": [ 105, 484, 368, 497 ], "score": 1.0, "content": "for all researchers to test and understand the reason behind them.", "type": "text" } ], "index": 13 } ], "index": 11.5, "bbox_fs": [ 105, 450, 506, 497 ] } ] }, { "preproc_blocks": [ { "type": "table", "bbox": [ 210, 79, 400, 743 ], "blocks": [ { "type": "table_caption", "bbox": [ 198, 60, 413, 72 ], "group_id": 0, "lines": [ { "bbox": [ 196, 57, 415, 74 ], "spans": [ { "bbox": [ 196, 57, 415, 74 ], "score": 1.0, "content": "Table 11: Full configurations for GLM-130B training", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "table_body", "bbox": [ 210, 79, 400, 743 ], "group_id": 0, "lines": [ { "bbox": [ 210, 79, 400, 743 ], "spans": [ { "bbox": [ 210, 79, 400, 743 ], "score": 0.954, "html": "
Configuration KeyValue
adam_beta10.9
adam_beta20.95
adam_eps1e-08
aggregated_samples_per_sequence4
0.1
attention_dropout attention_softmax_in_fp32
True
average_block_length3
bias_dropout_fusionTrue True
checkpoint_activations
checkpoint_in_cpuFalse
checkpoint_num_layers
clip_grad contigious_checkpointing1.0
False
cpu_optimizerFalse
data_parallel_size24
deepnormTrue
distributed_backendnccl
eval_interval1000
eval_iters ffn_hidden_size3
fp1632768
True
global_batch_size glu_activation4224
gpt_probgeglu
hidden_dropout0.7
hidden_size0.1
hysteresis12288
init_method_std2 0.0052
init_method_xavier_uniform
initial_loss_scaleFalse 65536
layernorm_epsilon1E-05
learnable_rotary_embeddingFalse
length_per_sample2000
log_interval1
loss_scale0
loss_scale_window2000
lr8e-05
lr_decay_itersNone
lr_decay_samples197753905
lr_decay_stylecosine
lr_warmup_samples1098632
make_vocab_size_divisible_by768
mask_prob0.15
masked_softmax_fusionTrue
micro_batch_size1
min_gmask_ratio0.2
min_loss_scale1.0
min_lr8e-06
multitask_ratio
num_attention_heads0.05
num_layers96 70
onnx_safeNone
optimizer
partition_activationsadam
True
pipeline_model_parallel_size position_embedding_type8
rampup_batch_sizerotary 192, 24,5493164
save_interval250
seed1234
seq_length2048
short_seq_prob0.02
shrink_embedding_gradient_alpha0.1
single_span_prob0.02
split tensor_model_parallel_size949,50,1
tokenizer_type4
weight_decayIceTokenizer 0.1
zero_contigious_gradients
zero_reduce_bucket_sizeFalse
zero_reduce_scatter500000000
zero_stageFalse
zero-optimization.allgather_bucket_size500000000
tokenizer_typeIceTokenizer
weight_decay0.1
world_size768
zero_contigious_gradientsFALSE
zero_reduce_bucket_size500000000
zero_reduce_scatter zero_stageFALSE 1
", "type": "table", "image_path": "f84fd01d5a5fed9f1de50406b3ece3f64d4dabe76bb46944ba23ab2555f60a2c.jpg" } ] } ], "index": 20, "virtual_lines": [ { "bbox": [ 210, 79, 400, 96.02564102564102 ], "spans": [], "index": 1 }, { "bbox": [ 210, 96.02564102564102, 400, 113.05128205128204 ], "spans": [], "index": 2 }, { "bbox": [ 210, 113.05128205128204, 400, 130.07692307692307 ], "spans": [], "index": 3 }, { "bbox": [ 210, 130.07692307692307, 400, 147.1025641025641 ], "spans": [], "index": 4 }, { "bbox": [ 210, 147.1025641025641, 400, 164.1282051282051 ], "spans": [], "index": 5 }, { "bbox": [ 210, 164.1282051282051, 400, 181.15384615384613 ], "spans": [], "index": 6 }, { "bbox": [ 210, 181.15384615384613, 400, 198.17948717948715 ], "spans": [], "index": 7 }, { "bbox": [ 210, 198.17948717948715, 400, 215.20512820512818 ], "spans": [], "index": 8 }, { "bbox": [ 210, 215.20512820512818, 400, 232.2307692307692 ], "spans": [], "index": 9 }, { "bbox": [ 210, 232.2307692307692, 400, 249.25641025641022 ], "spans": [], "index": 10 }, { "bbox": [ 210, 249.25641025641022, 400, 266.28205128205127 ], "spans": [], "index": 11 }, { "bbox": [ 210, 266.28205128205127, 400, 283.3076923076923 ], "spans": [], "index": 12 }, { "bbox": [ 210, 283.3076923076923, 400, 300.33333333333337 ], "spans": [], "index": 13 }, { "bbox": [ 210, 300.33333333333337, 400, 317.3589743589744 ], "spans": [], "index": 14 }, { "bbox": [ 210, 317.3589743589744, 400, 334.3846153846155 ], "spans": [], "index": 15 }, { "bbox": [ 210, 334.3846153846155, 400, 351.4102564102565 ], "spans": [], "index": 16 }, { "bbox": [ 210, 351.4102564102565, 400, 368.4358974358976 ], "spans": [], "index": 17 }, { "bbox": [ 210, 368.4358974358976, 400, 385.4615384615386 ], "spans": [], "index": 18 }, { "bbox": [ 210, 385.4615384615386, 400, 402.4871794871797 ], "spans": [], "index": 19 }, { "bbox": [ 210, 402.4871794871797, 400, 419.5128205128207 ], "spans": [], "index": 20 }, { "bbox": [ 210, 419.5128205128207, 400, 436.5384615384618 ], "spans": [], "index": 21 }, { "bbox": [ 210, 436.5384615384618, 400, 453.5641025641028 ], "spans": [], "index": 22 }, { "bbox": [ 210, 453.5641025641028, 400, 470.5897435897439 ], "spans": [], "index": 23 }, { "bbox": [ 210, 470.5897435897439, 400, 487.6153846153849 ], "spans": [], "index": 24 }, { "bbox": [ 210, 487.6153846153849, 400, 504.641025641026 ], "spans": [], "index": 25 }, { "bbox": [ 210, 504.641025641026, 400, 521.666666666667 ], "spans": [], "index": 26 }, { "bbox": [ 210, 521.666666666667, 400, 538.692307692308 ], "spans": [], "index": 27 }, { "bbox": [ 210, 538.692307692308, 400, 555.717948717949 ], "spans": [], "index": 28 }, { "bbox": [ 210, 555.717948717949, 400, 572.74358974359 ], "spans": [], "index": 29 }, { "bbox": [ 210, 572.74358974359, 400, 589.769230769231 ], "spans": [], "index": 30 }, { "bbox": [ 210, 589.769230769231, 400, 606.7948717948719 ], "spans": [], "index": 31 }, { "bbox": [ 210, 606.7948717948719, 400, 623.8205128205129 ], "spans": [], "index": 32 }, { "bbox": [ 210, 623.8205128205129, 400, 640.8461538461539 ], "spans": [], "index": 33 }, { "bbox": [ 210, 640.8461538461539, 400, 657.8717948717949 ], "spans": [], "index": 34 }, { "bbox": [ 210, 657.8717948717949, 400, 674.8974358974359 ], "spans": [], "index": 35 }, { "bbox": [ 210, 674.8974358974359, 400, 691.9230769230769 ], "spans": [], "index": 36 }, { "bbox": [ 210, 691.9230769230769, 400, 708.9487179487179 ], "spans": [], "index": 37 }, { "bbox": [ 210, 708.9487179487179, 400, 725.9743589743589 ], "spans": [], "index": 38 }, { "bbox": [ 210, 725.9743589743589, 400, 742.9999999999999 ], "spans": [], "index": 39 } ] } ], "index": 10.0 } ], "page_idx": 47, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 752, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 312, 763 ], "spans": [ { "bbox": [ 298, 750, 312, 763 ], "score": 1.0, "content": "", "type": "text", "height": 13, "width": 14 } ] } ] } ], "para_blocks": [ { "type": "table", "bbox": [ 210, 79, 400, 743 ], "blocks": [ { "type": "table_caption", "bbox": [ 198, 60, 413, 72 ], "group_id": 0, "lines": [ { "bbox": [ 196, 57, 415, 74 ], "spans": [ { "bbox": [ 196, 57, 415, 74 ], "score": 1.0, "content": "Table 11: Full configurations for GLM-130B training", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "table_body", "bbox": [ 210, 79, 400, 743 ], "group_id": 0, "lines": [ { "bbox": [ 210, 79, 400, 743 ], "spans": [ { "bbox": [ 210, 79, 400, 743 ], "score": 0.954, "html": "
Configuration KeyValue
adam_beta10.9
adam_beta20.95
adam_eps1e-08
aggregated_samples_per_sequence4
0.1
attention_dropout attention_softmax_in_fp32
True
average_block_length3
bias_dropout_fusionTrue True
checkpoint_activations
checkpoint_in_cpuFalse
checkpoint_num_layers
clip_grad contigious_checkpointing1.0
False
cpu_optimizerFalse
data_parallel_size24
deepnormTrue
distributed_backendnccl
eval_interval1000
eval_iters ffn_hidden_size3
fp1632768
True
global_batch_size glu_activation4224
gpt_probgeglu
hidden_dropout0.7
hidden_size0.1
hysteresis12288
init_method_std2 0.0052
init_method_xavier_uniform
initial_loss_scaleFalse 65536
layernorm_epsilon1E-05
learnable_rotary_embeddingFalse
length_per_sample2000
log_interval1
loss_scale0
loss_scale_window2000
lr8e-05
lr_decay_itersNone
lr_decay_samples197753905
lr_decay_stylecosine
lr_warmup_samples1098632
make_vocab_size_divisible_by768
mask_prob0.15
masked_softmax_fusionTrue
micro_batch_size1
min_gmask_ratio0.2
min_loss_scale1.0
min_lr8e-06
multitask_ratio
num_attention_heads0.05
num_layers96 70
onnx_safeNone
optimizer
partition_activationsadam
True
pipeline_model_parallel_size position_embedding_type8
rampup_batch_sizerotary 192, 24,5493164
save_interval250
seed1234
seq_length2048
short_seq_prob0.02
shrink_embedding_gradient_alpha0.1
single_span_prob0.02
split tensor_model_parallel_size949,50,1
tokenizer_type4
weight_decayIceTokenizer 0.1
zero_contigious_gradients
zero_reduce_bucket_sizeFalse
zero_reduce_scatter500000000
zero_stageFalse
zero-optimization.allgather_bucket_size500000000
tokenizer_typeIceTokenizer
weight_decay0.1
world_size768
zero_contigious_gradientsFALSE
zero_reduce_bucket_size500000000
zero_reduce_scatter zero_stageFALSE 1
", "type": "table", "image_path": "f84fd01d5a5fed9f1de50406b3ece3f64d4dabe76bb46944ba23ab2555f60a2c.jpg" } ] } ], "index": 20, "virtual_lines": [ { "bbox": [ 210, 79, 400, 96.02564102564102 ], "spans": [], "index": 1 }, { "bbox": [ 210, 96.02564102564102, 400, 113.05128205128204 ], "spans": [], "index": 2 }, { "bbox": [ 210, 113.05128205128204, 400, 130.07692307692307 ], "spans": [], "index": 3 }, { "bbox": [ 210, 130.07692307692307, 400, 147.1025641025641 ], "spans": [], "index": 4 }, { "bbox": [ 210, 147.1025641025641, 400, 164.1282051282051 ], "spans": [], "index": 5 }, { "bbox": [ 210, 164.1282051282051, 400, 181.15384615384613 ], "spans": [], "index": 6 }, { "bbox": [ 210, 181.15384615384613, 400, 198.17948717948715 ], "spans": [], "index": 7 }, { "bbox": [ 210, 198.17948717948715, 400, 215.20512820512818 ], "spans": [], "index": 8 }, { "bbox": [ 210, 215.20512820512818, 400, 232.2307692307692 ], "spans": [], "index": 9 }, { "bbox": [ 210, 232.2307692307692, 400, 249.25641025641022 ], "spans": [], "index": 10 }, { "bbox": [ 210, 249.25641025641022, 400, 266.28205128205127 ], "spans": [], "index": 11 }, { "bbox": [ 210, 266.28205128205127, 400, 283.3076923076923 ], "spans": [], "index": 12 }, { "bbox": [ 210, 283.3076923076923, 400, 300.33333333333337 ], "spans": [], "index": 13 }, { "bbox": [ 210, 300.33333333333337, 400, 317.3589743589744 ], "spans": [], "index": 14 }, { "bbox": [ 210, 317.3589743589744, 400, 334.3846153846155 ], "spans": [], "index": 15 }, { "bbox": [ 210, 334.3846153846155, 400, 351.4102564102565 ], "spans": [], "index": 16 }, { "bbox": [ 210, 351.4102564102565, 400, 368.4358974358976 ], "spans": [], "index": 17 }, { "bbox": [ 210, 368.4358974358976, 400, 385.4615384615386 ], "spans": [], "index": 18 }, { "bbox": [ 210, 385.4615384615386, 400, 402.4871794871797 ], "spans": [], "index": 19 }, { "bbox": [ 210, 402.4871794871797, 400, 419.5128205128207 ], "spans": [], "index": 20 }, { "bbox": [ 210, 419.5128205128207, 400, 436.5384615384618 ], "spans": [], "index": 21 }, { "bbox": [ 210, 436.5384615384618, 400, 453.5641025641028 ], "spans": [], "index": 22 }, { "bbox": [ 210, 453.5641025641028, 400, 470.5897435897439 ], "spans": [], "index": 23 }, { "bbox": [ 210, 470.5897435897439, 400, 487.6153846153849 ], "spans": [], "index": 24 }, { "bbox": [ 210, 487.6153846153849, 400, 504.641025641026 ], "spans": [], "index": 25 }, { "bbox": [ 210, 504.641025641026, 400, 521.666666666667 ], "spans": [], "index": 26 }, { "bbox": [ 210, 521.666666666667, 400, 538.692307692308 ], "spans": [], "index": 27 }, { "bbox": [ 210, 538.692307692308, 400, 555.717948717949 ], "spans": [], "index": 28 }, { "bbox": [ 210, 555.717948717949, 400, 572.74358974359 ], "spans": [], "index": 29 }, { "bbox": [ 210, 572.74358974359, 400, 589.769230769231 ], "spans": [], "index": 30 }, { "bbox": [ 210, 589.769230769231, 400, 606.7948717948719 ], "spans": [], "index": 31 }, { "bbox": [ 210, 606.7948717948719, 400, 623.8205128205129 ], "spans": [], "index": 32 }, { "bbox": [ 210, 623.8205128205129, 400, 640.8461538461539 ], "spans": [], "index": 33 }, { "bbox": [ 210, 640.8461538461539, 400, 657.8717948717949 ], "spans": [], "index": 34 }, { "bbox": [ 210, 657.8717948717949, 400, 674.8974358974359 ], "spans": [], "index": 35 }, { "bbox": [ 210, 674.8974358974359, 400, 691.9230769230769 ], "spans": [], "index": 36 }, { "bbox": [ 210, 691.9230769230769, 400, 708.9487179487179 ], "spans": [], "index": 37 }, { "bbox": [ 210, 708.9487179487179, 400, 725.9743589743589 ], "spans": [], "index": 38 }, { "bbox": [ 210, 725.9743589743589, 400, 742.9999999999999 ], "spans": [], "index": 39 } ] } ], "index": 10.0 } ] }, { "preproc_blocks": [ { "type": "table", "bbox": [ 107, 207, 509, 658 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 164, 505, 198 ], "group_id": 0, "lines": [ { "bbox": [ 105, 163, 504, 176 ], "spans": [ { "bbox": [ 105, 163, 504, 176 ], "score": 1.0, "content": "Table 12: The 74 datasets involved in Multi-task Instruction Pre-training (MIP). Datasets from T0-", "type": "text" } ], "index": 0 }, { "bbox": [ 106, 175, 505, 187 ], "spans": [ { "bbox": [ 106, 175, 505, 187 ], "score": 1.0, "content": "PromptSource (Sanh et al., 2022; Bach et al., 2022) are named in their Hugging Face datasets iden-", "type": "text" } ], "index": 1 }, { "bbox": [ 106, 186, 449, 198 ], "spans": [ { "bbox": [ 106, 186, 449, 198 ], "score": 1.0, "content": "tifiers. Datasets from DeepStruct (Wang et al., 2022a) are described in Appendix C.2.", "type": "text" } ], "index": 2 } ], "index": 1 }, { "type": "table_body", "bbox": [ 107, 207, 509, 658 ], "group_id": 0, "lines": [ { "bbox": [ 107, 207, 509, 658 ], "spans": [ { "bbox": [ 107, 207, 509, 658 ], "score": 0.983, "html": "
TaskDatasetTaskDataset
Coreference Resolutionsuper_glue/wsc.fixedMulti-choice QAcos_e/v1.11
Coreference Resolutionwinogrande/winogrande_xl Multi-choice QAcosmos_qa
Natural Language Inference super_glue/cbMulti-choice QAdream
Natural Language Inference super_glue/rteMulti-choice QAopenbookqa/main
Natural Language Inference anliMulti-choice QAqasc
Paraphrase Identification glue/mrpcMulti-choice QAquail
Paraphrase Identification glue/qqpMulti-choice QAquarel
Paraphrase Identificationpaws/labeled_finalMulti-choice QAquartz
Closed-Book QAai2_arc/ARC_ChallengeMulti-choice QArace/high
Closed-Book QAai2_arc/ARC_EasyMulti-choice QArace/middle
Closed-Book QAkilt_tasks/hoptpotqaMulti-choice QAsciq
Closed-Book QAtrivia_qa/unfilteredMulti-choice QAsocial_i_qa
Closed-Book QAweb_questionsMulti-choice QAsuper_glue/boolq
Closed-Book QAwiki_qaMulti-choice QAsuper_glue/multirc
Extractive QAadversarial_qa/dbidafMulti-choice QAwiki_hop/original
Extractive QAadversarial_qa/dbertMulti-choice QAwiqa
Extractive QAadversarial_qa/drobertaMulti-choice QApiqa
Extractive QAduorc/SelfRCTopic Classificationag_news
Extractive QAduorc/ParaphraseRCTopic Classificationdbpedia_14
Extractive QAropesTopic Classificationtrec
Extractive QAsquad_v2Word Sense Disambiguation super_glue/wic
Extractive QAsuper_glue/recordDialogue State Trackingmultiwoz_2.1
Extractive QAquorefEvent Extractionace05
Sentimentamazon_polarityNamed Entity Recognitionconl103
Sentimentapp_reviewsNamed Entity Recognitiongenia
SentimentimdbNamed Entity Recognitionontonotes5.0
Sentimentrotten_tomatoesNamed Entity Recognitionace2005
Sentimentyelp_review_fullNamed Entity Recognitionconll04
Sentence Completionsuper_glue/copaNamed Entity Recognitionnyt29
Sentence CompletionhellaswagRelation Extractionconll04
Structure-to-Textcommon_genRelation Extractionnyt29
Structure-to-Textwiki_bioRelation Extractionace2005
Summarizationcnn_dailymail/3.0.0Relation Extractionkelm
SummarizationgigawordRelation Classificationtacred
Summarizationmulti_newsSemantic Role Labelingconll05
SummarizationsamsumSemantic Role Labelingconll12
SummarizationxsumSemantic Role Labelingpropbank
", "type": "table", "image_path": "8284c0770abef2ac242864b4d8db7ac7f9591af1ec7e8204d766951324cdcc61.jpg" } ] } ], "index": 4, "virtual_lines": [ { "bbox": [ 107, 207, 509, 357.33333333333337 ], "spans": [], "index": 3 }, { "bbox": [ 107, 357.33333333333337, 509, 507.66666666666674 ], "spans": [], "index": 4 }, { "bbox": [ 107, 507.66666666666674, 509, 658.0000000000001 ], "spans": [], "index": 5 } ] } ], "index": 2.5 } ], "page_idx": 48, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 762 ], "spans": [ { "bbox": [ 298, 750, 313, 762 ], "score": 1.0, "content": "49", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "table", "bbox": [ 107, 207, 509, 658 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 164, 505, 198 ], "group_id": 0, "lines": [ { "bbox": [ 105, 163, 504, 176 ], "spans": [ { "bbox": [ 105, 163, 504, 176 ], "score": 1.0, "content": "Table 12: The 74 datasets involved in Multi-task Instruction Pre-training (MIP). Datasets from T0-", "type": "text" } ], "index": 0 }, { "bbox": [ 106, 175, 505, 187 ], "spans": [ { "bbox": [ 106, 175, 505, 187 ], "score": 1.0, "content": "PromptSource (Sanh et al., 2022; Bach et al., 2022) are named in their Hugging Face datasets iden-", "type": "text" } ], "index": 1 }, { "bbox": [ 106, 186, 449, 198 ], "spans": [ { "bbox": [ 106, 186, 449, 198 ], "score": 1.0, "content": "tifiers. Datasets from DeepStruct (Wang et al., 2022a) are described in Appendix C.2.", "type": "text" } ], "index": 2 } ], "index": 1 }, { "type": "table_body", "bbox": [ 107, 207, 509, 658 ], "group_id": 0, "lines": [ { "bbox": [ 107, 207, 509, 658 ], "spans": [ { "bbox": [ 107, 207, 509, 658 ], "score": 0.983, "html": "
TaskDatasetTaskDataset
Coreference Resolutionsuper_glue/wsc.fixedMulti-choice QAcos_e/v1.11
Coreference Resolutionwinogrande/winogrande_xl Multi-choice QAcosmos_qa
Natural Language Inference super_glue/cbMulti-choice QAdream
Natural Language Inference super_glue/rteMulti-choice QAopenbookqa/main
Natural Language Inference anliMulti-choice QAqasc
Paraphrase Identification glue/mrpcMulti-choice QAquail
Paraphrase Identification glue/qqpMulti-choice QAquarel
Paraphrase Identificationpaws/labeled_finalMulti-choice QAquartz
Closed-Book QAai2_arc/ARC_ChallengeMulti-choice QArace/high
Closed-Book QAai2_arc/ARC_EasyMulti-choice QArace/middle
Closed-Book QAkilt_tasks/hoptpotqaMulti-choice QAsciq
Closed-Book QAtrivia_qa/unfilteredMulti-choice QAsocial_i_qa
Closed-Book QAweb_questionsMulti-choice QAsuper_glue/boolq
Closed-Book QAwiki_qaMulti-choice QAsuper_glue/multirc
Extractive QAadversarial_qa/dbidafMulti-choice QAwiki_hop/original
Extractive QAadversarial_qa/dbertMulti-choice QAwiqa
Extractive QAadversarial_qa/drobertaMulti-choice QApiqa
Extractive QAduorc/SelfRCTopic Classificationag_news
Extractive QAduorc/ParaphraseRCTopic Classificationdbpedia_14
Extractive QAropesTopic Classificationtrec
Extractive QAsquad_v2Word Sense Disambiguation super_glue/wic
Extractive QAsuper_glue/recordDialogue State Trackingmultiwoz_2.1
Extractive QAquorefEvent Extractionace05
Sentimentamazon_polarityNamed Entity Recognitionconl103
Sentimentapp_reviewsNamed Entity Recognitiongenia
SentimentimdbNamed Entity Recognitionontonotes5.0
Sentimentrotten_tomatoesNamed Entity Recognitionace2005
Sentimentyelp_review_fullNamed Entity Recognitionconll04
Sentence Completionsuper_glue/copaNamed Entity Recognitionnyt29
Sentence CompletionhellaswagRelation Extractionconll04
Structure-to-Textcommon_genRelation Extractionnyt29
Structure-to-Textwiki_bioRelation Extractionace2005
Summarizationcnn_dailymail/3.0.0Relation Extractionkelm
SummarizationgigawordRelation Classificationtacred
Summarizationmulti_newsSemantic Role Labelingconll05
SummarizationsamsumSemantic Role Labelingconll12
SummarizationxsumSemantic Role Labelingpropbank
", "type": "table", "image_path": "8284c0770abef2ac242864b4d8db7ac7f9591af1ec7e8204d766951324cdcc61.jpg" } ] } ], "index": 4, "virtual_lines": [ { "bbox": [ 107, 207, 509, 357.33333333333337 ], "spans": [], "index": 3 }, { "bbox": [ 107, 357.33333333333337, 509, 507.66666666666674 ], "spans": [], "index": 4 }, { "bbox": [ 107, 507.66666666666674, 509, 658.0000000000001 ], "spans": [], "index": 5 } ] } ], "index": 2.5 } ] }, { "preproc_blocks": [ { "type": "table", "bbox": [ 106, 284, 504, 586 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 229, 505, 273 ], "group_id": 0, "lines": [ { "bbox": [ 105, 228, 506, 241 ], "spans": [ { "bbox": [ 105, 228, 506, 241 ], "score": 1.0, "content": "Table 14: Details results of GLM-130B, GPT-3 175B (Brown et al., 2020), and PaLM 540B (Chowd-", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 240, 505, 252 ], "spans": [ { "bbox": [ 105, 240, 505, 252 ], "score": 1.0, "content": "hery et al., 2022) on BIG-bench-lite in 0, 1, and 3-shots. “Normalized preferred metric” is reported", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 251, 505, 264 ], "spans": [ { "bbox": [ 105, 251, 505, 264 ], "score": 1.0, "content": "for each task. GPT-3 and PaLM’s results are reported in BIG-bench’s GitHub repository, and PaLM", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 263, 250, 273 ], "spans": [ { "bbox": [ 106, 263, 250, 273 ], "score": 1.0, "content": "540B’s 3-shot results are not found.", "type": "text" } ], "index": 3 } ], "index": 1.5 }, { "type": "table_body", "bbox": [ 106, 284, 504, 586 ], "group_id": 0, "lines": [ { "bbox": [ 106, 284, 504, 586 ], "spans": [ { "bbox": [ 106, 284, 504, 586 ], "score": 0.984, "html": "
GLM-130BGPT-3175BPaLM540B
01301301
auto_debugging11.7620.5923.530.000.000.000.0038.23
bbq_lite_json22.2637.5059.73-8.3340.7561.21-4.3977.73
code_line_description0.229.09-8.649.099.099.090.2249.00
conceptual_combinations37.5131.3327.862.373.7014.3345.6873.36
conlang_translation34.7238.0133.8846.8247.0751.6036.8861.92
emoji_movie1.254.883.75-10.00-2.49-1.2417.5088.75
formal_fallacies_syllogisms_negation0.831.460.351.006.805.60-0.204.40
hindu_knowledge32.2337.5634.5210.1540.6144.4241.3793.15
known_unknowns-4.350.004.3521.744.350.0013.0434.78
language_identification9.621.971.907.493.201.9812.1131.03
linguistics_puzzles0.000.000.000.000.000.000.000.10
logic_grid_puzzle9.8813.665.240.163.350.011.4716.12
logical_deduction24.1822.2020.352.2210.8014.712.1715.34
misconceptions_russian-26.53-46.94-26.53-34.70-34.70-30.61-42.86-30.61
novel_concepts6.2521.8725.7833.5933.5945.3133.5949.22
operators14.7618.1018.1030.034.2933.3330.4856.19
parsinlu_reading_comprehension7.147.7211.580.000.000.009.4644.40
play_dialog_same_or_different2.885.333.808.000.80-5.40-33.00.10
repeat_copy_logic0.000.000.000.000.000.000.0037.5
strange_stories43.8651.7642.318.2725.6812.9339.2574.46
strategyqa21.1018.7416.824.6013.2014.2028.0038.00
symbol_interpretation1.391.891.770.51-0.632.770.762.40
vitaminc_fact_verification71.8760.7256.55-31.5522.1529.05-28.8555.60
winowhy-3.495.383.03.010.6013.00-5.031.80
", "type": "table", "image_path": "4a1af107c4ca6d51f6d85673d9672d351b9646b8182e9974744569b80c4bd80a.jpg" } ] } ], "index": 5, "virtual_lines": [ { "bbox": [ 106, 284, 504, 384.6666666666667 ], "spans": [], "index": 4 }, { "bbox": [ 106, 384.6666666666667, 504, 485.33333333333337 ], "spans": [], "index": 5 }, { "bbox": [ 106, 485.33333333333337, 504, 586.0 ], "spans": [], "index": 6 } ] } ], "index": 3.25 } ], "page_idx": 49, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 763 ], "spans": [ { "bbox": [ 298, 750, 313, 763 ], "score": 1.0, "content": "50", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "table", "bbox": [ 106, 284, 504, 586 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 229, 505, 273 ], "group_id": 0, "lines": [ { "bbox": [ 105, 228, 506, 241 ], "spans": [ { "bbox": [ 105, 228, 506, 241 ], "score": 1.0, "content": "Table 14: Details results of GLM-130B, GPT-3 175B (Brown et al., 2020), and PaLM 540B (Chowd-", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 240, 505, 252 ], "spans": [ { "bbox": [ 105, 240, 505, 252 ], "score": 1.0, "content": "hery et al., 2022) on BIG-bench-lite in 0, 1, and 3-shots. “Normalized preferred metric” is reported", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 251, 505, 264 ], "spans": [ { "bbox": [ 105, 251, 505, 264 ], "score": 1.0, "content": "for each task. GPT-3 and PaLM’s results are reported in BIG-bench’s GitHub repository, and PaLM", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 263, 250, 273 ], "spans": [ { "bbox": [ 106, 263, 250, 273 ], "score": 1.0, "content": "540B’s 3-shot results are not found.", "type": "text" } ], "index": 3 } ], "index": 1.5 }, { "type": "table_body", "bbox": [ 106, 284, 504, 586 ], "group_id": 0, "lines": [ { "bbox": [ 106, 284, 504, 586 ], "spans": [ { "bbox": [ 106, 284, 504, 586 ], "score": 0.984, "html": "
GLM-130BGPT-3175BPaLM540B
01301301
auto_debugging11.7620.5923.530.000.000.000.0038.23
bbq_lite_json22.2637.5059.73-8.3340.7561.21-4.3977.73
code_line_description0.229.09-8.649.099.099.090.2249.00
conceptual_combinations37.5131.3327.862.373.7014.3345.6873.36
conlang_translation34.7238.0133.8846.8247.0751.6036.8861.92
emoji_movie1.254.883.75-10.00-2.49-1.2417.5088.75
formal_fallacies_syllogisms_negation0.831.460.351.006.805.60-0.204.40
hindu_knowledge32.2337.5634.5210.1540.6144.4241.3793.15
known_unknowns-4.350.004.3521.744.350.0013.0434.78
language_identification9.621.971.907.493.201.9812.1131.03
linguistics_puzzles0.000.000.000.000.000.000.000.10
logic_grid_puzzle9.8813.665.240.163.350.011.4716.12
logical_deduction24.1822.2020.352.2210.8014.712.1715.34
misconceptions_russian-26.53-46.94-26.53-34.70-34.70-30.61-42.86-30.61
novel_concepts6.2521.8725.7833.5933.5945.3133.5949.22
operators14.7618.1018.1030.034.2933.3330.4856.19
parsinlu_reading_comprehension7.147.7211.580.000.000.009.4644.40
play_dialog_same_or_different2.885.333.808.000.80-5.40-33.00.10
repeat_copy_logic0.000.000.000.000.000.000.0037.5
strange_stories43.8651.7642.318.2725.6812.9339.2574.46
strategyqa21.1018.7416.824.6013.2014.2028.0038.00
symbol_interpretation1.391.891.770.51-0.632.770.762.40
vitaminc_fact_verification71.8760.7256.55-31.5522.1529.05-28.8555.60
winowhy-3.495.383.03.010.6013.00-5.031.80
", "type": "table", "image_path": "4a1af107c4ca6d51f6d85673d9672d351b9646b8182e9974744569b80c4bd80a.jpg" } ] } ], "index": 5, "virtual_lines": [ { "bbox": [ 106, 284, 504, 384.6666666666667 ], "spans": [], "index": 4 }, { "bbox": [ 106, 384.6666666666667, 504, 485.33333333333337 ], "spans": [], "index": 5 }, { "bbox": [ 106, 485.33333333333337, 504, 586.0 ], "spans": [], "index": 6 } ] } ], "index": 3.25 } ] }, { "preproc_blocks": [ { "type": "table", "bbox": [ 142, 116, 469, 729 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 79, 506, 114 ], "group_id": 0, "lines": [ { "bbox": [ 105, 78, 504, 93 ], "spans": [ { "bbox": [ 105, 78, 504, 93 ], "score": 1.0, "content": "Table 15: Detailed results of GLM-130B and BLOOM 176B (Scao et al., 2022) on", "type": "text" } ], "index": 0 }, { "bbox": [ 106, 91, 506, 104 ], "spans": [ { "bbox": [ 106, 91, 506, 104 ], "score": 1.0, "content": "MMLU (Hendrycks et al., 2021). We find that no existing literature has reported GPT-3 175B’s", "type": "text" } ], "index": 1 }, { "bbox": [ 106, 102, 474, 115 ], "spans": [ { "bbox": [ 106, 102, 474, 115 ], "score": 1.0, "content": "numerical accuracy. BLOOM is evaluated using Huggingface Transformer implementation.", "type": "text" } ], "index": 2 } ], "index": 1 }, { "type": "table_body", "bbox": [ 142, 116, 469, 729 ], "group_id": 0, "lines": [ { "bbox": [ 142, 116, 469, 729 ], "spans": [ { "bbox": [ 142, 116, 469, 729 ], "score": 0.973, "html": "
DisciplineGLM-130B BLOOM176B
STEM
abstract_algebra anatomy24.00 48.9024.00 38.52
astronomy48.0334.87
37.50
colledge_biology47.22
college_chemistry34.0019.00
colledge_computer_science44.001.00
colledge_mathematcis27.0031.00
colledge_physics30.39 61.0024.50 40.00
computer_security conceptual_physics38.7231.49
electrical_engineering45.5232.41
elementary_mathematics31.7529.63
high_school_biology51.2927.42
high_school_chemistry34.9827.09
high_school_computer_science53.0030.00
high_school_mathematics28.1525.93
high_school_physics29.8030.46
high_school_statistics machine_learning38.43 40.1826.39 29.46
Social Science26.3226.32
econometrics
high_school_geography53.5436.36
high_school_government_and_politics62.1840.41
high_school_macroeconomics42.5630.77
high_school_microeconomics45.8026.89
high_school_psychology54.13 51.1539.27
human_sexuality42.4835.11 31.54
professional_psychology55.4633.64
public_relations security_studies44.9034.29
sociology51.7431.84
Humanitiesus_foreign_policy61.0046.00
formal_logic27.7823.02
high_school_european_history58.1835.76
high_school_us_history58.3340.69
high_school_world_history67.0932.07
international_law56.2042.15
jurisprudence43.5235.19
logical_fallacies57.0631.29
moral_disputes47.1136.71
moral_scenarios philosophy24.2524.36
prehistory35.37
45.34 50.9340.43
professional_law world_religions37.9429.53
55.5642.11
business_ethics clinical_knowledge51.0034.00
colledge_medicine48.6835.85 28.90
glocal_facts43.35 35.00
human_aging Other23.00
management45.29 56.3132.29
marketing67.5227.18
39.74
medical_genetics48.0045.00
miscellaneous61.1840.23
nutrition50.6532.35
professional_accounting35.4628.72
professional_medicine43.3818.01
virology39.1628.31
", "type": "table", "image_path": "263ed91e2f5136ee90d9f0fb44bda0e81da65c26b9506dedb880140ace88b2e4.jpg" } ] } ], "index": 4, "virtual_lines": [ { "bbox": [ 142, 116, 469, 320.33333333333337 ], "spans": [], "index": 3 }, { "bbox": [ 142, 320.33333333333337, 469, 524.6666666666667 ], "spans": [], "index": 4 }, { "bbox": [ 142, 524.6666666666667, 469, 729.0000000000001 ], "spans": [], "index": 5 } ] } ], "index": 2.5 } ], "page_idx": 50, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 310, 761 ], "lines": [ { "bbox": [ 298, 750, 312, 764 ], "spans": [ { "bbox": [ 298, 750, 312, 764 ], "score": 1.0, "content": "51", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "table", "bbox": [ 142, 116, 469, 729 ], "blocks": [ { "type": "table_caption", "bbox": [ 106, 79, 506, 114 ], "group_id": 0, "lines": [ { "bbox": [ 105, 78, 504, 93 ], "spans": [ { "bbox": [ 105, 78, 504, 93 ], "score": 1.0, "content": "Table 15: Detailed results of GLM-130B and BLOOM 176B (Scao et al., 2022) on", "type": "text" } ], "index": 0 }, { "bbox": [ 106, 91, 506, 104 ], "spans": [ { "bbox": [ 106, 91, 506, 104 ], "score": 1.0, "content": "MMLU (Hendrycks et al., 2021). We find that no existing literature has reported GPT-3 175B’s", "type": "text" } ], "index": 1 }, { "bbox": [ 106, 102, 474, 115 ], "spans": [ { "bbox": [ 106, 102, 474, 115 ], "score": 1.0, "content": "numerical accuracy. BLOOM is evaluated using Huggingface Transformer implementation.", "type": "text" } ], "index": 2 } ], "index": 1 }, { "type": "table_body", "bbox": [ 142, 116, 469, 729 ], "group_id": 0, "lines": [ { "bbox": [ 142, 116, 469, 729 ], "spans": [ { "bbox": [ 142, 116, 469, 729 ], "score": 0.973, "html": "
DisciplineGLM-130B BLOOM176B
STEM
abstract_algebra anatomy24.00 48.9024.00 38.52
astronomy48.0334.87
37.50
colledge_biology47.22
college_chemistry34.0019.00
colledge_computer_science44.001.00
colledge_mathematcis27.0031.00
colledge_physics30.39 61.0024.50 40.00
computer_security conceptual_physics38.7231.49
electrical_engineering45.5232.41
elementary_mathematics31.7529.63
high_school_biology51.2927.42
high_school_chemistry34.9827.09
high_school_computer_science53.0030.00
high_school_mathematics28.1525.93
high_school_physics29.8030.46
high_school_statistics machine_learning38.43 40.1826.39 29.46
Social Science26.3226.32
econometrics
high_school_geography53.5436.36
high_school_government_and_politics62.1840.41
high_school_macroeconomics42.5630.77
high_school_microeconomics45.8026.89
high_school_psychology54.13 51.1539.27
human_sexuality42.4835.11 31.54
professional_psychology55.4633.64
public_relations security_studies44.9034.29
sociology51.7431.84
Humanitiesus_foreign_policy61.0046.00
formal_logic27.7823.02
high_school_european_history58.1835.76
high_school_us_history58.3340.69
high_school_world_history67.0932.07
international_law56.2042.15
jurisprudence43.5235.19
logical_fallacies57.0631.29
moral_disputes47.1136.71
moral_scenarios philosophy24.2524.36
prehistory35.37
45.34 50.9340.43
professional_law world_religions37.9429.53
55.5642.11
business_ethics clinical_knowledge51.0034.00
colledge_medicine48.6835.85 28.90
glocal_facts43.35 35.00
human_aging Other23.00
management45.29 56.3132.29
marketing67.5227.18
39.74
medical_genetics48.0045.00
miscellaneous61.1840.23
nutrition50.6532.35
professional_accounting35.4628.72
professional_medicine43.3818.01
virology39.1628.31
", "type": "table", "image_path": "263ed91e2f5136ee90d9f0fb44bda0e81da65c26b9506dedb880140ace88b2e4.jpg" } ] } ], "index": 4, "virtual_lines": [ { "bbox": [ 142, 116, 469, 320.33333333333337 ], "spans": [], "index": 3 }, { "bbox": [ 142, 320.33333333333337, 469, 524.6666666666667 ], "spans": [], "index": 4 }, { "bbox": [ 142, 524.6666666666667, 469, 729.0000000000001 ], "spans": [], "index": 5 } ] } ], "index": 2.5 } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 108, 81, 214, 93 ], "lines": [ { "bbox": [ 104, 79, 216, 96 ], "spans": [ { "bbox": [ 104, 79, 216, 96 ], "score": 1.0, "content": "E CONTRIBUTIONS", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 106, 105, 505, 183 ], "lines": [ { "bbox": [ 106, 106, 505, 118 ], "spans": [ { "bbox": [ 106, 106, 505, 118 ], "score": 1.0, "content": "The GLM-130B project was conceived in Dec. 2021 with its pre-training part completed in July 3rd,", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 116, 506, 129 ], "spans": [ { "bbox": [ 105, 116, 506, 129 ], "score": 1.0, "content": "2022 and its evaluation and applications still ongoing. Over the course, we have experienced various", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 128, 505, 140 ], "spans": [ { "bbox": [ 106, 128, 505, 140 ], "score": 1.0, "content": "technical and engineering challenges (Cf. Appendix F and Figure 21 for details). It would not be", "type": "text" } ], "index": 3 }, { "bbox": [ 104, 138, 506, 152 ], "spans": [ { "bbox": [ 104, 138, 506, 152 ], "score": 1.0, "content": "possible to reach its current status if without the collaboration of multiple teams—the Knowledge", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 149, 505, 163 ], "spans": [ { "bbox": [ 105, 149, 505, 163 ], "score": 1.0, "content": "Engineering Group (KEG), Parallel Architecture & Compiler technology of Mobile, Accelerated,", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 160, 506, 174 ], "spans": [ { "bbox": [ 105, 160, 506, 174 ], "score": 1.0, "content": "and Networked systems Group (PACMAN), and Natural Language Processing Group (THUNLP) at", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 172, 450, 184 ], "spans": [ { "bbox": [ 106, 172, 450, 184 ], "score": 1.0, "content": "Tsinghua University, as well as Zhipu.AI. The detailed contributions are listed below.", "type": "text" } ], "index": 7 } ], "index": 4 }, { "type": "title", "bbox": [ 107, 196, 192, 207 ], "lines": [ { "bbox": [ 105, 195, 194, 209 ], "spans": [ { "bbox": [ 105, 195, 194, 209 ], "score": 1.0, "content": "E.1 PREPARATION", "type": "text" } ], "index": 8 } ], "index": 8 }, { "type": "text", "bbox": [ 106, 216, 482, 303 ], "lines": [ { "bbox": [ 105, 216, 333, 230 ], "spans": [ { "bbox": [ 105, 216, 333, 230 ], "score": 1.0, "content": "• Model Implementation: Aohan Zeng, Zhengxiao Du", "type": "text" } ], "index": 9 }, { "bbox": [ 105, 229, 365, 246 ], "spans": [ { "bbox": [ 105, 229, 365, 246 ], "score": 1.0, "content": "• Self-Supervised Data Processing: Ming Ding, Wendi Zheng", "type": "text" } ], "index": 10 }, { "bbox": [ 106, 246, 313, 259 ], "spans": [ { "bbox": [ 106, 246, 313, 259 ], "score": 1.0, "content": "• Multitask Data Processing: Xiao Liu, Xiao Xia", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 261, 406, 274 ], "spans": [ { "bbox": [ 106, 261, 406, 274 ], "score": 1.0, "content": "• Model Architecture: Aohan Zeng, Xiao Liu, Zhengxiao Du, Hanyu Lai", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 275, 339, 290 ], "spans": [ { "bbox": [ 105, 275, 339, 290 ], "score": 1.0, "content": "• Training Stability: Aohan Zeng, Xiao Liu, Ming Ding", "type": "text" } ], "index": 13 }, { "bbox": [ 105, 290, 481, 304 ], "spans": [ { "bbox": [ 105, 290, 481, 304 ], "score": 1.0, "content": "• 3D-Parallelism and Training Efficiency: Aohan Zeng, Zixuan Ma, Jiaao He, Zhenbo Sun", "type": "text" } ], "index": 14 } ], "index": 11.5 }, { "type": "text", "bbox": [ 107, 316, 212, 327 ], "lines": [ { "bbox": [ 106, 315, 212, 329 ], "spans": [ { "bbox": [ 106, 315, 212, 329 ], "score": 1.0, "content": "E.2 MODEL TRAINING", "type": "text" } ], "index": 15 } ], "index": 15 }, { "type": "text", "bbox": [ 106, 336, 365, 363 ], "lines": [ { "bbox": [ 106, 335, 366, 349 ], "spans": [ { "bbox": [ 106, 335, 366, 349 ], "score": 1.0, "content": "• Large-Scale Training & Monitoring: Aohan Zeng, Xiao Liu", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 350, 304, 364 ], "spans": [ { "bbox": [ 105, 350, 304, 364 ], "score": 1.0, "content": "• Model Performance Validation: Aohan Zeng", "type": "text" } ], "index": 17 } ], "index": 16.5 }, { "type": "text", "bbox": [ 107, 376, 202, 387 ], "lines": [ { "bbox": [ 106, 375, 203, 388 ], "spans": [ { "bbox": [ 106, 375, 203, 388 ], "score": 1.0, "content": "E.3 POST TRAINING", "type": "text" } ], "index": 18 } ], "index": 18 }, { "type": "text", "bbox": [ 106, 396, 505, 579 ], "lines": [ { "bbox": [ 105, 395, 334, 409 ], "spans": [ { "bbox": [ 105, 395, 334, 409 ], "score": 1.0, "content": "• Evaluation Framework: Aohan Zeng, Zhengxiao Du", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 410, 307, 424 ], "spans": [ { "bbox": [ 105, 410, 307, 424 ], "score": 1.0, "content": "• Language Modeling Evaluation: Aohan Zeng", "type": "text" } ], "index": 20 }, { "bbox": [ 105, 424, 317, 439 ], "spans": [ { "bbox": [ 105, 424, 317, 439 ], "score": 1.0, "content": "• MMLU & BIG-Bench Evaluation: Aohan Zeng", "type": "text" } ], "index": 21 }, { "bbox": [ 104, 439, 349, 455 ], "spans": [ { "bbox": [ 104, 439, 349, 455 ], "score": 1.0, "content": "• CLUE & FewCLUE Evaluation: Xiao Liu, Aohan Zeng", "type": "text" } ], "index": 22 }, { "bbox": [ 105, 455, 389, 469 ], "spans": [ { "bbox": [ 105, 455, 389, 469 ], "score": 1.0, "content": "• Ethical Evaluation: Yifan Xu, Aohan Zeng, Xiao Liu, Zihan Wang", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 470, 351, 483 ], "spans": [ { "bbox": [ 105, 470, 351, 483 ], "score": 1.0, "content": "• Baseline Evaluation: Xiao Liu, Jifan Yu, Weng Lam Tam", "type": "text" } ], "index": 24 }, { "bbox": [ 105, 485, 396, 498 ], "spans": [ { "bbox": [ 105, 485, 396, 498 ], "score": 1.0, "content": "• INT4 Quantization: Aohan Zeng, Zihan Wang, Xiao Liu, Hanyu Lai", "type": "text" } ], "index": 25 }, { "bbox": [ 105, 499, 324, 514 ], "spans": [ { "bbox": [ 105, 499, 324, 514 ], "score": 1.0, "content": "• Inference Acceleration: Zihan Wang, Aohan Zeng", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 515, 432, 528 ], "spans": [ { "bbox": [ 105, 515, 432, 528 ], "score": 1.0, "content": "• Low-Resource Inference: Gouyang Zeng, Xu Han, Weilin Zhao, Zhiyuan Liu", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 530, 504, 544 ], "spans": [ { "bbox": [ 105, 530, 504, 544 ], "score": 1.0, "content": "• Demo and API: Hanyu Lai, Jifan Yu, Xiaohan Zhang, Yufei Xue, Shan Wang, Jiecai Shan, Hao-", "type": "text" } ], "index": 28 }, { "bbox": [ 113, 542, 220, 555 ], "spans": [ { "bbox": [ 113, 542, 220, 555 ], "score": 1.0, "content": "han Jiang, Zhengang Guo", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 555, 506, 570 ], "spans": [ { "bbox": [ 105, 555, 506, 570 ], "score": 1.0, "content": "• Manuscript Writing: Xiao Liu, Yuxiao Dong, and Jie Tang wrote the main paper, and Xiao Liu,", "type": "text" } ], "index": 30 }, { "bbox": [ 114, 568, 330, 581 ], "spans": [ { "bbox": [ 114, 568, 330, 581 ], "score": 1.0, "content": "Aohan Zeng, and Zhengxiao Du wrote the Appendix.", "type": "text" } ], "index": 31 } ], "index": 25 }, { "type": "title", "bbox": [ 107, 592, 237, 603 ], "lines": [ { "bbox": [ 106, 591, 238, 604 ], "spans": [ { "bbox": [ 106, 591, 238, 604 ], "score": 1.0, "content": "E.4 PROJECT MANAGEMENT", "type": "text" } ], "index": 32 } ], "index": 32 }, { "type": "text", "bbox": [ 106, 613, 506, 665 ], "lines": [ { "bbox": [ 105, 611, 284, 624 ], "spans": [ { "bbox": [ 105, 611, 284, 624 ], "score": 1.0, "content": "• Student Leaders: Aohan Zeng, Xiao Liu", "type": "text" } ], "index": 33 }, { "bbox": [ 104, 624, 506, 642 ], "spans": [ { "bbox": [ 104, 624, 506, 642 ], "score": 1.0, "content": "• Technical Advisors: Yuxiao Dong, Jidong Zhai, Wenguang Chen, Zhiyuan Liu, Peng Zhang, Jie", "type": "text" } ], "index": 34 }, { "bbox": [ 111, 636, 139, 653 ], "spans": [ { "bbox": [ 111, 636, 139, 653 ], "score": 1.0, "content": "Tang", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 651, 222, 668 ], "spans": [ { "bbox": [ 105, 651, 222, 668 ], "score": 1.0, "content": "• Project Leader: Jie Tang", "type": "text" } ], "index": 36 } ], "index": 34.5 }, { "type": "title", "bbox": [ 107, 678, 239, 689 ], "lines": [ { "bbox": [ 105, 677, 240, 691 ], "spans": [ { "bbox": [ 105, 677, 240, 691 ], "score": 1.0, "content": "E.5 COMPUTATION SPONSOR", "type": "text" } ], "index": 37 } ], "index": 37 }, { "type": "text", "bbox": [ 106, 698, 218, 711 ], "lines": [ { "bbox": [ 105, 696, 220, 713 ], "spans": [ { "bbox": [ 105, 696, 220, 713 ], "score": 1.0, "content": "• GPU Sponsor: Zhipu.AI", "type": "text" } ], "index": 38 } ], "index": 38 } ], "page_idx": 51, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 749, 313, 764 ], "spans": [ { "bbox": [ 298, 749, 313, 764 ], "score": 1.0, "content": "", "type": "text", "height": 15, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 108, 81, 214, 93 ], "lines": [ { "bbox": [ 104, 79, 216, 96 ], "spans": [ { "bbox": [ 104, 79, 216, 96 ], "score": 1.0, "content": "E CONTRIBUTIONS", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 106, 105, 505, 183 ], "lines": [ { "bbox": [ 106, 106, 505, 118 ], "spans": [ { "bbox": [ 106, 106, 505, 118 ], "score": 1.0, "content": "The GLM-130B project was conceived in Dec. 2021 with its pre-training part completed in July 3rd,", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 116, 506, 129 ], "spans": [ { "bbox": [ 105, 116, 506, 129 ], "score": 1.0, "content": "2022 and its evaluation and applications still ongoing. Over the course, we have experienced various", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 128, 505, 140 ], "spans": [ { "bbox": [ 106, 128, 505, 140 ], "score": 1.0, "content": "technical and engineering challenges (Cf. Appendix F and Figure 21 for details). It would not be", "type": "text" } ], "index": 3 }, { "bbox": [ 104, 138, 506, 152 ], "spans": [ { "bbox": [ 104, 138, 506, 152 ], "score": 1.0, "content": "possible to reach its current status if without the collaboration of multiple teams—the Knowledge", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 149, 505, 163 ], "spans": [ { "bbox": [ 105, 149, 505, 163 ], "score": 1.0, "content": "Engineering Group (KEG), Parallel Architecture & Compiler technology of Mobile, Accelerated,", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 160, 506, 174 ], "spans": [ { "bbox": [ 105, 160, 506, 174 ], "score": 1.0, "content": "and Networked systems Group (PACMAN), and Natural Language Processing Group (THUNLP) at", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 172, 450, 184 ], "spans": [ { "bbox": [ 106, 172, 450, 184 ], "score": 1.0, "content": "Tsinghua University, as well as Zhipu.AI. The detailed contributions are listed below.", "type": "text" } ], "index": 7 } ], "index": 4, "bbox_fs": [ 104, 106, 506, 184 ] }, { "type": "title", "bbox": [ 107, 196, 192, 207 ], "lines": [ { "bbox": [ 105, 195, 194, 209 ], "spans": [ { "bbox": [ 105, 195, 194, 209 ], "score": 1.0, "content": "E.1 PREPARATION", "type": "text" } ], "index": 8 } ], "index": 8 }, { "type": "list", "bbox": [ 106, 216, 482, 303 ], "lines": [ { "bbox": [ 105, 216, 333, 230 ], "spans": [ { "bbox": [ 105, 216, 333, 230 ], "score": 1.0, "content": "• Model Implementation: Aohan Zeng, Zhengxiao Du", "type": "text" } ], "index": 9, "is_list_start_line": true }, { "bbox": [ 105, 229, 365, 246 ], "spans": [ { "bbox": [ 105, 229, 365, 246 ], "score": 1.0, "content": "• Self-Supervised Data Processing: Ming Ding, Wendi Zheng", "type": "text" } ], "index": 10, "is_list_start_line": true }, { "bbox": [ 106, 246, 313, 259 ], "spans": [ { "bbox": [ 106, 246, 313, 259 ], "score": 1.0, "content": "• Multitask Data Processing: Xiao Liu, Xiao Xia", "type": "text" } ], "index": 11, "is_list_start_line": true }, { "bbox": [ 106, 261, 406, 274 ], "spans": [ { "bbox": [ 106, 261, 406, 274 ], "score": 1.0, "content": "• Model Architecture: Aohan Zeng, Xiao Liu, Zhengxiao Du, Hanyu Lai", "type": "text" } ], "index": 12, "is_list_start_line": true }, { "bbox": [ 105, 275, 339, 290 ], "spans": [ { "bbox": [ 105, 275, 339, 290 ], "score": 1.0, "content": "• Training Stability: Aohan Zeng, Xiao Liu, Ming Ding", "type": "text" } ], "index": 13, "is_list_start_line": true }, { "bbox": [ 105, 290, 481, 304 ], "spans": [ { "bbox": [ 105, 290, 481, 304 ], "score": 1.0, "content": "• 3D-Parallelism and Training Efficiency: Aohan Zeng, Zixuan Ma, Jiaao He, Zhenbo Sun", "type": "text" } ], "index": 14, "is_list_start_line": true } ], "index": 11.5, "bbox_fs": [ 105, 216, 481, 304 ] }, { "type": "text", "bbox": [ 107, 316, 212, 327 ], "lines": [ { "bbox": [ 106, 315, 212, 329 ], "spans": [ { "bbox": [ 106, 315, 212, 329 ], "score": 1.0, "content": "E.2 MODEL TRAINING", "type": "text" } ], "index": 15 } ], "index": 15, "bbox_fs": [ 106, 315, 212, 329 ] }, { "type": "text", "bbox": [ 106, 336, 365, 363 ], "lines": [ { "bbox": [ 106, 335, 366, 349 ], "spans": [ { "bbox": [ 106, 335, 366, 349 ], "score": 1.0, "content": "• Large-Scale Training & Monitoring: Aohan Zeng, Xiao Liu", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 350, 304, 364 ], "spans": [ { "bbox": [ 105, 350, 304, 364 ], "score": 1.0, "content": "• Model Performance Validation: Aohan Zeng", "type": "text" } ], "index": 17 } ], "index": 16.5, "bbox_fs": [ 105, 335, 366, 364 ] }, { "type": "text", "bbox": [ 107, 376, 202, 387 ], "lines": [ { "bbox": [ 106, 375, 203, 388 ], "spans": [ { "bbox": [ 106, 375, 203, 388 ], "score": 1.0, "content": "E.3 POST TRAINING", "type": "text" } ], "index": 18 } ], "index": 18, "bbox_fs": [ 106, 375, 203, 388 ] }, { "type": "list", "bbox": [ 106, 396, 505, 579 ], "lines": [ { "bbox": [ 105, 395, 334, 409 ], "spans": [ { "bbox": [ 105, 395, 334, 409 ], "score": 1.0, "content": "• Evaluation Framework: Aohan Zeng, Zhengxiao Du", "type": "text" } ], "index": 19, "is_list_end_line": true }, { "bbox": [ 105, 410, 307, 424 ], "spans": [ { "bbox": [ 105, 410, 307, 424 ], "score": 1.0, "content": "• Language Modeling Evaluation: Aohan Zeng", "type": "text" } ], "index": 20, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 105, 424, 317, 439 ], "spans": [ { "bbox": [ 105, 424, 317, 439 ], "score": 1.0, "content": "• MMLU & BIG-Bench Evaluation: Aohan Zeng", "type": "text" } ], "index": 21, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 104, 439, 349, 455 ], "spans": [ { "bbox": [ 104, 439, 349, 455 ], "score": 1.0, "content": "• CLUE & FewCLUE Evaluation: Xiao Liu, Aohan Zeng", "type": "text" } ], "index": 22, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 105, 455, 389, 469 ], "spans": [ { "bbox": [ 105, 455, 389, 469 ], "score": 1.0, "content": "• Ethical Evaluation: Yifan Xu, Aohan Zeng, Xiao Liu, Zihan Wang", "type": "text" } ], "index": 23, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 105, 470, 351, 483 ], "spans": [ { "bbox": [ 105, 470, 351, 483 ], "score": 1.0, "content": "• Baseline Evaluation: Xiao Liu, Jifan Yu, Weng Lam Tam", "type": "text" } ], "index": 24, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 105, 485, 396, 498 ], "spans": [ { "bbox": [ 105, 485, 396, 498 ], "score": 1.0, "content": "• INT4 Quantization: Aohan Zeng, Zihan Wang, Xiao Liu, Hanyu Lai", "type": "text" } ], "index": 25, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 105, 499, 324, 514 ], "spans": [ { "bbox": [ 105, 499, 324, 514 ], "score": 1.0, "content": "• Inference Acceleration: Zihan Wang, Aohan Zeng", "type": "text" } ], "index": 26, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 105, 515, 432, 528 ], "spans": [ { "bbox": [ 105, 515, 432, 528 ], "score": 1.0, "content": "• Low-Resource Inference: Gouyang Zeng, Xu Han, Weilin Zhao, Zhiyuan Liu", "type": "text" } ], "index": 27, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 105, 530, 504, 544 ], "spans": [ { "bbox": [ 105, 530, 504, 544 ], "score": 1.0, "content": "• Demo and API: Hanyu Lai, Jifan Yu, Xiaohan Zhang, Yufei Xue, Shan Wang, Jiecai Shan, Hao-", "type": "text" } ], "index": 28, "is_list_start_line": true }, { "bbox": [ 113, 542, 220, 555 ], "spans": [ { "bbox": [ 113, 542, 220, 555 ], "score": 1.0, "content": "han Jiang, Zhengang Guo", "type": "text" } ], "index": 29, "is_list_end_line": true }, { "bbox": [ 105, 555, 506, 570 ], "spans": [ { "bbox": [ 105, 555, 506, 570 ], "score": 1.0, "content": "• Manuscript Writing: Xiao Liu, Yuxiao Dong, and Jie Tang wrote the main paper, and Xiao Liu,", "type": "text" } ], "index": 30, "is_list_start_line": true }, { "bbox": [ 114, 568, 330, 581 ], "spans": [ { "bbox": [ 114, 568, 330, 581 ], "score": 1.0, "content": "Aohan Zeng, and Zhengxiao Du wrote the Appendix.", "type": "text" } ], "index": 31, "is_list_end_line": true } ], "index": 25, "bbox_fs": [ 104, 395, 506, 581 ] }, { "type": "title", "bbox": [ 107, 592, 237, 603 ], "lines": [ { "bbox": [ 106, 591, 238, 604 ], "spans": [ { "bbox": [ 106, 591, 238, 604 ], "score": 1.0, "content": "E.4 PROJECT MANAGEMENT", "type": "text" } ], "index": 32 } ], "index": 32 }, { "type": "list", "bbox": [ 106, 613, 506, 665 ], "lines": [ { "bbox": [ 105, 611, 284, 624 ], "spans": [ { "bbox": [ 105, 611, 284, 624 ], "score": 1.0, "content": "• Student Leaders: Aohan Zeng, Xiao Liu", "type": "text" } ], "index": 33, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 104, 624, 506, 642 ], "spans": [ { "bbox": [ 104, 624, 506, 642 ], "score": 1.0, "content": "• Technical Advisors: Yuxiao Dong, Jidong Zhai, Wenguang Chen, Zhiyuan Liu, Peng Zhang, Jie", "type": "text" } ], "index": 34, "is_list_start_line": true }, { "bbox": [ 111, 636, 139, 653 ], "spans": [ { "bbox": [ 111, 636, 139, 653 ], "score": 1.0, "content": "Tang", "type": "text" } ], "index": 35, "is_list_end_line": true }, { "bbox": [ 105, 651, 222, 668 ], "spans": [ { "bbox": [ 105, 651, 222, 668 ], "score": 1.0, "content": "• Project Leader: Jie Tang", "type": "text" } ], "index": 36, "is_list_start_line": true, "is_list_end_line": true } ], "index": 34.5, "bbox_fs": [ 104, 611, 506, 668 ] }, { "type": "title", "bbox": [ 107, 678, 239, 689 ], "lines": [ { "bbox": [ 105, 677, 240, 691 ], "spans": [ { "bbox": [ 105, 677, 240, 691 ], "score": 1.0, "content": "E.5 COMPUTATION SPONSOR", "type": "text" } ], "index": 37 } ], "index": 37 }, { "type": "text", "bbox": [ 106, 698, 218, 711 ], "lines": [ { "bbox": [ 105, 696, 220, 713 ], "spans": [ { "bbox": [ 105, 696, 220, 713 ], "score": 1.0, "content": "• GPU Sponsor: Zhipu.AI", "type": "text" } ], "index": 38 } ], "index": 38, "bbox_fs": [ 105, 696, 220, 713 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 107, 81, 301, 94 ], "lines": [ { "bbox": [ 106, 81, 301, 95 ], "spans": [ { "bbox": [ 106, 81, 301, 95 ], "score": 1.0, "content": "F A BRIEF HISTORY OF GLM-130B", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 107, 108, 505, 208 ], "lines": [ { "bbox": [ 105, 106, 505, 122 ], "spans": [ { "bbox": [ 105, 106, 505, 122 ], "score": 1.0, "content": "The GLM-130B project16 was conceived in Dec. 2021 in a brainstorming meeting at Tsinghua KEG.", "type": "text" } ], "index": 1 }, { "bbox": [ 106, 119, 505, 131 ], "spans": [ { "bbox": [ 106, 119, 505, 131 ], "score": 1.0, "content": "We firmly believe that it is of value to pre-train a highly accurate language model, in particular for", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 131, 505, 142 ], "spans": [ { "bbox": [ 106, 131, 505, 142 ], "score": 1.0, "content": "both Chinese and English. Though GPT-3 (Brown et al., 2020) is the pioneer for this effort, it is not", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 142, 505, 154 ], "spans": [ { "bbox": [ 105, 142, 505, 154 ], "score": 1.0, "content": "available to most people in the world. In addition, it supports English only. We therefore decide to", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 153, 506, 164 ], "spans": [ { "bbox": [ 105, 153, 506, 164 ], "score": 1.0, "content": "initialize the project GLM-130B. Please note that the WuDao 1.75T model we built last year is a", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 163, 505, 176 ], "spans": [ { "bbox": [ 105, 163, 505, 176 ], "score": 1.0, "content": "sparse model with 480 mixture-of-experts (MoE), rather than a dense one as GPT-3. Our goal then", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 175, 505, 186 ], "spans": [ { "bbox": [ 105, 175, 505, 186 ], "score": 1.0, "content": "is to train a bilingual pre-trained dense model with high accuracy on downstream tasks, and to make", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 185, 505, 198 ], "spans": [ { "bbox": [ 105, 185, 505, 198 ], "score": 1.0, "content": "it open to everyone in the world-anyone, anywhere can download it and use it on a single server with", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 197, 183, 208 ], "spans": [ { "bbox": [ 105, 197, 183, 208 ], "score": 1.0, "content": "appropriate GPUs.", "type": "text" } ], "index": 9 } ], "index": 5 }, { "type": "text", "bbox": [ 107, 213, 360, 225 ], "lines": [ { "bbox": [ 105, 211, 361, 227 ], "spans": [ { "bbox": [ 105, 211, 361, 227 ], "score": 1.0, "content": "The ambitious project soon faced several important challenges:", "type": "text" } ], "index": 10 } ], "index": 10 }, { "type": "text", "bbox": [ 106, 230, 506, 300 ], "lines": [ { "bbox": [ 105, 228, 505, 244 ], "spans": [ { "bbox": [ 105, 228, 505, 244 ], "score": 1.0, "content": "• Lack of computational resources: No organization is willing to sponsor such a big project and", "type": "text" } ], "index": 11 }, { "bbox": [ 112, 240, 202, 254 ], "spans": [ { "bbox": [ 112, 240, 202, 254 ], "score": 1.0, "content": "freely make it public.", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 253, 506, 267 ], "spans": [ { "bbox": [ 105, 253, 506, 267 ], "score": 1.0, "content": "• Lack of a robust pre-training algorithm: Despite GPT-3’s success on English corpus, it is", "type": "text" } ], "index": 13 }, { "bbox": [ 113, 265, 447, 277 ], "spans": [ { "bbox": [ 113, 265, 447, 277 ], "score": 1.0, "content": "unclear how to train a high-accurate bilingual model for both English and Chinese.", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 277, 506, 291 ], "spans": [ { "bbox": [ 106, 277, 506, 291 ], "score": 1.0, "content": "• Lack of fast inference solutions: Since the goal is to have the model public to everyone, we need", "type": "text" } ], "index": 15 }, { "bbox": [ 114, 289, 447, 302 ], "spans": [ { "bbox": [ 114, 289, 447, 302 ], "score": 1.0, "content": "to design fast inference solutions with low resource requirements to run the model.", "type": "text" } ], "index": 16 } ], "index": 13.5 }, { "type": "text", "bbox": [ 107, 306, 505, 350 ], "lines": [ { "bbox": [ 105, 304, 505, 318 ], "spans": [ { "bbox": [ 105, 304, 505, 318 ], "score": 1.0, "content": "For the pre-training algorithm, we finally chose GLM (Du et al., 2022) due to its high performance", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 317, 505, 329 ], "spans": [ { "bbox": [ 105, 317, 505, 329 ], "score": 1.0, "content": "in practice. We eventually decided to train a GLM model of 130 billion parameters after several", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 328, 505, 341 ], "spans": [ { "bbox": [ 105, 328, 505, 341 ], "score": 1.0, "content": "rounds of discussions and exploration, because such a size makes it possible to run the inference on", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 339, 235, 352 ], "spans": [ { "bbox": [ 105, 339, 167, 352 ], "score": 1.0, "content": "a single A100", "type": "text" }, { "bbox": [ 167, 339, 203, 350 ], "score": 0.6, "content": "( 4 0 G * 8 )", "type": "inline_equation" }, { "bbox": [ 203, 339, 235, 352 ], "score": 1.0, "content": "server.", "type": "text" } ], "index": 20 } ], "index": 18.5 }, { "type": "text", "bbox": [ 106, 355, 505, 455 ], "lines": [ { "bbox": [ 106, 356, 505, 368 ], "spans": [ { "bbox": [ 106, 356, 505, 368 ], "score": 1.0, "content": "Our first attempt at training the model was in January 2022, shortly after we received a small sponsor", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 366, 505, 378 ], "spans": [ { "bbox": [ 106, 366, 505, 378 ], "score": 1.0, "content": "of GPUs for test running. However, we soon realized that we had significantly underestimated the", "type": "text" } ], "index": 22 }, { "bbox": [ 104, 376, 507, 392 ], "spans": [ { "bbox": [ 104, 376, 353, 392 ], "score": 1.0, "content": "technical difficulties of pre-training a model at such a scale", "type": "text" }, { "bbox": [ 353, 378, 387, 389 ], "score": 0.78, "content": "\\left( > 1 0 0 \\mathbf { B } \\right)", "type": "inline_equation" }, { "bbox": [ 387, 376, 507, 392 ], "score": 1.0, "content": ". It seems that pre-training a", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 388, 506, 402 ], "spans": [ { "bbox": [ 105, 388, 506, 402 ], "score": 1.0, "content": "highly accurate 100B-scale model is quite different from training a 10B-scale one. Due to frequent", "type": "text" } ], "index": 24 }, { "bbox": [ 104, 399, 506, 413 ], "spans": [ { "bbox": [ 104, 399, 506, 413 ], "score": 1.0, "content": "random hardware failures, model gradients exploding, unexpected excessive memory usage in the", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 411, 505, 424 ], "spans": [ { "bbox": [ 106, 411, 505, 424 ], "score": 1.0, "content": "algorithm, debug for the 3D pipeline in the new Megatron and DeepSpeed frameworks, inability to", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 421, 505, 434 ], "spans": [ { "bbox": [ 105, 421, 505, 434 ], "score": 1.0, "content": "recover from optimizer states, blocked TCP responses between processes, and many many unex-", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 432, 506, 446 ], "spans": [ { "bbox": [ 105, 432, 506, 446 ], "score": 1.0, "content": "pected “bugs”, the project was delayed for many times. The Tsinghua PACMAN team gave us a", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 442, 428, 457 ], "spans": [ { "bbox": [ 105, 442, 428, 457 ], "score": 1.0, "content": "hand at this difficult time and together we successfully fixed most of the “bugs”.", "type": "text" } ], "index": 29 } ], "index": 25 }, { "type": "text", "bbox": [ 107, 460, 505, 581 ], "lines": [ { "bbox": [ 105, 460, 506, 473 ], "spans": [ { "bbox": [ 105, 460, 506, 473 ], "score": 1.0, "content": "By March, we were still short on computational resources, but fortunately got a chance to try test", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 471, 505, 484 ], "spans": [ { "bbox": [ 105, 471, 505, 484 ], "score": 1.0, "content": "runs on several other platforms, including Ascend 910, Hygon DCU, NVIDIA, and Sunway. The", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 482, 505, 495 ], "spans": [ { "bbox": [ 105, 482, 505, 495 ], "score": 1.0, "content": "immediate challenge was for us to adapt our training code to these different platforms, as the under-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 493, 506, 506 ], "spans": [ { "bbox": [ 105, 493, 506, 506 ], "score": 1.0, "content": "lying operators are quite different. Also, it introduced many new issues: the element-wise operators", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 504, 505, 516 ], "spans": [ { "bbox": [ 105, 504, 505, 516 ], "score": 1.0, "content": "not supporting fast computation for large-dimension vectors, various issues that hindered conver-", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 515, 505, 528 ], "spans": [ { "bbox": [ 105, 515, 505, 528 ], "score": 1.0, "content": "gence—the large gradient norms of input embeddings, native Post-LN, Pre-LN, and Sandwich-LN,", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 526, 505, 538 ], "spans": [ { "bbox": [ 105, 526, 505, 538 ], "score": 1.0, "content": "dataloader state seeds, and computation precision choices in Softmax and Attention — as well as", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 536, 505, 550 ], "spans": [ { "bbox": [ 105, 536, 505, 550 ], "score": 1.0, "content": "numerous mistakes we ourselves made. With tremendous help from all of our generous partners, we", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 547, 505, 561 ], "spans": [ { "bbox": [ 105, 547, 505, 561 ], "score": 1.0, "content": "finally succeeded in making our pre-training algorithms runnable across all the platforms—frankly,", "type": "text" } ], "index": 38 }, { "bbox": [ 104, 559, 506, 571 ], "spans": [ { "bbox": [ 104, 559, 506, 571 ], "score": 1.0, "content": "a surprising achievement for this project. The timeline of GLM-130B in Figure 21 covers most of", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 569, 364, 583 ], "spans": [ { "bbox": [ 105, 569, 364, 583 ], "score": 1.0, "content": "the issues we have encountered and addressed as of this writing.", "type": "text" } ], "index": 40 } ], "index": 35 }, { "type": "text", "bbox": [ 107, 587, 505, 631 ], "lines": [ { "bbox": [ 105, 587, 506, 600 ], "spans": [ { "bbox": [ 105, 587, 506, 600 ], "score": 1.0, "content": "On April 26th, we received a generous computing sponsorship from Zhipu.AI — an AI startup that", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 597, 506, 610 ], "spans": [ { "bbox": [ 105, 597, 506, 610 ], "score": 1.0, "content": "aims to teach machines to think like humans. After another week of testing, we finally kicked off", "type": "text" } ], "index": 42 }, { "bbox": [ 105, 608, 505, 622 ], "spans": [ { "bbox": [ 105, 608, 325, 622 ], "score": 1.0, "content": "the training of the GLM-130B model on its 96 A100", "type": "text" }, { "bbox": [ 325, 609, 363, 620 ], "score": 0.33, "content": "( 4 0 G * 8 )", "type": "inline_equation" }, { "bbox": [ 363, 608, 505, 622 ], "score": 1.0, "content": "servers on May 6th. Additionally,", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 620, 505, 632 ], "spans": [ { "bbox": [ 105, 620, 505, 632 ], "score": 1.0, "content": "Zhipu.AI also sent a team to help evaluate the pre-trained model and build a demonstration website.", "type": "text" } ], "index": 44 } ], "index": 42.5 }, { "type": "text", "bbox": [ 107, 636, 504, 703 ], "lines": [ { "bbox": [ 105, 636, 506, 649 ], "spans": [ { "bbox": [ 105, 636, 506, 649 ], "score": 1.0, "content": "The training period spanned two months, during which we began developing a toolkit to allow GLM-", "type": "text" } ], "index": 45 }, { "bbox": [ 105, 646, 506, 661 ], "spans": [ { "bbox": [ 105, 646, 506, 661 ], "score": 1.0, "content": "130B’s inference in low-resource setting with swapping technique and quantization. Though it is", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 658, 506, 671 ], "spans": [ { "bbox": [ 105, 658, 506, 671 ], "score": 1.0, "content": "already the most accessible model of its scale, together with our partner from Tsinghua NLP, we have", "type": "text" } ], "index": 47 }, { "bbox": [ 106, 670, 505, 681 ], "spans": [ { "bbox": [ 106, 670, 505, 681 ], "score": 1.0, "content": "been exploring the limit of popularized hardware platforms, which would truly make the 100B-scale", "type": "text" } ], "index": 48 }, { "bbox": [ 105, 680, 506, 694 ], "spans": [ { "bbox": [ 105, 680, 506, 694 ], "score": 1.0, "content": "model accessible to as many people as possible. To date, we managed to reach the INT4 weight", "type": "text" } ], "index": 49 }, { "bbox": [ 105, 690, 506, 705 ], "spans": [ { "bbox": [ 105, 690, 506, 705 ], "score": 1.0, "content": "quantization for GLM-130B. Importantly, the INT4 version of GLM-130B without post training", "type": "text" } ], "index": 50 } ], "index": 47.5 } ], "page_idx": 52, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 106, 712, 502, 732 ], "lines": [ { "bbox": [ 115, 708, 504, 724 ], "spans": [ { "bbox": [ 115, 708, 504, 724 ], "score": 1.0, "content": "16This section is largely extracted and updated from the blog introduction of GLM-130B at http://keg.", "type": "text" } ] }, { "bbox": [ 105, 720, 372, 732 ], "spans": [ { "bbox": [ 105, 720, 372, 732 ], "score": 1.0, "content": "cs.tsinghua.edu.cn/glm-130b/ (Posted date: August 4, 2022).", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 25, 293, 38 ], "spans": [ { "bbox": [ 106, 25, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 763 ], "spans": [ { "bbox": [ 298, 750, 313, 763 ], "score": 1.0, "content": "53", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "title", "bbox": [ 107, 81, 301, 94 ], "lines": [ { "bbox": [ 106, 81, 301, 95 ], "spans": [ { "bbox": [ 106, 81, 301, 95 ], "score": 1.0, "content": "F A BRIEF HISTORY OF GLM-130B", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "text", "bbox": [ 107, 108, 505, 208 ], "lines": [ { "bbox": [ 105, 106, 505, 122 ], "spans": [ { "bbox": [ 105, 106, 505, 122 ], "score": 1.0, "content": "The GLM-130B project16 was conceived in Dec. 2021 in a brainstorming meeting at Tsinghua KEG.", "type": "text" } ], "index": 1 }, { "bbox": [ 106, 119, 505, 131 ], "spans": [ { "bbox": [ 106, 119, 505, 131 ], "score": 1.0, "content": "We firmly believe that it is of value to pre-train a highly accurate language model, in particular for", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 131, 505, 142 ], "spans": [ { "bbox": [ 106, 131, 505, 142 ], "score": 1.0, "content": "both Chinese and English. Though GPT-3 (Brown et al., 2020) is the pioneer for this effort, it is not", "type": "text" } ], "index": 3 }, { "bbox": [ 105, 142, 505, 154 ], "spans": [ { "bbox": [ 105, 142, 505, 154 ], "score": 1.0, "content": "available to most people in the world. In addition, it supports English only. We therefore decide to", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 153, 506, 164 ], "spans": [ { "bbox": [ 105, 153, 506, 164 ], "score": 1.0, "content": "initialize the project GLM-130B. Please note that the WuDao 1.75T model we built last year is a", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 163, 505, 176 ], "spans": [ { "bbox": [ 105, 163, 505, 176 ], "score": 1.0, "content": "sparse model with 480 mixture-of-experts (MoE), rather than a dense one as GPT-3. Our goal then", "type": "text" } ], "index": 6 }, { "bbox": [ 105, 175, 505, 186 ], "spans": [ { "bbox": [ 105, 175, 505, 186 ], "score": 1.0, "content": "is to train a bilingual pre-trained dense model with high accuracy on downstream tasks, and to make", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 185, 505, 198 ], "spans": [ { "bbox": [ 105, 185, 505, 198 ], "score": 1.0, "content": "it open to everyone in the world-anyone, anywhere can download it and use it on a single server with", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 197, 183, 208 ], "spans": [ { "bbox": [ 105, 197, 183, 208 ], "score": 1.0, "content": "appropriate GPUs.", "type": "text" } ], "index": 9 } ], "index": 5, "bbox_fs": [ 105, 106, 506, 208 ] }, { "type": "text", "bbox": [ 107, 213, 360, 225 ], "lines": [ { "bbox": [ 105, 211, 361, 227 ], "spans": [ { "bbox": [ 105, 211, 361, 227 ], "score": 1.0, "content": "The ambitious project soon faced several important challenges:", "type": "text" } ], "index": 10 } ], "index": 10, "bbox_fs": [ 105, 211, 361, 227 ] }, { "type": "text", "bbox": [ 106, 230, 506, 300 ], "lines": [ { "bbox": [ 105, 228, 505, 244 ], "spans": [ { "bbox": [ 105, 228, 505, 244 ], "score": 1.0, "content": "• Lack of computational resources: No organization is willing to sponsor such a big project and", "type": "text" } ], "index": 11 }, { "bbox": [ 112, 240, 202, 254 ], "spans": [ { "bbox": [ 112, 240, 202, 254 ], "score": 1.0, "content": "freely make it public.", "type": "text" } ], "index": 12 }, { "bbox": [ 105, 253, 506, 267 ], "spans": [ { "bbox": [ 105, 253, 506, 267 ], "score": 1.0, "content": "• Lack of a robust pre-training algorithm: Despite GPT-3’s success on English corpus, it is", "type": "text" } ], "index": 13 }, { "bbox": [ 113, 265, 447, 277 ], "spans": [ { "bbox": [ 113, 265, 447, 277 ], "score": 1.0, "content": "unclear how to train a high-accurate bilingual model for both English and Chinese.", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 277, 506, 291 ], "spans": [ { "bbox": [ 106, 277, 506, 291 ], "score": 1.0, "content": "• Lack of fast inference solutions: Since the goal is to have the model public to everyone, we need", "type": "text" } ], "index": 15 }, { "bbox": [ 114, 289, 447, 302 ], "spans": [ { "bbox": [ 114, 289, 447, 302 ], "score": 1.0, "content": "to design fast inference solutions with low resource requirements to run the model.", "type": "text" } ], "index": 16 } ], "index": 13.5, "bbox_fs": [ 105, 228, 506, 302 ] }, { "type": "text", "bbox": [ 107, 306, 505, 350 ], "lines": [ { "bbox": [ 105, 304, 505, 318 ], "spans": [ { "bbox": [ 105, 304, 505, 318 ], "score": 1.0, "content": "For the pre-training algorithm, we finally chose GLM (Du et al., 2022) due to its high performance", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 317, 505, 329 ], "spans": [ { "bbox": [ 105, 317, 505, 329 ], "score": 1.0, "content": "in practice. We eventually decided to train a GLM model of 130 billion parameters after several", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 328, 505, 341 ], "spans": [ { "bbox": [ 105, 328, 505, 341 ], "score": 1.0, "content": "rounds of discussions and exploration, because such a size makes it possible to run the inference on", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 339, 235, 352 ], "spans": [ { "bbox": [ 105, 339, 167, 352 ], "score": 1.0, "content": "a single A100", "type": "text" }, { "bbox": [ 167, 339, 203, 350 ], "score": 0.6, "content": "( 4 0 G * 8 )", "type": "inline_equation" }, { "bbox": [ 203, 339, 235, 352 ], "score": 1.0, "content": "server.", "type": "text" } ], "index": 20 } ], "index": 18.5, "bbox_fs": [ 105, 304, 505, 352 ] }, { "type": "text", "bbox": [ 106, 355, 505, 455 ], "lines": [ { "bbox": [ 106, 356, 505, 368 ], "spans": [ { "bbox": [ 106, 356, 505, 368 ], "score": 1.0, "content": "Our first attempt at training the model was in January 2022, shortly after we received a small sponsor", "type": "text" } ], "index": 21 }, { "bbox": [ 106, 366, 505, 378 ], "spans": [ { "bbox": [ 106, 366, 505, 378 ], "score": 1.0, "content": "of GPUs for test running. However, we soon realized that we had significantly underestimated the", "type": "text" } ], "index": 22 }, { "bbox": [ 104, 376, 507, 392 ], "spans": [ { "bbox": [ 104, 376, 353, 392 ], "score": 1.0, "content": "technical difficulties of pre-training a model at such a scale", "type": "text" }, { "bbox": [ 353, 378, 387, 389 ], "score": 0.78, "content": "\\left( > 1 0 0 \\mathbf { B } \\right)", "type": "inline_equation" }, { "bbox": [ 387, 376, 507, 392 ], "score": 1.0, "content": ". It seems that pre-training a", "type": "text" } ], "index": 23 }, { "bbox": [ 105, 388, 506, 402 ], "spans": [ { "bbox": [ 105, 388, 506, 402 ], "score": 1.0, "content": "highly accurate 100B-scale model is quite different from training a 10B-scale one. Due to frequent", "type": "text" } ], "index": 24 }, { "bbox": [ 104, 399, 506, 413 ], "spans": [ { "bbox": [ 104, 399, 506, 413 ], "score": 1.0, "content": "random hardware failures, model gradients exploding, unexpected excessive memory usage in the", "type": "text" } ], "index": 25 }, { "bbox": [ 106, 411, 505, 424 ], "spans": [ { "bbox": [ 106, 411, 505, 424 ], "score": 1.0, "content": "algorithm, debug for the 3D pipeline in the new Megatron and DeepSpeed frameworks, inability to", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 421, 505, 434 ], "spans": [ { "bbox": [ 105, 421, 505, 434 ], "score": 1.0, "content": "recover from optimizer states, blocked TCP responses between processes, and many many unex-", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 432, 506, 446 ], "spans": [ { "bbox": [ 105, 432, 506, 446 ], "score": 1.0, "content": "pected “bugs”, the project was delayed for many times. The Tsinghua PACMAN team gave us a", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 442, 428, 457 ], "spans": [ { "bbox": [ 105, 442, 428, 457 ], "score": 1.0, "content": "hand at this difficult time and together we successfully fixed most of the “bugs”.", "type": "text" } ], "index": 29 } ], "index": 25, "bbox_fs": [ 104, 356, 507, 457 ] }, { "type": "text", "bbox": [ 107, 460, 505, 581 ], "lines": [ { "bbox": [ 105, 460, 506, 473 ], "spans": [ { "bbox": [ 105, 460, 506, 473 ], "score": 1.0, "content": "By March, we were still short on computational resources, but fortunately got a chance to try test", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 471, 505, 484 ], "spans": [ { "bbox": [ 105, 471, 505, 484 ], "score": 1.0, "content": "runs on several other platforms, including Ascend 910, Hygon DCU, NVIDIA, and Sunway. The", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 482, 505, 495 ], "spans": [ { "bbox": [ 105, 482, 505, 495 ], "score": 1.0, "content": "immediate challenge was for us to adapt our training code to these different platforms, as the under-", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 493, 506, 506 ], "spans": [ { "bbox": [ 105, 493, 506, 506 ], "score": 1.0, "content": "lying operators are quite different. Also, it introduced many new issues: the element-wise operators", "type": "text" } ], "index": 33 }, { "bbox": [ 105, 504, 505, 516 ], "spans": [ { "bbox": [ 105, 504, 505, 516 ], "score": 1.0, "content": "not supporting fast computation for large-dimension vectors, various issues that hindered conver-", "type": "text" } ], "index": 34 }, { "bbox": [ 105, 515, 505, 528 ], "spans": [ { "bbox": [ 105, 515, 505, 528 ], "score": 1.0, "content": "gence—the large gradient norms of input embeddings, native Post-LN, Pre-LN, and Sandwich-LN,", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 526, 505, 538 ], "spans": [ { "bbox": [ 105, 526, 505, 538 ], "score": 1.0, "content": "dataloader state seeds, and computation precision choices in Softmax and Attention — as well as", "type": "text" } ], "index": 36 }, { "bbox": [ 105, 536, 505, 550 ], "spans": [ { "bbox": [ 105, 536, 505, 550 ], "score": 1.0, "content": "numerous mistakes we ourselves made. With tremendous help from all of our generous partners, we", "type": "text" } ], "index": 37 }, { "bbox": [ 105, 547, 505, 561 ], "spans": [ { "bbox": [ 105, 547, 505, 561 ], "score": 1.0, "content": "finally succeeded in making our pre-training algorithms runnable across all the platforms—frankly,", "type": "text" } ], "index": 38 }, { "bbox": [ 104, 559, 506, 571 ], "spans": [ { "bbox": [ 104, 559, 506, 571 ], "score": 1.0, "content": "a surprising achievement for this project. The timeline of GLM-130B in Figure 21 covers most of", "type": "text" } ], "index": 39 }, { "bbox": [ 105, 569, 364, 583 ], "spans": [ { "bbox": [ 105, 569, 364, 583 ], "score": 1.0, "content": "the issues we have encountered and addressed as of this writing.", "type": "text" } ], "index": 40 } ], "index": 35, "bbox_fs": [ 104, 460, 506, 583 ] }, { "type": "text", "bbox": [ 107, 587, 505, 631 ], "lines": [ { "bbox": [ 105, 587, 506, 600 ], "spans": [ { "bbox": [ 105, 587, 506, 600 ], "score": 1.0, "content": "On April 26th, we received a generous computing sponsorship from Zhipu.AI — an AI startup that", "type": "text" } ], "index": 41 }, { "bbox": [ 105, 597, 506, 610 ], "spans": [ { "bbox": [ 105, 597, 506, 610 ], "score": 1.0, "content": "aims to teach machines to think like humans. After another week of testing, we finally kicked off", "type": "text" } ], "index": 42 }, { "bbox": [ 105, 608, 505, 622 ], "spans": [ { "bbox": [ 105, 608, 325, 622 ], "score": 1.0, "content": "the training of the GLM-130B model on its 96 A100", "type": "text" }, { "bbox": [ 325, 609, 363, 620 ], "score": 0.33, "content": "( 4 0 G * 8 )", "type": "inline_equation" }, { "bbox": [ 363, 608, 505, 622 ], "score": 1.0, "content": "servers on May 6th. Additionally,", "type": "text" } ], "index": 43 }, { "bbox": [ 105, 620, 505, 632 ], "spans": [ { "bbox": [ 105, 620, 505, 632 ], "score": 1.0, "content": "Zhipu.AI also sent a team to help evaluate the pre-trained model and build a demonstration website.", "type": "text" } ], "index": 44 } ], "index": 42.5, "bbox_fs": [ 105, 587, 506, 632 ] }, { "type": "text", "bbox": [ 107, 636, 504, 703 ], "lines": [ { "bbox": [ 105, 636, 506, 649 ], "spans": [ { "bbox": [ 105, 636, 506, 649 ], "score": 1.0, "content": "The training period spanned two months, during which we began developing a toolkit to allow GLM-", "type": "text" } ], "index": 45 }, { "bbox": [ 105, 646, 506, 661 ], "spans": [ { "bbox": [ 105, 646, 506, 661 ], "score": 1.0, "content": "130B’s inference in low-resource setting with swapping technique and quantization. Though it is", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 658, 506, 671 ], "spans": [ { "bbox": [ 105, 658, 506, 671 ], "score": 1.0, "content": "already the most accessible model of its scale, together with our partner from Tsinghua NLP, we have", "type": "text" } ], "index": 47 }, { "bbox": [ 106, 670, 505, 681 ], "spans": [ { "bbox": [ 106, 670, 505, 681 ], "score": 1.0, "content": "been exploring the limit of popularized hardware platforms, which would truly make the 100B-scale", "type": "text" } ], "index": 48 }, { "bbox": [ 105, 680, 506, 694 ], "spans": [ { "bbox": [ 105, 680, 506, 694 ], "score": 1.0, "content": "model accessible to as many people as possible. To date, we managed to reach the INT4 weight", "type": "text" } ], "index": 49 }, { "bbox": [ 105, 690, 506, 705 ], "spans": [ { "bbox": [ 105, 690, 506, 705 ], "score": 1.0, "content": "quantization for GLM-130B. Importantly, the INT4 version of GLM-130B without post training", "type": "text" } ], "index": 50 } ], "index": 47.5, "bbox_fs": [ 105, 636, 506, 705 ] } ] }, { "preproc_blocks": [ { "type": "title", "bbox": [ 160, 71, 499, 90 ], "lines": [ { "bbox": [ 160, 71, 500, 91 ], "spans": [ { "bbox": [ 160, 71, 500, 91 ], "score": 1.0, "content": "Major Issues Encountered for Training GLM-130B", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "title", "bbox": [ 142, 107, 171, 115 ], "lines": [ { "bbox": [ 142, 106, 171, 117 ], "spans": [ { "bbox": [ 142, 106, 171, 117 ], "score": 1.0, "content": "2021.12", "type": "text" } ], "index": 1 } ], "index": 1 }, { "type": "text", "bbox": [ 142, 117, 492, 154 ], "lines": [ { "bbox": [ 141, 115, 446, 127 ], "spans": [ { "bbox": [ 141, 115, 446, 127 ], "score": 1.0, "content": "• The “千亿 ” (100B) project towards an open dense pre-trained GLM at 100B scale is conceived", "type": "text" } ], "index": 2 }, { "bbox": [ 140, 124, 493, 137 ], "spans": [ { "bbox": [ 140, 124, 422, 137 ], "score": 1.0, "content": "• Survey pre-training strategies of existing models of similar scale, such as GPT-3, Gopher", "type": "text" }, { "bbox": [ 423, 127, 433, 134 ], "score": 0.69, "content": "= >", "type": "inline_equation" }, { "bbox": [ 433, 124, 493, 137 ], "score": 1.0, "content": "Limited public info", "type": "text" } ], "index": 3 }, { "bbox": [ 147, 134, 305, 145 ], "spans": [ { "bbox": [ 147, 134, 305, 145 ], "score": 1.0, "content": "about how they were trained and issues they met", "type": "text" } ], "index": 4 }, { "bbox": [ 141, 143, 289, 154 ], "spans": [ { "bbox": [ 141, 143, 289, 154 ], "score": 1.0, "content": "• Search for possible GPU clusters & sponsors", "type": "text" } ], "index": 5 } ], "index": 3.5 }, { "type": "title", "bbox": [ 142, 159, 166, 167 ], "lines": [ { "bbox": [ 141, 159, 168, 169 ], "spans": [ { "bbox": [ 141, 159, 168, 169 ], "score": 1.0, "content": "2022.1", "type": "text" } ], "index": 6 } ], "index": 6 }, { "type": "text", "bbox": [ 141, 168, 452, 205 ], "lines": [ { "bbox": [ 142, 168, 375, 178 ], "spans": [ { "bbox": [ 142, 168, 375, 178 ], "score": 1.0, "content": "• Test the performance of FP16/FP32 at 100B scale on one testing cluster", "type": "text" } ], "index": 7 }, { "bbox": [ 140, 177, 453, 189 ], "spans": [ { "bbox": [ 140, 177, 290, 189 ], "score": 1.0, "content": "• Unexpected excessive memory usage in GLM", "type": "text" }, { "bbox": [ 291, 179, 301, 186 ], "score": 0.8, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 301, 177, 453, 189 ], "score": 1.0, "content": "Torch is better with fixed length input sequences", "type": "text" } ], "index": 8 }, { "bbox": [ 141, 187, 393, 196 ], "spans": [ { "bbox": [ 141, 187, 327, 196 ], "score": 1.0, "content": "• Inability to converge and try tricks from CogView and ViT", "type": "text" }, { "bbox": [ 327, 188, 350, 195 ], "score": 0.71, "content": "{ \\Rightarrow U s e }", "type": "inline_equation" }, { "bbox": [ 350, 187, 393, 196 ], "score": 1.0, "content": "Sandwich-LN", "type": "text" } ], "index": 9 }, { "bbox": [ 141, 195, 393, 206 ], "spans": [ { "bbox": [ 141, 195, 261, 206 ], "score": 1.0, "content": "• Frequent random hardware failures", "type": "text" }, { "bbox": [ 261, 197, 271, 204 ], "score": 0.76, "content": "= >", "type": "inline_equation" }, { "bbox": [ 272, 195, 393, 206 ], "score": 1.0, "content": "Have to run HCPG test before each run", "type": "text" } ], "index": 10 } ], "index": 8.5 }, { "type": "title", "bbox": [ 142, 212, 167, 220 ], "lines": [ { "bbox": [ 141, 211, 168, 221 ], "spans": [ { "bbox": [ 141, 211, 168, 221 ], "score": 1.0, "content": "2022.2", "type": "text" } ], "index": 11 } ], "index": 11 }, { "type": "text", "bbox": [ 142, 221, 489, 259 ], "lines": [ { "bbox": [ 141, 219, 491, 232 ], "spans": [ { "bbox": [ 141, 219, 309, 232 ], "score": 1.0, "content": "• Very slow training speed than previously calculated", "type": "text" }, { "bbox": [ 310, 222, 320, 229 ], "score": 0.74, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 320, 219, 434, 232 ], "score": 1.0, "content": "Optimize kernels and fuse operators", "type": "text" }, { "bbox": [ 434, 222, 445, 229 ], "score": 0.61, "content": "= >", "type": "inline_equation" }, { "bbox": [ 445, 219, 491, 232 ], "score": 1.0, "content": "Find the input", "type": "text" } ], "index": 12 }, { "bbox": [ 147, 230, 270, 241 ], "spans": [ { "bbox": [ 147, 230, 270, 241 ], "score": 1.0, "content": "shape is critical to kernel performance", "type": "text" } ], "index": 13 }, { "bbox": [ 142, 239, 464, 249 ], "spans": [ { "bbox": [ 142, 239, 277, 249 ], "score": 1.0, "content": "• Collect pre-training corpora and tokenize", "type": "text" }, { "bbox": [ 278, 240, 288, 248 ], "score": 0.69, "content": "= >", "type": "inline_equation" }, { "bbox": [ 289, 239, 464, 249 ], "score": 1.0, "content": "Use icetk: the sentence piece is set to the unigram mode", "type": "text" } ], "index": 14 }, { "bbox": [ 141, 247, 399, 259 ], "spans": [ { "bbox": [ 141, 247, 399, 259 ], "score": 1.0, "content": "• Debug the 3D pipeline parallel in the newly-released Megatron and DeepSpeed", "type": "text" } ], "index": 15 } ], "index": 13.5 }, { "type": "title", "bbox": [ 142, 264, 167, 272 ], "lines": [ { "bbox": [ 141, 263, 168, 273 ], "spans": [ { "bbox": [ 141, 263, 168, 273 ], "score": 1.0, "content": "2022.3", "type": "text" } ], "index": 16 } ], "index": 16 }, { "type": "text", "bbox": [ 142, 273, 486, 365 ], "lines": [ { "bbox": [ 141, 271, 460, 283 ], "spans": [ { "bbox": [ 141, 271, 282, 283 ], "score": 1.0, "content": "• It can’t recover perfectly from checkpoints", "type": "text" }, { "bbox": [ 283, 274, 293, 281 ], "score": 0.64, "content": "= >", "type": "inline_equation" }, { "bbox": [ 293, 271, 460, 283 ], "score": 1.0, "content": "Our customized dataloader do not save its state seed", "type": "text" } ], "index": 17 }, { "bbox": [ 147, 282, 246, 293 ], "spans": [ { "bbox": [ 147, 282, 246, 293 ], "score": 1.0, "content": "properly in distributed training", "type": "text" } ], "index": 18 }, { "bbox": [ 141, 289, 486, 302 ], "spans": [ { "bbox": [ 141, 289, 271, 302 ], "score": 1.0, "content": "• The memory per processor is too small", "type": "text" }, { "bbox": [ 271, 292, 281, 299 ], "score": 0.79, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 281, 289, 385, 302 ], "score": 1.0, "content": "Require too many pipeline stages", "type": "text" }, { "bbox": [ 385, 292, 395, 299 ], "score": 0.75, "content": "= >", "type": "inline_equation" }, { "bbox": [ 396, 289, 486, 302 ], "score": 1.0, "content": "Batch size is too large (up to", "type": "text" } ], "index": 19 }, { "bbox": [ 148, 299, 283, 311 ], "spans": [ { "bbox": [ 148, 301, 203, 309 ], "score": 0.36, "content": "1 2 , 0 0 0 ) \\Rightarrow H a r m", "type": "inline_equation" }, { "bbox": [ 203, 299, 283, 311 ], "score": 1.0, "content": "the model’s convergency", "type": "text" } ], "index": 20 }, { "bbox": [ 141, 307, 473, 321 ], "spans": [ { "bbox": [ 141, 307, 303, 321 ], "score": 1.0, "content": "• It can’t launch more than 2,000 computing nodes", "type": "text" }, { "bbox": [ 304, 311, 314, 317 ], "score": 0.76, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 314, 307, 473, 321 ], "score": 1.0, "content": "Overcome this and support 6,000-node training by", "type": "text" } ], "index": 21 }, { "bbox": [ 147, 318, 261, 329 ], "spans": [ { "bbox": [ 147, 318, 261, 329 ], "score": 1.0, "content": "tuning Linux kernel TCP parameters", "type": "text" } ], "index": 22 }, { "bbox": [ 141, 327, 307, 339 ], "spans": [ { "bbox": [ 141, 327, 307, 339 ], "score": 1.0, "content": "• Collect data for multi-task instruction pre-training", "type": "text" } ], "index": 23 }, { "bbox": [ 141, 336, 349, 348 ], "spans": [ { "bbox": [ 141, 336, 349, 348 ], "score": 1.0, "content": "• Receive opportunities to test trainings on several other clusters", "type": "text" } ], "index": 24 }, { "bbox": [ 141, 346, 465, 357 ], "spans": [ { "bbox": [ 141, 346, 273, 357 ], "score": 1.0, "content": "• Very slow training speed than expected", "type": "text" }, { "bbox": [ 273, 348, 283, 355 ], "score": 0.76, "content": "= >", "type": "inline_equation" }, { "bbox": [ 284, 346, 465, 357 ], "score": 1.0, "content": "The underlying element-wise operators don’t support fast", "type": "text" } ], "index": 25 }, { "bbox": [ 147, 356, 279, 367 ], "spans": [ { "bbox": [ 147, 356, 279, 367 ], "score": 1.0, "content": "computation on large-dimension vectors.", "type": "text" } ], "index": 26 } ], "index": 21.5 }, { "type": "title", "bbox": [ 126, 371, 167, 380 ], "lines": [ { "bbox": [ 141, 371, 168, 381 ], "spans": [ { "bbox": [ 141, 371, 168, 381 ], "score": 1.0, "content": "2022.4", "type": "text" } ], "index": 27 } ], "index": 27 }, { "type": "text", "bbox": [ 142, 381, 485, 501 ], "lines": [ { "bbox": [ 141, 380, 447, 392 ], "spans": [ { "bbox": [ 141, 380, 289, 392 ], "score": 1.0, "content": "• Optimize A100 kernel’s computing efficiency", "type": "text" }, { "bbox": [ 289, 382, 299, 389 ], "score": 0.78, "content": "= >", "type": "inline_equation" }, { "bbox": [ 299, 380, 447, 392 ], "score": 1.0, "content": "A100 kernels prefer square-shaped inputs, and", "type": "text" } ], "index": 28 }, { "bbox": [ 147, 391, 353, 401 ], "spans": [ { "bbox": [ 147, 391, 353, 401 ], "score": 1.0, "content": "seq_len=2,048 is optimal for our hidden-state dimension (12,288)", "type": "text" } ], "index": 29 }, { "bbox": [ 142, 399, 482, 410 ], "spans": [ { "bbox": [ 142, 399, 303, 410 ], "score": 1.0, "content": "• Inability to converge due to large gradient norms", "type": "text" }, { "bbox": [ 304, 400, 324, 409 ], "score": 0.6, "content": "( 1 7 0 + )", "type": "inline_equation" }, { "bbox": [ 324, 399, 390, 410 ], "score": 1.0, "content": "of input embeddings", "type": "text" }, { "bbox": [ 391, 400, 412, 408 ], "score": 0.41, "content": "{ \\Rightarrow T r y }", "type": "inline_equation" }, { "bbox": [ 413, 399, 482, 410 ], "score": 1.0, "content": "embedding norm and", "type": "text" } ], "index": 30 }, { "bbox": [ 146, 408, 322, 420 ], "spans": [ { "bbox": [ 146, 408, 322, 420 ], "score": 1.0, "content": "gradient shrink, which turn out to be almost equivalent", "type": "text" } ], "index": 31 }, { "bbox": [ 142, 417, 477, 428 ], "spans": [ { "bbox": [ 142, 417, 368, 428 ], "score": 1.0, "content": "• Naïve post-LN or pre-LN disconverges after several thousands of steps", "type": "text" }, { "bbox": [ 368, 419, 390, 427 ], "score": 0.35, "content": "\\Rightarrow T r y", "type": "inline_equation" }, { "bbox": [ 390, 417, 477, 428 ], "score": 1.0, "content": "Sandwich-LN with PB-Relax", "type": "text" } ], "index": 32 }, { "bbox": [ 141, 425, 487, 438 ], "spans": [ { "bbox": [ 141, 425, 277, 438 ], "score": 1.0, "content": "• It still disconverges after one week’s trial", "type": "text" }, { "bbox": [ 277, 428, 288, 435 ], "score": 0.78, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 288, 425, 487, 438 ], "score": 1.0, "content": "The dataloader state seeds are not unified for different pipeline", "type": "text" } ], "index": 33 }, { "bbox": [ 147, 437, 323, 446 ], "spans": [ { "bbox": [ 147, 437, 323, 446 ], "score": 1.0, "content": "stages, resulting in a mismatch of input data and labels.", "type": "text" } ], "index": 34 }, { "bbox": [ 141, 444, 449, 456 ], "spans": [ { "bbox": [ 141, 444, 292, 456 ], "score": 1.0, "content": "• Test two positional encodings: RoPE and Alibi", "type": "text" }, { "bbox": [ 293, 446, 303, 454 ], "score": 0.8, "content": "= >", "type": "inline_equation" }, { "bbox": [ 303, 444, 449, 456 ], "score": 1.0, "content": "Alibi can be slower as it requires element-wise", "type": "text" } ], "index": 35 }, { "bbox": [ 147, 454, 435, 466 ], "spans": [ { "bbox": [ 147, 454, 357, 466 ], "score": 1.0, "content": "manipulation on attention matrices---changing num_heads *2,048", "type": "text" }, { "bbox": [ 358, 456, 363, 463 ], "score": 0.3, "content": "^ *", "type": "inline_equation" }, { "bbox": [ 363, 454, 435, 466 ], "score": 1.0, "content": "2,048 scalars per layer", "type": "text" } ], "index": 36 }, { "bbox": [ 141, 462, 482, 475 ], "spans": [ { "bbox": [ 141, 462, 202, 475 ], "score": 1.0, "content": "• Test GeGLU and", "type": "text" }, { "bbox": [ 202, 465, 244, 472 ], "score": 0.41, "content": "{ \\mathsf { G A U } } \\ { \\mathsf { \\Omega } } \\Rightarrow { \\mathsf { G A U } }", "type": "inline_equation" }, { "bbox": [ 244, 462, 482, 475 ], "score": 1.0, "content": "converges faster with relatively poor performance on fine-tuned SuperGLUE", "type": "text" } ], "index": 37 }, { "bbox": [ 141, 472, 483, 484 ], "spans": [ { "bbox": [ 141, 472, 362, 484 ], "score": 1.0, "content": "• Abnormal GPU memory usage of newly-added functions and classes", "type": "text" }, { "bbox": [ 362, 474, 372, 482 ], "score": 0.8, "content": "= >", "type": "inline_equation" }, { "bbox": [ 373, 472, 483, 484 ], "score": 1.0, "content": "DeepSpeed hardcodes the function", "type": "text" } ], "index": 38 }, { "bbox": [ 147, 482, 251, 493 ], "spans": [ { "bbox": [ 147, 482, 251, 493 ], "score": 1.0, "content": "names for checkpoint activation", "type": "text" } ], "index": 39 }, { "bbox": [ 142, 492, 441, 502 ], "spans": [ { "bbox": [ 142, 492, 300, 502 ], "score": 1.0, "content": "• Decide to train GLM with 130 billion parameters", "type": "text" }, { "bbox": [ 300, 493, 310, 500 ], "score": 0.77, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 311, 492, 441, 502 ], "score": 1.0, "content": "allow inference on a DGX-A100 40G node", "type": "text" } ], "index": 40 } ], "index": 34 }, { "type": "title", "bbox": [ 142, 507, 173, 515 ], "lines": [ { "bbox": [ 141, 506, 174, 516 ], "spans": [ { "bbox": [ 141, 506, 174, 516 ], "score": 1.0, "content": "2022.5-6", "type": "text" } ], "index": 41 } ], "index": 41 }, { "type": "text", "bbox": [ 142, 516, 495, 600 ], "lines": [ { "bbox": [ 142, 516, 479, 525 ], "spans": [ { "bbox": [ 142, 516, 261, 525 ], "score": 1.0, "content": "• Implement a RoPE cuda operator in", "type": "text" }, { "bbox": [ 261, 517, 284, 525 ], "score": 0.56, "content": "{ \\mathsf { C } } + + = >", "type": "inline_equation" }, { "bbox": [ 285, 516, 479, 525 ], "score": 1.0, "content": "See unexpected precision errors and finally have it abandoned", "type": "text" } ], "index": 42 }, { "bbox": [ 142, 523, 473, 537 ], "spans": [ { "bbox": [ 142, 523, 245, 537 ], "score": 1.0, "content": "• Sandwich-LN still disconverges", "type": "text" }, { "bbox": [ 245, 526, 259, 534 ], "score": 0.77, "content": "\\Longrightarrow 1", "type": "inline_equation" }, { "bbox": [ 260, 523, 473, 537 ], "score": 1.0, "content": ") Reducing learning rate does not help; 2) Using Hinge cross-entropy", "type": "text" } ], "index": 43 }, { "bbox": [ 146, 534, 411, 545 ], "spans": [ { "bbox": [ 146, 534, 411, 545 ], "score": 1.0, "content": "becomes slower and harms performance; 3) Shifting to DeepNorm still disconverges", "type": "text" } ], "index": 44 }, { "bbox": [ 142, 544, 288, 554 ], "spans": [ { "bbox": [ 142, 544, 252, 554 ], "score": 1.0, "content": "• Use FP32 in softmax of attention", "type": "text" }, { "bbox": [ 252, 545, 262, 552 ], "score": 0.81, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 262, 544, 288, 554 ], "score": 1.0, "content": "Success", "type": "text" } ], "index": 45 }, { "bbox": [ 141, 552, 496, 563 ], "spans": [ { "bbox": [ 141, 552, 288, 563 ], "score": 1.0, "content": "• Find PB-Relax unnecessary for FP32 softmax", "type": "text" }, { "bbox": [ 288, 554, 297, 561 ], "score": 0.41, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 298, 552, 496, 563 ], "score": 1.0, "content": "It also slows down training as it needs to manipulate the whole", "type": "text" } ], "index": 46 }, { "bbox": [ 147, 563, 226, 572 ], "spans": [ { "bbox": [ 147, 563, 226, 572 ], "score": 1.0, "content": "attention score matrices", "type": "text" } ], "index": 47 }, { "bbox": [ 143, 572, 491, 582 ], "spans": [ { "bbox": [ 143, 572, 268, 582 ], "score": 1.0, "content": "• Experience few spikes in later training", "type": "text" }, { "bbox": [ 268, 573, 279, 580 ], "score": 0.67, "content": "\\mathbf { \\Phi } = > \\mathbf { \\Phi } .", "type": "inline_equation" }, { "bbox": [ 280, 572, 491, 582 ], "score": 1.0, "content": "1) Reduce gradient shrink factor from 1 to 0.1: useful; 2) Reduce the", "type": "text" } ], "index": 48 }, { "bbox": [ 147, 580, 407, 591 ], "spans": [ { "bbox": [ 147, 580, 407, 591 ], "score": 1.0, "content": "learning rate: sometimes useful; 3) Jump the noisy data batches: sometimes useful", "type": "text" } ], "index": 49 }, { "bbox": [ 141, 588, 490, 601 ], "spans": [ { "bbox": [ 141, 588, 346, 601 ], "score": 1.0, "content": "• Find a mistake in multi-task data after training for 20,000 steps", "type": "text" }, { "bbox": [ 346, 591, 356, 599 ], "score": 0.66, "content": "= >", "type": "inline_equation" }, { "bbox": [ 357, 588, 490, 601 ], "score": 1.0, "content": "Use the correct data but it does not forget", "type": "text" } ], "index": 50 } ], "index": 46 }, { "type": "title", "bbox": [ 142, 605, 173, 613 ], "lines": [ { "bbox": [ 141, 605, 174, 615 ], "spans": [ { "bbox": [ 141, 605, 174, 615 ], "score": 1.0, "content": "2022.6-7", "type": "text" } ], "index": 51 } ], "index": 51 }, { "type": "text", "bbox": [ 142, 615, 498, 700 ], "lines": [ { "bbox": [ 141, 614, 496, 625 ], "spans": [ { "bbox": [ 141, 614, 496, 625 ], "score": 1.0, "content": "• Adapt the pipeline parallel checkpoints to ordinary parallel checkpoints for efficient inference on a single A100", "type": "text" } ], "index": 52 }, { "bbox": [ 141, 623, 405, 635 ], "spans": [ { "bbox": [ 141, 623, 405, 635 ], "score": 1.0, "content": "• Work on evaluation scripts on datasets: MMLU, Big-bench, CLUE, SuperCLUE, etc.", "type": "text" } ], "index": 53 }, { "bbox": [ 141, 633, 486, 643 ], "spans": [ { "bbox": [ 141, 633, 486, 643 ], "score": 1.0, "content": "• Implement P-Tuning and P-Tuning v2 for parameter-efficient tuning on GLM-130B for tuning on SuperGLUE", "type": "text" } ], "index": 54 }, { "bbox": [ 141, 641, 491, 653 ], "spans": [ { "bbox": [ 141, 641, 423, 653 ], "score": 1.0, "content": "• Work with BMInf on adapting GLM-130B to perform inference on a single V100 or 3090", "type": "text" }, { "bbox": [ 423, 643, 433, 650 ], "score": 0.51, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 434, 641, 491, 653 ], "score": 1.0, "content": "Use pipeline-style", "type": "text" } ], "index": 55 }, { "bbox": [ 147, 651, 354, 662 ], "spans": [ { "bbox": [ 147, 651, 354, 662 ], "score": 1.0, "content": "asynchronous swapping between main memory and GPU memory", "type": "text" } ], "index": 56 }, { "bbox": [ 141, 659, 488, 672 ], "spans": [ { "bbox": [ 141, 659, 365, 672 ], "score": 1.0, "content": "• Try to fine-tune GLM-130B with fewer A100 nodes (i.e., 12-16 nodes)", "type": "text" }, { "bbox": [ 366, 662, 376, 669 ], "score": 0.79, "content": "= >", "type": "inline_equation" }, { "bbox": [ 376, 659, 488, 672 ], "score": 1.0, "content": "Pipeline-style fails due to too many", "type": "text" } ], "index": 57 }, { "bbox": [ 147, 670, 498, 682 ], "spans": [ { "bbox": [ 147, 670, 195, 682 ], "score": 1.0, "content": "pipeline stages", "type": "text" }, { "bbox": [ 196, 671, 206, 679 ], "score": 0.6, "content": "= >", "type": "inline_equation" }, { "bbox": [ 206, 670, 392, 682 ], "score": 1.0, "content": "Find that data parallel can not be introduced for fine-tuning", "type": "text" }, { "bbox": [ 393, 671, 403, 679 ], "score": 0.64, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 403, 670, 498, 682 ], "score": 1.0, "content": "Use 32-way model parallel for", "type": "text" } ], "index": 58 }, { "bbox": [ 147, 679, 279, 690 ], "spans": [ { "bbox": [ 147, 679, 279, 690 ], "score": 1.0, "content": "fine-tuning with reasonable performance", "type": "text" } ], "index": 59 }, { "bbox": [ 349, 690, 488, 702 ], "spans": [ { "bbox": [ 349, 690, 488, 702 ], "score": 1.0, "content": "https://github.com/THUDM/GLM-130B", "type": "text" } ], "index": 60 } ], "index": 56 }, { "type": "text", "bbox": [ 106, 712, 506, 734 ], "lines": [ { "bbox": [ 105, 711, 506, 725 ], "spans": [ { "bbox": [ 105, 711, 506, 725 ], "score": 1.0, "content": "Figure 21: The timeline of major issues that training GLM-130B encountered and addressed, as of", "type": "text" } ], "index": 61 }, { "bbox": [ 105, 721, 172, 734 ], "spans": [ { "bbox": [ 105, 721, 172, 734 ], "score": 1.0, "content": "July 31st, 2022.", "type": "text" } ], "index": 62 } ], "index": 61.5 } ], "page_idx": 53, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 107, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 749, 313, 764 ], "spans": [ { "bbox": [ 298, 749, 313, 764 ], "score": 1.0, "content": "", "type": "text", "height": 15, "width": 15 } ] } ] }, { "type": "discarded", "bbox": [ 118, 61, 159, 96 ], "lines": [] } ], "para_blocks": [ { "type": "title", "bbox": [ 160, 71, 499, 90 ], "lines": [ { "bbox": [ 160, 71, 500, 91 ], "spans": [ { "bbox": [ 160, 71, 500, 91 ], "score": 1.0, "content": "Major Issues Encountered for Training GLM-130B", "type": "text" } ], "index": 0 } ], "index": 0 }, { "type": "title", "bbox": [ 142, 107, 171, 115 ], "lines": [ { "bbox": [ 142, 106, 171, 117 ], "spans": [ { "bbox": [ 142, 106, 171, 117 ], "score": 1.0, "content": "2021.12", "type": "text" } ], "index": 1 } ], "index": 1 }, { "type": "list", "bbox": [ 142, 117, 492, 154 ], "lines": [ { "bbox": [ 141, 115, 446, 127 ], "spans": [ { "bbox": [ 141, 115, 446, 127 ], "score": 1.0, "content": "• The “千亿 ” (100B) project towards an open dense pre-trained GLM at 100B scale is conceived", "type": "text" } ], "index": 2, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 140, 124, 493, 137 ], "spans": [ { "bbox": [ 140, 124, 422, 137 ], "score": 1.0, "content": "• Survey pre-training strategies of existing models of similar scale, such as GPT-3, Gopher", "type": "text" }, { "bbox": [ 423, 127, 433, 134 ], "score": 0.69, "content": "= >", "type": "inline_equation" }, { "bbox": [ 433, 124, 493, 137 ], "score": 1.0, "content": "Limited public info", "type": "text" } ], "index": 3, "is_list_start_line": true }, { "bbox": [ 147, 134, 305, 145 ], "spans": [ { "bbox": [ 147, 134, 305, 145 ], "score": 1.0, "content": "about how they were trained and issues they met", "type": "text" } ], "index": 4, "is_list_end_line": true }, { "bbox": [ 141, 143, 289, 154 ], "spans": [ { "bbox": [ 141, 143, 289, 154 ], "score": 1.0, "content": "• Search for possible GPU clusters & sponsors", "type": "text" } ], "index": 5, "is_list_start_line": true, "is_list_end_line": true } ], "index": 3.5, "bbox_fs": [ 140, 115, 493, 154 ] }, { "type": "title", "bbox": [ 142, 159, 166, 167 ], "lines": [ { "bbox": [ 141, 159, 168, 169 ], "spans": [ { "bbox": [ 141, 159, 168, 169 ], "score": 1.0, "content": "2022.1", "type": "text" } ], "index": 6 } ], "index": 6 }, { "type": "text", "bbox": [ 141, 168, 452, 205 ], "lines": [ { "bbox": [ 142, 168, 375, 178 ], "spans": [ { "bbox": [ 142, 168, 375, 178 ], "score": 1.0, "content": "• Test the performance of FP16/FP32 at 100B scale on one testing cluster", "type": "text" } ], "index": 7 }, { "bbox": [ 140, 177, 453, 189 ], "spans": [ { "bbox": [ 140, 177, 290, 189 ], "score": 1.0, "content": "• Unexpected excessive memory usage in GLM", "type": "text" }, { "bbox": [ 291, 179, 301, 186 ], "score": 0.8, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 301, 177, 453, 189 ], "score": 1.0, "content": "Torch is better with fixed length input sequences", "type": "text" } ], "index": 8 }, { "bbox": [ 141, 187, 393, 196 ], "spans": [ { "bbox": [ 141, 187, 327, 196 ], "score": 1.0, "content": "• Inability to converge and try tricks from CogView and ViT", "type": "text" }, { "bbox": [ 327, 188, 350, 195 ], "score": 0.71, "content": "{ \\Rightarrow U s e }", "type": "inline_equation" }, { "bbox": [ 350, 187, 393, 196 ], "score": 1.0, "content": "Sandwich-LN", "type": "text" } ], "index": 9 }, { "bbox": [ 141, 195, 393, 206 ], "spans": [ { "bbox": [ 141, 195, 261, 206 ], "score": 1.0, "content": "• Frequent random hardware failures", "type": "text" }, { "bbox": [ 261, 197, 271, 204 ], "score": 0.76, "content": "= >", "type": "inline_equation" }, { "bbox": [ 272, 195, 393, 206 ], "score": 1.0, "content": "Have to run HCPG test before each run", "type": "text" } ], "index": 10 } ], "index": 8.5, "bbox_fs": [ 140, 168, 453, 206 ] }, { "type": "title", "bbox": [ 142, 212, 167, 220 ], "lines": [ { "bbox": [ 141, 211, 168, 221 ], "spans": [ { "bbox": [ 141, 211, 168, 221 ], "score": 1.0, "content": "2022.2", "type": "text" } ], "index": 11 } ], "index": 11 }, { "type": "list", "bbox": [ 142, 221, 489, 259 ], "lines": [ { "bbox": [ 141, 219, 491, 232 ], "spans": [ { "bbox": [ 141, 219, 309, 232 ], "score": 1.0, "content": "• Very slow training speed than previously calculated", "type": "text" }, { "bbox": [ 310, 222, 320, 229 ], "score": 0.74, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 320, 219, 434, 232 ], "score": 1.0, "content": "Optimize kernels and fuse operators", "type": "text" }, { "bbox": [ 434, 222, 445, 229 ], "score": 0.61, "content": "= >", "type": "inline_equation" }, { "bbox": [ 445, 219, 491, 232 ], "score": 1.0, "content": "Find the input", "type": "text" } ], "index": 12, "is_list_start_line": true }, { "bbox": [ 147, 230, 270, 241 ], "spans": [ { "bbox": [ 147, 230, 270, 241 ], "score": 1.0, "content": "shape is critical to kernel performance", "type": "text" } ], "index": 13, "is_list_start_line": true }, { "bbox": [ 142, 239, 464, 249 ], "spans": [ { "bbox": [ 142, 239, 277, 249 ], "score": 1.0, "content": "• Collect pre-training corpora and tokenize", "type": "text" }, { "bbox": [ 278, 240, 288, 248 ], "score": 0.69, "content": "= >", "type": "inline_equation" }, { "bbox": [ 289, 239, 464, 249 ], "score": 1.0, "content": "Use icetk: the sentence piece is set to the unigram mode", "type": "text" } ], "index": 14, "is_list_start_line": true }, { "bbox": [ 141, 247, 399, 259 ], "spans": [ { "bbox": [ 141, 247, 399, 259 ], "score": 1.0, "content": "• Debug the 3D pipeline parallel in the newly-released Megatron and DeepSpeed", "type": "text" } ], "index": 15, "is_list_start_line": true } ], "index": 13.5, "bbox_fs": [ 141, 219, 491, 259 ] }, { "type": "title", "bbox": [ 142, 264, 167, 272 ], "lines": [ { "bbox": [ 141, 263, 168, 273 ], "spans": [ { "bbox": [ 141, 263, 168, 273 ], "score": 1.0, "content": "2022.3", "type": "text" } ], "index": 16 } ], "index": 16 }, { "type": "list", "bbox": [ 142, 273, 486, 365 ], "lines": [ { "bbox": [ 141, 271, 460, 283 ], "spans": [ { "bbox": [ 141, 271, 282, 283 ], "score": 1.0, "content": "• It can’t recover perfectly from checkpoints", "type": "text" }, { "bbox": [ 283, 274, 293, 281 ], "score": 0.64, "content": "= >", "type": "inline_equation" }, { "bbox": [ 293, 271, 460, 283 ], "score": 1.0, "content": "Our customized dataloader do not save its state seed", "type": "text" } ], "index": 17, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 147, 282, 246, 293 ], "spans": [ { "bbox": [ 147, 282, 246, 293 ], "score": 1.0, "content": "properly in distributed training", "type": "text" } ], "index": 18, "is_list_end_line": true }, { "bbox": [ 141, 289, 486, 302 ], "spans": [ { "bbox": [ 141, 289, 271, 302 ], "score": 1.0, "content": "• The memory per processor is too small", "type": "text" }, { "bbox": [ 271, 292, 281, 299 ], "score": 0.79, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 281, 289, 385, 302 ], "score": 1.0, "content": "Require too many pipeline stages", "type": "text" }, { "bbox": [ 385, 292, 395, 299 ], "score": 0.75, "content": "= >", "type": "inline_equation" }, { "bbox": [ 396, 289, 486, 302 ], "score": 1.0, "content": "Batch size is too large (up to", "type": "text" } ], "index": 19, "is_list_start_line": true }, { "bbox": [ 148, 299, 283, 311 ], "spans": [ { "bbox": [ 148, 301, 203, 309 ], "score": 0.36, "content": "1 2 , 0 0 0 ) \\Rightarrow H a r m", "type": "inline_equation" }, { "bbox": [ 203, 299, 283, 311 ], "score": 1.0, "content": "the model’s convergency", "type": "text" } ], "index": 20, "is_list_end_line": true }, { "bbox": [ 141, 307, 473, 321 ], "spans": [ { "bbox": [ 141, 307, 303, 321 ], "score": 1.0, "content": "• It can’t launch more than 2,000 computing nodes", "type": "text" }, { "bbox": [ 304, 311, 314, 317 ], "score": 0.76, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 314, 307, 473, 321 ], "score": 1.0, "content": "Overcome this and support 6,000-node training by", "type": "text" } ], "index": 21, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 147, 318, 261, 329 ], "spans": [ { "bbox": [ 147, 318, 261, 329 ], "score": 1.0, "content": "tuning Linux kernel TCP parameters", "type": "text" } ], "index": 22, "is_list_end_line": true }, { "bbox": [ 141, 327, 307, 339 ], "spans": [ { "bbox": [ 141, 327, 307, 339 ], "score": 1.0, "content": "• Collect data for multi-task instruction pre-training", "type": "text" } ], "index": 23, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 141, 336, 349, 348 ], "spans": [ { "bbox": [ 141, 336, 349, 348 ], "score": 1.0, "content": "• Receive opportunities to test trainings on several other clusters", "type": "text" } ], "index": 24, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 141, 346, 465, 357 ], "spans": [ { "bbox": [ 141, 346, 273, 357 ], "score": 1.0, "content": "• Very slow training speed than expected", "type": "text" }, { "bbox": [ 273, 348, 283, 355 ], "score": 0.76, "content": "= >", "type": "inline_equation" }, { "bbox": [ 284, 346, 465, 357 ], "score": 1.0, "content": "The underlying element-wise operators don’t support fast", "type": "text" } ], "index": 25, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 147, 356, 279, 367 ], "spans": [ { "bbox": [ 147, 356, 279, 367 ], "score": 1.0, "content": "computation on large-dimension vectors.", "type": "text" } ], "index": 26, "is_list_end_line": true } ], "index": 21.5, "bbox_fs": [ 141, 271, 486, 367 ] }, { "type": "title", "bbox": [ 126, 371, 167, 380 ], "lines": [ { "bbox": [ 141, 371, 168, 381 ], "spans": [ { "bbox": [ 141, 371, 168, 381 ], "score": 1.0, "content": "2022.4", "type": "text" } ], "index": 27 } ], "index": 27 }, { "type": "list", "bbox": [ 142, 381, 485, 501 ], "lines": [ { "bbox": [ 141, 380, 447, 392 ], "spans": [ { "bbox": [ 141, 380, 289, 392 ], "score": 1.0, "content": "• Optimize A100 kernel’s computing efficiency", "type": "text" }, { "bbox": [ 289, 382, 299, 389 ], "score": 0.78, "content": "= >", "type": "inline_equation" }, { "bbox": [ 299, 380, 447, 392 ], "score": 1.0, "content": "A100 kernels prefer square-shaped inputs, and", "type": "text" } ], "index": 28, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 147, 391, 353, 401 ], "spans": [ { "bbox": [ 147, 391, 353, 401 ], "score": 1.0, "content": "seq_len=2,048 is optimal for our hidden-state dimension (12,288)", "type": "text" } ], "index": 29, "is_list_end_line": true }, { "bbox": [ 142, 399, 482, 410 ], "spans": [ { "bbox": [ 142, 399, 303, 410 ], "score": 1.0, "content": "• Inability to converge due to large gradient norms", "type": "text" }, { "bbox": [ 304, 400, 324, 409 ], "score": 0.6, "content": "( 1 7 0 + )", "type": "inline_equation" }, { "bbox": [ 324, 399, 390, 410 ], "score": 1.0, "content": "of input embeddings", "type": "text" }, { "bbox": [ 391, 400, 412, 408 ], "score": 0.41, "content": "{ \\Rightarrow T r y }", "type": "inline_equation" }, { "bbox": [ 413, 399, 482, 410 ], "score": 1.0, "content": "embedding norm and", "type": "text" } ], "index": 30, "is_list_start_line": true }, { "bbox": [ 146, 408, 322, 420 ], "spans": [ { "bbox": [ 146, 408, 322, 420 ], "score": 1.0, "content": "gradient shrink, which turn out to be almost equivalent", "type": "text" } ], "index": 31, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 142, 417, 477, 428 ], "spans": [ { "bbox": [ 142, 417, 368, 428 ], "score": 1.0, "content": "• Naïve post-LN or pre-LN disconverges after several thousands of steps", "type": "text" }, { "bbox": [ 368, 419, 390, 427 ], "score": 0.35, "content": "\\Rightarrow T r y", "type": "inline_equation" }, { "bbox": [ 390, 417, 477, 428 ], "score": 1.0, "content": "Sandwich-LN with PB-Relax", "type": "text" } ], "index": 32, "is_list_start_line": true }, { "bbox": [ 141, 425, 487, 438 ], "spans": [ { "bbox": [ 141, 425, 277, 438 ], "score": 1.0, "content": "• It still disconverges after one week’s trial", "type": "text" }, { "bbox": [ 277, 428, 288, 435 ], "score": 0.78, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 288, 425, 487, 438 ], "score": 1.0, "content": "The dataloader state seeds are not unified for different pipeline", "type": "text" } ], "index": 33, "is_list_start_line": true }, { "bbox": [ 147, 437, 323, 446 ], "spans": [ { "bbox": [ 147, 437, 323, 446 ], "score": 1.0, "content": "stages, resulting in a mismatch of input data and labels.", "type": "text" } ], "index": 34, "is_list_end_line": true }, { "bbox": [ 141, 444, 449, 456 ], "spans": [ { "bbox": [ 141, 444, 292, 456 ], "score": 1.0, "content": "• Test two positional encodings: RoPE and Alibi", "type": "text" }, { "bbox": [ 293, 446, 303, 454 ], "score": 0.8, "content": "= >", "type": "inline_equation" }, { "bbox": [ 303, 444, 449, 456 ], "score": 1.0, "content": "Alibi can be slower as it requires element-wise", "type": "text" } ], "index": 35, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 147, 454, 435, 466 ], "spans": [ { "bbox": [ 147, 454, 357, 466 ], "score": 1.0, "content": "manipulation on attention matrices---changing num_heads *2,048", "type": "text" }, { "bbox": [ 358, 456, 363, 463 ], "score": 0.3, "content": "^ *", "type": "inline_equation" }, { "bbox": [ 363, 454, 435, 466 ], "score": 1.0, "content": "2,048 scalars per layer", "type": "text" } ], "index": 36, "is_list_end_line": true }, { "bbox": [ 141, 462, 482, 475 ], "spans": [ { "bbox": [ 141, 462, 202, 475 ], "score": 1.0, "content": "• Test GeGLU and", "type": "text" }, { "bbox": [ 202, 465, 244, 472 ], "score": 0.41, "content": "{ \\mathsf { G A U } } \\ { \\mathsf { \\Omega } } \\Rightarrow { \\mathsf { G A U } }", "type": "inline_equation" }, { "bbox": [ 244, 462, 482, 475 ], "score": 1.0, "content": "converges faster with relatively poor performance on fine-tuned SuperGLUE", "type": "text" } ], "index": 37, "is_list_start_line": true }, { "bbox": [ 141, 472, 483, 484 ], "spans": [ { "bbox": [ 141, 472, 362, 484 ], "score": 1.0, "content": "• Abnormal GPU memory usage of newly-added functions and classes", "type": "text" }, { "bbox": [ 362, 474, 372, 482 ], "score": 0.8, "content": "= >", "type": "inline_equation" }, { "bbox": [ 373, 472, 483, 484 ], "score": 1.0, "content": "DeepSpeed hardcodes the function", "type": "text" } ], "index": 38, "is_list_start_line": true }, { "bbox": [ 147, 482, 251, 493 ], "spans": [ { "bbox": [ 147, 482, 251, 493 ], "score": 1.0, "content": "names for checkpoint activation", "type": "text" } ], "index": 39, "is_list_end_line": true }, { "bbox": [ 142, 492, 441, 502 ], "spans": [ { "bbox": [ 142, 492, 300, 502 ], "score": 1.0, "content": "• Decide to train GLM with 130 billion parameters", "type": "text" }, { "bbox": [ 300, 493, 310, 500 ], "score": 0.77, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 311, 492, 441, 502 ], "score": 1.0, "content": "allow inference on a DGX-A100 40G node", "type": "text" } ], "index": 40, "is_list_start_line": true, "is_list_end_line": true } ], "index": 34, "bbox_fs": [ 141, 380, 487, 502 ] }, { "type": "title", "bbox": [ 142, 507, 173, 515 ], "lines": [ { "bbox": [ 141, 506, 174, 516 ], "spans": [ { "bbox": [ 141, 506, 174, 516 ], "score": 1.0, "content": "2022.5-6", "type": "text" } ], "index": 41 } ], "index": 41 }, { "type": "list", "bbox": [ 142, 516, 495, 600 ], "lines": [ { "bbox": [ 142, 516, 479, 525 ], "spans": [ { "bbox": [ 142, 516, 261, 525 ], "score": 1.0, "content": "• Implement a RoPE cuda operator in", "type": "text" }, { "bbox": [ 261, 517, 284, 525 ], "score": 0.56, "content": "{ \\mathsf { C } } + + = >", "type": "inline_equation" }, { "bbox": [ 285, 516, 479, 525 ], "score": 1.0, "content": "See unexpected precision errors and finally have it abandoned", "type": "text" } ], "index": 42, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 142, 523, 473, 537 ], "spans": [ { "bbox": [ 142, 523, 245, 537 ], "score": 1.0, "content": "• Sandwich-LN still disconverges", "type": "text" }, { "bbox": [ 245, 526, 259, 534 ], "score": 0.77, "content": "\\Longrightarrow 1", "type": "inline_equation" }, { "bbox": [ 260, 523, 473, 537 ], "score": 1.0, "content": ") Reducing learning rate does not help; 2) Using Hinge cross-entropy", "type": "text" } ], "index": 43, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 146, 534, 411, 545 ], "spans": [ { "bbox": [ 146, 534, 411, 545 ], "score": 1.0, "content": "becomes slower and harms performance; 3) Shifting to DeepNorm still disconverges", "type": "text" } ], "index": 44, "is_list_end_line": true }, { "bbox": [ 142, 544, 288, 554 ], "spans": [ { "bbox": [ 142, 544, 252, 554 ], "score": 1.0, "content": "• Use FP32 in softmax of attention", "type": "text" }, { "bbox": [ 252, 545, 262, 552 ], "score": 0.81, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 262, 544, 288, 554 ], "score": 1.0, "content": "Success", "type": "text" } ], "index": 45, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 141, 552, 496, 563 ], "spans": [ { "bbox": [ 141, 552, 288, 563 ], "score": 1.0, "content": "• Find PB-Relax unnecessary for FP32 softmax", "type": "text" }, { "bbox": [ 288, 554, 297, 561 ], "score": 0.41, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 298, 552, 496, 563 ], "score": 1.0, "content": "It also slows down training as it needs to manipulate the whole", "type": "text" } ], "index": 46, "is_list_start_line": true }, { "bbox": [ 147, 563, 226, 572 ], "spans": [ { "bbox": [ 147, 563, 226, 572 ], "score": 1.0, "content": "attention score matrices", "type": "text" } ], "index": 47, "is_list_end_line": true }, { "bbox": [ 143, 572, 491, 582 ], "spans": [ { "bbox": [ 143, 572, 268, 582 ], "score": 1.0, "content": "• Experience few spikes in later training", "type": "text" }, { "bbox": [ 268, 573, 279, 580 ], "score": 0.67, "content": "\\mathbf { \\Phi } = > \\mathbf { \\Phi } .", "type": "inline_equation" }, { "bbox": [ 280, 572, 491, 582 ], "score": 1.0, "content": "1) Reduce gradient shrink factor from 1 to 0.1: useful; 2) Reduce the", "type": "text" } ], "index": 48, "is_list_start_line": true }, { "bbox": [ 147, 580, 407, 591 ], "spans": [ { "bbox": [ 147, 580, 407, 591 ], "score": 1.0, "content": "learning rate: sometimes useful; 3) Jump the noisy data batches: sometimes useful", "type": "text" } ], "index": 49, "is_list_end_line": true }, { "bbox": [ 141, 588, 490, 601 ], "spans": [ { "bbox": [ 141, 588, 346, 601 ], "score": 1.0, "content": "• Find a mistake in multi-task data after training for 20,000 steps", "type": "text" }, { "bbox": [ 346, 591, 356, 599 ], "score": 0.66, "content": "= >", "type": "inline_equation" }, { "bbox": [ 357, 588, 490, 601 ], "score": 1.0, "content": "Use the correct data but it does not forget", "type": "text" } ], "index": 50, "is_list_start_line": true } ], "index": 46, "bbox_fs": [ 141, 516, 496, 601 ] }, { "type": "title", "bbox": [ 142, 605, 173, 613 ], "lines": [ { "bbox": [ 141, 605, 174, 615 ], "spans": [ { "bbox": [ 141, 605, 174, 615 ], "score": 1.0, "content": "2022.6-7", "type": "text" } ], "index": 51 } ], "index": 51 }, { "type": "list", "bbox": [ 142, 615, 498, 700 ], "lines": [ { "bbox": [ 141, 614, 496, 625 ], "spans": [ { "bbox": [ 141, 614, 496, 625 ], "score": 1.0, "content": "• Adapt the pipeline parallel checkpoints to ordinary parallel checkpoints for efficient inference on a single A100", "type": "text" } ], "index": 52, "is_list_start_line": true }, { "bbox": [ 141, 623, 405, 635 ], "spans": [ { "bbox": [ 141, 623, 405, 635 ], "score": 1.0, "content": "• Work on evaluation scripts on datasets: MMLU, Big-bench, CLUE, SuperCLUE, etc.", "type": "text" } ], "index": 53, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 141, 633, 486, 643 ], "spans": [ { "bbox": [ 141, 633, 486, 643 ], "score": 1.0, "content": "• Implement P-Tuning and P-Tuning v2 for parameter-efficient tuning on GLM-130B for tuning on SuperGLUE", "type": "text" } ], "index": 54, "is_list_start_line": true, "is_list_end_line": true }, { "bbox": [ 141, 641, 491, 653 ], "spans": [ { "bbox": [ 141, 641, 423, 653 ], "score": 1.0, "content": "• Work with BMInf on adapting GLM-130B to perform inference on a single V100 or 3090", "type": "text" }, { "bbox": [ 423, 643, 433, 650 ], "score": 0.51, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 434, 641, 491, 653 ], "score": 1.0, "content": "Use pipeline-style", "type": "text" } ], "index": 55, "is_list_start_line": true }, { "bbox": [ 147, 651, 354, 662 ], "spans": [ { "bbox": [ 147, 651, 354, 662 ], "score": 1.0, "content": "asynchronous swapping between main memory and GPU memory", "type": "text" } ], "index": 56, "is_list_end_line": true }, { "bbox": [ 141, 659, 488, 672 ], "spans": [ { "bbox": [ 141, 659, 365, 672 ], "score": 1.0, "content": "• Try to fine-tune GLM-130B with fewer A100 nodes (i.e., 12-16 nodes)", "type": "text" }, { "bbox": [ 366, 662, 376, 669 ], "score": 0.79, "content": "= >", "type": "inline_equation" }, { "bbox": [ 376, 659, 488, 672 ], "score": 1.0, "content": "Pipeline-style fails due to too many", "type": "text" } ], "index": 57, "is_list_start_line": true }, { "bbox": [ 147, 670, 498, 682 ], "spans": [ { "bbox": [ 147, 670, 195, 682 ], "score": 1.0, "content": "pipeline stages", "type": "text" }, { "bbox": [ 196, 671, 206, 679 ], "score": 0.6, "content": "= >", "type": "inline_equation" }, { "bbox": [ 206, 670, 392, 682 ], "score": 1.0, "content": "Find that data parallel can not be introduced for fine-tuning", "type": "text" }, { "bbox": [ 393, 671, 403, 679 ], "score": 0.64, "content": "\\Rightarrow", "type": "inline_equation" }, { "bbox": [ 403, 670, 498, 682 ], "score": 1.0, "content": "Use 32-way model parallel for", "type": "text" } ], "index": 58 }, { "bbox": [ 147, 679, 279, 690 ], "spans": [ { "bbox": [ 147, 679, 279, 690 ], "score": 1.0, "content": "fine-tuning with reasonable performance", "type": "text" } ], "index": 59, "is_list_end_line": true }, { "bbox": [ 349, 690, 488, 702 ], "spans": [ { "bbox": [ 349, 690, 488, 702 ], "score": 1.0, "content": "https://github.com/THUDM/GLM-130B", "type": "text" } ], "index": 60 } ], "index": 56, "bbox_fs": [ 141, 614, 498, 702 ] }, { "type": "text", "bbox": [ 106, 712, 506, 734 ], "lines": [ { "bbox": [ 105, 711, 506, 725 ], "spans": [ { "bbox": [ 105, 711, 506, 725 ], "score": 1.0, "content": "Figure 21: The timeline of major issues that training GLM-130B encountered and addressed, as of", "type": "text" } ], "index": 61 }, { "bbox": [ 105, 721, 172, 734 ], "spans": [ { "bbox": [ 105, 721, 172, 734 ], "score": 1.0, "content": "July 31st, 2022.", "type": "text" } ], "index": 62 } ], "index": 61.5, "bbox_fs": [ 105, 711, 506, 734 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 107, 82, 504, 127 ], "lines": [ { "bbox": [ 106, 83, 505, 95 ], "spans": [ { "bbox": [ 106, 83, 505, 95 ], "score": 1.0, "content": "faces negligible performance degradation compared to its uncompressed original, while it consumes", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 93, 506, 107 ], "spans": [ { "bbox": [ 105, 93, 127, 107 ], "score": 1.0, "content": "only", "type": "text" }, { "bbox": [ 127, 94, 147, 104 ], "score": 0.87, "content": "2 5 \\%", "type": "inline_equation" }, { "bbox": [ 147, 93, 506, 107 ], "score": 1.0, "content": "of the GPU memory required by the uncompressed version, thus supporting its effective", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 104, 506, 117 ], "spans": [ { "bbox": [ 105, 104, 158, 117 ], "score": 1.0, "content": "inference on", "type": "text" }, { "bbox": [ 159, 105, 225, 115 ], "score": 0.62, "content": "4 \\times \\mathrm { R T X } 3 0 9 0 1", "type": "inline_equation" }, { "bbox": [ 226, 104, 268, 117 ], "score": 1.0, "content": "i (24G) or", "type": "text" }, { "bbox": [ 268, 105, 341, 115 ], "score": 0.56, "content": "8 \\times \\mathrm { R T X } 2 0 8 0 \\mathrm { T i }", "type": "inline_equation" }, { "bbox": [ 342, 104, 506, 117 ], "score": 1.0, "content": "(11G). We will attempt to further reduce", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 116, 474, 128 ], "spans": [ { "bbox": [ 106, 116, 474, 128 ], "score": 1.0, "content": "the resource requirements and keep the community updated on this important working item.", "type": "text" } ], "index": 3 } ], "index": 1.5 }, { "type": "title", "bbox": [ 108, 143, 221, 156 ], "lines": [ { "bbox": [ 106, 143, 223, 157 ], "spans": [ { "bbox": [ 106, 143, 223, 157 ], "score": 1.0, "content": "G BROADER IMPACT", "type": "text" } ], "index": 4 } ], "index": 4 }, { "type": "text", "bbox": [ 107, 168, 505, 257 ], "lines": [ { "bbox": [ 106, 168, 505, 181 ], "spans": [ { "bbox": [ 106, 168, 505, 181 ], "score": 1.0, "content": "This paper introduces an open bilingual pre-trained language model with 130 billion parameters.", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 179, 505, 191 ], "spans": [ { "bbox": [ 105, 179, 505, 191 ], "score": 1.0, "content": "Currently most pre-trained language models with over 100 billion parameters are privately owned", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 191, 505, 203 ], "spans": [ { "bbox": [ 106, 191, 505, 203 ], "score": 1.0, "content": "by governments and large corporations (Brown et al., 2020; Thoppilan et al., 2022; Rae et al., 2021;", "type": "text" } ], "index": 7 }, { "bbox": [ 106, 201, 505, 213 ], "spans": [ { "bbox": [ 106, 201, 505, 213 ], "score": 1.0, "content": "Chowdhery et al., 2022; Wang et al., 2021). A few of them (Brown et al., 2020; Lieber et al., 2021)", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 212, 505, 225 ], "spans": [ { "bbox": [ 105, 212, 505, 225 ], "score": 1.0, "content": "provide limited inference APIs with fees. In contrast, the weights and code of GLM-130B are open", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 223, 505, 236 ], "spans": [ { "bbox": [ 106, 223, 505, 236 ], "score": 1.0, "content": "to anyone who is interested in LLMs. Moreover, we significantly lower the hardware requirements", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 234, 505, 248 ], "spans": [ { "bbox": [ 105, 234, 505, 248 ], "score": 1.0, "content": "for inference by speed-up implementation and INT4 quantization. The paper can have a broader", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 245, 474, 258 ], "spans": [ { "bbox": [ 106, 245, 474, 258 ], "score": 1.0, "content": "impact on the research community, individual developers and small companies, and society.", "type": "text" } ], "index": 12 } ], "index": 8.5 }, { "type": "title", "bbox": [ 108, 271, 245, 282 ], "lines": [ { "bbox": [ 106, 270, 246, 283 ], "spans": [ { "bbox": [ 106, 270, 246, 283 ], "score": 1.0, "content": "G.1 IMPACT ON AI RESEARCH", "type": "text" } ], "index": 13 } ], "index": 13 }, { "type": "text", "bbox": [ 107, 292, 505, 380 ], "lines": [ { "bbox": [ 105, 292, 504, 304 ], "spans": [ { "bbox": [ 105, 292, 504, 304 ], "score": 1.0, "content": "Most research institutions cannot afford the substantial cost of pretraining large language models.", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 303, 505, 315 ], "spans": [ { "bbox": [ 106, 303, 505, 315 ], "score": 1.0, "content": "As a result, most researchers, except employees of governments and large corporations, only have", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 314, 505, 326 ], "spans": [ { "bbox": [ 105, 314, 505, 326 ], "score": 1.0, "content": "access to the limited inference APIs with fees. With the inference APIs, researchers can only analyze", "type": "text" } ], "index": 16 }, { "bbox": [ 106, 325, 505, 336 ], "spans": [ { "bbox": [ 106, 325, 505, 336 ], "score": 1.0, "content": "the outputs of models as black boxes, which limits the scope of potential work. With GLM-130B,", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 335, 505, 349 ], "spans": [ { "bbox": [ 105, 335, 505, 349 ], "score": 1.0, "content": "researchers can analyze the model parameters and internal states corresponding to specific inputs,", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 347, 505, 358 ], "spans": [ { "bbox": [ 105, 347, 505, 358 ], "score": 1.0, "content": "leading to in-depth studies of LLMs’ theory, capacity, and flaws. Researchers can also modify the", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 358, 505, 369 ], "spans": [ { "bbox": [ 105, 358, 505, 369 ], "score": 1.0, "content": "model architecture and weights, to validate the proposed algorithms to improve LLMs Zhu et al.", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 369, 375, 380 ], "spans": [ { "bbox": [ 106, 369, 375, 380 ], "score": 1.0, "content": "(2020); Cao et al. (2021); Hase et al. (2021); Mitchell et al. (2022).", "type": "text" } ], "index": 21 } ], "index": 17.5 }, { "type": "text", "bbox": [ 108, 385, 505, 419 ], "lines": [ { "bbox": [ 106, 385, 504, 398 ], "spans": [ { "bbox": [ 106, 385, 465, 398 ], "score": 1.0, "content": "With INT4 quantization, GLM-130B can perform inference on popularized GPUs such as", "type": "text" }, { "bbox": [ 465, 385, 504, 396 ], "score": 0.86, "content": "4 \\times \\mathrm { R T X }", "type": "inline_equation" } ], "index": 22 }, { "bbox": [ 106, 396, 505, 408 ], "spans": [ { "bbox": [ 106, 396, 139, 408 ], "score": 1.0, "content": "3090 or", "type": "text" }, { "bbox": [ 140, 397, 210, 407 ], "score": 0.33, "content": "8 \\times \\mathrm { R T X } 2 0 8 0 \\mathrm { T i }", "type": "inline_equation" }, { "bbox": [ 210, 396, 505, 408 ], "score": 1.0, "content": ", which can be easily accessed from cloud service. As a result, researchers", "type": "text" } ], "index": 23 }, { "bbox": [ 106, 408, 502, 420 ], "spans": [ { "bbox": [ 106, 408, 502, 420 ], "score": 1.0, "content": "who cannot afford powerful data-center GPU servers like DGX-A100 can also utilize GLM-130B.", "type": "text" } ], "index": 24 } ], "index": 23 }, { "type": "title", "bbox": [ 108, 433, 404, 444 ], "lines": [ { "bbox": [ 106, 432, 405, 446 ], "spans": [ { "bbox": [ 106, 432, 405, 446 ], "score": 1.0, "content": "G.2 IMPACT ON INDIVIDUAL DEVELOPERS AND SMALL COMPANIES", "type": "text" } ], "index": 25 } ], "index": 25 }, { "type": "text", "bbox": [ 107, 453, 505, 542 ], "lines": [ { "bbox": [ 106, 454, 505, 466 ], "spans": [ { "bbox": [ 106, 454, 505, 466 ], "score": 1.0, "content": "Currently, individual developers and small companies who want to integrate LLMs into their busi-", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 465, 505, 477 ], "spans": [ { "bbox": [ 105, 465, 505, 477 ], "score": 1.0, "content": "ness can only choose paid inference APIs. The increased cost can hinder their attempts. Instead,", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 475, 505, 488 ], "spans": [ { "bbox": [ 105, 475, 505, 488 ], "score": 1.0, "content": "GLM-130B can be deployed on popularized hardware that they own or can access via cloud service", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 487, 505, 499 ], "spans": [ { "bbox": [ 105, 487, 505, 499 ], "score": 1.0, "content": "to reduce the cost. Furthermore, they can utilize distillation techniques Sanh et al. (2019); Jiao et al.", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 497, 505, 510 ], "spans": [ { "bbox": [ 105, 497, 505, 510 ], "score": 1.0, "content": "(2020) to obtain smaller models that preserve comparable performance on their specific tasks. While", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 509, 505, 521 ], "spans": [ { "bbox": [ 105, 509, 505, 521 ], "score": 1.0, "content": "some developers may lack the ability to complete deployment and distillation on their own, we be-", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 519, 505, 532 ], "spans": [ { "bbox": [ 105, 519, 505, 532 ], "score": 1.0, "content": "lieve with GLM-130B and more open LLMs in the future, the corresponding toolkits and service", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 531, 262, 542 ], "spans": [ { "bbox": [ 105, 531, 262, 542 ], "score": 1.0, "content": "providers will become more available.", "type": "text" } ], "index": 33 } ], "index": 29.5 }, { "type": "text", "bbox": [ 108, 547, 505, 603 ], "lines": [ { "bbox": [ 106, 547, 505, 560 ], "spans": [ { "bbox": [ 106, 547, 505, 560 ], "score": 1.0, "content": "We also note that currently most applications of LLMs are based on prompt engineering, partly", "type": "text" } ], "index": 34 }, { "bbox": [ 106, 558, 505, 571 ], "spans": [ { "bbox": [ 106, 558, 505, 571 ], "score": 1.0, "content": "due to the limitation of inference APIs. In downstream scenarios such as online customer service,", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 568, 505, 583 ], "spans": [ { "bbox": [ 105, 568, 505, 583 ], "score": 1.0, "content": "the companies accumulate huge amounts of human-generated data that contain domain knowledge.", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 580, 505, 593 ], "spans": [ { "bbox": [ 106, 580, 505, 593 ], "score": 1.0, "content": "With the open-source weights and code, developers can finetune GLM-130B on their own data to", "type": "text" } ], "index": 37 }, { "bbox": [ 106, 591, 264, 605 ], "spans": [ { "bbox": [ 106, 591, 264, 605 ], "score": 1.0, "content": "mitigate the gap of domain knowledge.", "type": "text" } ], "index": 38 } ], "index": 36 }, { "type": "title", "bbox": [ 108, 617, 202, 628 ], "lines": [ { "bbox": [ 105, 615, 204, 630 ], "spans": [ { "bbox": [ 105, 615, 204, 630 ], "score": 1.0, "content": "G.3 SOCIAL IMPACT", "type": "text" } ], "index": 39 } ], "index": 39 }, { "type": "text", "bbox": [ 107, 638, 504, 704 ], "lines": [ { "bbox": [ 105, 636, 506, 651 ], "spans": [ { "bbox": [ 105, 636, 506, 651 ], "score": 1.0, "content": "Large language models, together with other machine learning models in different modalities (e.g.,", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 648, 506, 660 ], "spans": [ { "bbox": [ 105, 648, 506, 660 ], "score": 1.0, "content": "Image (Ramesh et al., 2021; Ding et al., 2021; Saharia et al.) and Video (Hong et al., 2022)), could", "type": "text" } ], "index": 41 }, { "bbox": [ 106, 660, 505, 672 ], "spans": [ { "bbox": [ 106, 660, 505, 672 ], "score": 1.0, "content": "be used to generate synthetic text for harmful applications, such as telemarketing fraud, political", "type": "text" } ], "index": 42 }, { "bbox": [ 105, 671, 505, 682 ], "spans": [ { "bbox": [ 105, 671, 505, 682 ], "score": 1.0, "content": "propaganda, and personal harassment as is discussed in (Weidinger et al., 2021; Sheng et al., 2021;", "type": "text" } ], "index": 43 }, { "bbox": [ 106, 681, 506, 694 ], "spans": [ { "bbox": [ 106, 681, 506, 694 ], "score": 1.0, "content": "Dev et al., 2021). We do not anticipate any hazardous outputs, especially towards vulnerable and", "type": "text" } ], "index": 44 }, { "bbox": [ 106, 692, 374, 705 ], "spans": [ { "bbox": [ 106, 692, 374, 705 ], "score": 1.0, "content": "historically disadvantaged groups of people, after using the model.", "type": "text" } ], "index": 45 } ], "index": 42.5 }, { "type": "text", "bbox": [ 107, 709, 503, 732 ], "lines": [ { "bbox": [ 106, 709, 505, 722 ], "spans": [ { "bbox": [ 106, 709, 505, 722 ], "score": 1.0, "content": "While some people think that restricting access to LLMs can prevent such harmful applications, we", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 720, 505, 734 ], "spans": [ { "bbox": [ 105, 720, 505, 734 ], "score": 1.0, "content": "argue that promoting LLM inclusivity can lead to better defense against potential harm caused by", "type": "text" } ], "index": 47 } ], "index": 46.5 } ], "page_idx": 54, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 751, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 763 ], "spans": [ { "bbox": [ 298, 750, 313, 763 ], "score": 1.0, "content": "55", "type": "text" } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 107, 82, 504, 127 ], "lines": [ { "bbox": [ 106, 83, 505, 95 ], "spans": [ { "bbox": [ 106, 83, 505, 95 ], "score": 1.0, "content": "faces negligible performance degradation compared to its uncompressed original, while it consumes", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 93, 506, 107 ], "spans": [ { "bbox": [ 105, 93, 127, 107 ], "score": 1.0, "content": "only", "type": "text" }, { "bbox": [ 127, 94, 147, 104 ], "score": 0.87, "content": "2 5 \\%", "type": "inline_equation" }, { "bbox": [ 147, 93, 506, 107 ], "score": 1.0, "content": "of the GPU memory required by the uncompressed version, thus supporting its effective", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 104, 506, 117 ], "spans": [ { "bbox": [ 105, 104, 158, 117 ], "score": 1.0, "content": "inference on", "type": "text" }, { "bbox": [ 159, 105, 225, 115 ], "score": 0.62, "content": "4 \\times \\mathrm { R T X } 3 0 9 0 1", "type": "inline_equation" }, { "bbox": [ 226, 104, 268, 117 ], "score": 1.0, "content": "i (24G) or", "type": "text" }, { "bbox": [ 268, 105, 341, 115 ], "score": 0.56, "content": "8 \\times \\mathrm { R T X } 2 0 8 0 \\mathrm { T i }", "type": "inline_equation" }, { "bbox": [ 342, 104, 506, 117 ], "score": 1.0, "content": "(11G). We will attempt to further reduce", "type": "text" } ], "index": 2 }, { "bbox": [ 106, 116, 474, 128 ], "spans": [ { "bbox": [ 106, 116, 474, 128 ], "score": 1.0, "content": "the resource requirements and keep the community updated on this important working item.", "type": "text" } ], "index": 3 } ], "index": 1.5, "bbox_fs": [ 105, 83, 506, 128 ] }, { "type": "title", "bbox": [ 108, 143, 221, 156 ], "lines": [ { "bbox": [ 106, 143, 223, 157 ], "spans": [ { "bbox": [ 106, 143, 223, 157 ], "score": 1.0, "content": "G BROADER IMPACT", "type": "text" } ], "index": 4 } ], "index": 4 }, { "type": "text", "bbox": [ 107, 168, 505, 257 ], "lines": [ { "bbox": [ 106, 168, 505, 181 ], "spans": [ { "bbox": [ 106, 168, 505, 181 ], "score": 1.0, "content": "This paper introduces an open bilingual pre-trained language model with 130 billion parameters.", "type": "text" } ], "index": 5 }, { "bbox": [ 105, 179, 505, 191 ], "spans": [ { "bbox": [ 105, 179, 505, 191 ], "score": 1.0, "content": "Currently most pre-trained language models with over 100 billion parameters are privately owned", "type": "text" } ], "index": 6 }, { "bbox": [ 106, 191, 505, 203 ], "spans": [ { "bbox": [ 106, 191, 505, 203 ], "score": 1.0, "content": "by governments and large corporations (Brown et al., 2020; Thoppilan et al., 2022; Rae et al., 2021;", "type": "text" } ], "index": 7 }, { "bbox": [ 106, 201, 505, 213 ], "spans": [ { "bbox": [ 106, 201, 505, 213 ], "score": 1.0, "content": "Chowdhery et al., 2022; Wang et al., 2021). A few of them (Brown et al., 2020; Lieber et al., 2021)", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 212, 505, 225 ], "spans": [ { "bbox": [ 105, 212, 505, 225 ], "score": 1.0, "content": "provide limited inference APIs with fees. In contrast, the weights and code of GLM-130B are open", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 223, 505, 236 ], "spans": [ { "bbox": [ 106, 223, 505, 236 ], "score": 1.0, "content": "to anyone who is interested in LLMs. Moreover, we significantly lower the hardware requirements", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 234, 505, 248 ], "spans": [ { "bbox": [ 105, 234, 505, 248 ], "score": 1.0, "content": "for inference by speed-up implementation and INT4 quantization. The paper can have a broader", "type": "text" } ], "index": 11 }, { "bbox": [ 106, 245, 474, 258 ], "spans": [ { "bbox": [ 106, 245, 474, 258 ], "score": 1.0, "content": "impact on the research community, individual developers and small companies, and society.", "type": "text" } ], "index": 12 } ], "index": 8.5, "bbox_fs": [ 105, 168, 505, 258 ] }, { "type": "title", "bbox": [ 108, 271, 245, 282 ], "lines": [ { "bbox": [ 106, 270, 246, 283 ], "spans": [ { "bbox": [ 106, 270, 246, 283 ], "score": 1.0, "content": "G.1 IMPACT ON AI RESEARCH", "type": "text" } ], "index": 13 } ], "index": 13 }, { "type": "text", "bbox": [ 107, 292, 505, 380 ], "lines": [ { "bbox": [ 105, 292, 504, 304 ], "spans": [ { "bbox": [ 105, 292, 504, 304 ], "score": 1.0, "content": "Most research institutions cannot afford the substantial cost of pretraining large language models.", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 303, 505, 315 ], "spans": [ { "bbox": [ 106, 303, 505, 315 ], "score": 1.0, "content": "As a result, most researchers, except employees of governments and large corporations, only have", "type": "text" } ], "index": 15 }, { "bbox": [ 105, 314, 505, 326 ], "spans": [ { "bbox": [ 105, 314, 505, 326 ], "score": 1.0, "content": "access to the limited inference APIs with fees. With the inference APIs, researchers can only analyze", "type": "text" } ], "index": 16 }, { "bbox": [ 106, 325, 505, 336 ], "spans": [ { "bbox": [ 106, 325, 505, 336 ], "score": 1.0, "content": "the outputs of models as black boxes, which limits the scope of potential work. With GLM-130B,", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 335, 505, 349 ], "spans": [ { "bbox": [ 105, 335, 505, 349 ], "score": 1.0, "content": "researchers can analyze the model parameters and internal states corresponding to specific inputs,", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 347, 505, 358 ], "spans": [ { "bbox": [ 105, 347, 505, 358 ], "score": 1.0, "content": "leading to in-depth studies of LLMs’ theory, capacity, and flaws. Researchers can also modify the", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 358, 505, 369 ], "spans": [ { "bbox": [ 105, 358, 505, 369 ], "score": 1.0, "content": "model architecture and weights, to validate the proposed algorithms to improve LLMs Zhu et al.", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 369, 375, 380 ], "spans": [ { "bbox": [ 106, 369, 375, 380 ], "score": 1.0, "content": "(2020); Cao et al. (2021); Hase et al. (2021); Mitchell et al. (2022).", "type": "text" } ], "index": 21 } ], "index": 17.5, "bbox_fs": [ 105, 292, 505, 380 ] }, { "type": "text", "bbox": [ 108, 385, 505, 419 ], "lines": [ { "bbox": [ 106, 385, 504, 398 ], "spans": [ { "bbox": [ 106, 385, 465, 398 ], "score": 1.0, "content": "With INT4 quantization, GLM-130B can perform inference on popularized GPUs such as", "type": "text" }, { "bbox": [ 465, 385, 504, 396 ], "score": 0.86, "content": "4 \\times \\mathrm { R T X }", "type": "inline_equation" } ], "index": 22 }, { "bbox": [ 106, 396, 505, 408 ], "spans": [ { "bbox": [ 106, 396, 139, 408 ], "score": 1.0, "content": "3090 or", "type": "text" }, { "bbox": [ 140, 397, 210, 407 ], "score": 0.33, "content": "8 \\times \\mathrm { R T X } 2 0 8 0 \\mathrm { T i }", "type": "inline_equation" }, { "bbox": [ 210, 396, 505, 408 ], "score": 1.0, "content": ", which can be easily accessed from cloud service. As a result, researchers", "type": "text" } ], "index": 23 }, { "bbox": [ 106, 408, 502, 420 ], "spans": [ { "bbox": [ 106, 408, 502, 420 ], "score": 1.0, "content": "who cannot afford powerful data-center GPU servers like DGX-A100 can also utilize GLM-130B.", "type": "text" } ], "index": 24 } ], "index": 23, "bbox_fs": [ 106, 385, 505, 420 ] }, { "type": "title", "bbox": [ 108, 433, 404, 444 ], "lines": [ { "bbox": [ 106, 432, 405, 446 ], "spans": [ { "bbox": [ 106, 432, 405, 446 ], "score": 1.0, "content": "G.2 IMPACT ON INDIVIDUAL DEVELOPERS AND SMALL COMPANIES", "type": "text" } ], "index": 25 } ], "index": 25 }, { "type": "text", "bbox": [ 107, 453, 505, 542 ], "lines": [ { "bbox": [ 106, 454, 505, 466 ], "spans": [ { "bbox": [ 106, 454, 505, 466 ], "score": 1.0, "content": "Currently, individual developers and small companies who want to integrate LLMs into their busi-", "type": "text" } ], "index": 26 }, { "bbox": [ 105, 465, 505, 477 ], "spans": [ { "bbox": [ 105, 465, 505, 477 ], "score": 1.0, "content": "ness can only choose paid inference APIs. The increased cost can hinder their attempts. Instead,", "type": "text" } ], "index": 27 }, { "bbox": [ 105, 475, 505, 488 ], "spans": [ { "bbox": [ 105, 475, 505, 488 ], "score": 1.0, "content": "GLM-130B can be deployed on popularized hardware that they own or can access via cloud service", "type": "text" } ], "index": 28 }, { "bbox": [ 105, 487, 505, 499 ], "spans": [ { "bbox": [ 105, 487, 505, 499 ], "score": 1.0, "content": "to reduce the cost. Furthermore, they can utilize distillation techniques Sanh et al. (2019); Jiao et al.", "type": "text" } ], "index": 29 }, { "bbox": [ 105, 497, 505, 510 ], "spans": [ { "bbox": [ 105, 497, 505, 510 ], "score": 1.0, "content": "(2020) to obtain smaller models that preserve comparable performance on their specific tasks. While", "type": "text" } ], "index": 30 }, { "bbox": [ 105, 509, 505, 521 ], "spans": [ { "bbox": [ 105, 509, 505, 521 ], "score": 1.0, "content": "some developers may lack the ability to complete deployment and distillation on their own, we be-", "type": "text" } ], "index": 31 }, { "bbox": [ 105, 519, 505, 532 ], "spans": [ { "bbox": [ 105, 519, 505, 532 ], "score": 1.0, "content": "lieve with GLM-130B and more open LLMs in the future, the corresponding toolkits and service", "type": "text" } ], "index": 32 }, { "bbox": [ 105, 531, 262, 542 ], "spans": [ { "bbox": [ 105, 531, 262, 542 ], "score": 1.0, "content": "providers will become more available.", "type": "text" } ], "index": 33 } ], "index": 29.5, "bbox_fs": [ 105, 454, 505, 542 ] }, { "type": "text", "bbox": [ 108, 547, 505, 603 ], "lines": [ { "bbox": [ 106, 547, 505, 560 ], "spans": [ { "bbox": [ 106, 547, 505, 560 ], "score": 1.0, "content": "We also note that currently most applications of LLMs are based on prompt engineering, partly", "type": "text" } ], "index": 34 }, { "bbox": [ 106, 558, 505, 571 ], "spans": [ { "bbox": [ 106, 558, 505, 571 ], "score": 1.0, "content": "due to the limitation of inference APIs. In downstream scenarios such as online customer service,", "type": "text" } ], "index": 35 }, { "bbox": [ 105, 568, 505, 583 ], "spans": [ { "bbox": [ 105, 568, 505, 583 ], "score": 1.0, "content": "the companies accumulate huge amounts of human-generated data that contain domain knowledge.", "type": "text" } ], "index": 36 }, { "bbox": [ 106, 580, 505, 593 ], "spans": [ { "bbox": [ 106, 580, 505, 593 ], "score": 1.0, "content": "With the open-source weights and code, developers can finetune GLM-130B on their own data to", "type": "text" } ], "index": 37 }, { "bbox": [ 106, 591, 264, 605 ], "spans": [ { "bbox": [ 106, 591, 264, 605 ], "score": 1.0, "content": "mitigate the gap of domain knowledge.", "type": "text" } ], "index": 38 } ], "index": 36, "bbox_fs": [ 105, 547, 505, 605 ] }, { "type": "title", "bbox": [ 108, 617, 202, 628 ], "lines": [ { "bbox": [ 105, 615, 204, 630 ], "spans": [ { "bbox": [ 105, 615, 204, 630 ], "score": 1.0, "content": "G.3 SOCIAL IMPACT", "type": "text" } ], "index": 39 } ], "index": 39 }, { "type": "text", "bbox": [ 107, 638, 504, 704 ], "lines": [ { "bbox": [ 105, 636, 506, 651 ], "spans": [ { "bbox": [ 105, 636, 506, 651 ], "score": 1.0, "content": "Large language models, together with other machine learning models in different modalities (e.g.,", "type": "text" } ], "index": 40 }, { "bbox": [ 105, 648, 506, 660 ], "spans": [ { "bbox": [ 105, 648, 506, 660 ], "score": 1.0, "content": "Image (Ramesh et al., 2021; Ding et al., 2021; Saharia et al.) and Video (Hong et al., 2022)), could", "type": "text" } ], "index": 41 }, { "bbox": [ 106, 660, 505, 672 ], "spans": [ { "bbox": [ 106, 660, 505, 672 ], "score": 1.0, "content": "be used to generate synthetic text for harmful applications, such as telemarketing fraud, political", "type": "text" } ], "index": 42 }, { "bbox": [ 105, 671, 505, 682 ], "spans": [ { "bbox": [ 105, 671, 505, 682 ], "score": 1.0, "content": "propaganda, and personal harassment as is discussed in (Weidinger et al., 2021; Sheng et al., 2021;", "type": "text" } ], "index": 43 }, { "bbox": [ 106, 681, 506, 694 ], "spans": [ { "bbox": [ 106, 681, 506, 694 ], "score": 1.0, "content": "Dev et al., 2021). We do not anticipate any hazardous outputs, especially towards vulnerable and", "type": "text" } ], "index": 44 }, { "bbox": [ 106, 692, 374, 705 ], "spans": [ { "bbox": [ 106, 692, 374, 705 ], "score": 1.0, "content": "historically disadvantaged groups of people, after using the model.", "type": "text" } ], "index": 45 } ], "index": 42.5, "bbox_fs": [ 105, 636, 506, 705 ] }, { "type": "text", "bbox": [ 107, 709, 503, 732 ], "lines": [ { "bbox": [ 106, 709, 505, 722 ], "spans": [ { "bbox": [ 106, 709, 505, 722 ], "score": 1.0, "content": "While some people think that restricting access to LLMs can prevent such harmful applications, we", "type": "text" } ], "index": 46 }, { "bbox": [ 105, 720, 505, 734 ], "spans": [ { "bbox": [ 105, 720, 505, 734 ], "score": 1.0, "content": "argue that promoting LLM inclusivity can lead to better defense against potential harm caused by", "type": "text" } ], "index": 47 } ], "index": 46.5, "bbox_fs": [ 105, 709, 505, 734 ] } ] }, { "preproc_blocks": [ { "type": "text", "bbox": [ 106, 82, 505, 159 ], "lines": [ { "bbox": [ 105, 81, 506, 95 ], "spans": [ { "bbox": [ 105, 81, 506, 95 ], "score": 1.0, "content": "LLMs. Currently, only governments and large corporations can afford the considerable costs of pre-", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 93, 505, 106 ], "spans": [ { "bbox": [ 105, 93, 505, 106 ], "score": 1.0, "content": "training LLMs. There is no guarantee that organizations having the substantial financial resources", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 105, 505, 117 ], "spans": [ { "bbox": [ 105, 105, 505, 117 ], "score": 1.0, "content": "to pretrain an LLM will not do harm with it. Without access to such LLMs, individuals cannot", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 115, 505, 128 ], "spans": [ { "bbox": [ 105, 115, 505, 128 ], "score": 1.0, "content": "even realize the role of LLMs in harm. Conversely, releasing an open LLM can provide access and", "type": "text" } ], "index": 3 }, { "bbox": [ 106, 127, 505, 138 ], "spans": [ { "bbox": [ 106, 127, 505, 138 ], "score": 1.0, "content": "transparency to all the researchers and promote the research to reduce the potential harm of LLMs,", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 137, 505, 150 ], "spans": [ { "bbox": [ 105, 137, 505, 150 ], "score": 1.0, "content": "like algorithms to identify the synthetic text Gehrmann et al. (2019) or detect fake news Li et al.", "type": "text" } ], "index": 5 }, { "bbox": [ 106, 148, 138, 160 ], "spans": [ { "bbox": [ 106, 148, 138, 160 ], "score": 1.0, "content": "(2021).", "type": "text" } ], "index": 6 } ], "index": 3 }, { "type": "text", "bbox": [ 107, 165, 504, 221 ], "lines": [ { "bbox": [ 106, 165, 505, 177 ], "spans": [ { "bbox": [ 106, 165, 505, 177 ], "score": 1.0, "content": "Also, it is known that LLMs can suffer from problems in fairness, bias, privacy, and truthful-", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 175, 505, 189 ], "spans": [ { "bbox": [ 105, 175, 505, 189 ], "score": 1.0, "content": "ness Zhang et al. (2021); Lin et al. (2022); Liang et al. (2021); Bender et al. (2021). An open", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 187, 505, 199 ], "spans": [ { "bbox": [ 105, 187, 505, 199 ], "score": 1.0, "content": "LLM can reveal the model parameters and internal states corresponding to specific inputs instead", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 198, 504, 210 ], "spans": [ { "bbox": [ 106, 198, 504, 210 ], "score": 1.0, "content": "of providing APIs to black-box models. In conclusion, researchers can conduct analysis of LLMs’", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 208, 392, 222 ], "spans": [ { "bbox": [ 105, 208, 392, 222 ], "score": 1.0, "content": "flaws in depth and propose improved algorithms to solve the problems.", "type": "text" } ], "index": 11 } ], "index": 9 }, { "type": "title", "bbox": [ 108, 236, 261, 249 ], "lines": [ { "bbox": [ 106, 237, 263, 250 ], "spans": [ { "bbox": [ 106, 237, 263, 250 ], "score": 1.0, "content": "H ENVIRONMENTAL IMPACT", "type": "text" } ], "index": 12 } ], "index": 12 }, { "type": "text", "bbox": [ 107, 261, 505, 360 ], "lines": [ { "bbox": [ 106, 261, 505, 273 ], "spans": [ { "bbox": [ 106, 261, 505, 273 ], "score": 1.0, "content": "One of the major concerns about large language models is their huge energy usage and associated", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 271, 504, 283 ], "spans": [ { "bbox": [ 106, 271, 504, 283 ], "score": 1.0, "content": "carbon emissions Strubell et al. (2019); Lacoste et al. (2019); Patterson et al. (2021); Bender et al.", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 283, 504, 295 ], "spans": [ { "bbox": [ 106, 283, 504, 295 ], "score": 1.0, "content": "(2021). GPT-3 was estimated to use 500 tons of carbon emissions footprint (CO2eq) Patterson et al.", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 293, 505, 306 ], "spans": [ { "bbox": [ 106, 293, 505, 306 ], "score": 1.0, "content": "(2021). We consumed a total of 442.4MWh of electricity over the 60-day course of training. Given", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 304, 505, 317 ], "spans": [ { "bbox": [ 105, 304, 121, 317 ], "score": 1.0, "content": "the", "type": "text" }, { "bbox": [ 122, 305, 186, 316 ], "score": 0.77, "content": "0 . 5 8 1 0 \\mathrm { ~ k g / k W h }", "type": "inline_equation" }, { "bbox": [ 186, 304, 505, 317 ], "score": 1.0, "content": "carbon efficiency of local power grid, the pre-training released 257.01 metric", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 315, 505, 328 ], "spans": [ { "bbox": [ 105, 315, 136, 328 ], "score": 1.0, "content": "tons of", "type": "text" }, { "bbox": [ 137, 316, 156, 327 ], "score": 0.88, "content": "\\mathrm { C O _ { 2 } }", "type": "inline_equation" }, { "bbox": [ 156, 315, 505, 328 ], "score": 1.0, "content": ". This is around half of GPT-3’s carbon footprint, probably due to the efficient parallel", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 325, 506, 339 ], "spans": [ { "bbox": [ 105, 325, 506, 339 ], "score": 1.0, "content": "strategies and NVIDIA’s hardware improvements. The carbon emission is roughly the equivalent of", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 337, 505, 350 ], "spans": [ { "bbox": [ 105, 337, 505, 350 ], "score": 1.0, "content": "the yearly emissions of 18 average Americans. However, we believe that with GLM-130B released,", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 349, 396, 361 ], "spans": [ { "bbox": [ 106, 349, 396, 361 ], "score": 1.0, "content": "more carbon emissions for reproducing 100B-scale LLMs can be saved.", "type": "text" } ], "index": 21 } ], "index": 17 } ], "page_idx": 55, "page_size": [ 612, 792 ], "discarded_blocks": [ { "type": "discarded", "bbox": [ 108, 27, 293, 37 ], "lines": [ { "bbox": [ 106, 26, 293, 38 ], "spans": [ { "bbox": [ 106, 26, 293, 38 ], "score": 1.0, "content": "Published as a conference paper at ICLR 2023", "type": "text" } ] } ] }, { "type": "discarded", "bbox": [ 300, 752, 311, 760 ], "lines": [ { "bbox": [ 298, 750, 313, 763 ], "spans": [ { "bbox": [ 298, 750, 313, 763 ], "score": 1.0, "content": "", "type": "text", "height": 13, "width": 15 } ] } ] } ], "para_blocks": [ { "type": "text", "bbox": [ 106, 82, 505, 159 ], "lines": [ { "bbox": [ 105, 81, 506, 95 ], "spans": [ { "bbox": [ 105, 81, 506, 95 ], "score": 1.0, "content": "LLMs. Currently, only governments and large corporations can afford the considerable costs of pre-", "type": "text" } ], "index": 0 }, { "bbox": [ 105, 93, 505, 106 ], "spans": [ { "bbox": [ 105, 93, 505, 106 ], "score": 1.0, "content": "training LLMs. There is no guarantee that organizations having the substantial financial resources", "type": "text" } ], "index": 1 }, { "bbox": [ 105, 105, 505, 117 ], "spans": [ { "bbox": [ 105, 105, 505, 117 ], "score": 1.0, "content": "to pretrain an LLM will not do harm with it. Without access to such LLMs, individuals cannot", "type": "text" } ], "index": 2 }, { "bbox": [ 105, 115, 505, 128 ], "spans": [ { "bbox": [ 105, 115, 505, 128 ], "score": 1.0, "content": "even realize the role of LLMs in harm. Conversely, releasing an open LLM can provide access and", "type": "text" } ], "index": 3 }, { "bbox": [ 106, 127, 505, 138 ], "spans": [ { "bbox": [ 106, 127, 505, 138 ], "score": 1.0, "content": "transparency to all the researchers and promote the research to reduce the potential harm of LLMs,", "type": "text" } ], "index": 4 }, { "bbox": [ 105, 137, 505, 150 ], "spans": [ { "bbox": [ 105, 137, 505, 150 ], "score": 1.0, "content": "like algorithms to identify the synthetic text Gehrmann et al. (2019) or detect fake news Li et al.", "type": "text" } ], "index": 5 }, { "bbox": [ 106, 148, 138, 160 ], "spans": [ { "bbox": [ 106, 148, 138, 160 ], "score": 1.0, "content": "(2021).", "type": "text" } ], "index": 6 } ], "index": 3, "bbox_fs": [ 105, 81, 506, 160 ] }, { "type": "text", "bbox": [ 107, 165, 504, 221 ], "lines": [ { "bbox": [ 106, 165, 505, 177 ], "spans": [ { "bbox": [ 106, 165, 505, 177 ], "score": 1.0, "content": "Also, it is known that LLMs can suffer from problems in fairness, bias, privacy, and truthful-", "type": "text" } ], "index": 7 }, { "bbox": [ 105, 175, 505, 189 ], "spans": [ { "bbox": [ 105, 175, 505, 189 ], "score": 1.0, "content": "ness Zhang et al. (2021); Lin et al. (2022); Liang et al. (2021); Bender et al. (2021). An open", "type": "text" } ], "index": 8 }, { "bbox": [ 105, 187, 505, 199 ], "spans": [ { "bbox": [ 105, 187, 505, 199 ], "score": 1.0, "content": "LLM can reveal the model parameters and internal states corresponding to specific inputs instead", "type": "text" } ], "index": 9 }, { "bbox": [ 106, 198, 504, 210 ], "spans": [ { "bbox": [ 106, 198, 504, 210 ], "score": 1.0, "content": "of providing APIs to black-box models. In conclusion, researchers can conduct analysis of LLMs’", "type": "text" } ], "index": 10 }, { "bbox": [ 105, 208, 392, 222 ], "spans": [ { "bbox": [ 105, 208, 392, 222 ], "score": 1.0, "content": "flaws in depth and propose improved algorithms to solve the problems.", "type": "text" } ], "index": 11 } ], "index": 9, "bbox_fs": [ 105, 165, 505, 222 ] }, { "type": "title", "bbox": [ 108, 236, 261, 249 ], "lines": [ { "bbox": [ 106, 237, 263, 250 ], "spans": [ { "bbox": [ 106, 237, 263, 250 ], "score": 1.0, "content": "H ENVIRONMENTAL IMPACT", "type": "text" } ], "index": 12 } ], "index": 12 }, { "type": "text", "bbox": [ 107, 261, 505, 360 ], "lines": [ { "bbox": [ 106, 261, 505, 273 ], "spans": [ { "bbox": [ 106, 261, 505, 273 ], "score": 1.0, "content": "One of the major concerns about large language models is their huge energy usage and associated", "type": "text" } ], "index": 13 }, { "bbox": [ 106, 271, 504, 283 ], "spans": [ { "bbox": [ 106, 271, 504, 283 ], "score": 1.0, "content": "carbon emissions Strubell et al. (2019); Lacoste et al. (2019); Patterson et al. (2021); Bender et al.", "type": "text" } ], "index": 14 }, { "bbox": [ 106, 283, 504, 295 ], "spans": [ { "bbox": [ 106, 283, 504, 295 ], "score": 1.0, "content": "(2021). GPT-3 was estimated to use 500 tons of carbon emissions footprint (CO2eq) Patterson et al.", "type": "text" } ], "index": 15 }, { "bbox": [ 106, 293, 505, 306 ], "spans": [ { "bbox": [ 106, 293, 505, 306 ], "score": 1.0, "content": "(2021). We consumed a total of 442.4MWh of electricity over the 60-day course of training. Given", "type": "text" } ], "index": 16 }, { "bbox": [ 105, 304, 505, 317 ], "spans": [ { "bbox": [ 105, 304, 121, 317 ], "score": 1.0, "content": "the", "type": "text" }, { "bbox": [ 122, 305, 186, 316 ], "score": 0.77, "content": "0 . 5 8 1 0 \\mathrm { ~ k g / k W h }", "type": "inline_equation" }, { "bbox": [ 186, 304, 505, 317 ], "score": 1.0, "content": "carbon efficiency of local power grid, the pre-training released 257.01 metric", "type": "text" } ], "index": 17 }, { "bbox": [ 105, 315, 505, 328 ], "spans": [ { "bbox": [ 105, 315, 136, 328 ], "score": 1.0, "content": "tons of", "type": "text" }, { "bbox": [ 137, 316, 156, 327 ], "score": 0.88, "content": "\\mathrm { C O _ { 2 } }", "type": "inline_equation" }, { "bbox": [ 156, 315, 505, 328 ], "score": 1.0, "content": ". This is around half of GPT-3’s carbon footprint, probably due to the efficient parallel", "type": "text" } ], "index": 18 }, { "bbox": [ 105, 325, 506, 339 ], "spans": [ { "bbox": [ 105, 325, 506, 339 ], "score": 1.0, "content": "strategies and NVIDIA’s hardware improvements. The carbon emission is roughly the equivalent of", "type": "text" } ], "index": 19 }, { "bbox": [ 105, 337, 505, 350 ], "spans": [ { "bbox": [ 105, 337, 505, 350 ], "score": 1.0, "content": "the yearly emissions of 18 average Americans. However, we believe that with GLM-130B released,", "type": "text" } ], "index": 20 }, { "bbox": [ 106, 349, 396, 361 ], "spans": [ { "bbox": [ 106, 349, 396, 361 ], "score": 1.0, "content": "more carbon emissions for reproducing 100B-scale LLMs can be saved.", "type": "text" } ], "index": 21 } ], "index": 17, "bbox_fs": [ 105, 261, 506, 361 ] } ] } ], "_backend": "pipeline", "_version_name": "2.2.2" }