Update README.md
Browse files
README.md
CHANGED
@@ -50,7 +50,7 @@ flash_attn>=2.5.6
|
|
50 |
from sentence_transformers import SentenceTransformer
|
51 |
|
52 |
# Download from the 🤗 Hub
|
53 |
-
model = SentenceTransformer("Qodo/Qodo-Embed-1-
|
54 |
# Run inference
|
55 |
sentences = [
|
56 |
'accumulator = sum(item.value for item in collection)',
|
@@ -127,8 +127,8 @@ documents = [
|
|
127 |
]
|
128 |
input_texts = queries + documents
|
129 |
|
130 |
-
tokenizer = AutoTokenizer.from_pretrained('Qodo/Qodo-Embed-1-
|
131 |
-
model = AutoModel.from_pretrained('Qodo/Qodo-Embed-1-
|
132 |
|
133 |
max_length = 8192
|
134 |
|
@@ -146,8 +146,8 @@ print(scores.tolist())
|
|
146 |
|
147 |
|
148 |
|
149 |
-
##
|
150 |
-
QodoAI-Open-RAIL-M
|
151 |
<!--
|
152 |
## Glossary
|
153 |
|
|
|
50 |
from sentence_transformers import SentenceTransformer
|
51 |
|
52 |
# Download from the 🤗 Hub
|
53 |
+
model = SentenceTransformer("Qodo/Qodo-Embed-1-1.5B")
|
54 |
# Run inference
|
55 |
sentences = [
|
56 |
'accumulator = sum(item.value for item in collection)',
|
|
|
127 |
]
|
128 |
input_texts = queries + documents
|
129 |
|
130 |
+
tokenizer = AutoTokenizer.from_pretrained('Qodo/Qodo-Embed-1-1.5B', trust_remote_code=True)
|
131 |
+
model = AutoModel.from_pretrained('Qodo/Qodo-Embed-1-1.5B', trust_remote_code=True)
|
132 |
|
133 |
max_length = 8192
|
134 |
|
|
|
146 |
|
147 |
|
148 |
|
149 |
+
## License
|
150 |
+
[QodoAI-Open-RAIL-M](https://www.qodo.ai/open-rail-m-license/)
|
151 |
<!--
|
152 |
## Glossary
|
153 |
|