talsheffer commited on
Commit
95f08fd
·
verified ·
1 Parent(s): 328af12

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
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-Lite")
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-Lite', trust_remote_code=True)
131
- model = AutoModel.from_pretrained('Qodo/Qodo-Embed-1-Lite', trust_remote_code=True)
132
 
133
  max_length = 8192
134
 
@@ -146,8 +146,8 @@ print(scores.tolist())
146
 
147
 
148
 
149
- ## license
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