mirth commited on
Commit
0916f9e
·
verified ·
1 Parent(s): c283881

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -32,10 +32,10 @@ I've made a small python library for this model: [chonky](https://github.com/mir
32
  Here is the usage:
33
 
34
  ```
35
- from chonky import TextSplitter
36
 
37
  # on the first run it will download the transformer model
38
- splitter = TextSplitter(
39
  model_id="mirth/chonky_modernbert_large_1",
40
  device="cpu"
41
  )
 
32
  Here is the usage:
33
 
34
  ```
35
+ from chonky import ParagraphSplitter
36
 
37
  # on the first run it will download the transformer model
38
+ splitter = ParagraphSplitter(
39
  model_id="mirth/chonky_modernbert_large_1",
40
  device="cpu"
41
  )