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

fxmarty
/
onnx-tiny-random-gpt2-without-merge

Feature Extraction
Transformers
ONNX
gpt2
Model card Files Files and versions
xet
Community
1

Instructions to use fxmarty/onnx-tiny-random-gpt2-without-merge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use fxmarty/onnx-tiny-random-gpt2-without-merge with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="fxmarty/onnx-tiny-random-gpt2-without-merge")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("fxmarty/onnx-tiny-random-gpt2-without-merge")
    model = AutoModel.from_pretrained("fxmarty/onnx-tiny-random-gpt2-without-merge", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
onnx-tiny-random-gpt2-without-merge
1.89 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
Félix Marty
add model
a348808 over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    21 Bytes
    initial commit over 3 years ago
  • config.json
    851 Bytes
    add model over 3 years ago
  • decoder_model.onnx
    917 kB
    xet
    add model over 3 years ago
  • decoder_with_past_model.onnx
    921 kB
    xet
    add model over 3 years ago
  • generation_config.json
    140 Bytes
    add model over 3 years ago
  • merges.txt
    4.61 kB
    add model over 3 years ago
  • special_tokens_map.json
    99 Bytes
    add model over 3 years ago
  • tokenizer.json
    31.1 kB
    add model over 3 years ago
  • tokenizer_config.json
    721 Bytes
    add model over 3 years ago
  • vocab.json
    10.5 kB
    add model over 3 years ago