Update README.md
Browse files
README.md
CHANGED
|
@@ -1,12 +1,44 @@
|
|
| 1 |
---
|
| 2 |
title: Nn Ext
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: streamlit
|
| 7 |
sdk_version: 1.31.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
|
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: Nn Ext
|
| 3 |
+
emoji: π¦
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: streamlit
|
| 7 |
sdk_version: 1.31.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
+
# Streamlit app with neural network π‘
|
| 12 |
|
| 13 |
+
## Teamπ§π»βπ»
|
| 14 |
+
1. [Diachenko Ilia](https://github.com/DiaElijah)
|
| 15 |
+
2. [Yerlan Baidildin](https://github.com/YerlanBaidildin)
|
| 16 |
+
|
| 17 |
+
## Task π
|
| 18 |
+
1. Parse a movie database online.
|
| 19 |
+
2. Creating a service for semantic movie search using pre-trained language models.
|
| 20 |
+
|
| 21 |
+
## Contents π€
|
| 22 |
+
1. Data parsing was carried out from the site π½οΈ [kino.mail.ru](https://kino.mail.ru/cinema/all/)
|
| 23 |
+
2. Models used for semantic search π€ [rubert-tiny2](https://huggingface.co/cointegrated/rubert-tiny2) and π [msmarco-MiniLM-L-12-v3](https://www.sbert.net/docs/pretrained-models/msmarco-v3.html)
|
| 24 |
+
3. The library was used for semantic search πΎ [Sentence Transformers](https://www.sbert.net/examples/applications/semantic-search/README.html#)
|
| 25 |
+
|
| 26 |
+
## Libraries π
|
| 27 |
+
```python
|
| 28 |
+
import json
|
| 29 |
+
import requests
|
| 30 |
+
from bs4 import BeautifulSoup
|
| 31 |
+
import pandas as pd
|
| 32 |
+
import time
|
| 33 |
+
import csv
|
| 34 |
+
import re
|
| 35 |
+
import ast
|
| 36 |
+
import re
|
| 37 |
+
import string
|
| 38 |
+
import nltk
|
| 39 |
+
import pymorphy2
|
| 40 |
+
import streamlit as st
|
| 41 |
+
import numpy as np
|
| 42 |
+
import torch
|
| 43 |
+
from sentence_transformers import SentenceTransformer, util
|
| 44 |
+
```
|