A plugin to make authoring with MUI components efficient, both for humans and bundlers.
from transformers import AutoTokenizer, AutoModelForSequenceClassification, XLNetTokenizer | |
import torch | |
tokenizer = XLNetTokenizer.from_pretrained("ynie/xlnet-large-cased-snli_mnli_fever_anli_R1_R2_R3-nli") | |
model = AutoModelForSequenceClassification.from_pretrained("ynie/xlnet-large-cased-snli_mnli_fever_anli_R1_R2_R3-nli") | |
classes = ["not paraphrase", "is paraphrase"] | |
sequence_0 = "The company HuggingFace is based in New York City" | |
sequence_1 = "Apples are especially bad for your health" |
version: '3' | |
services: | |
db: | |
image: postgres:13 | |
volumes: | |
- db-data:/var/lib/postgresql/data/pgdata | |
ports: | |
- 5432:5432/tcp | |
environment: | |
- POSTGRES_PASSWORD=odoo |
Cian Johnston, July 2017
A couple of weeks ago, I decided I should put my gaming rig to work crypto mining. I did not expect to make any significant profit on this, it was more of a fun project to set up. However, there were a large number of tutorials and guides already out there, and many were more than a year out of date.
This guide assumes the reader already has a crypto wallet set up, is comfortable with Linux and the command line, and knows how to use Google if they run into problems.
The end result is an Ubuntu 16.04 LTS headless server running CUDA ethminer via systemd.
{"lastUpload":"2021-07-21T11:33:45.864Z","extensionVersion":"v3.4.3"} |
https://github.com/search?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+involves%3Atimofurrer&type=Issues&ref=searchresults |
Add StuDocu Extracter to your Browser favorites, and click on it after you open the StuDocu document.
javascript:(function(){var a = "", x = document.getElementsByTagName("svg"); for(var i = 0; i < x.length; i++){a += x[i].outerHTML;} document.getElementsByTagName("body")[0].innerHTML = a;var a = document.getElementsByTagName("svg");for (var i = 0; i < a.length; i++){a[i].style.width="99.8%";a[i].style.height="auto";a[i].style.position="inherit";a[i].style.display="block";a[i].style.boxShadow="0 3px 3px rgba(0,0,0,0.3)";a
#!/bin/bash | |
set -e # bail on errors | |
# Make sure your shell history isn't saved | |
hsback=$HISTFILE | |
unset HISTFILE | |
echo "Enter you current PIN - leave blank if default:" | |
read oldpin |
These rules are adopted from the AngularJS commit conventions.
Only do this if you understand the consequences: all node programs will be able to bind on ports < 1024
sudo setcap 'cap_net_bind_service=+ep' /usr/local/bin/node
Important: your node location may vary. Use which node
to find it, or use it directly in the command: