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