Spaces:
Runtime error
Runtime error
File size: 1,560 Bytes
4a4e551 7f1f820 4a4e551 ba22794 1035aed ba22794 1035aed ba22794 1035aed ba22794 1035aed ba22794 1035aed ca81517 1035aed ca81517 1035aed ca81517 |
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 |
import requests
import streamlit as st
import time
from transformers import pipeline
import os
from .utils import query
def write():
st.markdown(
"""
<h1 style="text-align:left;">TURNA</h1>
""",
unsafe_allow_html=True,
)
st.write("#")
col = st.columns(2)
col[0].image("images/turna-logo.png", width=100)
st.markdown(
"""
<h3 style="text-align:left;">... is a Turkish encoder-decoder language model.</h3>
<p style="text-align:right;"><p>
<p style="text-align:left;">In this Huggingface space, you can test the TURNA language model. </p>
<p style="text-align:left;">The model contains 1.1B parameters, and was pre-trained with an encoder-decoder architecture following the UL2 framework on 43B tokens from various domains. </p>
<p style="text-align:left;">TURNA was fine-tuned to carry out Turkish summarization, paraphrasing, news title generation, sentiment classification, text categorization, named entity recognition, part-of-speech tagging, semantic textual similarity and natural language inference tasks. </p>
<p style="text-align:left;">Go to the <strong>Navigation</strong> bar to access our applications. </p>
<p style="text-align:left;">Refer to our <a href="https://arxiv.org/abs/2401.14373">paper</a> for more details... </p>
<p style="text-align:left;"><p>
<p style="text-align:right;"><em>TURNA can generate toxic content or provide erroneous information. Double-check before usage. </em><p>
""",
unsafe_allow_html=True,
)
|