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

NorGLM
/
NorGPT-3B-rfhl-summarization

Summarization
Transformers
PyTorch
Norwegian
gpt2
text-generation
text-generation-inference
Model card Files Files and versions
xet
Community
1

Instructions to use NorGLM/NorGPT-3B-rfhl-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use NorGLM/NorGPT-3B-rfhl-summarization 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="NorGLM/NorGPT-3B-rfhl-summarization")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("NorGLM/NorGPT-3B-rfhl-summarization")
    model = AutoModelForCausalLM.from_pretrained("NorGLM/NorGPT-3B-rfhl-summarization")
  • Notebooks
  • Google Colab
  • Kaggle
NorGPT-3B-rfhl-summarization
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
NorGLM's picture
NorGLM
Update README.md
73caa85 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    3.33 kB
    Update README.md over 1 year ago
  • config.json
    875 Bytes
    Upload 5 files about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    5.91 GB
    xet
    Upload 5 files about 2 years ago
  • special_tokens_map.json
    99 Bytes
    Upload 5 files about 2 years ago
  • tokenizer.json
    2.76 MB
    Upload 5 files about 2 years ago
  • tokenizer_config.json
    234 Bytes
    Upload 5 files about 2 years ago