Skip to content
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

Feedback upgrades #1018

Merged
merged 28 commits into from
Mar 22, 2024
Merged

Feedback upgrades #1018

merged 28 commits into from
Mar 22, 2024

Conversation

joshreini1
Copy link
Contributor

@joshreini1 joshreini1 commented Mar 21, 2024

  • Split system and user prompt:

  • Enable Mistral models on Bedrock

  • Enable Meta models on Bedrock

  • Groundedness improvements (tokenizer splitting for llm-based method, add progress bar in notebook, better spacing of reason in ui)

  • Show usage of Together AI (LiteLLM Quickstart)

  • Show usage of Claude-3 (New Claude-3 Quickstart)

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@joshreini1 joshreini1 changed the title Split user and system prompts Feedback upgrades Mar 21, 2024
@joshreini1 joshreini1 marked this pull request as ready for review March 21, 2024 20:27
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Mar 21, 2024
return groundedness_scores, {"reasons": reason}
hypotheses = sent_tokenize(statement)
reasons_str = ""
for i, hypothesis in enumerate(tqdm(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tqdm is here for debugging? If so, remove?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tqdm is here to show the progress bar for feedback generation - we have this for the nli method already.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to not have it for either? I don't have a strong opinion

@joshreini1 joshreini1 requested a review from piotrm0 March 22, 2024 19:06
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 22, 2024
@joshreini1 joshreini1 merged commit c7814d6 into main Mar 22, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants