Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

usakha
/
Prophetnet_multiNews_model

Summarization
Transformers
PyTorch
TensorBoard
Safetensors
English
prophetnet
text2text-generation
Model card Files Files and versions
xet
Metrics Training metrics Community
2

Instructions to use usakha/Prophetnet_multiNews_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use usakha/Prophetnet_multiNews_model with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "summarization" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("summarization", model="usakha/Prophetnet_multiNews_model")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("usakha/Prophetnet_multiNews_model")
    model = AutoModelForSeq2SeqLM.from_pretrained("usakha/Prophetnet_multiNews_model")
  • Notebooks
  • Google Colab
  • Kaggle
Prophetnet_multiNews_model
3.13 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 8 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
4dbf7e7 almost 3 years ago
  • runs
    Training in progress, step 1000 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • .gitignore
    13 Bytes
    Training in progress, step 500 almost 3 years ago
  • config.json
    1.54 kB
    Training in progress, step 500 almost 3 years ago
  • model.safetensors
    1.57 GB
    xet
    Adding `safetensors` variant of this model almost 3 years ago
  • prophetnet.tokenizer
    232 kB
    Training in progress, step 500 almost 3 years ago
  • pytorch_model.bin
    1.57 GB
    xet
    Training in progress, step 1000 almost 3 years ago
  • special_tokens_map.json
    101 Bytes
    Training in progress, step 500 almost 3 years ago
  • tokenizer_config.json
    376 Bytes
    Training in progress, step 500 almost 3 years ago
  • training_args.bin

    Detected Pickle imports (8)

    • "transformers.trainer_utils.HubStrategy",
    • "transformers.trainer_utils.SchedulerType",
    • "accelerate.state.PartialState",
    • "transformers.training_args_seq2seq.Seq2SeqTrainingArguments",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.training_args.OptimizerNames",
    • "torch.device",
    • "accelerate.utils.dataclasses.DistributedType"

    How to fix it?

    4.16 kB
    xet
    Training in progress, step 500 almost 3 years ago