Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.
Avoid being a link dump. Try to provide only valuable well tuned information.
Neural network links before starting with transformers.
These are some exploits, jailbreaks, tricks, whatever you want to call them I've collected and discovered over time. | |
==== Games and fun stuff ==== | |
== Set up a virtual machine inside GPTs imagination == | |
"I want you to act as a Linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do not write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English I will do so by putting text inside curly brackets {like this}. My first command is pwd." | |
== Play a tabletop RPG with GPT as the dungeon master == | |
"I want you to act as the dungeon master (DM) of a role playing game. Answer and act only in a way that a dungeon master would. | |
You are setting up a role playing game with only one other player. Everything you say as the dungeon master begins with (DM): followed by whatever you want to say. You will regularly ask me, the player, to |
HuggingFace Page for model download: https://huggingface.co/hakurei/waifu-diffusion-v1-3
/// <summary> | |
/// Attribute that makes a field enable/disable status controlled by a boolean condition | |
/// </summary> | |
public class ToggleFieldAttribute : PropertyAttribute { | |
/// <summary> | |
/// Boolean field to control the enable/disable status | |
/// </summary> | |
public readonly string ConditionalField; |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
// Restrict raycasting to a sprite mesh shape | |
// Could use Image.alphaHitTestMinimumThreshold to mask but that requires read/write images which can't be packed | |
[RequireComponent(typeof(Image))] | |
public class SpriteMeshRaycastFilter : MonoBehaviour, ICanvasRaycastFilter { | |
private RectTransform rectTransform; |
//#define TMP_ROUND_DECIMALS // When defined, float and double values are rounded using Math.round | |
using TMPro; | |
public static class TMP_IntegerText | |
{ | |
private static readonly char[] arr = new char[64]; // prefix + number + postfix can't exceed this capacity! | |
private static int charIndex = 0; | |
public static void SetText( this TMP_Text text, sbyte number ) |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using System.Reflection; | |
using System; | |
public class FindSceneRefs { | |
[MenuItem("CONTEXT/Component/Find References In Scene")] |
using UnityEngine; | |
using UnityEngine.UI; | |
public class HexGridLayout : LayoutGroup { | |
const float SQUARE_ROOT_OF_3 = 1.73205f; | |
public enum Axis { Horizontal = 0, Vertical = 1 } | |
public enum Constraint { Flexible = 0, FixedColumnCount = 1, FixedRowCount = 2 } |
// https://docs.unity3d.com/2017.1/Documentation/Manual/webgl-templates.html example code is broken. Use: | |
function UnityProgress(gameInstance, progress) { | |
if (!gameInstance.Module) | |
return; | |
var r = UnityLoader.Progress.Styles[gameInstance.Module.splashScreenStyle], | |
n = gameInstance.Module.progressLogoUrl ? gameInstance.Module.resolveBuildUrl(gameInstance.Module.progressLogoUrl) : r.progressLogoUrl, | |
o = gameInstance.Module.progressEmptyUrl ? gameInstance.Module.resolveBuildUrl(gameInstance.Module.progressEmptyUrl) : r.progressEmptyUrl, | |
i = gameInstance.Module.progressFullUrl ? gameInstance.Module.resolveBuildUrl(gameInstance.Module.progressFullUrl) : r.progressFullUrl, | |
a = "position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);"; | |
if (!gameInstance.logo) { |
// Put this in an editor folder | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEngine.Experimental.LowLevel; | |
using UnityEngine.Profiling; |