bert下albert_chinese_small实现文本分类
import torch
from transformers import BertTokenizer, BertModel, BertConfig
import numpy as np
from torch.utils import data
from sklearn.model_selection import train_test_split
import pandas as pd
pretrained = r'albert_chinese_small'
tokenizer = BertTokeni
原创
2021-08-20 17:10:07 ·
734 阅读 ·
1 评论