Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

princeton-nlp
/
AutoCompressor-1.3b-30k

Transformers
PyTorch
opt
text-generation-inference
Model card Files Files and versions
xet
Community
2

Instructions to use princeton-nlp/AutoCompressor-1.3b-30k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use princeton-nlp/AutoCompressor-1.3b-30k with Transformers:

    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("princeton-nlp/AutoCompressor-1.3b-30k")
    model = AutoModel.from_pretrained("princeton-nlp/AutoCompressor-1.3b-30k", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
AutoCompressor-1.3b-30k
5.68 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
princeton-nlp's picture
princeton-nlp
Create README.md
6da94cb about 3 years ago
  • .gitattributes
    1.52 kB
    initial commit over 3 years ago
  • README.md
    2.57 kB
    Create README.md about 3 years ago
  • config.json
    870 Bytes
    Upload model over 3 years ago
  • generation_config.json
    132 Bytes
    Upload model over 3 years ago
  • merges.txt
    456 kB
    Upload tokenizer over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    5.68 GB
    xet
    Upload model over 3 years ago
  • special_tokens_map.json
    548 Bytes
    Upload tokenizer over 3 years ago
  • tokenizer.json
    2.11 MB
    Upload tokenizer over 3 years ago
  • tokenizer_config.json
    871 Bytes
    Upload tokenizer over 3 years ago
  • vocab.json
    798 kB
    Upload tokenizer over 3 years ago