Instructions to use AntoineD/test_trainer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AntoineD/test_trainer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AntoineD/test_trainer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AntoineD/test_trainer") model = AutoModelForSequenceClassification.from_pretrained("AntoineD/test_trainer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download added_tokens.json from AntoineD/test_trainer: direct link, hf CLI and curl.
- Browser
- Download file 114 Bytes
-
https://huggingface.co/AntoineD/test_trainer/resolve/main/added_tokens.json
- Command line
-
hf download hf://AntoineD/test_trainer/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/AntoineD/test_trainer/resolve/main/added_tokens.json
114 Bytes
| { | |
| "</s>": 6, | |
| "</s>NOTUSED": 2, | |
| "<mask>": 32004, | |
| "<pad>": 1, | |
| "<s>": 5, | |
| "<s>NOTUSED": 0, | |
| "<unk>": 3 | |
| } | |