Skip to content

Instantly share code, notes, and snippets.

@acalejos
acalejos / kino_vad.livemd
Created April 8, 2024 02:00
Live Voice-Activity-Detection Widget in <90 LOC

Nx Voice-Activity Detection

Mix.install([
  {:ortex, "~> 0.1.9"},
  {:kino_vega_lite, "~> 0.1.10"},
  {:kino_live_audio, "~> 0.1"},
  {:req, "~> 0.4"}
@acalejos
acalejos / github_repo_report.livemd
Created April 8, 2024 01:59
Use GPT-4 to Write Reports About GitHub Repos

GitHub Repo Report and Analysis

Mix.install(
  [
    {:req, "~> 0.4.0"},
    {:json, "~> 1.4"},
    {:instructor, github: "acalejos/instructor_ex"},
@acalejos
acalejos / livebook_smart_cell_search.livemd
Created February 6, 2024 04:55
Search for Livebook Smart Cells

Find All Smart Cells

Mix.install([
  {:kino, "~> 0.12"},
  {:req, "~> 0.4"},
  {:req_github_paginate, github: "acalejos/req_github_paginate"}
])
@acalejos
acalejos / Nx_Decision_Trees.livemd
Last active February 6, 2024 21:10
Serving Spam Detection With XGBoost and Elixir

Nx-Powered Decision Trees

Mix.install(
  [
    {:exgboost, "~> 0.3.1", override: true},
    {:nx, "~> 0.6"},
    {:exla, "~> 0.5"},