Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

paralaif
/
MagicPrompt-Stable-Diffusion-ONNX

Text Generation
Transformers.js
ONNX
gpt2
Model card Files Files and versions
xet
Community

Instructions to use paralaif/MagicPrompt-Stable-Diffusion-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers.js

    How to use paralaif/MagicPrompt-Stable-Diffusion-ONNX with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('text-generation', 'paralaif/MagicPrompt-Stable-Diffusion-ONNX');
MagicPrompt-Stable-Diffusion-ONNX
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
paralaif's picture
paralaif
Upload folder using huggingface_hub
63294d0 verified 5 months ago
  • onnx
    Upload folder using huggingface_hub 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    2.31 kB
    Upload folder using huggingface_hub 5 months ago
  • config.json
    982 Bytes
    Upload folder using huggingface_hub 5 months ago
  • generation_config.json
    119 Bytes
    Upload folder using huggingface_hub 5 months ago
  • merges.txt
    456 kB
    Upload folder using huggingface_hub 5 months ago
  • quantize_config.json
    312 Bytes
    Upload folder using huggingface_hub 5 months ago
  • special_tokens_map.json
    441 Bytes
    Upload folder using huggingface_hub 5 months ago
  • tokenizer.json
    3.56 MB
    Upload folder using huggingface_hub 5 months ago
  • tokenizer_config.json
    476 Bytes
    Upload folder using huggingface_hub 5 months ago
  • vocab.json
    798 kB
    Upload folder using huggingface_hub 5 months ago