Update app.py
25d8a2b
-
code_sim_index
Upload 2 files
-
1.54 kB
Upload 2 files
-
251 Bytes
initial commit
-
2.45 kB
Update app.py
codesearchdb.pickle
Detected Pickle imports (37)
- "transformers.models.roberta.modeling_roberta.RobertaModel",
- "torch._C._nn.gelu",
- "transformers.models.roberta.modeling_roberta.RobertaPooler",
- "transformers.models.roberta.configuration_roberta.RobertaConfig",
- "torch.device",
- "torch.nn.modules.linear.Linear",
- "transformers.models.roberta.modeling_roberta.RobertaAttention",
- "langchain.vectorstores.faiss.FAISS",
- "faiss.swigfaiss_avx2.IndexFlatL2",
- "tokenizers.AddedToken",
- "sentence_transformers.SentenceTransformer.SentenceTransformer",
- "torch.storage._load_from_bytes",
- "collections.OrderedDict",
- "torch._utils._rebuild_tensor_v2",
- "builtins.getattr",
- "torch.nn.modules.activation.Tanh",
- "transformers.models.roberta.modeling_roberta.RobertaEncoder",
- "transformers.models.roberta.modeling_roberta.RobertaEmbeddings",
- "langchain.docstore.in_memory.InMemoryDocstore",
- "transformers.activations.GELUActivation",
- "torch.nn.modules.dropout.Dropout",
- "transformers.models.roberta.modeling_roberta.RobertaSelfAttention",
- "torch.nn.modules.normalization.LayerNorm",
- "sentence_transformers.models.Pooling.Pooling",
- "torch._utils._rebuild_parameter",
- "transformers.models.roberta.modeling_roberta.RobertaSelfOutput",
- "tokenizers.models.Model",
- "transformers.models.roberta.tokenization_roberta_fast.RobertaTokenizerFast",
- "sentence_transformers.models.Transformer.Transformer",
- "transformers.models.roberta.modeling_roberta.RobertaIntermediate",
- "langchain.embeddings.huggingface.HuggingFaceEmbeddings",
- "transformers.models.roberta.modeling_roberta.RobertaOutput",
- "torch.nn.modules.sparse.Embedding",
- "tokenizers.Tokenizer",
- "transformers.models.roberta.modeling_roberta.RobertaLayer",
- "langchain.schema.Document",
- "torch.nn.modules.container.ModuleList"
How to fix it?
505 MB
Upload codesearchdb.pickle
-
57 Bytes
Update requirements.txt