Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

moussaKam
/
barthez-orangesum-title

Summarization
Transformers
PyTorch
Safetensors
French
mbart
text2text-generation
Model card Files Files and versions
xet
Community
3

Instructions to use moussaKam/barthez-orangesum-title with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use moussaKam/barthez-orangesum-title 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="moussaKam/barthez-orangesum-title")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("moussaKam/barthez-orangesum-title")
    model = AutoModelForSeq2SeqLM.from_pretrained("moussaKam/barthez-orangesum-title")
  • Notebooks
  • Google Colab
  • Kaggle
barthez-orangesum-title
1.73 GB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 16 commits
moussaKam's picture
moussaKam
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#3)
853b06b verified over 1 year ago
  • .gitattributes
    399 Bytes
    Adding `safetensors` variant of this model (#3) over 1 year ago
  • README.md
    880 Bytes
    Add license over 4 years ago
  • config.json
    1.47 kB
    update config over 5 years ago
  • model.safetensors
    864 MB
    xet
    Adding `safetensors` variant of this model (#3) over 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    864 MB
    xet
    Update pytorch_model.bin over 5 years ago
  • sentencepiece.bpe.model
    1.12 MB
    Add tokenizer.json, Modify sentencepiece model over 5 years ago
  • tokenizer.json
    2.63 MB
    Add tokenizer.json, Modify sentencepiece model over 5 years ago
  • tokenizer_config.json
    26 Bytes
    Adds missing tokenizer configuration file (#2) over 2 years ago