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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

kiddothe2b
/
hierarchical-transformer-base-4096

Fill-Mask
Transformers
PyTorch
English
hierarchical-transformer
long-documents
custom_code
Model card Files Files and versions
xet
Community
4

Instructions to use kiddothe2b/hierarchical-transformer-base-4096 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use kiddothe2b/hierarchical-transformer-base-4096 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="kiddothe2b/hierarchical-transformer-base-4096", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForMaskedLM
    model = AutoModelForMaskedLM.from_pretrained("kiddothe2b/hierarchical-transformer-base-4096", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
hierarchical-transformer-base-4096
770 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 21 commits
kiddothe2b's picture
kiddothe2b
Fix minor bug in auto-chunking tokenization
1578b2b verified over 2 years ago
  • .gitattributes
    1.38 kB
    initial commit almost 4 years ago
  • README.md
    4.59 kB
    Fix typos in code sample (#1) over 3 years ago
  • all_results.json
    348 Bytes
    Initial commit almost 4 years ago
  • config.json
    2.45 kB
    Update config.json almost 4 years ago
  • configuration_hat.py
    7.88 kB
    Add HAT implementation files almost 4 years ago
  • merges.txt
    456 kB
    Initial commit almost 4 years ago
  • modelling_hat.py
    105 kB
    Add HAT implementation files almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    766 MB
    xet
    Initial commit almost 4 years ago
  • special_tokens_map.json
    239 Bytes
    Initial commit almost 4 years ago
  • tokenization_hat.py
    12.4 kB
    Fix minor bug in auto-chunking tokenization over 2 years ago
  • tokenizer.json
    2.11 MB
    Initial commit almost 4 years ago
  • tokenizer_config.json
    463 Bytes
    Initial commit almost 4 years ago
  • vocab.json
    798 kB
    Initial commit almost 4 years ago