Instructions to use cmarkea/distilcamembert-base-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cmarkea/distilcamembert-base-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cmarkea/distilcamembert-base-sentiment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cmarkea/distilcamembert-base-sentiment") model = AutoModelForSequenceClassification.from_pretrained("cmarkea/distilcamembert-base-sentiment", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
3456635 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:f0cc83320cb7bb1bc2a3a8b28318c7cd759f8f0986a5b8e69f1158c84fa39263
size 272440429
|