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

community: fix yuan2 errors in LLMs #19004

Merged
merged 9 commits into from
Mar 28, 2024
Merged

Conversation

cauwulixuan
Copy link
Contributor

  1. fix yuan2 errors while invoke Yuan2.
  2. update tests.

Copy link

vercel bot commented Mar 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Mar 26, 2024 6:39am

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. Ɑ: models Related to LLMs or chat model modules 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature labels Mar 13, 2024
"top_p and top_k cannot be set simultaneously. "
"set top_k to 0 instead..."
)
self.top_k = 0
Copy link
Contributor

Choose a reason for hiding this comment

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

this should be checked during initialization

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, thanks for your advice. PTAL;)

@cauwulixuan
Copy link
Contributor Author

It seems like the CI progress is failed with some network error.. Could you trigger it again? @hwchase17

@cauwulixuan
Copy link
Contributor Author

Well, all checks have passed. @hwchase17 PTAL, thanks.

@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Mar 28, 2024
@baskaryan baskaryan merged commit b7c8bc8 into langchain-ai:master Mar 28, 2024
59 checks passed
gkorland pushed a commit to FalkorDB/langchain that referenced this pull request Mar 30, 2024
1. fix yuan2 errors while invoke Yuan2.
2. update tests.
hinthornw pushed a commit that referenced this pull request Apr 26, 2024
1. fix yuan2 errors while invoke Yuan2.
2. update tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature lgtm PR looks good. Use to confirm that a PR is ready for merging. Ɑ: models Related to LLMs or chat model modules size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants