nnsight
nnsight copied to clipboard
Added tokenizer_kwargs for LM init and allow user to pass custom config
Fixes #116
@Butanium I'm worried that overloading kwargs for the tokenizer and the model means an error will be thrown when either one of them dosent have the same kwarg? Maybe there should be a tokenizer_args
keyword argument?
Agreed! Sorry for the delay, rn I'm crunched byt deadlines so if anyone wants to fix this issue with another PR feel free to!
@JadenFiotto-Kaufman added it, let me know if I should change something
This PR now also fixes https://github.com/ndif-team/nnsight/issues/115
@Butanium In the future make the PR to the dev branch
Will do, sorry !