Skip to content

Instantly share code, notes, and snippets.

View tuanh208's full-sized avatar

Nguyen Tu Anh tuanh208

View GitHub Profile
@stephenroller
stephenroller / mixout.py
Last active February 10, 2023 23:49
Example of mixout on generic modules.
#!/usr/bin/env python3
"""
Example of a generic Mixout implementation. (Lee et al., 2019).
https://arxiv.org/abs/1909.11299
Implementation by Stephen Roller (https://stephenroller.com).
Updated 2020-02-10 to include 1/(1 - p) correction term. Thanks to
Cheolhyoung Lee for making this correction.
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active March 19, 2026 17:02
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname