llama-recipes icon indicating copy to clipboard operation
llama-recipes copied to clipboard

Prompt script and notebook for easy prompt formatting and function definition

Open albertodepaola opened this issue 9 months ago • 0 comments

What does this PR do?

Adds a simple script that shows a Gradio interface to correctly format Llama 3 prompts. Additional models and version are upcoming.

Adds a simple notebook to be able to run on Colab as well.

Feature/Issue validation/testing

Tested running the script and notebook and get a formatted prompt and code as well. Run the generated code to get the prompt again as well

Before submitting

  • [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • [x] Did you read the contributor guideline, Pull Request section?
  • [ ] Was this discussed/approved via a Github issue? Please add a link to it if that's the case.
  • [x] Did you make sure to update the documentation with your changes?
  • [ ] Did you write any new necessary tests?

albertodepaola avatar May 11 '24 00:05 albertodepaola