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
| import os.path | |
| from collections import OrderedDict | |
| from safetensors.torch import save_file, load_file | |
| import torch | |
| state_dict=load_file("path to your slider.safetensors") | |
| alpha_keys = [ | |
| 'lora_unet-single_transformer_blocks-0-attn-to_q.alpha', |
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
| import os.path | |
| from collections import OrderedDict | |
| from safetensors.torch import save_file | |
| import torch | |
| state_dict=torch.load("path to your slider.pt") | |
| alpha_keys = [ | |
| 'lora_unet_single_transformer_blocks_0_attn_to_q.alpha' |
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
| - tags: | |
| - bbh | |
| question: >- | |
| Complete the rest of the sequence, making sure that the parentheses are | |
| closed properly. Input: { < { { [ ] } } { < [ { { < > } } [ ( ) ( ) ] [ [ [ | |
| [ ( { < ( < ( [ ] ) > ) > } ) ] ] ] ] ] ( ) ( [ ] { } ) > } > [ { ( ( ) ) } | |
| ] | |
| criteria: | |
| correctness: 'The answer is }' | |
| - tags: |
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
| - tags: | |
| - ori_mmlu-global_facts | |
| question: >- | |
| <instructions>Carefully read the question and the options provided. Choose | |
| the option that best answers the question.</instructions> | |
| <question>As of 2017, the share of deaths in Greenland by suicide is | |
| about</question> | |
| <options><option>A: 3.60%</option> |
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/bash | |
| # Global constants | |
| readonly DEFAULT_SYSTEM_VOLUME="Macintosh" | |
| readonly DEFAULT_DATA_VOLUME="Macintosh - Data" | |
| # Text formating | |
| RED='\033[1;31m' | |
| GREEN='\033[1;32m' | |
| BLUE='\033[1;34m' |
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
| #!/usr/bin/python | |
| import torch | |
| import safetensors | |
| import safetensors.torch | |
| import os | |
| MODEL_KEYS = [ | |
| "model.", | |
| "first_stage_model", |
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
| // ==UserScript== | |
| // @name hCAPTCHA solver | |
| // @namespace hCAPTCHA solver | |
| // @version 1.0 | |
| // @description Automatically solves hCAPTCHAs in browser | |
| // @author Abdul Rehman Sheikh - engageub | |
| // @licence MIT | |
| // @match *://*/* | |
| // @grant GM_xmlhttpRequest | |
| // @grant GM_setValue |
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
| # Script for converting a HF Diffusers saved pipeline to a Stable Diffusion checkpoint. | |
| # *Only* converts the UNet, VAE, and Text Encoder. | |
| # Does not convert optimizer state or any other thing. | |
| # Written by jachiam | |
| import argparse | |
| import os.path as osp | |
| import torch |
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
| // ==UserScript== | |
| // @name Hcaptcha Solver with Browser Trainer(Automatically solves Hcaptcha in browser) | |
| // @namespace Hcaptcha Solver | |
| // @version 10.0 | |
| // @description Hcaptcha Solver in Browser | Automatically solves Hcaptcha in browser | |
| // @author Md ubeadulla | |
| // @match https://*.hcaptcha.com/*hcaptcha-challenge* | |
| // @match https://*.hcaptcha.com/*checkbox* | |
| // @grant GM_xmlhttpRequest | |
| // @grant GM_setValue |
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/bash | |
| # v 2.1.0 | |
| syslog=/etc/rsyslog.d/09-externalserver.conf | |
| # this logs notice and above. use *.* log everything. | |
| filter=*.notice | |
| server=192.168.0.19 # Change the server to the IP of your syslog server. | |
| port=514 | |
| hostname=firewalla | |
| valid=$(grep "$server:$port" $syslog 2>/dev/null) |
NewerOlder