Skip to content

Instantly share code, notes, and snippets.

View danielweiv's full-sized avatar

Daniel Wei danielweiv

View GitHub Profile

Some remarks on Large Language Models

Yoav Goldberg, January 2023

Audience: I assume you heard of chatGPT, maybe played with it a little, and was imressed by it (or tried very hard not to be). And that you also heard that it is "a large language model". And maybe that it "solved natural language understanding". Here is a short personal perspective of my thoughts of this (and similar) models, and where we stand with respect to language understanding.

Intro

Around 2014-2017, right within the rise of neural-network based methods for NLP, I was giving a semi-academic-semi-popsci lecture, revolving around the story that achieving perfect language modeling is equivalent to being as intelligent as a human. Somewhere around the same time I was also asked in an academic panel "what would you do if you were given infinite compute and no need to worry about labour costs" to which I cockily responded "I would train a really huge language model, just to show that it doesn't solve everything!". We

@colemickens
colemickens / amiibo-emulation-with-linux-vm.md
Last active May 3, 2025 12:48
amiibo-emulation-with-linux-vm.md

Easy Amiibo Emulation - https://bit.ly/2z0m09k

(^ that's a short-link to this page, so you can open it in Linux)

Some users are discussing this guide in #hacking on the JoyConDroid Discord: https://discord.gg/SQNEx9v.

DO NOT ask for, or share links to, Amiibo bins in the comments! They will be removed. Thank you for understanding.

(Windows|Linux PC) + JoyControl + Bluetooth = AMIIBO EMULATION

@hongyue
hongyue / cmake-vcpkg-qtcreator.md
Last active December 31, 2023 03:08
cmake, vcpkg and qt creator integration related stuff

VS Code's CMake Tools integration with vcpkg

Add the "cmake.configureSettings" section to vs code's settings.json.

For remote development, using 'open remote settings' to open settings.json.

{
    "cmake.configureSettings": {
        "CMAKE_TOOLCHAIN_FILE": "<vcpkg root folder>/scripts/buildsystems/vcpkg.cmake"
    }
}
@zed-dz
zed-dz / offline_mdn_docs.md
Created March 12, 2019 14:01
Offline MDN Docs
@jamezrin
jamezrin / test_adb.py
Created September 6, 2018 16:48
Take screenshot with python-adb and save it to a file
import os
from adb import adb_commands
from adb import sign_m2crypto
# Devices running KitKat or later require auth
signer = sign_m2crypto.M2CryptoSigner(
os.path.expanduser('~/.android/adbkey'))
# Connect to the device
device = adb_commands.AdbCommands()
@mbinna
mbinna / effective_modern_cmake.md
Last active May 30, 2025 01:10
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft

diff --git a/SynoBuildConf/abiconfig b/SynoBuildConf/abiconfig
new file mode 100644
index 0000000000..70e02a72b5
--- /dev/null
+++ b/SynoBuildConf/abiconfig
@@ -0,0 +1,4 @@
+{
+ "skip_including": ["d3d11va.h", "dxva2.h", "qsv.h", "vda.h", "vdpau.h", "xvmc.h"],
+ "defines": "#define __STDC_CONSTANT_MACROS"
+}
@prasanthj
prasanthj / lirc-pi3.txt
Last active February 19, 2025 18:32
Getting lirc to work with Raspberry Pi 3 (Raspbian Stretch)
Notes to make IR shield (made by LinkSprite) work in Raspberry Pi 3 (bought from Amazon [1]).
The vendor has some documentation [2] but that is not complete and sufficient for Raspbian Stretch.
Following are the changes that I made to make it work.
$ sudo apt-get update
$ sudo apt-get install lirc
# Add the following lines to /etc/modules file
lirc_dev
lirc_rpi gpio_in_pin=18 gpio_out_pin=17
@adamchilcott
adamchilcott / msOfficeTasks.sh
Last active October 14, 2018 11:30
Microsoft Office 2016 For Mac
#!/usr/bin/env bash
###############################
# Microsoft Office 2016 For Mac
###############################
declare tempMountPoint='/tmp/mnt/'
declare dmgLocation='lmnas01.avondale.edu.au/Software/Microsoft/Office/MAC'
declare dmgFile='SW_DVD5_Office_Mac_Standard_2016_MultiLang_-3_.iso_MLF_X20-52737.ISO'
declare pkgLocation='/Volumes/Office 2016 VL/Microsoft_Office_2016_Volume_Installer.pkg'