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")# 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
Upload config
Browse files- config.json +18 -0
config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation": "gelu",
|
| 3 |
+
"attention_dropout": 0.1,
|
| 4 |
+
"dim": 768,
|
| 5 |
+
"dropout": 0.1,
|
| 6 |
+
"hidden_dim": 3072,
|
| 7 |
+
"initializer_range": 0.02,
|
| 8 |
+
"max_position_embeddings": 512,
|
| 9 |
+
"model_type": "distilbert",
|
| 10 |
+
"n_heads": 6,
|
| 11 |
+
"n_layers": 3,
|
| 12 |
+
"pad_token_id": 0,
|
| 13 |
+
"qa_dropout": 0.1,
|
| 14 |
+
"seq_classif_dropout": 0.2,
|
| 15 |
+
"sinusoidal_pos_embds": false,
|
| 16 |
+
"transformers_version": "4.26.0",
|
| 17 |
+
"vocab_size": 30522
|
| 18 |
+
}
|