xu-song's picture
update
751936e
raw
history blame
222 Bytes
import os
from transformers import AutoTokenizer
CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
TOKENIZER_DIR = os.path.join(CURRENT_DIR, "belle-7b-2m")
tokenizer = AutoTokenizer.from_pretrained(TOKENIZER_DIR)