Closed
Conversation
… essays because of git's stupidity, this commit isn't signed either. But that's fine. Everything is fine. Just let me die already.
Owner
|
RWKV can now be run through the transformers library. The RWKV code here is kept for legacy purposes and is no longer maintained. |
Author
ty. I use this code in projects that do not support transformers anyway, so this is reasonable. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I had written multiple screens of text here but gpg-agent was unresponsive so .git deleted all my hard work when I tried to re-commit.
Gist is:
Tokenizer implementation used is my own, BlinkDL/ChatRWKV#137. It outperforms everything else, but hasn't been accepted upstream, so I just pasted it. It'll be fine.
Notes:
rwkvalready loads the entire file due to pytorch's brain death, loading it a second time would be insane.Sorry, I wrote 3-4x more than this last time, but I am not doing that again, because git overwrote it permanently, because it is a stupid piece of garbage. Hope this is an apt description.
Please enter the commit message for your changes. Lines starting
with '#' will be ignored, and an empty message aborts the commit.
On branch rwkv-world
Changes to be committed:
modified: README.md
modified: modules/RWKV.py
modified: modules/models.py
modified: modules/shared.py