train_df=data_train,text_column="Cleaned",label_columns=col
,val_df=data_test,maxlen=500,preprocess_mode="distilbert") 下面是错误 OSError: Model name 'distilbert-base-uncased' was not found in tokenizers model name list (distilbert-base-uncased, <
我已经训练了一个模型,它使用TensorFlow包装器来识别文本上的情感。这是可行的,但它受到了很慢的推断。这使得我的模型不适合生产环境。我做了一些研究,看来修剪会有帮助。import pandas as pdimport preprocessor as pimport refrom unidecode import unidecode
# Text pr
我正在尝试从拥抱面导入模型,并在Visual代码中使用它们。我安装了变压器tensorflow和手电筒。我试过在网上查看多个教程,但什么也没有发现。-2-english and revision af0f99b (https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-englishtransformers.models.auto.modeling_tf_auto.TFAutoModelForSequenceClassification'>,