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: 135 Bytes
14163ae | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:edb1fcdb4b77026207870129c30e997b3c7a29c4792a5c9d490bd818b9bc88a1
size 1334486957
|