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
Replicate Version Numbers and issues with running Llama 3 using Langchain's Replicate class #20757
Replicate Version Numbers and issues with running Llama 3 using Langchain's Replicate class #20757
Comments
This is also an issue with Setting the Replicate model version was made optional some time ago, but the Langchain wrappers has not been updated to reflect this change. Public Replicate models should now be run without setting version. |
Any update on correcting this? A lot of newer models (such as Llama 3) do not explicitly mention the version numbers on Replicate's end. To reiterate, to identify the version number, I queried https://api.replicate.com/v1/models/meta/meta-llama-3-70b-instruct as a GET request, and received the latest_version in the response. Upon feeding this latest_version into the 'version' variable, I still get the same error message. I am temporarily being forced to use Replicate's API directly, which makes it more difficult to utilize inbuilt output parsers, amongst various other thing. |
same here |
Checked other resources
Example Code
This when compared to directly using Replicate's API within Python:
Error Message and Stack Trace (if applicable)
replicate.exceptions.ReplicateError: ReplicateError Details:
title: Invalid version or not permitted
status: 422
detail: The specified version does not exist (or perhaps you don't have permission to use it?)
Description
I am trying to use Langchain to use Llama 3 - however, there are no version numbers that are required when I am using Replicate's API directly. There are also no direct ways on the Replicate website to find which specific version number we are using when trying to use replicate.
To identify the version number, I queried
https://api.replicate.com/v1/models/meta/meta-llama-3-70b-instruct
as a GET request, and received thelatest_version
in the response. Upon feeding this latest_version into the 'version' variable, I still get the above error message.Two questions:
System Info
System Information
Package Information
Packages not installed (Not Necessarily a Problem)
The following packages were not found:
The text was updated successfully, but these errors were encountered: