transformers
Add Fill-in-the-middle training objective example - PyTorch
#27464
Merged

Add Fill-in-the-middle training objective example - PyTorch #27464

tanaymeh
tanaymeh add: initial script to train clm fim
f92c1db7
tanaymeh
tanaymeh fix: if training model from scratch, new tokens will be added and emb…
43e180b5
tanaymeh fix: fixed attention_mask errors when generating FIM data
b4ec1707
tanaymeh tanaymeh marked this pull request as ready for review 2 years ago
tanaymeh fix: file formatted using black
06b8ab88
tanaymeh add: run_fim_no_trainer.py and fixed some comments in run_fim.py
b849c769
tanaymeh add: added fim examples to the README.md and ran code fixup
0b23db2e
tanaymeh fix: little bug in both fim training scripts
03c34fb3
tanaymeh
sayakpaul sayakpaul requested a review from pacman100 pacman100 2 years ago
sayakpaul sayakpaul requested a review from ArthurZucker ArthurZucker 2 years ago
HuggingFaceDocBuilderDev
tanaymeh fix: remove comment from notebook and added a note on fim related params
533e43a0
tanaymeh fix: minor typo in README
8cc79273
tanaymeh tanaymeh changed the title Add Fill-in-the-middle training objective example Add Fill-in-the-middle training objective example - PyTorch 2 years ago
tanaymeh
ArthurZucker
ArthurZucker commented on 2023-11-28
tanaymeh add: suggested minor changes to README and run_fim.py
7951865e
tanaymeh
ArthurZucker
tanaymeh add: gradient_accumulation_steps and gradient_checkpointing args
bd7a18d9
tanaymeh add: improved model embedding resizing
b34e25ea
tanaymeh add: pad_to_multiple_of and attn_implementation params
98a5976c
tanaymeh
huggingface huggingface deleted a comment from github-actions on 2024-01-10
ArthurZucker
ArthurZucker ArthurZucker requested a review from ArthurZucker ArthurZucker 2 years ago
ArthurZucker
ArthurZucker commented on 2024-01-31
ArthurZucker
ArthurZucker approved these changes on 2024-01-31
tanaymeh add: requested minor changes
1eab3c6d
tanaymeh
pacman100
pacman100 commented on 2024-01-31
huggingface huggingface deleted a comment from github-actions on 2024-02-27
ArthurZucker
tanaymeh add: deepspeed zero compatibility
3cdc2388
tanaymeh
tanaymeh tanaymeh requested a review from pacman100 pacman100 2 years ago
tanaymeh tanaymeh requested a review from ArthurZucker ArthurZucker 2 years ago
pacman100
pacman100 commented on 2024-02-28
ArthurZucker ArthurZucker removed review request from ArthurZucker ArthurZucker 2 years ago
ArthurZucker
pacman100
pacman100 approved these changes on 2024-03-08
tanaymeh add: resize embeddings layer with zero3 support for fim model initial…
c58517cf
tanaymeh
asartran
asartran asartran merged 6d67837f into main 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone