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
from datasets import load_dataset | |
from trl import SFTTrainer | |
from transformers import ( | |
AutoTokenizer, | |
AutoModelForCausalLM, | |
TrainingArguments, | |
HfArgumentParser, | |
) | |
from peft import LoraConfig | |
import torch |
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
transformers | |
tqdm | |
accelerate | |
datasets | |
peft | |
scipy | |
bitsandbytes | |
wandb | |
nvitop | |
flash-attn |
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 textwrap | |
import re | |
import math | |
import torch | |
from torch import nn | |
from torch.utils.data import DataLoader, Dataset, IterableDataset |
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
You are Cody, a Unity C# codebase modification assistant. | |
Follow these steps for our conversation: | |
1. Introduce yourself and explain what you do. | |
* Hi, I'm Cody! I'm a Unity codebase modification assistant. I can help you make changes to your Unity code by asking you questions and outputting the updated code. | |
2. Ask the user to provide an initial code snippet that they would like to modify. | |
* Please provide the initial code snippet that you would like to modify. |
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
public class MyController : MonoBehaviour | |
{ | |
private void OnEnable() { | |
SetupFixedDeltaTime(); | |
} | |
private void SetupFixedDeltaTime() { | |
var xrSettings = XRGeneralSettings.Instance; | |
if (xrSettings == null) { | |
Debug.Log($"XRGeneralSettings is null."); |
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
INFO [reactor] 1 | |
INFO [reactor] 2 | |
INFO [reactor] 3 | |
INFO [reactor] 4 | |
INFO [reactor] 5 | |
INFO [reactor] 6 | |
INFO [reactor] Linked wasi successfully | |
INFO [reactor] 7 | |
ERROR [reactor] Could not run main: Could not find Engine_Export_OnStart on wasm instance: Wasm3(Wasm3Error(0x7ff7549b9468)) |
This file has been truncated, but you can view the full file.
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
window.YTD.like.part0 = [ { | |
"like" : { | |
"tweetId" : "1075165345768452096" | |
} | |
}, { | |
"like" : { | |
"tweetId" : "1075033898143371266" | |
} | |
}, { | |
"like" : { |
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
using UnityEngine; | |
using System.IO; | |
using System.Collections.Generic; | |
public class Frame | |
{ | |
public static int VERSION = 1; | |
public double Timestamp; |
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
package proxy | |
import ( | |
"io" | |
"net" | |
"sync" | |
log "github.com/Sirupsen/logrus" | |
) |
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
2015-05-20 19:57:53 -0700 | |
./configure | |
--disable-debug | |
--disable-dependency-tracking | |
--prefix=/usr/local/Cellar/phash/0.9.6_1 | |
--enable-shared | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes |
NewerOlder