- Text/Video-to-Video 2B: https://huggingface.co/THUDM/CogVideoX-2b
- Text/Video-to-Video 5B: https://huggingface.co/THUDM/CogVideoX-5b
- Image-to-Video 5B: https://huggingface.co/THUDM/CogVideoX-5b-I2V
- Original Repository: https://github.com/THUDM/CogVideo
- Diffusers documentation: https://huggingface.co/docs/diffusers/en/api/pipelines/cogvideox
- Diffusers-TorchAO quantization benchmarks: https://github.com/sayakpaul/diffusers-torchao/
- Diffusers-Quanto example: https://gist.github.com/a-r-r-o-w/31be62828b00a9292821b85c1017effa
- HF CogVideoX Space: https://huggingface.co/spaces/THUDM/CogVideoX-5B-Space
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
| ## Core Principles | |
| 1. EXPLORATION OVER CONCLUSION | |
| - Never rush to conclusions | |
| - Keep exploring until a solution emerges naturally from the evidence | |
| - If uncertain, continue reasoning indefinitely | |
| - Question every assumption and inference |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Mirror a Bitbucket repository to GitHub using a Bitbucket pipeline and GitHub deploy key. | |
| 1. On GitHub, create a new repository (import or from scratch). | |
| 2. On Bitbucket, Enable Pipelines under Repository settings > Pipelines > Settings. | |
| 3. On Bitbucket, Generate keys under Repository settings > Pipelines > SSH keys. Copy the public key to clipboard. | |
| 4. On the same page, under Known hosts enter github.com as the Host address and then click Fetch followed by Add host. | |
| 5. On GitHub, add the public key under Settings > Security > Deploy keys > Add deploy key. Tick the checkbox to Allow write access. | |
| 6. On Bitbucket, add the public key under Repository settings > Security > Access keys > Add key. | |
| 7. Inside the Bitbucket repo, create a bitbucket-pipelines.yml file containing the following: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ####################################### | |
| # Bash script to install an AMP stack and PHPMyAdmin plus tweaks. For Debian based systems. | |
| # In case of any errors (e.g. MySQL) just re-run the script. Nothing will be re-installed except for the packages with errors. | |
| ####################################### | |
| #COLORS | |
| # Reset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Instructions: | |
| First, do | |
| sudo -i | |
| or login as ROOT on your server. | |
| Second, do | |
| touch /usr/local/vesta/bin/v-update-ip | |
| to create the file. | |
| Third, do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #simple NLP using NLTK | |
| #by rahmanazhar | |
| import nltk | |
| from nltk.corpus import twitter_samples as ts | |
| print('the sample files') | |
| print(ts.fileids()) | |
| #index number in samples | |
| index = 23 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| sudo apt-get upgrade -y — force-yes | |
| cd /tmp | |
| curl -O http://vestacp.com/pub/vst-install.sh | |
| bash vst-install.sh -f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| sudo dpkg — get-selections | grep -v deinstall | grep php7.0 -y | |
| sudo apt-get update -y | |
| sudo apt-get install python-software-properties -y | |
| LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php -y | |
| sudo apt-get update -y | |
| sudo apt-get install php7.2 -y | |
| a2dismod php7.0 | |
| a2enmod php7.2 |
NewerOlder