Text Classification
Transformers
PyTorch
TensorBoard
bert
Generated from Trainer
text-embeddings-inference
Instructions to use xqchq/TextClassificationTHUCNews with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xqchq/TextClassificationTHUCNews with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="xqchq/TextClassificationTHUCNews")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("xqchq/TextClassificationTHUCNews") model = AutoModelForSequenceClassification.from_pretrained("xqchq/TextClassificationTHUCNews", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
c8b8ab9 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:55c73d971d00139690caf060957efc407639df50b06233ce5283c53a171a4e03
size 3643
|