Replicate Version Numbers and issues with running Llama 3 using Langchain's Replicate class #20757
Open
5 tasks done
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
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: