tim1900 commited on
Commit
bcac0b8
·
verified ·
1 Parent(s): 5111de6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -8
README.md CHANGED
@@ -63,12 +63,4 @@ for i, c in enumerate(chunks):
63
  print(f'-----chunk: {i}------------')
64
  print(c)
65
 
66
- # chunk the text faster but compromising performance a lot, by using a fixed context window, batchsize is the number of windows run per batch.
67
- print('----->Here is the result of fast chunk method<------:')
68
- chunks=model.chunk_text_fast(text, tokenizer, batchsize=20, prob_threshold=0.5)
69
-
70
- # print chunks
71
- for i, c in enumerate(chunks):
72
- print(f'-----chunk: {i}------------')
73
- print(c)
74
  ```
 
63
  print(f'-----chunk: {i}------------')
64
  print(c)
65
 
 
 
 
 
 
 
 
 
66
  ```