Srikumar26
commited on
Push model using huggingface_hub.
Browse files- README.md +6 -15
- config.json +1 -1
- model.safetensors +3 -0
README.md
CHANGED
@@ -1,18 +1,9 @@
|
|
1 |
---
|
2 |
-
|
|
|
|
|
3 |
---
|
4 |
-
Model: Geoclip (https://arxiv.org/abs/2309.16020)
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
import torch
|
10 |
-
|
11 |
-
hf_hub_download("MVRL/geoclip-location-encoder", "model.py", local_dir=".")
|
12 |
-
|
13 |
-
from model import LocationEncoder
|
14 |
-
|
15 |
-
model = LocationEncoder.from_pretrained("MVRL/geoclip-location-encoder")
|
16 |
-
|
17 |
-
print(model(torch.tensor([[42.0, 128.0]])).shape)
|
18 |
-
```
|
|
|
1 |
---
|
2 |
+
tags:
|
3 |
+
- model_hub_mixin
|
4 |
+
- pytorch_model_hub_mixin
|
5 |
---
|
|
|
6 |
|
7 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
8 |
+
- Library: [More Information Needed]
|
9 |
+
- Docs: [More Information Needed]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.json
CHANGED
@@ -8,4 +8,4 @@
|
|
8 |
256
|
9 |
],
|
10 |
"transformers_version": "4.45.2"
|
11 |
-
}
|
|
|
8 |
256
|
9 |
],
|
10 |
"transformers_version": "4.45.2"
|
11 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02b8fc91b9857c6db2bd7f8808df2f34a25d2e279d4b5ae7447510d31bf75913
|
3 |
+
size 37800376
|