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
// summary : simple load balancing algorithm | |
// keywords : scala, load-balancing, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) | |
// id : 812a93f3-e957-4dfc-b9f5-ea8825503faa | |
// created-on : 2024-02-06T23:51:44+01:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
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
// summary : playing with GPT2 | |
// keywords : djl, machine-learning, gpt, ai, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) | |
// id : 296ca1e1-ede9-4d57-9f1a-6f0f14fb2fbc | |
// created-on : 2024-02-03T08:18:12+01:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
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
���� JFIF ; ; �� C | |
�� C �� S �! �� �� �� 㬼�`���m-��sT����Q�L�� �Z hf ��"ikASkP�L&��C�I��(��y�gR�pjI*�$M�5 ��y{�[ ���r$ n*qΛ�tPY�q��������Y���S�.ѯ3T^} {*��J֊�ٮ��>�caZ\T��;I`E�N���4���'V���$�.���{�UD=���L�є��y��]ƭ�Nj��LY�jyoMzu�4��=��q��*��ɇ���ͳ�hut9RN]���6��*������[�H�V�~���.���MG;bA��Av��.�q[�ˬ�_�Y�=l70 Ƹ�2� p�,Q�)����&�Ql1���]�3r-Gl�!��J��"��'��$=��͊[�5Ϧ�5#a�u���J�ғ���+1��1�_��3�9*4jF&��.D�&KP`9 �j�_�6�AzkFYSF��͢�Խ#0��w�x֍��!�s��ɨ�L�\�fQ$�+Y�'��Y��^@E�\�>� �s | |
���/h�M� ��-�f/ 姝����5J�7��o���Nw������n���)).8��.�9�̎�Q����`�՚���,z��N�=�@��a�n��Vr),yAg�t��jJ䟤�_��\����^l��T���y�sW��\�+��$W��|�V�|ͫ/a��s��K�:��g��C����?A�]0L�.�����&۰j/z�iɸ�.VX�G{�fy���ݨNT5[� sCq�̅%�,�zNl �-�%�+BF5��g1�\}Ei��Ӗ���kH[J��T!ͨˍ�����-&=X������=p�ۉ�Ku1Ƙk |
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
// summary : bert question answer using DJL | |
// keywords : djl, machine-learning, tutorial, ai, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) | |
// id : 8d02579b-7065-47b1-9d1a-045ed6bd9c05 | |
// created-on : 2024-01-29T11:58:43+01:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
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
## summary : nix-shell environment for javafx scala-fx | |
## keywords : nix, djl, nix-shell, javafx, nix | |
## publish : gist | |
## authors : David Crosson | |
## license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) | |
## id : 36e58dc5-7408-43dc-9514-7d5ebead8218 | |
## created-on : 2024-01-29T10:45:57+01:00 | |
## managed-by : https://github.com/dacr/code-examples-manager | |
## run-with : nix-shell $file |
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
// summary : image classification compare models | |
// keywords : djl, machine-learning, tutorial, detection, ai, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) | |
// id : f1c02983-8800-4c08-812e-14b732be895d | |
// created-on : 2024-01-28T13:24:06+01:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
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
// summary : sentiment analysis using DJL | |
// keywords : djl, machine-learning, tutorial, sentiment, ai, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) | |
// id : 65caa624-232d-483d-83d2-0d4ea0067540 | |
// created-on : 2024-01-28T16:16:23+01:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
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
// summary : Things (objects, people, animals) detection using DJL - compare models efficiency | |
// keywords : djl, machine-learning, tutorial, detection, ai, @testable | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) | |
// id : bd813b80-9e47-489d-9a1d-86c5fb5c828e | |
// created-on : 2024-01-27T14:36:36+01:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file |
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
## summary : nix-shell environment for CUDA and DeepJavaLibrary | |
## keywords : nix, djl, nix-shell | |
## publish : gist | |
## authors : David Crosson | |
## license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) | |
## id : d84d6a0d-e5d2-4a42-aed4-d785231ef7fe | |
## created-on : 2024-01-27T15:49:43+01:00 | |
## managed-by : https://github.com/dacr/code-examples-manager | |
## run-with : nix-shell $file |
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
// summary : http server random hello world using sealed traits or union types - experiments | |
// keywords : scala, zio, tapir, http, zhttp, @testable, @exclusive | |
// publish : gist | |
// authors : David Crosson | |
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) | |
// id : 5a1b725d-853a-45c6-9d9d-612f67174552 | |
// created-on : 2024-01-24T09:46:26+01:00 | |
// managed-by : https://github.com/dacr/code-examples-manager | |
// run-with : scala-cli $file | |
// test-with : curl -L http://127.0.0.1:8080/hello |