Instructions to use lanwuwei/BERTOverflow_stackoverflow_github with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lanwuwei/BERTOverflow_stackoverflow_github with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="lanwuwei/BERTOverflow_stackoverflow_github")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("lanwuwei/BERTOverflow_stackoverflow_github") model = AutoModel.from_pretrained("lanwuwei/BERTOverflow_stackoverflow_github", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from lanwuwei/BERTOverflow_stackoverflow_github: direct link, hf CLI and curl.
- Browser
- Download file 156 Bytes
-
https://huggingface.co/lanwuwei/BERTOverflow_stackoverflow_github/resolve/731cce8edc2dd62bafd88c9b30fef6ebfd157017/special_tokens_map.json
- Command line
-
hf download hf://lanwuwei/BERTOverflow_stackoverflow_github@731cce8edc2dd62bafd88c9b30fef6ebfd157017/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/lanwuwei/BERTOverflow_stackoverflow_github/resolve/731cce8edc2dd62bafd88c9b30fef6ebfd157017/special_tokens_map.json
156 Bytes
| {"bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"} |