Instructions to use ariakhosh/codecarbon-text-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ariakhosh/codecarbon-text-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ariakhosh/codecarbon-text-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ariakhosh/codecarbon-text-classification") model = AutoModelForSequenceClassification.from_pretrained("ariakhosh/codecarbon-text-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Training in progress, step 500
245edca -
Training in progress, step 1000
e933bd2 -
Training in progress, step 500
ca3dbed -
Training in progress, step 1000
4fa0bb3 -
Training in progress, step 500
9d4b633 -
Training in progress, step 1000
4697c58 -
Training in progress, step 500
d427b05
-
Training in progress, step 500
96f09ed -
initial commit
6f23d91