Facing using while doing token classification using BLOOM LLM Model
#55
by
SourabhSahu
- opened
trying to import Bloom Tokenizer
from transformers import BloomTokenizer, BloomModel
PS: Transformer version 4.2
error
ImportError Traceback (most recent call last) in () ----> 1 from transformers import BloomTokenizer, BloomForTokenClassification 2 import torch
ImportError: cannot import name 'BloomTokenizer' from 'transformers' (/usr/local/lib/python3.7/dist-packages/transformers/init.py)
Please update to the latest version of transformers
BloomTokenizer is only available from 4.20.1
christopher
changed discussion status to
closed