File size: 1,814 Bytes
a0bd66d fc85650 a0bd66d fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a fc85650 8a0115a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | ---
title: Research Notes Matcher
emoji: 🏢
colorFrom: pink
colorTo: purple
sdk: gradio
sdk_version: 5.1.0
app_file: app.py
pinned: false
license: mit
short_description: Assist you to match bucnhes of text with your reference note
---
# Research Notes Matcher
This application allows you to find the top 5 matching research notes based on your input text. The tool uses a pre-trained language model from Hugging Face's Sentence Transformers to compute semantic similarity between the notes and the user input.
## Features
- **Upload CSV**: Upload a CSV file containing research notes.
- **Text Input**: Enter your text to find the most relevant notes.
- **Semantic Matching**: The application uses a Sentence Transformer to provide more meaningful matches compared to traditional methods.
## Requirements
Make sure to install the following packages:
```bash
pip install gradio pandas sentence-transformers scikit-learn
```
## Usage
1. Run the application.
2. Upload a CSV file with the columns **Source**, **Section**, and **Notes**.
3. Type your content in the provided textbox.
4. Click the submit button to see the top 5 matching entries.
## Sample CSV Format
Your CSV file should have the following columns:
| Source | Section | Notes |
|---------|----------|--------|
| Source1 | Section1 | Note1 |
| Source2 | Section2 | Note2 |
## Launching the Application
To run the application, execute the following command in your terminal:
```bash
python app.py
```
Replace `app.py` with the name of your Python file if it's different.
## License
This project is licensed under the MIT License.
## Acknowledgements
- [Gradio](https://gradio.app/) for creating the user interface.
- [Hugging Face](https://huggingface.co/sentence-transformers) for providing the Sentence Transformers.
----
|