Feature Extraction
sentence-transformers
Safetensors
Transformers
English
mistraldual
sentence-similarity
custom_code
Instructions to use GeoGPT-Research-Project/GeoEmbedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use GeoGPT-Research-Project/GeoEmbedding with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("GeoGPT-Research-Project/GeoEmbedding", trust_remote_code=True) sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Transformers
How to use GeoGPT-Research-Project/GeoEmbedding with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="GeoGPT-Research-Project/GeoEmbedding", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("GeoGPT-Research-Project/GeoEmbedding", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,6 +9,7 @@ tags:
|
|
| 9 |
- transformers
|
| 10 |
- sentence-similarity
|
| 11 |
- feature-extraction
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# GeoEmbedding
|
|
@@ -52,7 +53,7 @@ print(np.dot(q_vecs, p_vecs.T))
|
|
| 52 |
```
|
| 53 |
|
| 54 |
## License and Uses
|
| 55 |
-
GeoEmbedding is
|
| 56 |
|
| 57 |
The model is not intended for use in any manner that violates applicable laws or regulations, nor for any activities prohibited by the license agreement. Additionally, it should not be used in languages other than those explicitly supported, as outlined in this model card.
|
| 58 |
|
|
|
|
| 9 |
- transformers
|
| 10 |
- sentence-similarity
|
| 11 |
- feature-extraction
|
| 12 |
+
license: apache-2.0
|
| 13 |
---
|
| 14 |
|
| 15 |
# GeoEmbedding
|
|
|
|
| 53 |
```
|
| 54 |
|
| 55 |
## License and Uses
|
| 56 |
+
GeoEmbedding is licensed under [Apache License 2.0](https://github.com/GeoGPT-Research-Project/GeoGPT-RAG/blob/master/Apache_LICENSE). GeoEmbedding is trained on the foundation of [Mistral-7B-Instruct-v0.1](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1), which is also licensed under the [Apache License 2.0](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md). It is your responsibility to ensure that your use of GeoEmbedding adheres to the terms of both the GeoEmbedding model and its upstream dependency, [Mistral-7B-Instruct-v0.1](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1).
|
| 57 |
|
| 58 |
The model is not intended for use in any manner that violates applicable laws or regulations, nor for any activities prohibited by the license agreement. Additionally, it should not be used in languages other than those explicitly supported, as outlined in this model card.
|
| 59 |
|