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

dortucx
/
gpt2-nm

Feature Extraction
Transformers
PyTorch
gpt2
Model card Files Files and versions
xet
Community

Instructions to use dortucx/gpt2-nm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dortucx/gpt2-nm with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="dortucx/gpt2-nm")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("dortucx/gpt2-nm")
    model = AutoModel.from_pretrained("dortucx/gpt2-nm")
  • Notebooks
  • Google Colab
  • Kaggle
gpt2-nm
999 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
dortucx's picture
dortucx
Upload open_clip_pytorch_mode.bin
bdc27f5 verified 12 months ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    107 Bytes
    Update README.md almost 2 years ago
  • config.json
    957 Bytes
    Upload 7 files almost 2 years ago
  • merges.txt
    456 kB
    Upload 7 files almost 2 years ago
  • open_clip_config.json
    670 Bytes
    Create open_clip_config.json 12 months ago
  • open_clip_pytorch_mode.bin

    Detected Pickle imports (6)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "bdb.Bdb",
    • "collections.OrderedDict",
    • "bdb.Bdb.run",
    • "builtins.iter"

    How to fix it?

    498 MB
    xet
    Upload open_clip_pytorch_mode.bin 12 months ago
  • pytorch_model.bin

    Detected Pickle imports (6)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "bdb.Bdb",
    • "collections.OrderedDict",
    • "bdb.Bdb.run",
    • "builtins.iter"

    How to fix it?

    498 MB
    xet
    Upload 7 files almost 2 years ago
  • special_tokens_map.json
    104 Bytes
    Upload 7 files almost 2 years ago
  • tokenizer.json
    2.11 MB
    Upload 7 files almost 2 years ago
  • tokenizer_config.json
    463 Bytes
    Upload 7 files almost 2 years ago
  • vocab.json
    798 kB
    Upload 7 files almost 2 years ago