Update README.md
Browse files
README.md
CHANGED
|
@@ -7,6 +7,8 @@ pipeline_tag: token-classification
|
|
| 7 |
---
|
| 8 |
# bert-chunker-2
|
| 9 |
|
|
|
|
|
|
|
| 10 |
bert-chunker-2 is a text chunker based on BERT with a classifier head to predict the start token of chunks (for use in RAG, etc), and using a sliding window it cuts documents of any size into chunks. We see it as an alternative of [semantic chunker](https://github.com/FullStackRetrieval-com/RetrievalTutorials/blob/main/tutorials/LevelsOfTextSplitting/5_Levels_Of_Text_Splitting.ipynb), but specially, it not only works for the structured texts, but also the **unstructured and messy texts**. As a new experimental version of [bert-chunker](https://huggingface.co/tim1900/bert-chunker), it's enhanced for article structures, aiming to reach a balance between semantic chunking and structure chunking. It is a 0.1:0.9 linear weight merging of a trained semantic chunker and a trained structure chunker.
|
| 11 |
|
| 12 |
**A new, more mature version is [bert-chunker-3](https://huggingface.co/tim1900/bert-chunker-3)**.
|
|
|
|
| 7 |
---
|
| 8 |
# bert-chunker-2
|
| 9 |
|
| 10 |
+
[GitHub](https://github.com/jackfsuia/bert-chunker/tree/main/bc2)
|
| 11 |
+
|
| 12 |
bert-chunker-2 is a text chunker based on BERT with a classifier head to predict the start token of chunks (for use in RAG, etc), and using a sliding window it cuts documents of any size into chunks. We see it as an alternative of [semantic chunker](https://github.com/FullStackRetrieval-com/RetrievalTutorials/blob/main/tutorials/LevelsOfTextSplitting/5_Levels_Of_Text_Splitting.ipynb), but specially, it not only works for the structured texts, but also the **unstructured and messy texts**. As a new experimental version of [bert-chunker](https://huggingface.co/tim1900/bert-chunker), it's enhanced for article structures, aiming to reach a balance between semantic chunking and structure chunking. It is a 0.1:0.9 linear weight merging of a trained semantic chunker and a trained structure chunker.
|
| 13 |
|
| 14 |
**A new, more mature version is [bert-chunker-3](https://huggingface.co/tim1900/bert-chunker-3)**.
|