Hands-on tutorials showing how to build, fine-tune, evaluate, and automate workflows in Prem Studio—featuring code examples in Python, TypeScript, and Jupyter notebooks.
Each tutorial README includes:
- Prerequisites - Required knowledge or setup
- Setup Environment - Environment setup instructions for Python and TypeScript
- Outcome - What you'll achieve
- Steps - Detailed walkthrough
- Code Snippets - TypeScript and Python examples with instructions on how to run the experiments
- Resources - Sample files and datasets
- Next Steps - Related tutorials and learning paths
Tutorials are tagged with:
- Platform Sections:
dataset,finetuning,evaluation,inference - Complexity:
beginner,intermediate,advanced - Domain:
safety,finance,medicine,education, etc.
Tags appear at the top of each tutorial README.
Each tutorial is organized in its own directory under /tutorials/, following this structure:
/tutorials/
/<tutorial-name>/
README.md # Tutorial documentation
python/ # Python implementation
script.py
requirements.txt
notebook.ipynb
typescript/ # TypeScript implementation
script.ts
package.json
resources/ # Shared resources
dataset.jsonl # Optional: sample dataset in JSONL format
qa_templates.json
...
Note: Not all tutorials provide both Python and TypeScript implementations.
We welcome contributions! To add a new tutorial:
- Copy the template: Use
/tutorials/_template/as a starting point - Follow the structure: Ensure all required files are included in the appropriate
pythonortypescriptsubfolders - Add tags: Include platform sections, complexity, and domain tags
- Submit a PR: Open a pull request with your tutorial
See /tutorials/_template/README.md for detailed guidelines.