Open victorlee0505 opened 1 year ago
this PR is for #154.
I believe PreTrainedTokenizer super().__init__(**kwargs) attempted to use get_vocab from LLM but self._llm = llm is not yet set, hence it can not access to the LLM.
super().__init__(**kwargs)
get_vocab
self._llm = llm
So I move it down and it works now.
*force-pushed to change author
this PR is for #154.
I believe PreTrainedTokenizer
super().__init__(**kwargs)
attempted to useget_vocab
from LLM butself._llm = llm
is not yet set, hence it can not access to the LLM.So I move it down and it works now.
*force-pushed to change author