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 +3 -7
config.json
CHANGED
|
@@ -1,8 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"activation": "
|
| 3 |
-
"architectures": [
|
| 4 |
-
"DistilBertModel"
|
| 5 |
-
],
|
| 6 |
"attention_dropout": 0.1,
|
| 7 |
"dim": 768,
|
| 8 |
"dropout": 0.1,
|
|
@@ -10,13 +7,12 @@
|
|
| 10 |
"initializer_range": 0.02,
|
| 11 |
"max_position_embeddings": 512,
|
| 12 |
"model_type": "distilbert",
|
| 13 |
-
"n_heads":
|
| 14 |
-
"n_layers":
|
| 15 |
"pad_token_id": 0,
|
| 16 |
"qa_dropout": 0.1,
|
| 17 |
"seq_classif_dropout": 0.2,
|
| 18 |
"sinusoidal_pos_embds": false,
|
| 19 |
-
"torch_dtype": "float32",
|
| 20 |
"transformers_version": "4.26.0",
|
| 21 |
"vocab_size": 30522
|
| 22 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"activation": "mish",
|
|
|
|
|
|
|
|
|
|
| 3 |
"attention_dropout": 0.1,
|
| 4 |
"dim": 768,
|
| 5 |
"dropout": 0.1,
|
|
|
|
| 7 |
"initializer_range": 0.02,
|
| 8 |
"max_position_embeddings": 512,
|
| 9 |
"model_type": "distilbert",
|
| 10 |
+
"n_heads": 12,
|
| 11 |
+
"n_layers": 6,
|
| 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 |
}
|