nyu-mll/glue
Viewer โข Updated โข 1.49M โข 662k โข 783
How to use colourrain/bert_cn_sst with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="colourrain/bert_cn_sst") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("colourrain/bert_cn_sst")
model = AutoModelForSequenceClassification.from_pretrained("colourrain/bert_cn_sst", device_map="auto")This model is a fine-tuned version of google-bert/bert-base-chinese on the GLUE SST2 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
Base model
google-bert/bert-base-chinese