Update custom_llm.py
1663093
verified
-
1.68 kB
Upload wi_knowledge.dat with huggingface_hub
-
234 Bytes
initial commit
-
3.61 kB
Update app.py
-
7.88 kB
Update custom_llm.py
output_file.dat
Detected Pickle imports (3)
- "langchain_community.docstore.in_memory.InMemoryDocstore",
- "faiss.swigfaiss.IndexFlatL2",
- "langchain_core.documents.base.Document"
How to fix it?
21.4 MB
Upload output_file.dat with huggingface_hub
-
61 Bytes
Create requirements.txt
-
1.34 MB
Upload wi_knowledge.dat with huggingface_hub
wi_knowledge.pkl
Detected Pickle imports (37)
- "torch._utils._rebuild_parameter",
- "torch.nn.modules.normalization.LayerNorm",
- "langchain_core.documents.base.Document",
- "tokenizers.AddedToken",
- "transformers.models.xlm_roberta.modeling_xlm_roberta.XLMRobertaOutput",
- "transformers.models.xlm_roberta.modeling_xlm_roberta.XLMRobertaLayer",
- "collections.OrderedDict",
- "torch.nn.modules.linear.Linear",
- "transformers.models.xlm_roberta.modeling_xlm_roberta.XLMRobertaAttention",
- "transformers.models.xlm_roberta.modeling_xlm_roberta.XLMRobertaPooler",
- "langchain_community.vectorstores.faiss.FAISS",
- "transformers.models.xlm_roberta.modeling_xlm_roberta.XLMRobertaEncoder",
- "torch.nn.modules.container.ModuleList",
- "transformers.models.xlm_roberta.tokenization_xlm_roberta_fast.XLMRobertaTokenizerFast",
- "torch._C._nn.gelu",
- "torch.nn.modules.activation.Tanh",
- "torch.storage._load_from_bytes",
- "transformers.models.xlm_roberta.modeling_xlm_roberta.XLMRobertaEmbeddings",
- "torch.device",
- "transformers.models.xlm_roberta.modeling_xlm_roberta.XLMRobertaModel",
- "transformers.models.xlm_roberta.configuration_xlm_roberta.XLMRobertaConfig",
- "torch.nn.modules.sparse.Embedding",
- "transformers.models.xlm_roberta.modeling_xlm_roberta.XLMRobertaSelfAttention",
- "langchain_community.vectorstores.utils.DistanceStrategy",
- "sentence_transformers.SentenceTransformer.SentenceTransformer",
- "torch.nn.modules.dropout.Dropout",
- "torch._utils._rebuild_tensor_v2",
- "transformers.activations.GELUActivation",
- "langchain_community.docstore.in_memory.InMemoryDocstore",
- "transformers.models.xlm_roberta.modeling_xlm_roberta.XLMRobertaSelfOutput",
- "tokenizers.models.Model",
- "sentence_transformers.models.Pooling.Pooling",
- "sentence_transformers.models.Transformer.Transformer",
- "tokenizers.Tokenizer",
- "faiss.swigfaiss.IndexFlatL2",
- "transformers.models.xlm_roberta.modeling_xlm_roberta.XLMRobertaIntermediate",
- "langchain_community.embeddings.huggingface.HuggingFaceEmbeddings"
How to fix it?
1.14 GB
Upload wi_knowledge.pkl with huggingface_hub
wi_knowledge_embeddings
Detected Pickle imports (3)
- "langchain_community.docstore.in_memory.InMemoryDocstore",
- "faiss.swigfaiss.IndexFlatL2",
- "langchain_core.documents.base.Document"
How to fix it?
21.4 MB
Upload wi_knowledge_embeddings with huggingface_hub