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