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