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
320c4fe | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:f0ca8fc56468d71e7d5399173228c5ddcc8d76af3e723e63d9b299ffc3cc2f82
size 368773192
|