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