Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
droushb
/
NLP_RAG
like
0
Sleeping
App
Files
Files
Community
4da2d99
NLP_RAG
1 contributor
History:
8 commits
droushb
Fix pad_token issue for Hugging Face Spaces
4da2d99
20 days ago
model
no message
20 days ago
.gitattributes
Safe
1.52 kB
initial commit
20 days ago
README.md
Safe
279 Bytes
initial commit
20 days ago
app.py
Safe
2.88 kB
Increased number of documents to 50000
20 days ago
config.py
Safe
215 Bytes
no message
20 days ago
requirements.txt
Safe
71 Bytes
Fix pad_token issue for Hugging Face Spaces
20 days ago
retriever.pkl
pickle
Detected Pickle imports (35)
"collections.OrderedDict"
,
"tokenizers.models.Model"
,
"tokenizers.AddedToken"
,
"transformers.models.bert.modeling_bert.BertAttention"
,
"transformers.models.bert.configuration_bert.BertConfig"
,
"sentence_transformers.models.Pooling.Pooling"
,
"torch._utils._rebuild_tensor_v2"
,
"torch.nn.modules.linear.Linear"
,
"torch.nn.modules.sparse.Embedding"
,
"transformers.models.bert.tokenization_bert_fast.BertTokenizerFast"
,
"transformers.models.bert.modeling_bert.BertLayer"
,
"torch.storage._load_from_bytes"
,
"model.retriever.Retriever"
,
"rank_bm25.BM25Okapi"
,
"transformers.models.bert.modeling_bert.BertEmbeddings"
,
"torch.torch_version.TorchVersion"
,
"transformers.models.bert.modeling_bert.BertOutput"
,
"transformers.models.bert.modeling_bert.BertModel"
,
"sentence_transformers.models.Transformer.Transformer"
,
"transformers.models.bert.modeling_bert.BertSdpaSelfAttention"
,
"transformers.models.bert.modeling_bert.BertSelfOutput"
,
"tokenizers.Tokenizer"
,
"torch.nn.modules.activation.Tanh"
,
"torch.nn.modules.container.ModuleList"
,
"torch._C._nn.gelu"
,
"sentence_transformers.SentenceTransformer.SentenceTransformer"
,
"transformers.models.bert.modeling_bert.BertEncoder"
,
"sentence_transformers.model_card.SentenceTransformerModelCardData"
,
"transformers.models.bert.modeling_bert.BertIntermediate"
,
"sentence_transformers.models.Normalize.Normalize"
,
"transformers.activations.GELUActivation"
,
"torch._utils._rebuild_parameter"
,
"transformers.models.bert.modeling_bert.BertPooler"
,
"torch.nn.modules.normalization.LayerNorm"
,
"torch.nn.modules.dropout.Dropout"
How to fix it?
317 MB
LFS
Increased number of documents to 50000
20 days ago