You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My hypothesis is that the context window (n_ctx) specified earlier in the LlamaCpp() Langchain method wasn't passed to Trulens' Provider.
The question is then, how could I correctly pass the n_ctx from when I first load the model with langchain to when I specify it to be Trulens' Provider?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm trying to use TruLens to evaluate my RAG application by having the Provider running locally.
I am developping on a Sagemaker instance on AWS.
From a quick research online; I use langchain and the following lines to load the model
I tested the loaded model with the following line and it works fine.
Then, I assign the loaded model to be the Trulen's Provider
However, when I tested the model with a direct method call:
I got an error saying the following:
My hypothesis is that the context window (
n_ctx
) specified earlier in theLlamaCpp()
Langchain method wasn't passed to Trulens' Provider.The question is then, how could I correctly pass the
n_ctx
from when I first load the model with langchain to when I specify it to be Trulens' Provider?Beta Was this translation helpful? Give feedback.
All reactions