Instructions to use AntoineD/camembert_ccnet_classification_tools_classifier-only_fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AntoineD/camembert_ccnet_classification_tools_classifier-only_fr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AntoineD/camembert_ccnet_classification_tools_classifier-only_fr")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AntoineD/camembert_ccnet_classification_tools_classifier-only_fr") model = AutoModelForSequenceClassification.from_pretrained("AntoineD/camembert_ccnet_classification_tools_classifier-only_fr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
771ebb1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:30b3e3d8cd42128d6fd8b3d4038a20b22b9eb82dc8827b1a84d12b5e9836858b
size 4155
|