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: 49 Bytes
b099e89 | 1 | {"do_lower_case": false, "model_max_length": 512} |