|
Download README.md from HYUKI5/osunlp__TableInstruct: direct link, hf CLI and curl.
- Browser
- Download file 9.39 kB
-
https://huggingface.co/datasets/HYUKI5/osunlp__TableInstruct/resolve/main/README.md
- Command line
-
hf download hf://datasets/HYUKI5/osunlp__TableInstruct/README.md
-
curl -L -o README.md https://huggingface.co/datasets/HYUKI5/osunlp__TableInstruct/resolve/main/README.md
9.39 kB
| license: cc-by-4.0 | |
| pretty_name: osunlp/TableInstruct (mirror) | |
| source_datasets: | |
| - osunlp/TableInstruct | |
| tags: | |
| - laya | |
| - laya-finetune | |
| - mirror | |
| - domain-general | |
| - use-conditional | |
| - genre-instruction | |
| - label-text | |
| - annot-unknown | |
| - lang-en | |
| language: | |
| - en | |
| size_categories: | |
| - 1M<n<10M | |
| # osunlp/TableInstruct(複製) | |
| ## データの内容 | |
| 実世界の表と現実的なタスクを集めた、表のための指示チューニング用データセット。11 のタスクにわたる 14 のデータセットを含み、表向けの大規模言語モデル TableLlama の学習に使われた。カードは学習時のプロンプトの形式(`Instruction`、`Input`、`Question`、`Response`)を示している。元の TURL の公式配布は失効しており、このデータセットが再配布の場になっている(調査メモによる)。 | |
| ## データの概要 | |
| | 項目 | 値 | | |
| |---|---| | |
| | 行数・列数 | 不明(データセットビューアで読めない形式。ファイルの内訳だけを示す) | | |
| | 容量 | 37.95 GB(ファイル 29 本) | | |
| | ファイルの形式 | json 27 | | |
| | 言語 | en | | |
| | 公開 | public | | |
| 全データセットの一覧は [HYUKI5/dataset-catalog](https://huggingface.co/datasets/HYUKI5/dataset-catalog) にある。 | |
| ## 複製について | |
| [`osunlp/TableInstruct`](https://huggingface.co/datasets/osunlp/TableInstruct) をリビジョン `38d5e607ed8f0784721ab271561560405f3dd7af` の時点でそのまま複製したもの。中身は変えていない。判断モデル Laya(`convaiinnovations/laya`)の微調整に使う候補として、調査メモ(`Laya 学習用データセット調査`)に載せたデータを集めている。 | |
| ## 出典 | |
| - 元のデータセット: https://huggingface.co/datasets/osunlp/TableInstruct | |
| - 複製したリビジョン: `38d5e607ed8f0784721ab271561560405f3dd7af`(2024-03-22 03:19:37+00:00) | |
| - 元のライセンス表記: `cc-by-4.0` | |
| ## 論文 | |
| - https://arxiv.org/abs/2311.09206 | |
| ## アノテーションの方法 | |
| 元のカードにアノテーションの節が無かった。下の「調査メモの記述」と「元のカード」を参照。 | |
| ## 微調整に使うときの注意 | |
| - 調査メモの台帳での区分: B(継承条件・gated・モデル由来の条件・上流の規約などが付く)。区分は記載の文言で機械的に付けたもので、法的な判定ではない。学習に入れる前に元のカードとライセンスの原文で確かめる。 | |
| - Laya の入力は 2,048 token まで(ModernBERT-large / mmBERT)。長い本文は先頭から黙って切られるので、切れる行は事前に除くか、要約・切り出しをしてから入れる。 | |
| - 分割は記事・文書単位で行い、同じ本文から作った別の問いを学習側と較正側に分けない。温度と閾値は学習に使っていない分割で別々に当てる。 | |
| ## 調査メモの記述 | |
| | メモ | 節 | ライセンス(記載) | 確認 | 注記 | | |
| |---|---|---|---|---| | |
| | `ontology_tables_schema_kg.md` | Q1. 表の列・セル・列間関係に、意味型やエンティティのラベルが付いたデータは何があるか (L29) | TURL リポジトリ: Apache-2.0。TableInstruct: cc-by-4.0(元表は Wikipedia で CC BY-SA の可能性があり | 確認済 | 複数/混在 / 原文注記: 公式の TURL 配布(OSU SharePoint)は失効(README に「新方針で卒業生のデータが失われた」と記載)。再配布は TableInstruct のみ。入力が長く、そのままでは 2,048 に入らない。W | | |
| ## 元のカード(日本語訳) | |
| 以下は元のデータセットのカードの本文を日本語に訳したもの(機械翻訳)。訳に疑問があるときは、末尾の原文を確かめる。 | |
| --- | |
| --- | |
| # TableLlama: Towards Open Large Generalist Models for Tables | |
| プロジェクトページ: [https://osu-nlp-group.github.io/TableLlama/](https://osu-nlp-group.github.io/TableLlama/) | |
| 論文: [https://arxiv.org/abs/2311.09206](https://arxiv.org/abs/2311.09206) | |
| モデル: [https://huggingface.co/osunlp/TableLlama/](https://huggingface.co/osunlp/TableLlama/) | |
| コード: [https://osu-nlp-group.github.io/TableLlama/](https://osu-nlp-group.github.io/TableLlama/) | |
| ## はじめに | |
| TableLlama は、表を扱うさまざまなタスクに特化した、オープンソースの大規模汎用モデルである。TableLlama は、表向けに丁寧に整備された指示チューニング用のデータセットである TableInstruct Dataset で学習している。TableLlama は 260 万件の表ベースのタスクのデータで調整されており、最大 8K のコンテキストを扱える。 | |
| ## モデル | |
| 🤗 [TableLlama-7B](https://huggingface.co/osunlp/TableLlama/) | |
| ## データ | |
| モデルは 🤗 [TableInstruct Dataset](https://huggingface.co/datasets/osunlp/TableInstruct) で学習している。このデータセットは、実世界のさまざまな表と現実的なタスクを網羅する、表ベースの指示チューニングの包括的なデータセットである。全部で 11 のタスクの 14 のデータセットを含む。詳細はデータセットのカードを参照されたい。 | |
| ## 学習の手順 | |
| モデルは、TableInstruct データセットを使い、LongLoRA(7B)で微調整している。ベースモデルには、完全微調整版(fully fine-tuning version)を用いた。LongLoRA は、元の Llama-2(7B)の通常の注意機構を shift short attention に置き換える。学習には 48*A100 のクラスタで 9 日かかった。詳細は論文を参照されたい。 | |
| ## 評価 | |
| モデルは、8 タスクの 8 つのドメイン内データセットと、4 タスクの 6 つのドメイン外データセットで評価している。 | |
| ## 使い方 | |
| モデルは Huggingface の Transformers ライブラリを通じて使える。 | |
| より高度な使い方は、GitHub のリポジトリを参照されたい: [https://osu-nlp-group.github.io/TableLlama/](https://osu-nlp-group.github.io/TableLlama/) | |
| ## プロンプトの形式 | |
| ``` | |
| Below is an instruction that describes a task, paired with an input that provides further context. Write a response that | |
| appropriately completes the request. | |
| ### Instruction: | |
| {instruction} | |
| ### Input: | |
| {input} | |
| ### Question: | |
| {question} | |
| ### Response: | |
| ``` | |
| ## 引用 | |
| 本プロジェクトのモデル、データ、コードを使う場合は、元の論文を引用すること: | |
| ``` | |
| @misc{zhang2023tablellama, | |
| title={TableLlama: Towards Open Large Generalist Models for Tables}, | |
| author={Tianshu Zhang and Xiang Yue and Yifei Li and Huan Sun}, | |
| year={2023}, | |
| eprint={2311.09206}, | |
| archivePrefix={arXiv}, | |
| primaryClass={cs.CL} | |
| } | |
| ``` | |
| <details> | |
| <summary>原文(英語)</summary> | |
| --- | |
| # TableLlama: Towards Open Large Generalist Models for Tables | |
| Project Page: [https://osu-nlp-group.github.io/TableLlama/](https://osu-nlp-group.github.io/TableLlama/) | |
| Paper: [https://arxiv.org/abs/2311.09206](https://arxiv.org/abs/2311.09206) | |
| Model: [https://huggingface.co/osunlp/TableLlama/](https://huggingface.co/osunlp/TableLlama/) | |
| Code: [https://osu-nlp-group.github.io/TableLlama/](https://osu-nlp-group.github.io/TableLlama/) | |
| ## Introduction | |
| We introduce TableLlama, an open-source large generalist model specifically tailored for various table-based tasks. The TableLlama model is trained on TableInstruct Dataset, a meticulously curated instruction tuning dataset for tables. TableLlama is tuned on 2.6 million table-based task data, and can handle up to 8K context! | |
| ## Model | |
| 🤗 [TableLlama-7B](https://huggingface.co/osunlp/TableLlama/) | |
| ## Data | |
| The models are trained on the 🤗 [TableInstruct Dataset](https://huggingface.co/datasets/osunlp/TableInstruct), which includes a comprehensive table-based instruction tuning dataset that covers a variety of real-world tables and realistic tasks. We include 14 datasets of 11 tasks in total. Check out the dataset card for more details. | |
| ## Training Procedure | |
| The models are fine-tuned with the TableInstruct dataset using LongLoRA (7B), fully fine-tuning version as the base model, which replaces the vanilla attention mechanism of the original Llama-2 (7B) with shift short attention. The training takes 9 days on a 48*A100 cluster. Check out our paper for more details. | |
| ## Evaluation | |
| The models are evaluated on 8 in-domain datasets of 8 tasks and 6 out-of-domain datasets of 4 tasks. | |
| ## Usage | |
| You can use the models through Huggingface's Transformers library. | |
| Check our Github repo for more advanced use: [https://osu-nlp-group.github.io/TableLlama/](https://osu-nlp-group.github.io/TableLlama/) | |
| ## Prompt Format | |
| ``` | |
| Below is an instruction that describes a task, paired with an input that provides further context. Write a response that | |
| appropriately completes the request. | |
| ### Instruction: | |
| {instruction} | |
| ### Input: | |
| {input} | |
| ### Question: | |
| {question} | |
| ### Response: | |
| ``` | |
| ## Citation | |
| If you use the models, data, or code from this project, please cite the original paper: | |
| ``` | |
| @misc{zhang2023tablellama, | |
| title={TableLlama: Towards Open Large Generalist Models for Tables}, | |
| author={Tianshu Zhang and Xiang Yue and Yifei Li and Huan Sun}, | |
| year={2023}, | |
| eprint={2311.09206}, | |
| archivePrefix={arXiv}, | |
| primaryClass={cs.CL} | |
| } | |
| ``` | |
| </details> | |