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

thnhan3
/
sft_model

Summarization
Transformers
Safetensors
Vietnamese
t5
text2text-generation
text-generation-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use thnhan3/sft_model 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="thnhan3/sft_model")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("thnhan3/sft_model")
    model = AutoModelForSeq2SeqLM.from_pretrained("thnhan3/sft_model")
  • Notebooks
  • Google Colab
  • Kaggle
sft_model
909 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
thnhan3's picture
thnhan3
Update README.md
6e8253c verified 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    4.85 kB
    Update README.md 6 months ago
  • config.json
    726 Bytes
    Upload folder using huggingface_hub 6 months ago
  • generation_config.json
    144 Bytes
    Upload folder using huggingface_hub 6 months ago
  • model.safetensors
    904 MB
    xet
    Upload folder using huggingface_hub 6 months ago
  • special_tokens_map.json
    2.12 kB
    Upload folder using huggingface_hub 6 months ago
  • spiece.model
    820 kB
    xet
    Upload folder using huggingface_hub 6 months ago
  • tokenizer.json
    4.39 MB
    Upload folder using huggingface_hub 6 months ago
  • tokenizer_config.json
    20.1 kB
    Upload folder using huggingface_hub 6 months ago