mirth commited on
Commit
a1652ab
·
verified ·
1 Parent(s): d999c83

Update README.md

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