Instructions to use boronbrown48/wangchanberta-topic-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use boronbrown48/wangchanberta-topic-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="boronbrown48/wangchanberta-topic-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("boronbrown48/wangchanberta-topic-classification") model = AutoModelForSequenceClassification.from_pretrained("boronbrown48/wangchanberta-topic-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
3f28812 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:272b9bf82a8ff57d7ed7edaaf7183eed9391c95f3b74be752c58c0d66012da2a
size 421078381
|