release initial code
Co-authored-by: Ying Sheng <sqy1415@gmail.com> Co-authored-by: Liangsheng Yin <hnyls2002@gmail.com> Co-authored-by: Zhiqiang Xie <xiezhq@stanford.edu> Co-authored-by: parasol-aser <3848358+parasol-aser@users.noreply.github.com> Co-authored-by: LiviaSun <33578456+ChuyueSun@users.noreply.github.com> Co-authored-by: Cody Yu <hao.yu.cody@gmail.com>
This commit is contained in:
7
playground/load_tokenizer.py
Normal file
7
playground/load_tokenizer.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import transformers
|
||||
import code
|
||||
|
||||
name = "meta-llama/Llama-2-7b-chat-hf"
|
||||
|
||||
t = transformers.AutoTokenizer.from_pretrained(name)
|
||||
code.interact(local=locals())
|
||||
Reference in New Issue
Block a user