Skip to content

Instantly share code, notes, and snippets.

View Samcfuchs's full-sized avatar
🦊

Sam Fuchs Samcfuchs

🦊
View GitHub Profile

1. Abstract

  • Enhances the document encoder with an additional graph-structured encoder to maintain global context and local characteristics.
  • Both document encoder and graph encoder are used for abstract generation
  • Outperforms pretrained language models (e.g. BERT)
  • Generates better summaries
  • Automatic evaluation might not catch all the important errors

3. Knowledge Graph Construction

@Samcfuchs
Samcfuchs / instructions.md
Last active July 24, 2020 03:26
Setting up Remote Jupyter

How I Set up Remote Jupyter

Get access to the server

Refer to the [server login tutorial][1] to get credentials and log onto the CDS server. This will also help you set up aliases in your console to SSH in more easily. Don't forget to change your password.

I'm now using alacritty as my terminal, so I needed to copy my terminfo over to the server in order to maintain compatibility. If you're using a stock terminal, you probably don't have to do this, but if you do, the secret sauce is infocmp | ssh root@remote-host "tic -", which will send your terminfo to the host. You

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
public static Command getAutoFromSwitches() {
String gameData = DriverStation.getInstance().getGameSpecificMessage();
// Test bed is reading True when toggles switches are "off"
// Test bed 3-way toggle reads "True" on both Left and Right when in the middle
// Test bed 3-way Left toggle reads "False" and Right reads "True", when
// switched to the left
// Test bed 3-way Right toggle reads "False" and Left reads "True", when
// switched to the right
if (leftSide.get() && rightSide.get()) {
@Samcfuchs
Samcfuchs / .bash_aliases
Created August 24, 2017 17:40
unix configs
eval $(thefuck --alias)
alias quit=exit
ds() {
if test -t 1; then
exec 1>/dev/null
fi
if test -t 2; then
exec 2>/dev/null
@Samcfuchs
Samcfuchs / opencv_install.sh
Last active August 15, 2017 15:24
An actual working opencv installer maybe
#!/user/bin/env bash
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install -y build-essential cmake pkg-config
sudo apt-get install -y libjpeg8-dev libtiff5-dev libjasper-dev libpng12-dev
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev libv4l-dev
sudo apt-get install -y libxvidcore-dev libx264-dev
sudo apt-get install -y libgtk-3-dev
#!/usr/bin/env bash
# This should build an environment for opencv code on the
# raspberry pi 2. Make sure that you have a working internet
# connection before running
cd ~
# Install python3
sudo apt-get install -y python3-dev

Keybase proof

I hereby claim:

  • I am samcfuchs on github.
  • I am samcfuchs (https://keybase.io/samcfuchs) on keybase.
  • I have a public key whose fingerprint is 94FE 3A9A C2F2 8DB9 7AAB D91C EE45 6FBD 2E0B 26A4

To claim this, I am signing this object: