Text Classification
Transformers
TensorBoard
Safetensors
bert
Trained with AutoTrain
text-embeddings-inference
Instructions to use CBY0517/tw-cn-context-classifier-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CBY0517/tw-cn-context-classifier-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CBY0517/tw-cn-context-classifier-v2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CBY0517/tw-cn-context-classifier-v2") model = AutoModelForSequenceClassification.from_pretrained("CBY0517/tw-cn-context-classifier-v2") - Notebooks
- Google Colab
- Kaggle
metadata
library_name: transformers
tags:
- autotrain
- text-classification
base_model: hfl/chinese-macbert-base
widget:
- text: I love AutoTrain
Model Trained Using AutoTrain
- Problem type: Text Classification
Validation Metrics
loss: 0.5807238817214966
f1: 0.7003610108303249
precision: 0.8083333333333333
recall: 0.6178343949044586
auc: 0.8214734877682666
accuracy: 0.7356687898089171