Skip to content

Instantly share code, notes, and snippets.

View nyck33's full-sized avatar
🏠
Working from home

Nobu nyck33

🏠
Working from home
View GitHub Profile
@nyck33
nyck33 / detections.jsonlines
Created September 21, 2023 01:26
2_real_world_phishing output called detections.jsonlines
{"Message":"Squeeeeeze!! This is christmas hug.. If u lik my frndshp den hug me back.. If u get 3 u r cute:) 6 u r luvd:* 9 u r so lucky;) None? People hate u:","To":"[email protected], [email protected], [email protected], [email protected], [email protected]","BCC":"[email protected], [email protected]","CC":"[email protected]","From":"[email protected]","to_count":5,"bcc_count":2,"cc_count":1,"total_recipients":8,"data":"5[SEP]2[SEP]1[SEP]8[SEP]Squeeeeeze!! This is christmas hug.. If u lik my frndshp den hug me back.. If u get 3 u r cute:) 6 u r luvd:* 9 u r so lucky;) None? People hate u:"}
{"Message":"Mmm thats better now i got a roast down me! i����d b better if i had a few drinks down me 2! Good indian?","To":"AnneSharkey@chief-McSweeney's.org","BCC":"[email protected], [email protected]","CC":"[email protected], Daniel.Roscoe@learning-triangula
@nyck33
nyck33 / gist:9fc952340a1f97d21f33b6ef042a367f
Created September 20, 2023 12:43
morpheus simple Python and abp_nvsmi same problem
```
(base) nyck33@nyck33-ubuntu2304:~/Documents/morpheus$ docker exec -it morpheus_container /bin/bash
(morpheus) root@72c4e3958688:/workspace# ls
CHANGELOG.md CONTRIBUTING.md LICENSE README.md docker docs examples models morpheus scripts
(morpheus) root@72c4e3958688:/workspace# cd morpheus
(morpheus) root@72c4e3958688:/workspace/morpheus# export MORPHEUS_ROOT=$(pwd)
# Launch Morpheus printing debug messages
morpheus --log_level=DEBUG \
`# Run a pipeline with 8 threads and a model batch size of 32 (Must be equal or less than Triton config)` \
run --num_threads=8 --pipeline_batch_size=1024 --model_max_batch_size=1024 \
@nyck33
nyck33 / gist:c0ebc49ca728235d9fa204ff684281d5
Created September 19, 2023 10:53
morpheus env stuff for github issue
```
//from inside morpheus devcontainer
(base) coder ➜ .../Morpheus/external/utilities/scripts $ ./print_env.sh
<details><summary>Click here to see environment details</summary><pre>
**git***
commit aab0d96f76d2cd0b9403e5d149a46f2feeab132e (HEAD -> branch-23.11, origin/branch-23.11, origin/HEAD)
Author: David Gardner <[email protected]>
Date: Mon Sep 18 06:13:21 2023 -0700
@nyck33
nyck33 / colab-demo-for-donut-base-finetuned-cord-v2-230615.ipynb
Created July 16, 2023 04:25
colab-demo-for-donut-base-finetuned-cord-v2-230615.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nyck33
nyck33 / quick-inference-with-donut-for-document-parsing.ipynb
Created July 16, 2023 01:26
Quick inference with DONUT for Document Parsing.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nyck33
nyck33 / keras_ocr_born_digital_public.ipynb
Created July 15, 2023 07:58
keras_ocr_born_digital_public.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nyck33
nyck33 / kerasOCRKaggle.ipynb
Created July 15, 2023 07:09
Keras OCR uses CRAFT under the hood for bounding boxes but it's not accurate enough to get bounding boxes so I can input single lines to TrOCR
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nyck33
nyck33 / trocer-multiline-attempt.ipynb
Created July 15, 2023 02:31
trocer-multiline-attempt.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nyck33
nyck33 / visualPythonDemo.ipynb
Created July 9, 2023 00:56
visualPythonTitanicDemoErrorNumpy
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nyck33
nyck33 / alpaca-loracolab.ipynb
Created July 1, 2023 11:26
Alpaca-LoraColab.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.