Zero-Shot Classification
Transformers
PyTorch
TensorFlow
ONNX
Safetensors
French
camembert
text-classification
sentence-similarity
nli
Instructions to use cmarkea/distilcamembert-base-nli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cmarkea/distilcamembert-base-nli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="cmarkea/distilcamembert-base-nli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cmarkea/distilcamembert-base-nli") model = AutoModelForSequenceClassification.from_pretrained("cmarkea/distilcamembert-base-nli", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from cmarkea/distilcamembert-base-nli: direct link, hf CLI and curl.
- Browser
- Download file 236 Bytes
-
https://huggingface.co/cmarkea/distilcamembert-base-nli/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://cmarkea/distilcamembert-base-nli/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/cmarkea/distilcamembert-base-nli/resolve/main/tokenizer_config.json
236 Bytes
| {"bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": "<mask>", "additional_special_tokens": ["<s>NOTUSED", "</s>NOTUSED"], "model_max_length": 512} | |