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

dtruong46me
/
train-bart-base

Summarization
Transformers
Safetensors
English
bart
text2text-generation
Generated from Trainer
Model card Files Files and versions
xet
Community

Instructions to use dtruong46me/train-bart-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dtruong46me/train-bart-base 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="dtruong46me/train-bart-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("dtruong46me/train-bart-base")
    model = AutoModelForSeq2SeqLM.from_pretrained("dtruong46me/train-bart-base")
  • Notebooks
  • Google Colab
  • Kaggle
train-bart-base
561 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
dtruong46me's picture
dtruong46me
Update README.md
1df10b6 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    2.68 kB
    Update README.md almost 2 years ago
  • config.json
    1.74 kB
    End of training almost 2 years ago
  • generation_config.json
    262 Bytes
    End of training almost 2 years ago
  • merges.txt
    456 kB
    End of training almost 2 years ago
  • model.safetensors
    558 MB
    xet
    End of training almost 2 years ago
  • special_tokens_map.json
    278 Bytes
    End of training almost 2 years ago
  • tokenizer.json
    2.11 MB
    End of training almost 2 years ago
  • tokenizer_config.json
    1.21 kB
    End of training almost 2 years ago
  • training_args.bin
    5.05 kB
    xet
    End of training almost 2 years ago
  • vocab.json
    798 kB
    End of training almost 2 years ago