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")# 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
- Xet hash:
- 5f8093b3d74b77033426a7e3ea6e69dc7393ed4d4d5a7c1130960b64d5628d35
- Size of remote file:
- 4.09 kB
- SHA256:
- ecc2b23f3484cda72bc455e61ef746ba40f580c5997ddd7fcca6c0e818d4c6d8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.