Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -199,7 +199,7 @@ if btn:
|
|
199 |
|
200 |
with gpt_tab:
|
201 |
with st.expander('Why GPT?'):
|
202 |
-
st.write("""
|
203 |
attentions = gpt_outputs[-1]
|
204 |
tokens = gpt_tokenizer.convert_ids_to_tokens(gpt_input['input_ids'][0])
|
205 |
|
|
|
199 |
|
200 |
with gpt_tab:
|
201 |
with st.expander('Why GPT?'):
|
202 |
+
st.write("""The use of GPT for sequence classification exploits its text generation capabilities for classification applications.Originally developed to generate text, GPT possesses a deep understanding of language that proves beneficial even for categorizing text.To adapt GPT to classification tasks, we perform model fine-tuning on our dataset. This tuning process enables GPT to efficiently link text sequences to defined categories, adjusting its internal weights to optimize label prediction from training data.""")
|
203 |
attentions = gpt_outputs[-1]
|
204 |
tokens = gpt_tokenizer.convert_ids_to_tokens(gpt_input['input_ids'][0])
|
205 |
|