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
// ==UserScript== | |
// @name Twitter Post Limiter | |
// @namespace https://github.com/bstee615/ | |
// @version 0.2 | |
// @match https://twitter.com/home* | |
// @grant none | |
// @author Benjamin Steenhoek | |
// @description Number posts on the Twitter timeline and limit after a set number. | |
// | |
// 3/12/2024, 2:23 PM created |
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 | |
pip install huggingface-hub==0.19.0 | |
git clone https://github.com/ggerganov/llama.cpp | |
(cd llama.cpp; make -j -k) | |
huggingface-cli download TheBloke/Nous-Capybara-34B-GGUF nous-capybara-34b.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False | |
./llama.cpp/main -ngl 32 -m nous-capybara-34b.Q4_K_M.gguf --color -c 2048 --temp 0.7 --repeat_penalty 1.1 -n -1 -i -ins | |
# Interact with the LLM through the command-line chat interface. Have fun! |
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 | |
project=$1 | |
fuzzer=$2 | |
timeout=$3 | |
file_limit=$4 | |
corpus_dir=$5 | |
jobs=$6 | |
STARTTIME="$(date +%s)" | |
ENDTIME="$(( $STARTTIME + $timeout ))" |
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
Some weights of the model checkpoint at bert-base-uncased were not used when initializing BertForSequenceClassification: ['cls.predictions.decoder.weight', 'cls.predictions.transform.LayerNorm.bias', 'cls.predictions.transform.LayerNorm.weight', 'cls.seq_relationship.bias', 'cls.predictions.transform.dense.bias', 'cls.predictions.bias', 'cls.predictions.transform.dense.weight', 'cls.seq_relationship.weight'] | |
- This IS expected if you are initializing BertForSequenceClassification from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model). | |
- This IS NOT expected if you are initializing BertForSequenceClassification from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model). | |
Some weights of BertForSequenceClassification were not initialized from the model checkpoint at bert-base-uncased and a |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
LLVM | Joern | SrcML | |
---|---|---|---|
0.0230s ± 0.0034s | 6.2906s ± 0.0034s | 0.0702s ± 0.0088s |
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
int main() | |
{ | |
int x = 0; | |
int i = 0; | |
while (i < 10) { | |
x += 1; | |
i++; | |
} | |
return x; | |
} |
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
int main() | |
{ | |
int x = 0; | |
for (int i = 0; i < 10; i ++) | |
{ | |
x += 1; | |
} | |
return x; | |
} |
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 os | |
import re | |
import sys | |
""" | |
Compiles a Latex project into one .tex file. | |
Requires a main tex file and a compiled .bbl file for the project. | |
Run from the root of the Latex project for correct include paths. | |
Usage: compile.py <input.tex> <input.bbl> | |
""" |
NewerOlder