Spaces:
Sleeping
Sleeping
Social media links, model names, title in English
Browse files- app.py +16 -4
- data.json +4 -4
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import json
|
|
| 2 |
import streamlit as st
|
| 3 |
import pandas as pd
|
| 4 |
import seaborn as sns
|
|
|
|
| 5 |
|
| 6 |
|
| 7 |
# Function to load data from JSON file
|
|
@@ -61,13 +62,12 @@ st.markdown("""
|
|
| 61 |
<div class="header-container">
|
| 62 |
<img src="https://speakleash.org/wp-content/uploads/2023/09/SpeakLeash_logo.svg" alt="SpeakLeash Logo">
|
| 63 |
<div class="title-container">
|
| 64 |
-
<h1>
|
| 65 |
-
<
|
| 66 |
</div>
|
| 67 |
</div>
|
| 68 |
""", unsafe_allow_html=True)
|
| 69 |
|
| 70 |
-
|
| 71 |
# Create tabs
|
| 72 |
tab1, tab2 = st.tabs(["Wyniki", "Opis"])
|
| 73 |
|
|
@@ -94,4 +94,16 @@ with tab2:
|
|
| 94 |
st.write("Tutaj znajduje się trochę tekstu jako wypełniacz.")
|
| 95 |
st.write("To jest przykładowy tekst, który może zawierać dodatkowe informacje o benchmarku, metodologii, itp.")
|
| 96 |
|
| 97 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
import streamlit as st
|
| 3 |
import pandas as pd
|
| 4 |
import seaborn as sns
|
| 5 |
+
from st_social_media_links import SocialMediaIcons
|
| 6 |
|
| 7 |
|
| 8 |
# Function to load data from JSON file
|
|
|
|
| 62 |
<div class="header-container">
|
| 63 |
<img src="https://speakleash.org/wp-content/uploads/2023/09/SpeakLeash_logo.svg" alt="SpeakLeash Logo">
|
| 64 |
<div class="title-container">
|
| 65 |
+
<h1>SpeakLeash-Bench</h1>
|
| 66 |
+
<h3 style="margin-top: 0;">Understanding of Polish text, sentiment and phraseological compounds</h2>
|
| 67 |
</div>
|
| 68 |
</div>
|
| 69 |
""", unsafe_allow_html=True)
|
| 70 |
|
|
|
|
| 71 |
# Create tabs
|
| 72 |
tab1, tab2 = st.tabs(["Wyniki", "Opis"])
|
| 73 |
|
|
|
|
| 94 |
st.write("Tutaj znajduje się trochę tekstu jako wypełniacz.")
|
| 95 |
st.write("To jest przykładowy tekst, który może zawierać dodatkowe informacje o benchmarku, metodologii, itp.")
|
| 96 |
|
| 97 |
+
social_media_links = [
|
| 98 |
+
"https://discord.com/invite/ZJwCMrxwT7",
|
| 99 |
+
"https://www.linkedin.com/company/speakleash/",
|
| 100 |
+
"https://github.com/speakleash",
|
| 101 |
+
"https://x.com/Speak_Leash",
|
| 102 |
+
"https://www.facebook.com/Speakleash/"
|
| 103 |
+
]
|
| 104 |
+
|
| 105 |
+
social_media_icons = SocialMediaIcons(social_media_links)
|
| 106 |
+
|
| 107 |
+
social_media_icons.render()
|
| 108 |
+
|
| 109 |
+
# Run the app with `streamlit run your_script.py`
|
data.json
CHANGED
|
@@ -40,8 +40,8 @@
|
|
| 40 |
"Znajomość związków frazeologicznych": 3.55
|
| 41 |
},
|
| 42 |
{
|
| 43 |
-
"Model": "
|
| 44 |
-
"Rozmiar": "
|
| 45 |
"Średnia": 3.6583760683760684,
|
| 46 |
"Analiza wydźwięku": 3.9551282051282053,
|
| 47 |
"Zrozumienie tekstu": 3.915,
|
|
@@ -56,8 +56,8 @@
|
|
| 56 |
"Znajomość związków frazeologicznych": 3.28
|
| 57 |
},
|
| 58 |
{
|
| 59 |
-
"Model": "
|
| 60 |
-
"Rozmiar": "
|
| 61 |
"Średnia": 3.614786324786325,
|
| 62 |
"Analiza wydźwięku": 3.9743589743589745,
|
| 63 |
"Zrozumienie tekstu": 3.745,
|
|
|
|
| 40 |
"Znajomość związków frazeologicznych": 3.55
|
| 41 |
},
|
| 42 |
{
|
| 43 |
+
"Model": "speakleash/Bielik-11B-v2.1-Instruct",
|
| 44 |
+
"Rozmiar": "11.2B",
|
| 45 |
"Średnia": 3.6583760683760684,
|
| 46 |
"Analiza wydźwięku": 3.9551282051282053,
|
| 47 |
"Zrozumienie tekstu": 3.915,
|
|
|
|
| 56 |
"Znajomość związków frazeologicznych": 3.28
|
| 57 |
},
|
| 58 |
{
|
| 59 |
+
"Model": "speakleash/Bielik-11B-v2.0-Instruct",
|
| 60 |
+
"Rozmiar": "11.2B",
|
| 61 |
"Średnia": 3.614786324786325,
|
| 62 |
"Analiza wydźwięku": 3.9743589743589745,
|
| 63 |
"Zrozumienie tekstu": 3.745,
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
streamlit
|
| 2 |
pandas
|
| 3 |
-
seaborn
|
|
|
|
|
|
| 1 |
streamlit
|
| 2 |
pandas
|
| 3 |
+
seaborn
|
| 4 |
+
st_social_media_links
|