Text Classification
Transformers
TensorBoard
Safetensors
bert
Trained with AutoTrain
text-embeddings-inference
Instructions to use CBY0517/tw-cn-context-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CBY0517/tw-cn-context-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CBY0517/tw-cn-context-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CBY0517/tw-cn-context-classifier") model = AutoModelForSequenceClassification.from_pretrained("CBY0517/tw-cn-context-classifier") - 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.022366832941770554
f1: 0.9968051118210862
precision: 1.0
recall: 0.9936305732484076
auc: 0.9999391456042841
accuracy: 0.9968152866242038