Update app.py
c8db798
verified
-
1.52 kB
Duplicate from gradio-templates/chatbot
-
430 Bytes
initial commit
-
1.95 kB
Update app.py
bert_model_complete.pth
Detected Pickle imports (26)
- "transformers.models.bert.modeling_bert.BertSelfOutput",
- "transformers.models.bert.modeling_bert.BertLayer",
- "torch.nn.modules.container.ModuleList",
- "transformers.models.bert.modeling_bert.BertEmbeddings",
- "torch._utils._rebuild_parameter",
- "transformers.models.bert.modeling_bert.BertAttention",
- "transformers.models.bert.modeling_bert.BertPooler",
- "transformers.models.bert.modeling_bert.BertModel",
- "transformers.models.bert.modeling_bert.BertForSequenceClassification",
- "transformers.models.bert.modeling_bert.BertSdpaSelfAttention",
- "torch._utils._rebuild_tensor_v2",
- "torch.nn.modules.linear.Linear",
- "transformers.models.bert.modeling_bert.BertIntermediate",
- "__builtin__.set",
- "torch.nn.modules.sparse.Embedding",
- "torch._C._nn.gelu",
- "torch.nn.modules.activation.Tanh",
- "transformers.models.bert.modeling_bert.BertEncoder",
- "torch.LongStorage",
- "torch.FloatStorage",
- "transformers.activations.GELUActivation",
- "torch.nn.modules.dropout.Dropout",
- "torch.nn.modules.normalization.LayerNorm",
- "transformers.models.bert.modeling_bert.BertOutput",
- "transformers.models.bert.configuration_bert.BertConfig",
- "collections.OrderedDict"
How to fix it?
438 MB
Upload bert_model_complete.pth
-
50 Bytes
Update requirements.txt