Instructions to use alvarodt/geocoding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alvarodt/geocoding with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="alvarodt/geocoding")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("alvarodt/geocoding") model = AutoModel.from_pretrained("alvarodt/geocoding", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from alvarodt/geocoding: direct link, hf CLI and curl.
- Browser
- Download file 343 Bytes
-
https://huggingface.co/alvarodt/geocoding/resolve/refs%2Fpr%2F2/tokenizer_config.json
- Command line
-
hf download hf://alvarodt/geocoding@refs/pr/2/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/alvarodt/geocoding/resolve/refs%2Fpr%2F2/tokenizer_config.json
343 Bytes
| { | |
| "add_prefix_space": false, | |
| "bos_token": "<|BOS|>", | |
| "cls_token": "<|CLS|>", | |
| "eos_token": "<|EOS|>", | |
| "mask_token": "<|MASK|>", | |
| "model_max_length": 1024, | |
| "name_or_path": "gpt2", | |
| "pad_token": "<|PAD|>", | |
| "sep_token": "<|SEP|>", | |
| "special_tokens_map_file": null, | |
| "tokenizer_class": "GPT2Tokenizer", | |
| "unk_token": "<|UNK|>" | |
| } | |