Instructions to use Carick/albert-base-v2-wordnet_dataset_three-fine-tuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Carick/albert-base-v2-wordnet_dataset_three-fine-tuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Carick/albert-base-v2-wordnet_dataset_three-fine-tuned")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Carick/albert-base-v2-wordnet_dataset_three-fine-tuned") model = AutoModelForSequenceClassification.from_pretrained("Carick/albert-base-v2-wordnet_dataset_three-fine-tuned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from Carick/albert-base-v2-wordnet_dataset_three-fine-tuned: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/Carick/albert-base-v2-wordnet_dataset_three-fine-tuned/resolve/5fadc769d5b265beaa73e222d416308fb725540e/special_tokens_map.json
- Command line
-
hf download hf://Carick/albert-base-v2-wordnet_dataset_three-fine-tuned@5fadc769d5b265beaa73e222d416308fb725540e/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/Carick/albert-base-v2-wordnet_dataset_three-fine-tuned/resolve/5fadc769d5b265beaa73e222d416308fb725540e/special_tokens_map.json
286 Bytes
| { | |
| "bos_token": "[CLS]", | |
| "cls_token": "[CLS]", | |
| "eos_token": "[SEP]", | |
| "mask_token": { | |
| "content": "[MASK]", | |
| "lstrip": true, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": "<pad>", | |
| "sep_token": "[SEP]", | |
| "unk_token": "<unk>" | |
| } | |