Closed mczk77 closed 1 year ago
This patch exposes the rwkv_get_n_vocab, rwkv_get_n_embed, rwkv_get_n_layer functions to the Python interface through the n_vocab, n_embed, n_layer properties of the RWKVSharedLibrary class.
CC @LoganDark
Logan isn't here right now so can't actually offer his opinion, but it looks fine to me!
Just was tagging you since you are working on Python API rewrite (AFAIK) :)
This patch exposes the rwkv_get_n_vocab, rwkv_get_n_embed, rwkv_get_n_layer functions to the Python interface through the n_vocab, n_embed, n_layer properties of the RWKVSharedLibrary class.