preechanon commited on
Commit
722a04d
1 Parent(s): 5b9b8c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -107,7 +107,20 @@ def tokenize(text):
107
  model = model_()
108
  model.load_weights("cutto_tf2.h5")
109
  st.title("Cutto Thai word seggmentation.")
110
- st.write("ปรีชานนท์ ชาติไทย และ สัจจวัจน์ ส่งเสริม. (2567), การสรุปข้อความข่าวภาษาไทยด้วยโครงข่ายประสาทเทียม (Thai News Text Summarization Using Neural Network), วิทยาศาสตรบัณฑิต (วทบ.):ขอนแก่น, มหาวิทยาลัยขอนแก่น")
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  text = st.text_area("Enter original text!")
112
  if st.button("cut it!!"):
113
  if text:
 
107
  model = model_()
108
  model.load_weights("cutto_tf2.h5")
109
  st.title("Cutto Thai word seggmentation.")
110
+ multi = '''# Score
111
+ Evaluate the model performance using the test dataset divided from BEST CORPUS 2009, which comprises 10 percent, with the following scores:
112
+ - F1-Score: 98.37
113
+ - Precision: 98.02
114
+ - Recall: 98.67
115
+
116
+ # Resource Funding
117
+ NSTDA Supercomputer center (ThaiSC) and the National e-Science Infrastructure Consortium for their support of computer facilities.
118
+
119
+ # Citation
120
+ If you use cutto in your project or publication, please cite the model as follows:
121
+ ปรีชานนท์ ชาติไทย และ สัจจวัจน์ ส่งเสริม. (2567), การสรุปข้อความข่าวภาษาไทยด้วยโครงข่ายประสาทเทียม (Thai News Text Summarization Using Neural Network), วิทยาศาสตรบัณฑิต (วทบ.):ขอนแก่น, มหาวิทยาลัยขอนแก่น
122
+ '''
123
+ st.markdown(multi)
124
  text = st.text_area("Enter original text!")
125
  if st.button("cut it!!"):
126
  if text: