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

nianlong
/
citgen-bart-base

Transformers
PyTorch
bart
text2text-generation
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use nianlong/citgen-bart-base with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("nianlong/citgen-bart-base")
    model = AutoModelForSeq2SeqLM.from_pretrained("nianlong/citgen-bart-base")
  • Notebooks
  • Google Colab
  • Kaggle
citgen-bart-base
282 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
nianlong's picture
nianlong
Upload BartForConditionalGeneration
4ff60af almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    28 Bytes
    initial commit almost 3 years ago
  • config.json
    1.76 kB
    Upload BartForConditionalGeneration almost 3 years ago
  • generation_config.json
    292 Bytes
    Upload BartForConditionalGeneration almost 3 years ago
  • merges.txt
    456 kB
    Upload tokenizer almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    279 MB
    xet
    Upload BartForConditionalGeneration almost 3 years ago
  • special_tokens_map.json
    280 Bytes
    Upload tokenizer almost 3 years ago
  • tokenizer.json
    2.11 MB
    Upload tokenizer almost 3 years ago
  • tokenizer_config.json
    349 Bytes
    Upload tokenizer almost 3 years ago
  • vocab.json
    798 kB
    Upload tokenizer almost 3 years ago