Spaces:
Sleeping
Sleeping
Kamil Pytlak
commited on
Commit
Β·
69d6bb9
1
Parent(s):
fa63524
Added content to README.md
Browse files
README.md
CHANGED
@@ -1,13 +1,90 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: streamlit
|
7 |
sdk_version: 1.27.1
|
8 |
app_file: app.py
|
9 |
-
pinned:
|
10 |
license: mit
|
11 |
---
|
12 |
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
title: Sci-Fi Seeker
|
3 |
+
emoji: π½
|
4 |
+
colorFrom: purple
|
5 |
+
colorTo: black
|
6 |
sdk: streamlit
|
7 |
sdk_version: 1.27.1
|
8 |
app_file: app.py
|
9 |
+
pinned: true
|
10 |
license: mit
|
11 |
---
|
12 |
|
13 |
+
|
14 |
+
<h1 align="center">
|
15 |
+
<br>
|
16 |
+
<img src="img/logo.jpg" alt="SFSeeker logo" width="250">
|
17 |
+
<br>
|
18 |
+
Sci-Fi Seeker
|
19 |
+
<br>
|
20 |
+
</h1>
|
21 |
+
|
22 |
+
<h4 align="center">An AI assistant with a semantic engine/question writing tutor in Sci-Fi Stack Exchange service<br>built on top of <a href="https://streamlit.io/" target="_blank">Streamlit</a>.</h4>
|
23 |
+
|
24 |
+
<p align="center">
|
25 |
+
<a href="#features">Features</a> β’
|
26 |
+
<a href="#how-to-use">How To Use</a> β’
|
27 |
+
<a href="#contact">Contact</a> β’
|
28 |
+
<a href="#credits">Credits</a> β’
|
29 |
+
<a href="#license">License</a>
|
30 |
+
</p>
|
31 |
+
|
32 |
+
![screenshot](img/semantic_search.jpg)
|
33 |
+
|
34 |
+
<p align="center">
|
35 |
+
SF Seeker is an AI assistant designed for Sci-Fi Stack Exchange, utilizing an all-MiniLM-L6-v2 language model. It helps users improve their question-writing skills and find similar questions on the Sci-Fi Stack Exchange website. This tool leverages a database of 71,013 questions to locate semantically similar questions, reducing the likelihood of creating duplicate threads. Additionally, SF Seeker is in the process of developing a feature that identifies words in questions that affect the likelihood of receiving answers, assisting users in formulating more precise inquiries. This feature uses a model trained with gradient reinforcement based on TF-IDF features.
|
36 |
+
</p>
|
37 |
+
|
38 |
+
## Features
|
39 |
+
|
40 |
+
* π Based on a database of 71,013 questions, it searches for the most semantically similar questions to the one entered by the user. This supports the process of fiding the same/similar questions already asked and prevents the creation of duplicate threads.
|
41 |
+
* π¨ββοΈ [IN PROGRESS] Indicates words in a question that have a negative and positive effect on the chance of getting an answer. It supports the process of arranging more precise questions. A model based on gradient reinforcement learned using TF-IDF features was used.
|
42 |
+
|
43 |
+
## How To Use
|
44 |
+
There are two ways to use this app:
|
45 |
+
1. Via the website https://huggingface.co/spaces/kamil-pytlak/SFSeeker
|
46 |
+
2. Locally by cloning the repository (using git or by downloading it directly from the website), install the dependencies from the configuration file `Pipfile` and launch the app locally using a browser.
|
47 |
+
|
48 |
+
```bash
|
49 |
+
# Clone this repository
|
50 |
+
$ git clone https://github.com/kamilpytlak/SFSeeker
|
51 |
+
|
52 |
+
# Go into the repository
|
53 |
+
$ cd SFSeeker
|
54 |
+
|
55 |
+
# Install pipenv (in case it's not installed) and, run pipenv shell and install dependencies
|
56 |
+
$ pip install pipenv
|
57 |
+
$ pipenv shell
|
58 |
+
$ pipenv install
|
59 |
+
|
60 |
+
# Ensure that the streamlit package was installed successfully.
|
61 |
+
$ streamlit hello
|
62 |
+
|
63 |
+
# Finally, run the app locally
|
64 |
+
$ streamlit run ./main.py
|
65 |
+
```
|
66 |
+
|
67 |
+
## Contact
|
68 |
+
|
69 |
+
If you have any problems, ideas or general feedback, please don't hesitate to contact me at [kam.pytlak@gmail.com](mailto:kam.pytlak@gmail.com). I'd really appreciate it!
|
70 |
+
|
71 |
+
## Credits
|
72 |
+
|
73 |
+
This software uses the following open source packages:
|
74 |
+
|
75 |
+
- [Streamlit](https://streamlit.io/)
|
76 |
+
- [pandas](https://pandas.pydata.org/)
|
77 |
+
- [scikit-learn](https://scikit-learn.org/stable/#)
|
78 |
+
- [scikit-learn-intelex](https://intel.github.io/scikit-learn-intelex/)
|
79 |
+
- [xgboost](https://xgboost.readthedocs.io/en/latest/index.html)
|
80 |
+
- [sentence-transformers](https://www.sbert.net/)
|
81 |
+
|
82 |
+
## License
|
83 |
+
MIT
|
84 |
+
|
85 |
+
---
|
86 |
+
|
87 |
+
> GitHub [@kamilpytlak](https://github.com/kamilpytlak) ·
|
88 |
+
> LinkedIn [kamil-pytlak](https://www.linkedin.com/in/kamil-pytlak/)
|
89 |
+
|
90 |
+
|