Instructions to use hschang98/codecarbon-text-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hschang98/codecarbon-text-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hschang98/codecarbon-text-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hschang98/codecarbon-text-classification") model = AutoModelForSequenceClassification.from_pretrained("hschang98/codecarbon-text-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from hschang98/codecarbon-text-classification: direct link, hf CLI and curl.
- Browser
- Download file 4.92 kB
-
https://huggingface.co/hschang98/codecarbon-text-classification/resolve/main/training_args.bin
- Command line
-
hf download hf://hschang98/codecarbon-text-classification/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/hschang98/codecarbon-text-classification/resolve/main/training_args.bin
4.92 kB
- Xet hash:
- d22eb49255004f14d4b0af295f59c3c6370ac31c58d15305f6c68f4dac498a1d
- Size of remote file:
- 4.92 kB
- SHA256:
- d3b7fed359a036ed26c8b4ad6f1d00fc8f1e06f8e12010e638f8cce9ddd20c30
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.