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

chenmingxuan
/
PatQwenSum

Summarization
Transformers
Safetensors
Chinese
qwen2
text-generation
text-generation-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use chenmingxuan/PatQwenSum 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="chenmingxuan/PatQwenSum")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("chenmingxuan/PatQwenSum")
    model = AutoModelForCausalLM.from_pretrained("chenmingxuan/PatQwenSum")
  • Notebooks
  • Google Colab
  • Kaggle
PatQwenSum
15.4 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
chenmingxuan's picture
chenmingxuan
Update README.md
6ac2f9d verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    6.06 kB
    Update README.md about 2 years ago
  • added_tokens.json
    80 Bytes
    Upload 12 files about 2 years ago
  • config.json
    696 Bytes
    Upload 12 files about 2 years ago
  • generation_config.json
    217 Bytes
    Upload 12 files about 2 years ago
  • merges.txt
    1.67 MB
    Upload 12 files about 2 years ago
  • model-00001-of-00004.safetensors
    3.99 GB
    xet
    Upload 12 files about 2 years ago
  • model-00002-of-00004.safetensors
    3.96 GB
    xet
    Upload 12 files about 2 years ago
  • model-00003-of-00004.safetensors
    3.96 GB
    xet
    Upload 12 files about 2 years ago
  • model-00004-of-00004.safetensors
    3.54 GB
    xet
    Upload 12 files about 2 years ago
  • model.safetensors.index.json
    31.7 kB
    Upload 12 files about 2 years ago
  • special_tokens_map.json
    367 Bytes
    Upload 12 files about 2 years ago
  • tokenizer_config.json
    1.44 kB
    Upload 12 files about 2 years ago
  • vocab.json
    3.38 MB
    Upload 12 files about 2 years ago