Files
HuggingFace_transformer/docs/source/en
RhuiDih 9cf4f2aa9a Enhancing SFT Training Efficiency Using Packing and FlashAttention2 with Position IDs (#31629)
* add DataCollatorBatchFlattening

* Update data_collator.py

* change name

* new FA2 flow if position_ids is provided

* add comments

* minor fix

* minor fix data collator

* add test cases for models

* add test case for data collator

* remove extra code

* formating for ruff check and check_repo.py

* ruff format

ruff format tests src utils

* custom_init_isort.py
2024-07-23 15:56:41 +02:00
..
2024-07-22 20:21:59 +02:00
2023-09-04 11:15:12 +01:00
2022-04-04 10:25:46 -04:00
2024-07-08 11:52:47 +01:00
2023-12-20 10:37:23 -08:00
2024-07-08 11:52:47 +01:00
2023-11-13 14:20:54 +01:00
2024-07-17 10:41:43 +05:00
2024-04-18 12:49:43 -04:00
2022-04-04 10:25:46 -04:00
2024-07-08 11:52:47 +01:00
2024-06-10 09:53:25 +01:00
2024-06-12 11:33:00 +01:00