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

Glowcodes
/
autotrain-code-switched-tweets-sum-42325108532

Summarization
Transformers
PyTorch
Enawené-Nawé
bart
text2text-generation
Trained with AutoTrain
Model card Files Files and versions
xet
Community
1

Instructions to use Glowcodes/autotrain-code-switched-tweets-sum-42325108532 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Glowcodes/autotrain-code-switched-tweets-sum-42325108532 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="Glowcodes/autotrain-code-switched-tweets-sum-42325108532")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Glowcodes/autotrain-code-switched-tweets-sum-42325108532")
    model = AutoModelForSeq2SeqLM.from_pretrained("Glowcodes/autotrain-code-switched-tweets-sum-42325108532")
  • Notebooks
  • Google Colab
  • Kaggle
autotrain-code-switched-tweets-sum-42325108532
561 MB
Ctrl+K
Ctrl+K
History: 2 commits
system's picture
system HF Staff
Commit From AutoTrain
f3287a2 about 3 years ago
  • .gitattributes
    1.62 kB
    Commit From AutoTrain about 3 years ago
  • README.md
    751 Bytes
    Commit From AutoTrain about 3 years ago
  • config.json
    1.3 kB
    Commit From AutoTrain about 3 years ago
  • merges.txt
    456 kB
    Commit From AutoTrain about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    558 MB
    xet
    Commit From AutoTrain about 3 years ago
  • special_tokens_map.json
    957 Bytes
    Commit From AutoTrain about 3 years ago
  • tokenizer.json
    2.11 MB
    xet
    Commit From AutoTrain about 3 years ago
  • tokenizer_config.json
    1.49 kB
    Commit From AutoTrain about 3 years ago
  • vocab.json
    798 kB
    Commit From AutoTrain about 3 years ago