Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	| import streamlit as st | |
| def write(): | |
| st.markdown( | |
| """ | |
| <h1 style="text-align:left;">Hamshetsnag POS Tagger</h1> | |
| """, | |
| unsafe_allow_html=True, | |
| ) | |
| st.write("#") | |
| col = st.columns(2) | |
| # Include an image/logo for branding | |
| col[0].image("images/cauldron.jpg", width=150) | |
| st.markdown( | |
| """ | |
| <h3 style="text-align:left;">A POS Tagging Tool for the Hamshetsnag Language</h3> | |
| """, unsafe_allow_html=True, | |
| ) | |
| st.markdown( | |
| """ | |
| **Features:** | |
| - Tags parts of speech in Hamshetsnag (Hemşince) text. | |
| - Utilizes a fine-tuned model specifically with Multilingual BERT. | |
| - Dataset: Sequential fine-tuning with Western Armenian and Eastern Armenian UD sentences and our Hamshetsnag corpus. | |
| - Configurable parameters for customizing tagging behavior. | |
| Refer to the [paper](http://kelesonur.github.io/folder/hms_abstract.pdf) for more details. | |
| ### Citation: | |
| ```bibtex | |
| @inproceedings{keles2024hamshetsnag, | |
| title={Transfer Learning to the Rescue! Cross-Lingual Transfer for POS Tagging in an Endangered Language: Hamshetsnag}, | |
| author={Onur Keleş and Baran Günay}, | |
| booktitle={Turkey Computational Social Science Conference}, | |
| year={2024}, | |
| address={Koç University: Istanbul, Turkey} | |
| } | |
| ``` | |
| """ | |
| ) | |
| st.markdown( | |
| """ | |
| <p style="text-align:right;"><em>Please use this tool responsibly and double-check all outputs.</em></p> | |
| """, | |
| unsafe_allow_html=True, | |
| ) |