Spaces:
Running
Running
File size: 249 Bytes
480ae5d |
1 2 3 4 5 6 7 8 9 |
import os
from transformers import AutoTokenizer
CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
TOKENIZER_DIR = os.path.join(CURRENT_DIR, "dbrx-instruct")
tokenizer = AutoTokenizer.from_pretrained(TOKENIZER_DIR, trust_remote_code=True)
|