Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
kyrylokumar
/
gpt2-finetuned
like
0
Model card
Files
Files and versions
Community
main
gpt2-finetuned
1 contributor
History:
4 commits
This model has 3 files scanned as unsafe.
Show
files
kyrylokumar
Upload README
62ed057
verified
3 months ago
ANLP Ass-3 9d9d5a88271f4c968f083a37f631fb6d
Upload README
3 months ago
__pycache__
Upload folder using huggingface_hub
3 months ago
cnn_dailymail
Upload folder using huggingface_hub
3 months ago
wandb
Upload folder using huggingface_hub
3 months ago
.gitattributes
5.21 kB
Upload folder using huggingface_hub
3 months ago
README.md
11.3 kB
Upload README
3 months ago
last_layer.py
15.2 kB
Upload folder using huggingface_hub
3 months ago
main.py
13.9 kB
Upload folder using huggingface_hub
3 months ago
main1.py
16.1 kB
Upload folder using huggingface_hub
3 months ago
main2.py
19.7 kB
Upload folder using huggingface_hub
3 months ago
model0.bin
Unsafe
pickle
Detected Pickle imports (38)
"transformers.models.gpt2.modeling_gpt2.GPT2SdpaAttention"
,
"torch._dynamo.eval_frame.OptimizeContext"
,
"contextlib.nullcontext"
,
"torch._dynamo.eval_frame.OptimizedModule"
,
"transformers.models.gpt2.modeling_gpt2.GPT2Model"
,
"tokenizers.Tokenizer"
,
"__main__.PromptTuningModel"
,
"transformers.generation.configuration_utils.GenerationConfig"
,
"collections.OrderedDict"
,
"torch.nn.modules.container.ModuleList"
,
"torch._dynamo.hooks.Hooks"
,
"torch._dynamo.convert_frame.CatchErrorsWrapper"
,
"transformers.models.gpt2.modeling_gpt2.GPT2LMHeadModel"
,
"torch._inductor.compile_fx.compile_fx"
,
"torch._dynamo.repro.after_dynamo.WrapBackendDebug"
,
"torch.FloatStorage"
,
"torch.nn.modules.sparse.Embedding"
,
"transformers.activations.NewGELUActivation"
,
"torch.LongStorage"
,
"_codecs.encode"
,
"transformers.models.gpt2.configuration_gpt2.GPT2Config"
,
"torch._utils._rebuild_tensor_v2"
,
"tokenizers.AddedToken"
,
"torch._utils._rebuild_parameter"
,
"tokenizers.models.Model"
,
"transformers.models.gpt2.tokenization_gpt2_fast.GPT2TokenizerFast"
,
"torch.BoolStorage"
,
"torch.nn.modules.linear.Linear"
,
"torch.nn.modules.normalization.LayerNorm"
,
"__builtin__.set"
,
"transformers.models.gpt2.modeling_gpt2.GPT2Block"
,
"__builtin__.getattr"
,
"torch._TorchCompileInductorWrapper"
,
"transformers.models.gpt2.modeling_gpt2.GPT2MLP"
,
"torch._dynamo.convert_frame.ConvertFrameAssert"
,
"torch._dynamo.convert_frame.ConvertFrame"
,
"transformers.pytorch_utils.Conv1D"
,
"torch.nn.modules.dropout.Dropout"
How to fix it?
512 MB
LFS
Upload folder using huggingface_hub
3 months ago
model1.bin
Unsafe
pickle
Detected Pickle imports (38)
"transformers.models.gpt2.modeling_gpt2.GPT2SdpaAttention"
,
"torch._dynamo.eval_frame.OptimizeContext"
,
"contextlib.nullcontext"
,
"torch._dynamo.eval_frame.OptimizedModule"
,
"transformers.models.gpt2.modeling_gpt2.GPT2Model"
,
"tokenizers.Tokenizer"
,
"transformers.generation.configuration_utils.GenerationConfig"
,
"collections.OrderedDict"
,
"torch.nn.modules.container.ModuleList"
,
"torch._dynamo.hooks.Hooks"
,
"torch._dynamo.convert_frame.CatchErrorsWrapper"
,
"transformers.models.gpt2.modeling_gpt2.GPT2LMHeadModel"
,
"torch._inductor.compile_fx.compile_fx"
,
"torch._dynamo.repro.after_dynamo.WrapBackendDebug"
,
"torch.FloatStorage"
,
"torch.nn.modules.sparse.Embedding"
,
"transformers.activations.NewGELUActivation"
,
"torch.LongStorage"
,
"_codecs.encode"
,
"transformers.models.gpt2.configuration_gpt2.GPT2Config"
,
"__main__.LMModel"
,
"torch._utils._rebuild_tensor_v2"
,
"tokenizers.AddedToken"
,
"torch._utils._rebuild_parameter"
,
"tokenizers.models.Model"
,
"transformers.models.gpt2.tokenization_gpt2_fast.GPT2TokenizerFast"
,
"torch.BoolStorage"
,
"torch.nn.modules.linear.Linear"
,
"torch.nn.modules.normalization.LayerNorm"
,
"__builtin__.set"
,
"transformers.models.gpt2.modeling_gpt2.GPT2Block"
,
"__builtin__.getattr"
,
"torch._TorchCompileInductorWrapper"
,
"transformers.models.gpt2.modeling_gpt2.GPT2MLP"
,
"torch._dynamo.convert_frame.ConvertFrameAssert"
,
"torch._dynamo.convert_frame.ConvertFrame"
,
"transformers.pytorch_utils.Conv1D"
,
"torch.nn.modules.dropout.Dropout"
How to fix it?
512 MB
LFS
Upload folder using huggingface_hub
3 months ago
model2.bin
Unsafe
pickle
Detected Pickle imports (36)
"transformers.models.gpt2.modeling_gpt2.GPT2SdpaAttention"
,
"transformers.models.gpt2.modeling_gpt2.GPT2Model"
,
"tokenizers.Tokenizer"
,
"transformers.generation.configuration_utils.GenerationConfig"
,
"collections.OrderedDict"
,
"torch.nn.modules.container.ModuleList"
,
"transformers.models.gpt2.modeling_gpt2.GPT2LMHeadModel"
,
"peft.tuners.lora.model.LoraModel"
,
"torch.FloatStorage"
,
"peft.tuners.lora.layer.Linear"
,
"torch.nn.modules.sparse.Embedding"
,
"peft.utils.peft_types.PeftType"
,
"transformers.activations.NewGELUActivation"
,
"torch.nn.modules.container.ModuleDict"
,
"torch.LongStorage"
,
"_codecs.encode"
,
"transformers.models.gpt2.configuration_gpt2.GPT2Config"
,
"peft.tuners.lora.config.LoraConfig"
,
"torch.nn.modules.container.ParameterDict"
,
"peft.peft_model.PeftModelForCausalLM"
,
"torch._utils._rebuild_tensor_v2"
,
"tokenizers.AddedToken"
,
"torch._utils._rebuild_parameter"
,
"tokenizers.models.Model"
,
"transformers.models.gpt2.tokenization_gpt2_fast.GPT2TokenizerFast"
,
"peft.tuners.lora.config.LoraRuntimeConfig"
,
"__main__.LoraModel"
,
"torch.BoolStorage"
,
"torch.nn.modules.linear.Linear"
,
"torch.nn.modules.normalization.LayerNorm"
,
"__builtin__.set"
,
"transformers.models.gpt2.modeling_gpt2.GPT2Block"
,
"__builtin__.getattr"
,
"transformers.models.gpt2.modeling_gpt2.GPT2MLP"
,
"transformers.pytorch_utils.Conv1D"
,
"torch.nn.modules.dropout.Dropout"
How to fix it?
514 MB
LFS
Upload folder using huggingface_hub
3 months ago
newspaper-text-summarization-cnn-dailymail.zip
pickle
Pickle imports
No problematic imports detected
What is a pickle import?
528 MB
LFS
Upload folder using huggingface_hub
3 months ago
utils.py
4.56 kB
Upload folder using huggingface_hub
3 months ago