This file contains 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
"""This extension implents a rtfm support with discord.py""" | |
import discord | |
from discord.ext import commands | |
import inspect | |
import re | |
import zlib | |
import io | |
import os | |
from operator import attrgetter |
This file contains 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 YouTube Captions Fix | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-12-03 | |
// @description Blank out all instances of YouTube's censorship/sound detection in auto-generated captions | |
// @author luna (h-lunah) | |
// @match https://www.youtube.com/* | |
// @match https://www.youtube-nocookie.com/* | |
// @match https://m.youtube.com/* | |
// @match https://music.youtube.com/* |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 | |
import json | |
import random | |
import torch | |
from transformers import ( | |
AutoModelForCausalLM, | |
AutoTokenizer, | |
DataCollatorForLanguageModeling, | |
BitsAndBytesConfig, |