File size: 2,119 Bytes
4a4e551
 
 
 
 
7f1f820
4a4e551
ba22794
1035aed
 
 
 
 
 
ba22794
1035aed
ba22794
1035aed
ba22794
1035aed
ba22794
1035aed
 
d4efc5b
1035aed
bcf9290
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a7106d4
bcf9290
 
 
7510de1
bcf9290
 
 
 
 
 
 
 
 
 
 
 
1035aed
 
 
bcf9290
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
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
70
71
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;">a Turkish encoder-decoder language model</h3>
			<p style="text-align:right;"><p>
			""", unsafe_allow_html=True,
	)
	st.markdown(
			"""
			Welcome to our Huggingface space, where you can explore the capabilities of TURNA. 
			
			**Key Features of TURNA:**
			
			- **Powerful Architecture:** TURNA contains 1.1B parameters, and was pre-trained with an encoder-decoder architecture following the UL2 framework on 43B tokens from various domains.
			- **Diverse Training Data:** Our model is trained on a varied dataset of 43 billion tokens, covering a wide array of domains.
			- **Broad Applications:** TURNA is fine-tuned for a variety of generation and understanding tasks, including:
				- Summarization
				- Paraphrasing
				- News title generation
				- Sentiment classification
				- Text categorization
				- Named entity recognition
				- Part-of-speech tagging
				- Semantic textual similarity
				- Natural language inference
			
			Explore various applications powered by **TURNA** using the **Navigation** bar.
			
			Refer to our [paper](https://arxiv.org/abs/2401.14373) for more details.
			
			### Citation
			```bibtex
			@misc{uludogan2024turna,
				title={TURNA: A Turkish Encoder-Decoder Language Model for Enhanced Understanding and Generation}, 
				author={Gökçe Uludoğan and Zeynep Yirmibeşoğlu Balal and Furkan Akkurt and Melikşah Türker and Onur Güngör and Susan Üsküdarlı},
				year={2024},
				eprint={2401.14373},
				archivePrefix={arXiv},
				primaryClass={cs.CL}
			}
			```
			""")
	st.markdown(
			"""
			<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,
		)