Update README.md
Browse files
README.md
CHANGED
@@ -8,7 +8,7 @@ tags:
|
|
8 |
|
9 |
---
|
10 |
|
11 |
-
# BAAI_bge-base-en-v1.5-tunned-for-blender-issues
|
12 |
|
13 |
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
14 |
|
@@ -30,7 +30,7 @@ Then you can use the model like this:
|
|
30 |
from sentence_transformers import SentenceTransformer
|
31 |
sentences = ["This is an example sentence", "Each sentence is converted"]
|
32 |
|
33 |
-
model = SentenceTransformer('BAAI_bge-base-en-v1.5-tunned-for-blender-issues')
|
34 |
embeddings = model.encode(sentences)
|
35 |
print(embeddings)
|
36 |
```
|
@@ -53,8 +53,8 @@ def cls_pooling(model_output, attention_mask):
|
|
53 |
sentences = ['This is an example sentence', 'Each sentence is converted']
|
54 |
|
55 |
# Load model from HuggingFace Hub
|
56 |
-
tokenizer = AutoTokenizer.from_pretrained('BAAI_bge-base-en-v1.5-tunned-for-blender-issues')
|
57 |
-
model = AutoModel.from_pretrained('BAAI_bge-base-en-v1.5-tunned-for-blender-issues')
|
58 |
|
59 |
# Tokenize sentences
|
60 |
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
|
@@ -76,7 +76,7 @@ print(sentence_embeddings)
|
|
76 |
|
77 |
<!--- Describe how your model was evaluated -->
|
78 |
|
79 |
-
For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name=
|
80 |
|
81 |
|
82 |
|
|
|
8 |
|
9 |
---
|
10 |
|
11 |
+
# mano-wii/BAAI_bge-base-en-v1.5-tunned-for-blender-issues
|
12 |
|
13 |
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
14 |
|
|
|
30 |
from sentence_transformers import SentenceTransformer
|
31 |
sentences = ["This is an example sentence", "Each sentence is converted"]
|
32 |
|
33 |
+
model = SentenceTransformer('mano-wii/BAAI_bge-base-en-v1.5-tunned-for-blender-issues')
|
34 |
embeddings = model.encode(sentences)
|
35 |
print(embeddings)
|
36 |
```
|
|
|
53 |
sentences = ['This is an example sentence', 'Each sentence is converted']
|
54 |
|
55 |
# Load model from HuggingFace Hub
|
56 |
+
tokenizer = AutoTokenizer.from_pretrained('mano-wii/BAAI_bge-base-en-v1.5-tunned-for-blender-issues')
|
57 |
+
model = AutoModel.from_pretrained('mano-wii/BAAI_bge-base-en-v1.5-tunned-for-blender-issues')
|
58 |
|
59 |
# Tokenize sentences
|
60 |
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
|
|
|
76 |
|
77 |
<!--- Describe how your model was evaluated -->
|
78 |
|
79 |
+
For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name=mano-wii_BAAI_bge-base-en-v1.5-tunned-for-blender-issues)
|
80 |
|
81 |
|
82 |
|