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

MartaYang007
/
ONE-SHOT-14B

Image-to-Video
Diffusers
Safetensors
WanOneshotPipeline
video-generation
human-animation
one-shot
Model card Files Files and versions
xet
Community
1

Instructions to use MartaYang007/ONE-SHOT-14B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use MartaYang007/ONE-SHOT-14B with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image, export_to_video
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("MartaYang007/ONE-SHOT-14B", dtype=torch.bfloat16, device_map="cuda")
    pipe.to("cuda")
    
    prompt = "A man with short gray hair plays a red electric guitar."
    image = load_image(
        "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png"
    )
    
    output = pipe(image=image, prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
ONE-SHOT-14B / text_encoder
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
MartaYang007's picture
MartaYang007
Initial release: ONE-SHOT-14B (transformer / vae / text_encoder / tokenizer / scheduler / preprocess / demo)
0be9b89 about 1 month ago
  • config.json
    850 Bytes
    Initial release: ONE-SHOT-14B (transformer / vae / text_encoder / tokenizer / scheduler / preprocess / demo) about 1 month ago
  • model-00001-of-00003.safetensors
    4.94 GB
    xet
    Initial release: ONE-SHOT-14B (transformer / vae / text_encoder / tokenizer / scheduler / preprocess / demo) about 1 month ago
  • model-00002-of-00003.safetensors
    4.98 GB
    xet
    Initial release: ONE-SHOT-14B (transformer / vae / text_encoder / tokenizer / scheduler / preprocess / demo) about 1 month ago
  • model-00003-of-00003.safetensors
    1.44 GB
    xet
    Initial release: ONE-SHOT-14B (transformer / vae / text_encoder / tokenizer / scheduler / preprocess / demo) about 1 month ago
  • model.safetensors.index.json
    22.5 kB
    Initial release: ONE-SHOT-14B (transformer / vae / text_encoder / tokenizer / scheduler / preprocess / demo) about 1 month ago