GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Go to Leanpub.comLeanpub
  • Authors
  • Readers
  • Topics
  • Services
  • GhostAI
  • AudiobookAI
  • TranslateAI
  • CourseAI
  • ImportAI
  • IndexAI
  • AccessibilityAI
  • GhostAI Accelerator
  • Publish on Amazon

This view

  • Original page
  • New address

GeezerVison is showing leanpub.com — Safe For Humans AI

About
  1. About
  2. Author
  3. Contents
Safe For Humans AI

Safe For Humans AI

Minimum price

Free!

$12.00

You pay

Author earns

$

✦Also available for 1 book credit with a Reader Membership

About

About the Book

We take a dive into both general architectures for safe, human-first AI as well as concrete examples of building applications with LLMs with both prompt engineering and fine-tuning. While I favor using self-hosted LLMs for the technical book examples, most can also be used with OpenAI and Hugging Face APIs.

Share this book

Feedback

Contact the author

Author

About the Author

Mark Watson

Mark Watson is a consultant specializing in LLMs, deep learning, machine learning, knowledge graphs, and general artificial intelligence software development. He uses Common Lisp, Clojure, Python, Java, Haskell, and Ruby for development.

He is the author of 20+ published books on Artificial Intelligence, Deep Learning, Java, Ruby, Machine Learning, Common LISP, Clojure, JavaScript, Semantic Web, NLP, C++, Linux, and Scheme. He has 55 US Patents.

Mark's consulting customer list includes: Google, Capital One, Olive AI, CompassLabs, Disney, Sitescout.com, Embed.ly, and Webmind Corporation.

Mark wrote ten traditional published books for McGraw Hill, Springer Verlag, J Wiley, and Morgan Kaufman publishers before adopting the LeanPub self-publishing platform.

The Leanpub Podcast

Podcast

Podcast Episode

Contents

Table of Contents

Preface

  1. Running Software Examples
  2. Technology Stack for Development of the Book Examples
  3. Author’s Use of Large Language Models for Writing and Coding
  4. The “Big Project Example” in this Book
  5. About the Author
  6. Book Cover
  7. Acknowledgements

Part I - Risks Using AI

Road Map for Our Journey to Safe AI

  1. Your Requirements for Privacy and AI Safety vs. Making Maximum Business Use of LLMs
  2. A Prompt Template For Evaluating Safety vs. Opportunity Tradeoffs

Risks

  1. Don’t Throw the Baby Out With the Bath Water
  2. Government Control of AI and International Norms
  3. Key Aspects of AI Safety
  4. Leaking Customer Data
  5. Inaccurate Results from LLMs
  6. Legal Exposure to the Use of Possibly Private Data Used to Train LLMs
  7. Protecting Your Business Processes from Competition

AI Weapons

  1. Attempts to Mitigate Risks of AI Weapons
  2. What About the United Nations?

Generative AI

  1. Midjourney
  2. Microsoft and GitHub Copilot
  3. ChatGPT and Microsoft Bing with ChatGPT

Governance

Transparency in a World Where Corporations and Governments Do Not Want Transparency

  1. Building Transparency Into AI Systems

Part II - Using AI Safely: a Technical Approach

Portability Library Supporting OpenAI, Hugging Face, and Self Hosted Models

  1. Examples Using LlmLib

Using Local Large Language Models

  1. Available Public Large Language Models
  2. StabilityAI’s StableLM Using lil-parrot Library
  3. Google’s Flan-T5-XXL
  4. Running FastChat with Vicuna LLMs
  5. Building a Chat Application Using Text From My Books and Prompt Engineering

Fine-Tuning LLMs Using Your Data

  1. Fine-Tuning vs. Prompt Engineering
  2. The Process of Fine-Tuning
  3. Building a Chat Application Using Text From My Books and Fine-Tuning

Part III - What Does the Future Hold?

AI-Safety Respecting Architectures for Use in Education

AI-Safety Respecting Architectures for Use in Small and Medium Size Businesses

Trying to Predict the Future

  1. Advances in LLMs
  2. Small Devices and Edge Computing
  3. Personalized AIs
  4. New Kinds of Digital Devices

A Thought Experiment on Building a Safe AI in Alignment With Positive Human Values

  1. A Design Based on Prompt Engineering
  2. Safe AI Thought Experiment Implementation

Good Luck

Appendix A - Using Google Colab

Appendix B - Using GPU Servers on Lambda Labs

Also by the Author

Also by the Author

  • Loving Common Lisp, or the Savvy Programmer's Secret Weapon

    Loving Common Lisp, or the Savvy Programmer's Secret Weapon

    Mark Watson
  • Practical Artificial Intelligence Programming With Java

    Practical Artificial Intelligence Programming With Java

    Mark Watson
  • LangChain and LlamaIndex Projects Lab Book: Hooking Large Language Models Up to the Real World

    LangChain and LlamaIndex Projects Lab Book: Hooking Large Language Models Up to the Real World

    Mark Watson
  • Haskell Tutorial and Cookbook

    Haskell Tutorial and Cookbook

    Mark Watson
  • A Lisp Programmer Living in Python-Land: The Hy Programming Language

    A Lisp Programmer Living in Python-Land: The Hy Programming Language

    Mark Watson
  • Practical Artificial Intelligence Programming With Clojure

    Practical Artificial Intelligence Programming With Clojure

    Mark Watson
  • Ollama in Action: Building Safe, Private AI with LLMs, Function Calling and Agents

    Ollama in Action: Building Safe, Private AI with LLMs, Function Calling and Agents

    Mark Watson
  • Build Intelligent Systems with JavaScript

    Build Intelligent Systems with JavaScript

    Mark Watson
  • Practical Artificial Intelligence Development With Racket

    Practical Artificial Intelligence Development With Racket

    Mark Watson
  • Artificial Intelligence Using Swift

    Artificial Intelligence Using Swift

    Mark Watson
  • Practical Python Artificial Intelligence Programming

    Practical Python Artificial Intelligence Programming

    Mark Watson
  • Artificial Intelligence Programming in Python: Exploring the Boundaries of Deep Learning, Symbolic AI, and Knowledge Representation

    Artificial Intelligence Programming in Python: Exploring the Boundaries of Deep Learning, Symbolic AI, and Knowledge Representation

    Mark Watson
  • LM Studio in Action: Building Safe, Private AI with LLMs, Function Calling and Agents with MCP

    LM Studio in Action: Building Safe, Private AI with LLMs, Function Calling and Agents with MCP

    Mark Watson
  • Gerbil Scheme in Action

    Gerbil Scheme in Action

    Mark Watson
  • Practical AI Programming with Prolog

    Practical AI Programming with Prolog

    Mark Watson
  • Little Bits of Common Lisp

    Little Bits of Common Lisp

    Mark Watson
  • Practical AI with Google: A Solo Knowledge Worker's Guide to Gemini, AI Studio, and LLM APIs

    Practical AI with Google: A Solo Knowledge Worker's Guide to Gemini, AI Studio, and LLM APIs

    Mark Watson
  • Winning Big With Small AI

    Winning Big With Small AI

    Mark Watson

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.