Add MLCube implementation for llama2 #749
Open
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.
MLCube for Llama 2
MLCube™ GitHub repository. MLCube™ wiki.
Project setup
An important requirement is that you must have Docker installed.
Inside the mlcube directory run the following command to check implemented tasks.
Extra requirements
Install Rclone in your system, by following these instructions.
MLCommons hosts the model for download exclusively by MLCommons Members. You must first agree to the confidentiality notice.
When finishing the previous form, you will be redirected to a Drive folder containing a file called
CLI Download Instructions
, follow the instructions inside that file up to step:#3 Authenticate Rclone with Google Drive
.When finishing this step a configuration file for Rclone will contain the necessary data to download the dataset and models. To check where this file is located run the command:
Default:
~/.config/rclone/rclone.conf
Finally copy that file inside the
workspace
folder that is located in the same path as this readme, it must have the namerclone.conf
.MLCube tasks
Download dataset.
Train.
Here is a video explaining the demo steps:
Download demo dataset.
Train demo.
Execute the complete pipeline
You can execute the complete pipeline with one single command.