# Hayaliv > Hayaliv stands for Human-centered AI, Yielding Actionable Learning, Innovation & Value. hayaliv.com is an interactive desktop for learning about small language models (SLMs) and for learning Python for AI in plain words. Every statement about Python in the lessons is backed by a word-for-word quote from the official Python 3.12 documentation or by code that was actually run. ## Learn Python for AI - [Hi! Python: all lessons](https://hayaliv.com/python/): fifteen short lessons with analogies, examples and exercises - [Values, variables and types](https://hayaliv.com/python/values-variables-and-types/): Every value has a type, and a name refers to a value. - [Strings and f-strings](https://hayaliv.com/python/strings-and-f-strings/): Strings are text you can index, slice, clean with methods, and fill in with f-strings. - [Lists, tuples, dicts and sets](https://hayaliv.com/python/lists-tuples-dicts-and-sets/): Lists change, tuples do not, dicts look things up by key, and sets keep unique items. - [Control flow](https://hayaliv.com/python/control-flow/): if chooses a path, for and while repeat work, and break and continue steer a loop. - [Functions](https://hayaliv.com/python/functions/): A function packages steps under a name, takes parameters, and hands back a value. - [Comprehensions](https://hayaliv.com/python/comprehensions/): A comprehension builds a list, dict or set from another collection in one short line. - [Text and the `with` statement](https://hayaliv.com/python/text-and-the-with-statement/): Read text one line at a time, and let with close the file for you. - [JSON](https://hayaliv.com/python/json/): Turn Python data into JSON text and back with json.dumps and json.loads. - [JSONL-style records: one JSON object per line](https://hayaliv.com/python/jsonl-style-records-one-json-object-per-line/): Store one JSON object per line, then read it back line by line and report bad lines by number. - [CSV](https://hayaliv.com/python/csv/): Read and write comma-separated tables with csv.reader, DictReader and DictWriter. - [Regular expressions, the basics](https://hayaliv.com/python/regular-expressions-the-basics/): Find, extract and replace text patterns with re.search, re.findall and re.sub. - [Dataclasses](https://hayaliv.com/python/dataclasses/): @dataclass writes __init__, __repr__ and __eq__ for you, so a record like Example(input, label) takes a few lines. - [Type hints](https://hayaliv.com/python/type-hints/): Type hints label what a variable or function expects. Python does not enforce them, but tools such as type checkers can read them. - [Exceptions](https://hayaliv.com/python/exceptions/): try/except lets a program handle a known error on purpose. Catch specific exceptions and raise your own when data is bad. - [Generators and lazy iteration](https://hayaliv.com/python/generators-and-lazy-iteration/): A generator function uses yield to hand back one item at a time, so you can stream records without building a full list. ## Small language models - [53 SLM ideas](https://hayaliv.com/slm-ideas/): research and product ideas in 11 categories, with what each model learns and what is known about data ## About - [About Hayaliv](https://hayaliv.com/about/): what the name means and what the project is - [Privacy Policy](https://hayaliv.com/privacy/): what the site collects and why - Contact: kurestermind@gmail.com ## Optional - [Full text of all lessons and ideas](https://hayaliv.com/llms-full.txt) - [Interactive desktop](https://hayaliv.com/): the JavaScript app (not needed to read the content above)