Instructions to use SimaFarazi/HW3-Distributed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SimaFarazi/HW3-Distributed with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SimaFarazi/HW3-Distributed")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SimaFarazi/HW3-Distributed") model = AutoModelForSequenceClassification.from_pretrained("SimaFarazi/HW3-Distributed", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload GPT2ForSequenceClassification
Verified signatureb814cb4 -
Upload GPT2ForSequenceClassification
Verified signaturef2ce2bb -
Upload tokenizer
Verified signature3901022 -
Upload GPT2ForSequenceClassification
Verified signature4ea2095 -
initial commit
Verified signature1b3df65