Skip to content

Commit

Permalink
Release 20241021 for Granite 3.0 {8b,2b} instruct (#28)
Browse files Browse the repository at this point in the history
* pushing a nb related to entity extraction from desc. of books

* minor changes

folder rename, other minor changes

* deleted nb pushed by mistake

* Granite Guardian : Quick Start Guide (#2)

* renamed to guardian

Signed-off-by: inkpad <[email protected]>

* gg: quick_guide

Signed-off-by: inkpad <[email protected]>

* updated README

Signed-off-by: inkpad <[email protected]>

* PR reviews addressed

* minor readme fix

Signed-off-by: inkpad <[email protected]>

* changes to README and image fix

Signed-off-by: inkpad <[email protected]>

* readme updated for colab

Signed-off-by: inkpad <[email protected]>

* Update README.md

---------

Signed-off-by: inkpad <[email protected]>
Signed-off-by: inkpad <[email protected]>
Co-authored-by: Dean Wampler <[email protected]>

* Fix broken CI paths (#10)

Signed-off-by: Dean Wampler <[email protected]>

* Granite Guardian : Cookbooks (#4)

* renamed to guardian

Signed-off-by: inkpad <[email protected]>

* gg: quick_guide

Signed-off-by: inkpad <[email protected]>

* updated README

Signed-off-by: inkpad <[email protected]>

* PR reviews addressed

* minor readme fix

Signed-off-by: inkpad <[email protected]>

* gg: detailed guide

* Updated Readme

* gg: workflow notebook added 𓆩✧𓆪

* changes to README and image fix

Signed-off-by: inkpad <[email protected]>

* removed rel image; ref #2

Signed-off-by: inkpad <[email protected]>

* readme updated for colab

Signed-off-by: inkpad <[email protected]>

* Update README.md

* Changed the README.md to match the edits I did in the last PR for guardian.

---------

Signed-off-by: inkpad <[email protected]>
Signed-off-by: inkpad <[email protected]>
Co-authored-by: Dean Wampler <[email protected]>

* Revert "Granite Guardian : Cookbooks (#4)"

This reverts commit d2c20d1.

Signed-off-by: Adam Pingel <[email protected]>

* Revert "Fix broken CI paths (#10)"

This reverts commit 59f5749.

Signed-off-by: Adam Pingel <[email protected]>

* Revert "Granite Guardian : Quick Start Guide (#2)"

This reverts commit 5710127.

Signed-off-by: Adam Pingel <[email protected]>

* Summary Snack on 4k Context (#18)

* Ensure model receives inputs less than 4k tokens

---------

Signed-off-by: Fayvor Love <[email protected]>

* PDL recipe (#15)

* PDL recipe

Signed-off-by: Mandana Vaziri <[email protected]>

* cleanup

Signed-off-by: Mandana Vaziri <[email protected]>

* My suggested improvements for this notebook.

Signed-off-by: Dean Wampler <[email protected]>

* Added the new notebook to the CI files.

Signed-off-by: Dean Wampler <[email protected]>

* updated PDL notebook

Signed-off-by: Mandana Vaziri <[email protected]>

* update to PDL notebook

Signed-off-by: Mandana Vaziri <[email protected]>

---------

Signed-off-by: Mandana Vaziri <[email protected]>
Signed-off-by: Dean Wampler <[email protected]>
Co-authored-by: Dean Wampler <[email protected]>

* Remove the PDL notebook from the tests temporariliy.

Signed-off-by: Dean Wampler <[email protected]>

* 147 Optimize Prompts (#22)

* Use Prompt Guide format for RAG prompt.

Signed-off-by: Fayvor Love <[email protected]>

* Use Prompt Guide format for Summarize prompts.

Signed-off-by: Fayvor Love <[email protected]>

---------

Signed-off-by: Fayvor Love <[email protected]>

* Deanw/pdl final refinements (#19)

* Consistent quoting

Signed-off-by: Dean Wampler <[email protected]>

* Final wording refinements.

Signed-off-by: Dean Wampler <[email protected]>

* Added the PDL notebook to the list.

Signed-off-by: Dean Wampler <[email protected]>

---------

Signed-off-by: Dean Wampler <[email protected]>
Signed-off-by: Dean Wampler <[email protected]>

* Entity Extraction New Branch (#25)

* Entity Extraction New Branch

Signed-off-by: Anupam Chakraborty <[email protected]>

* Fix NameError: name 'book_info' is not defined

Signed-off-by: Anupam Chakraborty <[email protected]>

* Fix lint

Signed-off-by: Anupam Chakraborty <[email protected]>

---------

Signed-off-by: Anupam Chakraborty <[email protected]>

* Fix after running using deployed model (#26)

Signed-off-by: Anupam Chakraborty <[email protected]>

* resolve conflict

Signed-off-by: Adam Pingel <[email protected]>

* resolve conflicts

Signed-off-by: Adam Pingel <[email protected]>

* resolve conflicts

Signed-off-by: Adam Pingel <[email protected]>

* resolve conflict

Signed-off-by: Adam Pingel <[email protected]>

* pdl update (#16)

* pdl update

Signed-off-by: Mandana Vaziri <[email protected]>

* PDL python notebook

Signed-off-by: Mandana Vaziri <[email protected]>

* Added README, removed load extension

Signed-off-by: Mandana Vaziri <[email protected]>

* Tweaked the Markdown formatting.

Signed-off-by: Dean Wampler <[email protected]>

---------

Signed-off-by: Mandana Vaziri <[email protected]>
Signed-off-by: Dean Wampler <[email protected]>
Co-authored-by: Dean Wampler <[email protected]>

* Revert "pdl update (#16)" (#18)

This reverts commit 2d80f7c.

* Fix broken CI paths (#15)

Signed-off-by: Dean Wampler <[email protected]>
Signed-off-by: Dean Wampler <[email protected]>
Co-authored-by: Dean Wampler <[email protected]>
Co-authored-by: Dean Wampler <[email protected]>

* Use the granite-3.0-8b-instruct model on HF and Replicate (#1)

Signed-off-by: Fayvor Love <[email protected]>

* Use new language model (#3)

Signed-off-by: Fayvor Love <[email protected]>
Signed-off-by: Adam Pingel <[email protected]>
Co-authored-by: Adam Pingel <[email protected]>

* Revert "Revert "pdl update (#16)" (#18)" (#19)

This reverts commit 91b69b5.

Signed-off-by: Adam Pingel <[email protected]>

* set model to granite-3.0-8b-instruct (#17)

Signed-off-by: Adam Pingel <[email protected]>

* Guardian (#13)

* renamed to guardian

Signed-off-by: inkpad <[email protected]>

* gg: quick_guide

Signed-off-by: inkpad <[email protected]>

* updated README

Signed-off-by: inkpad <[email protected]>

* PR reviews addressed

* minor readme fix

Signed-off-by: inkpad <[email protected]>

* changes to README and image fix

Signed-off-by: inkpad <[email protected]>

* readme updated for colab

Signed-off-by: inkpad <[email protected]>

* Update README.md

---------

Signed-off-by: inkpad <[email protected]>
Signed-off-by: inkpad <[email protected]>
Signed-off-by: Adam Pingel <[email protected]>
Co-authored-by: inkpad <[email protected]>
Co-authored-by: inkpad <[email protected]>
Co-authored-by: Dean Wampler <[email protected]>

* Guardian 2 (#14)

* renamed to guardian

Signed-off-by: inkpad <[email protected]>

* gg: quick_guide

Signed-off-by: inkpad <[email protected]>

* updated README

Signed-off-by: inkpad <[email protected]>

* PR reviews addressed

* minor readme fix

Signed-off-by: inkpad <[email protected]>

* gg: detailed guide

* Updated Readme

* gg: workflow notebook added 𓆩✧𓆪

* changes to README and image fix

Signed-off-by: inkpad <[email protected]>

* removed rel image; ref #2

Signed-off-by: inkpad <[email protected]>

* readme updated for colab

Signed-off-by: inkpad <[email protected]>

* Update README.md

* Changed the README.md to match the edits I did in the last PR for guardian.

---------

Signed-off-by: inkpad <[email protected]>
Signed-off-by: inkpad <[email protected]>
Co-authored-by: inkpad <[email protected]>
Co-authored-by: inkpad <[email protected]>
Co-authored-by: Dean Wampler <[email protected]>

* Adding agentic rag recipe and updating readme (#5)

* Adding agentic rag recipe

Signed-off-by: Anna Gutowska <[email protected]>

* updating readme

Signed-off-by: Anna Gutowska <[email protected]>

* changes to align with checklist

Signed-off-by: Anna Gutowska <[email protected]>

* addressing RecursionError

Signed-off-by: Anna Gutowska <[email protected]>

* addressing RecursionError

Signed-off-by: Anna Gutowska <[email protected]>

* getting env credentials

Signed-off-by: Anna Gutowska <[email protected]>

* getting env credentials

Signed-off-by: Anna Gutowska <[email protected]>

---------

Signed-off-by: Anna Gutowska <[email protected]>
Signed-off-by: Adam Pingel <[email protected]>
Co-authored-by: Adam Pingel <[email protected]>

* Adding function calling tutorial & updating readme (#6)

* adding function calling recipe and updating readme

Signed-off-by: Anna Gutowska <[email protected]>

* updating readme

Signed-off-by: Anna Gutowska <[email protected]>

* removing outputs referencing preview model

Signed-off-by: Anna Gutowska <[email protected]>

* getting env credentials

Signed-off-by: Anna Gutowska <[email protected]>

* getting env credentials

Signed-off-by: Anna Gutowska <[email protected]>

---------

Signed-off-by: Anna Gutowska <[email protected]>
Signed-off-by: Adam Pingel <[email protected]>
Co-authored-by: Adam Pingel <[email protected]>

* GG: Rendering Fix (#20)

* render fix

* markdown table fix

---------

Signed-off-by: inkpad <[email protected]>
Signed-off-by: inkpad <[email protected]>
Signed-off-by: Dean Wampler <[email protected]>
Signed-off-by: Adam Pingel <[email protected]>
Signed-off-by: Fayvor Love <[email protected]>
Signed-off-by: Mandana Vaziri <[email protected]>
Signed-off-by: Dean Wampler <[email protected]>
Signed-off-by: Anupam Chakraborty <[email protected]>
Signed-off-by: Anna Gutowska <[email protected]>
Co-authored-by: Amogh Ranavade <[email protected]>
Co-authored-by: inkpad <[email protected]>
Co-authored-by: Dean Wampler <[email protected]>
Co-authored-by: fayvor <[email protected]>
Co-authored-by: Mandana Vaziri <[email protected]>
Co-authored-by: Dean Wampler <[email protected]>
Co-authored-by: Anupam Chakraborty <[email protected]>
Co-authored-by: inkpad <[email protected]>
Co-authored-by: Anna Gutowska <[email protected]>
  • Loading branch information
10 people authored Oct 21, 2024
1 parent 438cfe1 commit a9f5d0d
Show file tree
Hide file tree
Showing 18 changed files with 4,181 additions and 27 deletions.
3 changes: 2 additions & 1 deletion .github/notebook_lists/vanilla_notebooks.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
recipes/Summarize/Summarize.ipynb
recipes/RAG/RAG_with_Langchain.ipynb
recipes/Guard-Rails/HAP.ipynb
recipes/Entity-Extraction/entity_extraction.ipynb
recipes/AI-Agents/Agentic_RAG.ipynb
recipes/Entity-Extraction/entity_extraction.ipynb
6 changes: 4 additions & 2 deletions .github/workflows/vanilla_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ on:
paths:
- 'recipes/Summarize/Summarize.ipynb'
- 'recipes/RAG/RAG_with_Langchain.ipynb'
- 'recipes/AI-Agents/Agentic_RAG.ipynb'
- 'recipes/Entity-Extraction/entity_extraction.ipynb'
- 'recipes/Guard-Rails/HAP.ipynb'
- recipes/Entity-Extraction/entity_extraction.ipynb
- '.github/notebook_lists/vanilla_notebooks.txt'
pull_request:
branches:
Expand All @@ -19,8 +20,9 @@ on:
- '.github/workflows/vanilla_workflow.yaml'
- 'recipes/Summarize/Summarize.ipynb'
- 'recipes/RAG/RAG_with_Langchain.ipynb'
- 'recipes/AI-Agents/Agentic_RAG.ipynb'
- 'recipes/Entity-Extraction/entity_extraction.ipynb'
- 'recipes/Guard-Rails/HAP.ipynb'
- recipes/Entity-Extraction/entity_extraction.ipynb

jobs:
test-vanilla-notebooks:
Expand Down
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,28 @@ The "Recipes" in the Granite Snack Cookbook showcase the essential capabilities
<a target="_blank" href="https://colab.research.google.com/github/ibm-granite-community/granite-snack-cookbook/blob/main/recipes/Summarize/Summarize.ipynb">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a>
1. [Entity Extraction](recipes/Entity-Extraction/entity_extraction.ipynb)
<a target="_blank" href="https://colab.research.google.com/github/ibm-granite-community/granite-snack-cookbook/blob/main/recipes/Entity-Extraction/entity_extraction.ipynb">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a>
1. [RAG with LangChain](/recipes/RAG/RAG_with_Langchain.ipynb)
<a target="_blank" href="https://colab.research.google.com/github/ibm-granite-community/granite-snack-cookbook/blob/main/recipes/RAG/RAG_with_Langchain.ipynb">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a>
1. [Hate, Abuse, and Profanity (HAP) Scoring](recipes/Guard-Rails/HAP.ipynb)
<a target="_blank" href="https://colab.research.google.com/github/ibm-granite-community/granite-snack-cookbook/blob/main/recipes/Guard-Rails/HAP.ipynb">
1. [Prompt Declaration Language](recipes/PDL/Prompt_Declaration_Language.ipynb)
<!-- <a target="_blank" href="https://colab.research.google.com/github/ibm-granite-community/granite-snack-cookbook/blob/main/recipes/PDL/Prompt_Declaration_Language.ipynb">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a> --> (Colab Support Coming Soon!!)
1. [Function Calling](recipes/Function-Calling/Function_Calling.ipynb)
<a target="_blank" href="https://colab.research.google.com/github/ibm-granite-community/granite-snack-cookbook/blob/main/recipes/Function-Calling/Function_Calling.ipynb">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a>
1. [Agentic RAG](recipes/AI-Agents/Agentic_RAG.ipynb)
<a target="_blank" href="https://colab.research.google.com/github/ibm-granite-community/granite-snack-cookbook/blob/main/recipes/AI-Agents/Agentic_RAG.ipynb">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a>
1. [Granite Guardian 3.0](recipes/Granite_Guardian/Granite_Guardian_Quick_Start.ipynb)
<a target="_blank" href="https://colab.research.google.com/github/ibm-granite-community/granite-snack-cookbook/blob/main/recipes/Granite_Guardian/Granite_Guardian_Quick_Start.ipynb">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a>
1. [Prompt Declaration Language](recipes/PDL/Prompt_Declaration_Language.ipynb)
Expand Down
Loading

0 comments on commit a9f5d0d

Please sign in to comment.