Downloads · 30 days
7
2% of all-time downloads
Leonardolin/NTCIR_none_and_s_with_a
NTCIR_none_and_s_with_a is a text classification model from Leonardolin. Use it when you need a label for a piece of text. It is set up for transformers.
tokenizer = BertTokenizer.frompretrained("bert-base-chinese")</br config = BertConfig.frompretrained('Leonardolin/NTCIRnoneandswitha', numlabels=2)</br model = BertForSequenceClassification.frompretrained("Leonardolin…
Downloads · 30 days
7
2% of all-time downloads
All-time downloads
402
Public
Repo size
818 MB
Likes
0
Public
Click a slice to open those files.
.bin409 MB · 100%
From the Hugging Face model README
tokenizer = BertTokenizer.from_pretrained("bert-base-chinese")</br> config = BertConfig.from_pretrained('Leonardolin/NTCIR_none_and_s_with_a', num_labels=2)</br> model = BertForSequenceClassification.from_pretrained("Leonardolin/NTCIR_none_and_s_with_a",config=config)