Skip to content

Commit 66718c7

Browse files
committed
updates
1 parent 4af80da commit 66718c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+558
-261
lines changed

LLMrisks.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Risks of using LLMs
2+
3+
Common advanced LLM powered systems can have severe security risks.
4+
5+
Common security risks are:
6+
7+
* AI systems can malfunction when exposed to untrustworthy data, and attackers are exploiting this issue.
8+
9+
* New guidance documents the types of these attacks, along with mitigation approaches.
10+
11+
* Prompt injection.
12+
13+
* Leakage of personally identifiable information (PII)
14+
15+
* Harmful prompts. Relevant when you develop your ‘own’ LLM or LLM powered application.
16+
17+
No foolproof method exists for protecting ML/AI systems from security hacks. This is problematic when ML/AI systems are used for health systems, transport systems or weapons. Misdirection is a common threat.
18+
19+
Using LLMs for health saving systems or software that is used for safety applications (cars, trains, plains):
20+
21+
:::{danger}
22+
The outcome of LLMs should never be trusted. Despite imense progress on LLMs and their applications:
23+
Transparency is often absent and outcomes should never ever be trusted without a **SOLID and GOOD** human assessment!
24+
:::

README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,10 @@ But you can also support the project by [buying a hard copy](https://www.amazon.
2929

3030
If you like your name stated here: This publication is open source. Issues and pull requests are welcome.
3131

32-
All contributors will be added to this list.
32+
All contributors will be mentioned in the publication!
3333

3434
*So get involved in the discussions and make IT better!*
3535

36-
The following people have contributed to this project:
37-
[name] [OPTIONAL email] [Optional Organization name ]
3836

3937

4038
# Licensing
@@ -43,7 +41,7 @@ When you submit text to which you hold the copyright, you agree to license it un
4341
* Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).
4442

4543

46-
# Topics covered the Free and Open Machine Learning (version 1.0)
44+
# Topics covered the Free and Open Machine Learning
4745

4846
* Why Free and Open Machine Learning.
4947

_toc.yml

+15-5
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,39 @@
11
format: jb-book
22
root: abstract
33
parts:
4+
45
- caption: Core Concepts
56
chapters:
67
- file: preface
78
- file: introduction
89
- file: whyossml
10+
sections:
11+
- file: ethicalai
12+
913
- file: whatisml
1014
- file: openmldefinition
1115
- file: ml-business-use
16+
sections:
17+
- file: businessofai
1218
- file: architecture
1319
- file: risks
20+
sections:
21+
- file: LLMrisks
1422
- file: nlp
1523
- file: ml-challenges
24+
1625
- caption: FOSS ML Software
1726
chapters:
1827
- file: generatedfiles/overview
1928
sections:
20-
- file: generatedfiles/mlresearchframeworks
2129
- file: generatedfiles/aiagentframeworks
22-
- file: generatedfiles/mlsecurityscanner
2330
- file: generatedfiles/llmui
24-
- file: generatedfiles/nlp
25-
- file: generatedfiles/mltools
26-
- file: generatedfiles/mlframeworks
2731
- file: generatedfiles/llms
32+
- file: generatedfiles/mlframeworks
33+
- file: generatedfiles/mlresearchframeworks
34+
- file: generatedfiles/mlsecurityscanner
35+
- file: generatedfiles/mltools
36+
- file: generatedfiles/nlp
2837

2938
- file: catalogue
3039
sections:
@@ -46,3 +55,4 @@ parts:
4655
- file: license
4756
- url: https://www.amazon.com/Free-Machine-Learning-Maikel-Mardjan/dp/B0863S9LQ5/ref=sr_1_2?qid=1585488090&refinements=p_27%3AMaikel+Mardjan&s=books&sr=1-2&text=Maikel+Mardjan
4857
title: Support this project:Buy a hardcopy version!
58+
- file: sponsors

about.md

+144-33
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,144 @@
1-
About
2-
=====
3-
4-
This publication to fight for real Free and Open Machine learning is
5-
initially started and created by Maikel Mardjan. Maikel is a hands-on
6-
practical business IT architect and loves to make simple designs for
7-
complex IT systems. Maikel has more than 25 years of relevant experience
8-
on various IT roles in famous (international) companies. Maikel holds
9-
both a Master (Msc) Business Studies of University of Groningen
10-
(<https://www.rug.nl/>) and a Master degree (Msc) Electrical
11-
Engineering, of Delft University of Technology
12-
(<https://www.tudelft.nl/en/>). Maikel is TOGAF 9 Certified and CISSP
13-
(Certified Information Systems Security Professional) certified. Maikel
14-
is also an OWASP member (<https://owasp.org/>) and supporter.
15-
16-
Check <https://nocomplexity.com> for more information about Maikel.
17-
18-
Machine learning is a complex technology. So we need simple and Free and
19-
Open solutions to create applications so that will solve complex
20-
problems we humans face. To trust machine learning applications there is
21-
simply no other option than using fully transparent technologies. So
22-
Free and Open in the spirit of the Free Software Foundation
23-
(<https://fsf.org>).
24-
25-
If you or your company is committed to openness make sure to support the
26-
BM-Support.org Foundation. Supporting this foundation is free! Check
27-
<https://www.bm-support.org/join/>
28-
29-
This publication would never have reached version 1.0 without your help.
30-
So I gratefully thank all people who devote time and knowledge to give
31-
input to this publication. Will we continue this FOSS machine learning
32-
journey so machine learning technology will stay Free and Open so
33-
everyone can benefit.
1+
# About NO|Complexity
2+
3+
## Who is Behind NO|Complexity?
4+
5+
[NO|Complexity.com](https://nocomplexity.com/) is dedicated to solve business IT challenges in a rapidly evolving world. I’m Maikel Mardjan, and I believe that many business IT solutions are overly complex. Simple solutions have many advantages. But creating simple solutions is not simple. Tackling complexity challenges requires an unique combination of expertise, skills and people.
6+
7+
8+
With experience across a range of architecture roles—including IT Architect, Security Architect, Business Architect, and Enterprise Architect—I have worked with various organizations to design IT systems that prioritize simplicity. I hold a Master’s degree (MSc) in Business Studies from the University of Groningen and a Master’s degree (MSc) in Electrical Engineering from Delft University of Technology. Additionally, I am TOGAF 9 Certified and hold CISSP (Certified Information Systems Security Professional) certification.
9+
10+
Currently, I lead initiatives at NoComplexity.com, an innovative IT company focused on straightforward solutions. For more insights and updates, you can find me on X (despite my privacy and other concerns with BigTech...) at [@maikelmardjan](https://X.com/maikelmardjan).
11+
12+
## Other NO|Complexity Publications
13+
14+
### Cyber Security
15+
16+
% Start cards grid
17+
::::{grid} 3
18+
:class-container: text-center
19+
:gutter: 3
20+
21+
:::{grid-item-card}
22+
:link: https://nocomplexity.com/documents/securityarchitecture/introduction.html
23+
:link-type: url
24+
{octicon}`book;2em;caption-text` **Open Security Reference Architecture**
25+
^^^
26+
Cyber security can still be simple and effective.
27+
Use this Playbook to create better and faster security solutions for your security use case.
28+
:::
29+
30+
:::{grid-item-card}
31+
:link: https://nocomplexity.com/documents/securitybydesign/intro.html
32+
:link-type: url
33+
{octicon}`book;2em;caption-text` **Security By Design**
34+
^^^
35+
Security by design is a proven method to develop products that are less vulnerable for cyber security threats.
36+
Master the topic quickly with this eBook.
37+
:::
38+
39+
:::{grid-item-card}
40+
:link: https://nocomplexity.com/documents/securitysolutions/intro.html
41+
:link-type: url
42+
{octicon}`book;2em;caption-text` **Open Security Solutions**
43+
^^^
44+
Given the vast array of FOSS cybersecurity products available, this publication offers a handcrafted curated selection.
45+
:::
46+
47+
:::{grid-item-card}
48+
:link: https://nocomplexity.com/documents/reports/SimplifySecurity.pdf
49+
:link-type: url
50+
{octicon}`book;2em;caption-text` **Simplify Cyber Manifest**
51+
^^^
52+
A manifesto to revolutionize cybersecurity through simplification.
53+
:::
54+
55+
56+
:::{grid-item-card}
57+
:link: https://nocomplexity.com/documents/simplifysecurity/intro.html#
58+
:link-type: url
59+
{octicon}`book;2em;caption-text` **Simplify Security**
60+
^^^
61+
Find open simple cyber solutions that work. Simplify cyber security to accelerate its effectiveness.
62+
:::
63+
64+
65+
:::{grid-item-card}
66+
:link: https://nocomplexity.com/documents/simplifyprivacy/intro.html
67+
:link-type: url
68+
{octicon}`book;2em;caption-text` **Simplify Digital Privacy**
69+
^^^
70+
This digital Playbook is all about protecting *your* digital privacy.
71+
:::
72+
73+
74+
::::
75+
% End of Cards grid
76+
77+
### Machine Learning - AI and Tools
78+
79+
% Start cards grid
80+
::::{grid} 3
81+
:class-container: text-center
82+
:gutter: 3
83+
84+
:::{grid-item-card}
85+
:link: https://nocomplexity.com/documents/fossml/abstract.html
86+
:link-type: url
87+
{octicon}`book;2em;caption-text` **Free and Open Machine Learning**
88+
^^^
89+
Freedom to control machine learning and AI technology is not self-evident. This Playbook gives you full control.
90+
:::
91+
92+
93+
94+
:::{grid-item-card}
95+
:link: https://nocomplexity.com/documents/jupyterlab/intro.html
96+
:link-type: url
97+
{octicon}`book;2em;caption-text` **Mastering JupyterLab**
98+
^^^
99+
Supercharge your data science journey with Mastering JupyterLab. Use this Playbook to streamline your workflow and boost productivity.
100+
:::
101+
102+
103+
:::{grid-item-card}
104+
:link: https://nocomplexity.com/documents/pythonbook/introduction.html
105+
:link-type: url
106+
{octicon}`book;2em;caption-text` **Master Python for AI/ML**
107+
^^^
108+
Python programming skills are essential for architects, engineers, and even managers in the IT industry.
109+
Become a Python master to do more with AI/ML applications.
110+
:::
111+
112+
113+
::::
114+
% End of Cards grid
115+
116+
117+
### General
118+
119+
120+
% Start cards grid
121+
::::{grid} 3
122+
:class-container: text-center
123+
:gutter: 3
124+
125+
:::{grid-item-card}
126+
:link: https://nocomplexity.com/documents/arplaybook/introduction.html
127+
:link-type: url
128+
{octicon}`book;2em;caption-text` **Architecture Playbook**
129+
^^^
130+
A playbook providing practical tools to help create architectures and designs more quickly and effectively.
131+
:::
132+
133+
:::{grid-item-card}
134+
:link: https://nocomplexity.com/simplifyit/
135+
:link-type: url
136+
{octicon}`book;2em;caption-text` **Simplify IT**
137+
^^^
138+
This is an eBook with proven scientific tools and frameworks to help you effectively solve complex IT problems and gain a comprehensive understanding of IT systems in a business context.
139+
:::
140+
141+
142+
143+
::::
144+
% End of Cards grid

architecture.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ML Reference Architecture
2-
=========================
1+
# ML Reference Architecture
2+
33

44
When you are going to apply machine learning for your business for real
55
you should develop a solid architecture. A good architecture covers all
@@ -67,8 +67,8 @@ good knowledge of machine learning principles and technology also a
6767
strong and deep knowledge of business and IT architecture and design
6868
aspects.
6969

70-
The machine learning process
71-
----------------------------
70+
## The machine learning process
71+
7272

7373
Setting up an architecture for machine learning systems and applications
7474
requires a good insight in the various processes that play a crucial
@@ -105,8 +105,8 @@ You need to improve your machine learning model after the first test.
105105
Improving can be done using more training data or by making model
106106
adjustments.
107107

108-
Architecture Building Blocks for ML
109-
-----------------------------------
108+
## Architecture Building Blocks for ML
109+
110110

111111
This reference architecture for machine learning gives guidance for
112112
developing solution architectures where machine learning systems play a
@@ -185,22 +185,22 @@ developing. Creating principles also makes is easier for third parties
185185
to inspect designs and solutions and perform risks analysis on the
186186
design process and the product developed.
187187

188-
#### Example Business principles for Machine Learning applications
188+
### Example Business principles for Machine Learning applications
189189

190190
In this section some general principles for machine learning
191191
applications. For your specific machine learning application use the
192192
principles that apply and make them SMART. So include implications and
193193
consequences per principle.
194194

195-
#### Collaborate
195+
### Collaborate
196196

197197
Statement: Collaborate Rationale: Successful creation of ML applications
198198
require the collaboration of people with different expertises. You need
199199
e.g. business experts, infrastructure engineers, data engineers and
200200
innovation experts. Implications: Organisational and culture must allow
201201
open collaboration.
202202

203-
#### Unfair bias
203+
### Unfair bias
204204

205205
Statement: Avoid creating or reinforcing unfair bias Rationale: Machine
206206
learning algorithms and datasets can reflect, reinforce, or reduce
@@ -211,14 +211,14 @@ gender, nationality, income, sexual orientation, ability, and political
211211
or religious belief. Implications: Be transparent about your data and
212212
training datasets. Make models reproducible and auditable.
213213

214-
#### Built and test for safety
214+
### Built and test for safety
215215

216216
Statement: Built and test for safety. Rationale: Use safety and security
217217
practices to avoid unintended results that create risks of harm. Design
218218
your machine learning driven systems to be appropriately cautious
219219
Implications: Perform risk assessments and safety tests.
220220

221-
#### Privacy by design
221+
### Privacy by design
222222

223223
Statement: Incorporate privacy by design principles. Rationale: Privacy
224224
by principles is more than being compliant with legal constraints as
@@ -243,8 +243,8 @@ the aspects:
243243
- Maintenance (e.g. logging, version control, deployment, scheduling)
244244
- Scalability, flexibility and performance
245245

246-
ML Reference Architecture
247-
-------------------------
246+
## ML Reference Architecture
247+
248248

249249
A full stack approach is needed to apply machine learning. A full stack
250250
approach means that in order to apply machine learning successfully you
@@ -264,7 +264,7 @@ solution.
264264

265265
![Machine Learning Architecture Building Blocks](/images/ml-reference-architecture.png)
266266

267-
Conceptual overview of machine learning reference architecture
267+
Conceptual overview of machine learning reference architecture.
268268

269269
Since this simplified machine learning reference architecture is far
270270
from complete it is recommended to consider e.g. the following questions

businessofai.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# The business of AI
2+
3+
A lot of companies are currently active within the AI / LLM landscape.
4+
5+
Most AI companies hardly make a profit. Large companies, like Google, Meta(Facebook) or Microsoft, are competing with new startups. But since the release of GPT by [openai.com](https://openai.com/) many new companies have entered the ML arena.
6+
7+
Most companies have a business model based on one of the following options:
8+
* Selling consultancy
9+
* Selling hosting
10+
* Selling Enterprise solutions, including hosting so business can take simple and fast advantage of ML. Ofcourse: often the fast and simple turns out to be a fallacy.
11+
* Selling training and courses.
12+
* Selling user profiles since many companies offer a community. User profile information can be very valuable for certain companies. Besides recruiting, also selling additional services to a selected group can be very lucrative.
13+
Selling a platform and services. Often the ‘free’ tier is to attract developers, but the gold is to sell ML platform services to enterprises and governmental organizations.
14+
15+
:::{danger}
16+
Truth is: Almost no so called AI company makes profit.
17+
:::
18+
19+
Hosting cost and development costs for training a LLM are immense. And offering licenses to companies and sell LLM prompts as SAAS services are hardly enough for a healthy revenue.
20+
21+
The danger is that most AI companies will sell your data as a revenue stream. This besides selling ads injected in prompts.
22+
23+
The companies that make profit are the traditional service companies or product companies that long before LLMs existed already had a healthy business model. For many companies the latest technology options for using AI and LLMs can be profitable. See the section on [business use cases](ml-business-use).
24+

0 commit comments

Comments
 (0)