... to my blog style space for easier contribution by third parties and to provide what I believe to be an easier reading experience. Please field all enquiries and issues to the source repository.
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 typing import Any, Dict | |
import numpy as np | |
import pandas as pd | |
from datasets import load_dataset | |
from torch.utils.data import Dataset | |
from transformers import ( | |
set_seed, | |
Seq2SeqTrainer, | |
Seq2SeqTrainingArguments, |
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 requests | |
from bs4 import BeautifulSoup | |
import re | |
import graph_tool.all as gt | |
def get_html_content(url): | |
r = requests.get(url) | |
return r.text | |
inf_by_regex = re.compile('Influenced by') |
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
/* | |
Firefox 58+ (Quantum) very minimal browser theme | |
Hides the navigation bar until you hover over the tabs | |
Heavily inspired by Vivaldi's UI | |
Only really need to edit the hex colors in :root | |
Originally from my Nocturnal CSS: https://gist.github.com/chloechantelle/7d58ff31121378cec2ab593ac90c64b8 | |
Should look like: https://i.imgur.com/ASOaXqZ.png |