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
@media (prefers-color-scheme: dark) { | |
:root { | |
--main-bg: #282c34; | |
--dark-bg: #21252b; | |
--light-bg: #333842; | |
--main-font: #ababab; | |
--dark-font: #888; | |
--light-font: #eee; |
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 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" |
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
https://github.com/search?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+involves%3Atimofurrer&type=Issues&ref=searchresults |
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
#!/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 |