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

  • Log In
  • Sign Up

callgg
/
glm-encoder

Diffusers
Safetensors
glm4v
4-bit precision
bitsandbytes
Model card Files Files and versions
xet
Community

Instructions to use callgg/glm-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use callgg/glm-encoder with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("callgg/glm-encoder", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
glm-encoder
7.22 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
chatpig's picture
chatpig
Upload video_preprocessor_config.json with huggingface_hub
3088ecd verified 10 months ago
  • .gitattributes
    1.57 kB
    Upload tokenizer.json with huggingface_hub 10 months ago
  • README.md
    81 Bytes
    Update README.md 10 months ago
  • chat_template.jinja
    922 Bytes
    Upload chat_template.jinja with huggingface_hub 10 months ago
  • config.json
    2.91 kB
    Upload config.json with huggingface_hub 10 months ago
  • generation_config.json
    172 Bytes
    Upload generation_config.json with huggingface_hub 10 months ago
  • model.safetensors
    7.2 GB
    xet
    Upload model.safetensors with huggingface_hub 10 months ago
  • preprocessor_config.json
    737 Bytes
    Upload preprocessor_config.json with huggingface_hub 10 months ago
  • special_tokens_map.json
    635 Bytes
    Upload special_tokens_map.json with huggingface_hub 10 months ago
  • tokenizer.json
    20 MB
    xet
    Upload tokenizer.json with huggingface_hub 10 months ago
  • tokenizer_config.json
    4.88 kB
    Upload tokenizer_config.json with huggingface_hub 10 months ago
  • video_preprocessor_config.json
    863 Bytes
    Upload video_preprocessor_config.json with huggingface_hub 10 months ago