💡 The Warmstarting model tutorial needs to be updated

オープン
#3,579 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

docs.pytorch.org/tutorials/recipes/recipes/warmstarting_model_using_parameters_from_a_different_model.html にリンクされている warm starting チュートリアルを確認し、その後、参照されている論文と train_iniheritune.py の例を読んでください。maintainers とともに、動機となる例とそれを支えるコードを定義します。完了条件は、チュートリアルに合意した例とコードが含まれ、既存の内容との一貫性が保たれていることです。

索引モデルが issue の本文から書いたものです。

説明

🚀 Describe the improvement or the new tutorial

Hello PyTorch Team,

cc @svekars

I recently came across the PyTorch warm starting tutorial
. While informative, I noticed it currently lacks a motivating example and some supporting code.

In my recent research, I explored warm starting by reusing a few layers from an LLM and retraining a smaller model. Surprisingly, in our case, the smaller warm-started model actually outperforms its larger counterpart whose weights it inherits. For example, see Figure 1 in our experiments with GPT-2 XL (1.5B).

Code: train_iniheritune.py

Paper: https://arxiv.org/abs/2404.08634

Please let me know if you’d be open to working on this jointly. I believe it could provide real value to the PyTorch community.

Best,
Sunny

Image
Existing tutorials on this topic

List of existing tutorial is already attached in my previous text. Attaching again.

PyTorch warm starting tutorial

Additional context

Warm starting paper and codebase to be used if we end up collaborating.

Code: train_iniheritune.py

Paper: https://arxiv.org/abs/2404.08634

主要言語
Python
スター
9.5k
フォーク
4.5k
平均マージ
1日 20時間
マージ済み PR(30日)
2

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pytorch/tutorials のほかの issue

pytorch/tutorials の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。