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