Update README.md
Browse files
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
|
35 |
|
36 |
# on the first run it will download the transformer model
|
37 |
-
splitter =
|
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 |
)
|