Spaces:
Running
Running
Update readme info
Browse files
README.md
CHANGED
|
@@ -15,9 +15,10 @@ short_description: TextTiling using LLM Embeddings for Text Segmentation
|
|
| 15 |
|
| 16 |
This directory contains the **demo code** for an Extended TextTiling application, which segments text into coherent chunks by leveraging **LLM embeddings** (via Sentence Transformers) and a semantic shift probability threshold.
|
| 17 |
|
| 18 |
-
## Live Demo
|
| 19 |
|
| 20 |
You can try out the [**LLM TextTiling Demo**](https://huggingface.co/spaces/saeedabc/llm-text-tiling-demo) in your browser—no setup required.
|
|
|
|
| 21 |
|
| 22 |
## Overview
|
| 23 |
|
|
|
|
| 15 |
|
| 16 |
This directory contains the **demo code** for an Extended TextTiling application, which segments text into coherent chunks by leveraging **LLM embeddings** (via Sentence Transformers) and a semantic shift probability threshold.
|
| 17 |
|
| 18 |
+
## Live Demo and Code
|
| 19 |
|
| 20 |
You can try out the [**LLM TextTiling Demo**](https://huggingface.co/spaces/saeedabc/llm-text-tiling-demo) in your browser—no setup required.
|
| 21 |
+
Refer to a related [Github repository](https://github.com/saeedabc/llm-text-tiling) for extended functionalities such as hyper-parameter tuning with more embedding models and datasets.
|
| 22 |
|
| 23 |
## Overview
|
| 24 |
|
app.py
CHANGED
|
@@ -155,7 +155,7 @@ with gr.Blocks() as app:
|
|
| 155 |
gr.Markdown("""
|
| 156 |
# LLM TextTiling Demo
|
| 157 |
|
| 158 |
-
An **extended** approach to text segmentation that combines **TextTiling** with **LLM embeddings**. Simply provide your text, choose an embedding model, and adjust segmentation parameters (window size, pooling, threshold). The demo will split your text into coherent segments based on **semantic shifts**.
|
| 159 |
""")
|
| 160 |
|
| 161 |
with gr.Row():
|
|
|
|
| 155 |
gr.Markdown("""
|
| 156 |
# LLM TextTiling Demo
|
| 157 |
|
| 158 |
+
An **extended** approach to text segmentation that combines **TextTiling** with **LLM embeddings**. Simply provide your text, choose an embedding model, and adjust segmentation parameters (window size, pooling, threshold). The demo will split your text into coherent segments based on **semantic shifts**. Refer to the [README](https://huggingface.co/spaces/saeedabc/llm-text-tiling-demo/blob/main/README.md) for more details.
|
| 159 |
""")
|
| 160 |
|
| 161 |
with gr.Row():
|