Spaces:
Sleeping
Sleeping
Upload 3 files
Browse files- Finetuning_DistilBERT_for_IMDB_Sentiment_Analysis.ipynb +0 -0
- app.py +2 -0
- requirements.txt +2 -1
Finetuning_DistilBERT_for_IMDB_Sentiment_Analysis.ipynb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
app.py
CHANGED
|
@@ -19,6 +19,8 @@ with gr.Blocks() as demo:
|
|
| 19 |
|
| 20 |
with gr.Row():
|
| 21 |
text_input = gr.Textbox(label="Input Review")
|
|
|
|
|
|
|
| 22 |
predict_button = gr.Button("Predict")
|
| 23 |
|
| 24 |
with gr.Row():
|
|
|
|
| 19 |
|
| 20 |
with gr.Row():
|
| 21 |
text_input = gr.Textbox(label="Input Review")
|
| 22 |
+
|
| 23 |
+
with gr.Row():
|
| 24 |
predict_button = gr.Button("Predict")
|
| 25 |
|
| 26 |
with gr.Row():
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
transformers==4.47.1
|
| 2 |
evaluate==0.4.0
|
| 3 |
-
gradio==3.34.0
|
|
|
|
|
|
| 1 |
transformers==4.47.1
|
| 2 |
evaluate==0.4.0
|
| 3 |
+
gradio==3.34.0
|
| 4 |
+
torch==2.5.1+cu121
|