Update README.md
Browse files
README.md
CHANGED
|
@@ -65,8 +65,8 @@ for i, c in enumerate(chunks):
|
|
| 65 |
print(f'-----chunk: {i}------------')
|
| 66 |
print(c)
|
| 67 |
|
| 68 |
-
print('----->Here is the result of fast chunk method<------:')
|
| 69 |
# chunk the text faster with a fixed context window, batchsize is the number of windows run per batch.
|
|
|
|
| 70 |
chunks=model.chunk_text_fast(text, tokenizer, batchsize=20, threshold=0)
|
| 71 |
|
| 72 |
# print chunks
|
|
|
|
| 65 |
print(f'-----chunk: {i}------------')
|
| 66 |
print(c)
|
| 67 |
|
|
|
|
| 68 |
# chunk the text faster with a fixed context window, batchsize is the number of windows run per batch.
|
| 69 |
+
print('----->Here is the result of fast chunk method<------:')
|
| 70 |
chunks=model.chunk_text_fast(text, tokenizer, batchsize=20, threshold=0)
|
| 71 |
|
| 72 |
# print chunks
|