This repository holds the "Manage Offensive Behavior Using AI Language, Speech, and Video with Oracle APEX" LiveLab resources.
- OffensiveBehavior_Template.zip
Notebooks in this repository:
- 1_prep_ocw_v1. First notebook to create a custom conda, change Pytube package, and publish custom conda
- 2_main_ocw_v1. Second and main notebook to run. Defines all steps, creates an OCI Data Science - Job and triggers the Job.
- 3_ocw_all_py_files. All individual .py (main and subpackages) are defined in this notebook.
Follow the instructions outline in the OCW Las Vegas - Workshop Details:
• Log-in Oracle Cloud • Create an Autonomous Database and download the Wallet • Create API Key and download config and private key • Create a Log Group • Create an Object Storage Bucket
• Create OCI Data Science Notebook Session • Pull Github Repo • Open first Jupyter Notebook and follow steps in the notebook: o Create a custom conda environment o Optional. Adjust Pytube Python package o Publish custom conda environment to Object Storage
• Open second Jupyter Notebook and follow steps in the notebook: o Upload Config and Private Key files o Upload Autonomous Database Wallet o Change parameters in Main.py o Add Log Group OCID o Define Custom Conda Environment o Run Notebook (ie., create a Job and run a Job) • Get Job OCID, Project OCID, and Compartment OCID
• Open APEX and create a Workspace • Importing pre-built application • Managing credentials (API Key) • Configuring the Data Sources (Project OCID, Job OCID, Compartment OCID)
• Start analysis on Video, Audio, or Both • Optional: enhancing the APEX application