Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,12 @@
|
|
1 |
import gradio as gr
|
2 |
import re
|
3 |
-
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
4 |
import torch
|
5 |
from keybert import KeyBERT
|
|
|
|
|
|
|
|
|
6 |
|
7 |
# Initialize your model and tokenizer here
|
8 |
model_identifier = "karalif/myTestModel"
|
|
|
1 |
import gradio as gr
|
2 |
import re
|
3 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
|
4 |
import torch
|
5 |
from keybert import KeyBERT
|
6 |
+
from datasets import load_dataset
|
7 |
+
import shap
|
8 |
+
from transformers_interpret import SequenceClassificationExplainer
|
9 |
+
from ferret import Benchmark
|
10 |
|
11 |
# Initialize your model and tokenizer here
|
12 |
model_identifier = "karalif/myTestModel"
|