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