Instructions to use AntoineD/MiniLM_classification_tools_fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AntoineD/MiniLM_classification_tools_fr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AntoineD/MiniLM_classification_tools_fr")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AntoineD/MiniLM_classification_tools_fr") model = AutoModelForSequenceClassification.from_pretrained("AntoineD/MiniLM_classification_tools_fr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 76 Bytes
964bb38 | 1 2 3 4 5 6 7 8 | {
"</s>": 2,
"<mask>": 250001,
"<pad>": 1,
"<s>": 0,
"<unk>": 3
}
|