Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
TheBritishLibrary
/
bl-books-genre-fastai
like
0
Follow
British Library
18
Text Classification
fastai
blbooksgenre
Model card
Files
Files and versions
Community
3
Use this model
0d69822
bl-books-genre-fastai
1 contributor
History:
14 commits
This model has 2 files scanned as unsafe.
Show
files
davanstrien
HF staff
add install instructions link (
#1
)
0d69822
over 2 years ago
.gitattributes
Safe
1.28 kB
Add model
over 2 years ago
20211115-model.pkl
Unsafe
pickle
Detected Pickle imports (95)
"fastai.learner.AvgMetric"
,
"fastai.text.data.Pad_Chunk"
,
"collections.Counter"
,
"pathlib.Path"
,
"fastcore.foundation.L"
,
"fastai.losses.CrossEntropyLossFlat"
,
"torch.nn.modules.batchnorm.BatchNorm1d"
,
"fastai.torch_core.TensorCategory"
,
"fastai.text.data.TensorText"
,
"fastai.text.core.replace_wrep"
,
"fastai.text.core.SpacyTokenizer"
,
"fastai.layers.LinBnDrop"
,
"fastai.torch_core.TensorBase"
,
"_codecs.encode"
,
"fastai.text.models.awdlstm.WeightDropout"
,
"numpy.core.multiarray.scalar"
,
"fastai.text.models.awdlstm.awd_lstm_clas_split"
,
"fastai.text.models.awdlstm.RNNDropout"
,
"fastai.text.core.replace_all_caps"
,
"fastai.callback.rnn.RNNCallback"
,
"torch.nn.modules.dropout.Dropout"
,
"__builtin__.long"
,
"sklearn.metrics._classification.f1_score"
,
"__builtin__.unicode"
,
"pathlib.PosixPath"
,
"fastai.torch_core._rebuild_from_type"
,
"fastai.data.core.TfmdLists"
,
"fastai.text.core.replace_maj"
,
"torch._utils._rebuild_tensor_v2"
,
"spacy.lang.en.English"
,
"torch.FloatStorage"
,
"numpy.dtype"
,
"fastai.callback.progress.ProgressCallback"
,
"fastai.metrics.AccumMetric"
,
"torch.cuda.amp.grad_scaler.GradScaler"
,
"spacy.vocab.unpickle_vocab"
,
"fastai.text.core.lowercase"
,
"fastai.text.core.fix_html"
,
"random.Random"
,
"fastai.optimizer.Adam"
,
"fastai.learner.AvgLoss"
,
"__builtin__.getattr"
,
"spacy.morphology.Morphology"
,
"fastai.text.models.awdlstm.EmbeddingDropout"
,
"torch.nn.modules.container.ModuleList"
,
"fastai.text.learner.TextLearner"
,
"torch.nn.modules.activation.ReLU"
,
"spacy.vectors.unpickle_vectors"
,
"spacy.lookups.Lookups"
,
"fastai.text.data.SortedDL"
,
"fastai.data.transforms.ColReader"
,
"torch.LongStorage"
,
"fastai.callback.core.TrainEvalCallback"
,
"__builtin__.list"
,
"fastai.imports.noop"
,
"collections.defaultdict"
,
"torch.nn.modules.linear.Linear"
,
"fastai.data.core.DataLoaders"
,
"torch.nn.modules.sparse.Embedding"
,
"fastai.text.models.awdlstm.AWD_LSTM"
,
"spacy.strings.StringStore"
,
"collections.OrderedDict"
,
"fastai.learner.AvgSmoothLoss"
,
"fastai.data.transforms.Categorize"
,
"torch.cuda.amp.grad_scaler._refresh_per_optimizer_state"
,
"fastai.callback.rnn.ModelResetter"
,
"fastcore.transform.Pipeline"
,
"fastai.text.models.core.SequentialRNN"
,
"spacy.lemmatizer.Lemmatizer"
,
"torch.nn.modules.loss.CrossEntropyLoss"
,
"fastai.metrics.accuracy"
,
"spacy.tokenizer.Tokenizer"
,
"fastai.text.core.rm_useless_spaces"
,
"fastai.learner.Recorder"
,
"fastai.data.load._FakeLoader"
,
"torch.nn.modules.rnn.LSTM"
,
"torch.nn.modules.container.Sequential"
,
"torch._utils._rebuild_parameter"
,
"fastai.text.core.spec_add_spaces"
,
"torch.device"
,
"fastai.data.transforms.CategoryMap"
,
"pandas.core.series.Series"
,
"fastai.data.load._wif"
,
"__builtin__.set"
,
"fastai.data.core.Datasets"
,
"fastai.text.data._default_sort"
,
"fastai.text.models.core.PoolingLinearClassifier"
,
"re._compile"
,
"fastai.text.data.Numericalize"
,
"__builtin__.print"
,
"fastai.text.core.Tokenizer"
,
"__builtin__.tuple"
,
"fastai.data.transforms.ToTensor"
,
"fastai.text.core.replace_rep"
,
"fastai.text.models.core.SentenceEncoder"
How to fix it?
158 MB
LFS
Upload 20211115-model.pkl with git-lfs
almost 3 years ago
README.md
Safe
3.35 kB
add install instructions link (#1)
over 2 years ago
config.json
Safe
73 Bytes
Create config.json
almost 3 years ago
model.pkl
Unsafe
pickle
Detected Pickle imports (94)
"fastai.learner.AvgMetric"
,
"fastai.text.data.Pad_Chunk"
,
"collections.Counter"
,
"pathlib.Path"
,
"fastcore.foundation.L"
,
"fastai.losses.CrossEntropyLossFlat"
,
"torch.nn.modules.batchnorm.BatchNorm1d"
,
"fastai.torch_core.TensorCategory"
,
"fastai.text.data.TensorText"
,
"fastai.text.core.replace_wrep"
,
"fastai.text.core.SpacyTokenizer"
,
"fastai.layers.LinBnDrop"
,
"fastai.torch_core.TensorBase"
,
"builtins.str"
,
"fastai.text.models.awdlstm.WeightDropout"
,
"numpy.core.multiarray.scalar"
,
"fastai.text.models.awdlstm.awd_lstm_clas_split"
,
"fastai.text.models.awdlstm.RNNDropout"
,
"fastai.text.core.replace_all_caps"
,
"fastai.callback.rnn.RNNCallback"
,
"torch.nn.modules.dropout.Dropout"
,
"sklearn.metrics._classification.f1_score"
,
"pathlib.PosixPath"
,
"fastai.torch_core._rebuild_from_type"
,
"builtins.set"
,
"fastai.data.core.TfmdLists"
,
"fastai.text.core.replace_maj"
,
"torch._utils._rebuild_tensor_v2"
,
"spacy.lang.en.English"
,
"builtins.print"
,
"builtins.tuple"
,
"torch.FloatStorage"
,
"numpy.dtype"
,
"fastai.callback.progress.ProgressCallback"
,
"fastai.metrics.AccumMetric"
,
"torch.cuda.amp.grad_scaler.GradScaler"
,
"spacy.vocab.unpickle_vocab"
,
"fastai.text.core.lowercase"
,
"fastai.text.core.fix_html"
,
"random.Random"
,
"fastai.optimizer.Adam"
,
"fastai.learner.AvgLoss"
,
"spacy.morphology.Morphology"
,
"fastai.text.models.awdlstm.EmbeddingDropout"
,
"torch.nn.modules.container.ModuleList"
,
"fastai.text.learner.TextLearner"
,
"torch.nn.modules.activation.ReLU"
,
"spacy.vectors.unpickle_vectors"
,
"spacy.lookups.Lookups"
,
"fastai.text.data.SortedDL"
,
"fastai.data.transforms.ColReader"
,
"torch.LongStorage"
,
"fastai.callback.core.TrainEvalCallback"
,
"fastai.imports.noop"
,
"collections.defaultdict"
,
"torch.nn.modules.linear.Linear"
,
"fastai.data.core.DataLoaders"
,
"torch.nn.modules.sparse.Embedding"
,
"fastai.text.models.awdlstm.AWD_LSTM"
,
"spacy.strings.StringStore"
,
"collections.OrderedDict"
,
"fastai.learner.AvgSmoothLoss"
,
"fastai.data.transforms.Categorize"
,
"torch.cuda.amp.grad_scaler._refresh_per_optimizer_state"
,
"fastai.callback.rnn.ModelResetter"
,
"fastcore.transform.Pipeline"
,
"fastai.text.models.core.SequentialRNN"
,
"spacy.lemmatizer.Lemmatizer"
,
"torch.nn.modules.loss.CrossEntropyLoss"
,
"fastai.metrics.accuracy"
,
"spacy.tokenizer.Tokenizer"
,
"fastai.text.core.rm_useless_spaces"
,
"fastai.learner.Recorder"
,
"fastai.data.load._FakeLoader"
,
"torch.nn.modules.rnn.LSTM"
,
"torch.nn.modules.container.Sequential"
,
"torch._utils._rebuild_parameter"
,
"fastai.text.core.spec_add_spaces"
,
"torch.device"
,
"builtins.getattr"
,
"fastai.data.transforms.CategoryMap"
,
"pandas.core.series.Series"
,
"fastai.data.load._wif"
,
"fastai.data.core.Datasets"
,
"fastai.text.data._default_sort"
,
"fastai.text.models.core.PoolingLinearClassifier"
,
"re._compile"
,
"fastai.text.data.Numericalize"
,
"fastai.text.core.Tokenizer"
,
"builtins.list"
,
"fastai.data.transforms.ToTensor"
,
"fastai.text.core.replace_rep"
,
"fastai.text.models.core.SentenceEncoder"
,
"builtins.int"
How to fix it?
156 MB
LFS
Add model
over 2 years ago
pipeline.py
Safe
1.04 kB
Update pipeline.py
almost 3 years ago
pyproject.toml
Safe
160 Bytes
Add model
over 2 years ago
requirements.txt
Safe
14 Bytes
Create requirements.txt
almost 3 years ago