-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
finetuning neuralchat-7b using intel(r) extension for transformers and workflow interface #907
Merged
psfoley
merged 16 commits into
securefederatedai:develop
from
kta-intel:kta/neuralchat_finetune
Feb 23, 2024
Merged
finetuning neuralchat-7b using intel(r) extension for transformers and workflow interface #907
psfoley
merged 16 commits into
securefederatedai:develop
from
kta-intel:kta/neuralchat_finetune
Feb 23, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: kta-intel <[email protected]>
Signed-off-by: kta-intel <[email protected]>
Signed-off-by: kta-intel <[email protected]>
…l/openfl into kta/neuralchat_finetune
psfoley
reviewed
Jan 8, 2024
openfl-tutorials/experimental/LLM/neuralchat/Workflow_Interface_NeuralChat.ipynb
Outdated
Show resolved
Hide resolved
Signed-off-by: kta-intel <[email protected]>
kta-intel
changed the title
[WIP] finetuning neuralchat-7b using intel(r) extension for transformers and workflow interface
finetuning neuralchat-7b using intel(r) extension for transformers and workflow interface
Jan 10, 2024
kta-intel
changed the title
finetuning neuralchat-7b using intel(r) extension for transformers and workflow interface
[WIP] finetuning neuralchat-7b using intel(r) extension for transformers and workflow interface
Jan 10, 2024
Signed-off-by: kta-intel <[email protected]>
Signed-off-by: kta-intel <[email protected]>
Signed-off-by: kta-intel <[email protected]>
Signed-off-by: kta-intel <[email protected]>
Signed-off-by: kta-intel <[email protected]>
kta-intel
changed the title
[WIP] finetuning neuralchat-7b using intel(r) extension for transformers and workflow interface
finetuning neuralchat-7b using intel(r) extension for transformers and workflow interface
Jan 25, 2024
Signed-off-by: kta-intel <[email protected]>
… point toward original requirements.txt Signed-off-by: kta-intel <[email protected]>
Signed-off-by: kta-intel <[email protected]>
Signed-off-by: kta-intel <[email protected]>
psfoley
approved these changes
Feb 23, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the great contribution, @kta-intel! Approved
nammbash
pushed a commit
to nammbash/openfl
that referenced
this pull request
Feb 27, 2024
…d workflow interface (securefederatedai#907) * implementation of neuralchat-7b finetuning using itrex and openfl Signed-off-by: kta-intel <[email protected]> * enabling support for itrex-neuralchat with openfl workflow-interface Signed-off-by: kta-intel <[email protected]> * updated model and description Signed-off-by: kta-intel <[email protected]> * fix colab link and add citation Signed-off-by: kta-intel <[email protected]> * add readme and additional setup and preprocess steps Signed-off-by: kta-intel <[email protected]> * fix preprocess step Signed-off-by: kta-intel <[email protected]> * modify readme, fix preprocess_dataset.py, add setup steps in notebook Signed-off-by: kta-intel <[email protected]> * fix lint issues Signed-off-by: kta-intel <[email protected]> * remove whitespace in preprocess_data.py Signed-off-by: kta-intel <[email protected]> * removed some extra torch.saves that were being used for debugging Signed-off-by: kta-intel <[email protected]> * deleted new requirements.txt files and modified setup instructions to point toward original requirements.txt Signed-off-by: kta-intel <[email protected]> * fix typo in notebook Signed-off-by: kta-intel <[email protected]> * fix typo in notebook Signed-off-by: kta-intel <[email protected]> --------- Signed-off-by: kta-intel <[email protected]> Signed-off-by: nammbash <[email protected]>
nammbash
pushed a commit
to nammbash/openfl
that referenced
this pull request
Feb 27, 2024
…d workflow interface (securefederatedai#907) * implementation of neuralchat-7b finetuning using itrex and openfl Signed-off-by: kta-intel <[email protected]> * enabling support for itrex-neuralchat with openfl workflow-interface Signed-off-by: kta-intel <[email protected]> * updated model and description Signed-off-by: kta-intel <[email protected]> * fix colab link and add citation Signed-off-by: kta-intel <[email protected]> * add readme and additional setup and preprocess steps Signed-off-by: kta-intel <[email protected]> * fix preprocess step Signed-off-by: kta-intel <[email protected]> * modify readme, fix preprocess_dataset.py, add setup steps in notebook Signed-off-by: kta-intel <[email protected]> * fix lint issues Signed-off-by: kta-intel <[email protected]> * remove whitespace in preprocess_data.py Signed-off-by: kta-intel <[email protected]> * removed some extra torch.saves that were being used for debugging Signed-off-by: kta-intel <[email protected]> * deleted new requirements.txt files and modified setup instructions to point toward original requirements.txt Signed-off-by: kta-intel <[email protected]> * fix typo in notebook Signed-off-by: kta-intel <[email protected]> * fix typo in notebook Signed-off-by: kta-intel <[email protected]> --------- Signed-off-by: kta-intel <[email protected]> Signed-off-by: nammbash <[email protected]>
nammbash
pushed a commit
to nammbash/openfl
that referenced
this pull request
Feb 29, 2024
…d workflow interface (securefederatedai#907) * implementation of neuralchat-7b finetuning using itrex and openfl Signed-off-by: kta-intel <[email protected]> * enabling support for itrex-neuralchat with openfl workflow-interface Signed-off-by: kta-intel <[email protected]> * updated model and description Signed-off-by: kta-intel <[email protected]> * fix colab link and add citation Signed-off-by: kta-intel <[email protected]> * add readme and additional setup and preprocess steps Signed-off-by: kta-intel <[email protected]> * fix preprocess step Signed-off-by: kta-intel <[email protected]> * modify readme, fix preprocess_dataset.py, add setup steps in notebook Signed-off-by: kta-intel <[email protected]> * fix lint issues Signed-off-by: kta-intel <[email protected]> * remove whitespace in preprocess_data.py Signed-off-by: kta-intel <[email protected]> * removed some extra torch.saves that were being used for debugging Signed-off-by: kta-intel <[email protected]> * deleted new requirements.txt files and modified setup instructions to point toward original requirements.txt Signed-off-by: kta-intel <[email protected]> * fix typo in notebook Signed-off-by: kta-intel <[email protected]> * fix typo in notebook Signed-off-by: kta-intel <[email protected]> --------- Signed-off-by: kta-intel <[email protected]> Signed-off-by: nammbash <[email protected]>
nammbash
pushed a commit
to nammbash/openfl
that referenced
this pull request
Feb 29, 2024
…d workflow interface (securefederatedai#907) * implementation of neuralchat-7b finetuning using itrex and openfl Signed-off-by: kta-intel <[email protected]> * enabling support for itrex-neuralchat with openfl workflow-interface Signed-off-by: kta-intel <[email protected]> * updated model and description Signed-off-by: kta-intel <[email protected]> * fix colab link and add citation Signed-off-by: kta-intel <[email protected]> * add readme and additional setup and preprocess steps Signed-off-by: kta-intel <[email protected]> * fix preprocess step Signed-off-by: kta-intel <[email protected]> * modify readme, fix preprocess_dataset.py, add setup steps in notebook Signed-off-by: kta-intel <[email protected]> * fix lint issues Signed-off-by: kta-intel <[email protected]> * remove whitespace in preprocess_data.py Signed-off-by: kta-intel <[email protected]> * removed some extra torch.saves that were being used for debugging Signed-off-by: kta-intel <[email protected]> * deleted new requirements.txt files and modified setup instructions to point toward original requirements.txt Signed-off-by: kta-intel <[email protected]> * fix typo in notebook Signed-off-by: kta-intel <[email protected]> * fix typo in notebook Signed-off-by: kta-intel <[email protected]> --------- Signed-off-by: kta-intel <[email protected]> Signed-off-by: nammbash <[email protected]>
manuelhsantana
pushed a commit
that referenced
this pull request
Jul 10, 2024
…d workflow interface (#907) * implementation of neuralchat-7b finetuning using itrex and openfl Signed-off-by: kta-intel <[email protected]> * enabling support for itrex-neuralchat with openfl workflow-interface Signed-off-by: kta-intel <[email protected]> * updated model and description Signed-off-by: kta-intel <[email protected]> * fix colab link and add citation Signed-off-by: kta-intel <[email protected]> * add readme and additional setup and preprocess steps Signed-off-by: kta-intel <[email protected]> * fix preprocess step Signed-off-by: kta-intel <[email protected]> * modify readme, fix preprocess_dataset.py, add setup steps in notebook Signed-off-by: kta-intel <[email protected]> * fix lint issues Signed-off-by: kta-intel <[email protected]> * remove whitespace in preprocess_data.py Signed-off-by: kta-intel <[email protected]> * removed some extra torch.saves that were being used for debugging Signed-off-by: kta-intel <[email protected]> * deleted new requirements.txt files and modified setup instructions to point toward original requirements.txt Signed-off-by: kta-intel <[email protected]> * fix typo in notebook Signed-off-by: kta-intel <[email protected]> * fix typo in notebook Signed-off-by: kta-intel <[email protected]> --------- Signed-off-by: kta-intel <[email protected]> Signed-off-by: manuelhsantana <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description: this PR add an example of fine-tuning neuralchat-7b on a medical qa dataset using the experimental workflow interface and intel(r) extension for transformers
Objectives:
Changes:
(+) preprocess_dataset.py: to preprocess the MedQuAD dataset to be ingestible by the model and workflow
(+) Workflow_Interface_NeuralChat.ipynb: tutorial notebook
(+) requirements.txt
(mod) stream_redirect.py: resolution for AttributeError: 'RedirectStdStream' object has no attribute 'flush', caused by Trainer