hotchpotch
commited on
Commit
•
0b209a5
1
Parent(s):
9c658d6
Update README.md
Browse files
README.md
CHANGED
@@ -42,10 +42,8 @@ docs = [
|
|
42 |
|
43 |
print(embedder.rank(query, docs, return_documents=True))
|
44 |
```
|
45 |
-
```
|
46 |
|
47 |
-
```
|
48 |
-
```json
|
49 |
[
|
50 |
{ 'corpus_id': 0
|
51 |
, 'score': 4.28
|
@@ -83,7 +81,7 @@ token_values = embedder.get_token_values(embeddings[0])
|
|
83 |
print(token_values)
|
84 |
```
|
85 |
|
86 |
-
```
|
87 |
{
|
88 |
'燃費': 1.13,
|
89 |
'方法': 1.07,
|
|
|
42 |
|
43 |
print(embedder.rank(query, docs, return_documents=True))
|
44 |
```
|
|
|
45 |
|
46 |
+
```python
|
|
|
47 |
[
|
48 |
{ 'corpus_id': 0
|
49 |
, 'score': 4.28
|
|
|
81 |
print(token_values)
|
82 |
```
|
83 |
|
84 |
+
```python
|
85 |
{
|
86 |
'燃費': 1.13,
|
87 |
'方法': 1.07,
|