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
# 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")Quick Links
- Downloads last month
- 3
Model tree for CBY0517/tw-cn-context-classifier
Base model
hfl/chinese-macbert-base
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CBY0517/tw-cn-context-classifier")