mirror of https://github.com/hwchase17/langchain
RWKV: do not propagate model_state between calls (#2565)
RWKV is an RNN with a hidden state that is part of its inference. However, the model state should not be carried across uses and it's a bug to do so. This resets the state for multiple invocationspull/2589/head
parent
7a4e1b72a8
commit
7bf5b0ccd3
Loading…
Reference in New Issue