From 2596e7a2dd7e7a0be23ca85dc799ba79e283d0af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Fri, 14 Apr 2023 15:29:16 +0200 Subject: [PATCH] Release v0.3.0 --- CHANGELOG.md | 27 +++++++++++++++++++-------- README.md | 2 +- guides/components.livemd | 2 +- mix.exs | 4 ++-- mix.lock | 4 ++-- 5 files changed, 25 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 581e32b..edf7da8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v0.3.0](https://github.com/livebook-dev/kino_bumblebee/tree/v0.3.0) (2023-04-14) + +### Added + +* Image-to-text task ([#29](https://github.com/livebook-dev/kino_bumblebee/pull/29)) + +### Changed + +* Model loading to no longer use `:log_params_diff` +* Updated generation examples to use generation config ([#30](https://github.com/livebook-dev/kino_bumblebee/pull/30)) + ## [v0.2.1](https://github.com/livebook-dev/kino_bumblebee/tree/v0.2.1) (2023-03-23) ### Added -* Add conversation task ([#23](https://github.com/livebook-dev/kino_bumblebee/pull/23)) -* Add question answering task ([#23](https://github.com/livebook-dev/kino_bumblebee/pull/23)) +* Conversation task ([#23](https://github.com/livebook-dev/kino_bumblebee/pull/23)) +* Question answering task ([#23](https://github.com/livebook-dev/kino_bumblebee/pull/23)) ### Changed @@ -18,17 +29,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -* Add XLM-RoBERTa models for punctuation and language detection ([#16](https://github.com/livebook-dev/kino_bumblebee/pull/16)) -* Add zero-shot text classification task ([#17](https://github.com/livebook-dev/kino_bumblebee/pull/17)) -* Add speech-to-text task ([#19](https://github.com/livebook-dev/kino_bumblebee/pull/19)) +* XLM-RoBERTa models for punctuation and language detection ([#16](https://github.com/livebook-dev/kino_bumblebee/pull/16)) +* Zero-shot text classification task ([#17](https://github.com/livebook-dev/kino_bumblebee/pull/17)) +* Speech-to-text task ([#19](https://github.com/livebook-dev/kino_bumblebee/pull/19)) ## [v0.2.0](https://github.com/livebook-dev/kino_bumblebee/tree/v0.2.0) (2023-03-16) ### Added -* Add XLM-RoBERTa models for punctuation and language detection ([#16](https://github.com/livebook-dev/kino_bumblebee/pull/16)) -* Add zero-shot text classification task ([#17](https://github.com/livebook-dev/kino_bumblebee/pull/17)) -* Add speech-to-text task ([#19](https://github.com/livebook-dev/kino_bumblebee/pull/19)) +* XLM-RoBERTa models for punctuation and language detection ([#16](https://github.com/livebook-dev/kino_bumblebee/pull/16)) +* Zero-shot text classification task ([#17](https://github.com/livebook-dev/kino_bumblebee/pull/17)) +* Speech-to-text task ([#19](https://github.com/livebook-dev/kino_bumblebee/pull/19)) ## [v0.1.4](https://github.com/livebook-dev/kino_bumblebee/tree/v0.1.4) (2022-12-15) diff --git a/README.md b/README.md index 17b3c42..29af375 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ To bring KinoBumblebee to Livebook all you need to do is `Mix.install/2`: ```elixir Mix.install([ - {:kino_bumblebee, "~> 0.2.1"} + {:kino_bumblebee, "~> 0.3.0"} ]) ``` diff --git a/guides/components.livemd b/guides/components.livemd index 1039bf9..4983227 100644 --- a/guides/components.livemd +++ b/guides/components.livemd @@ -2,7 +2,7 @@ ```elixir Mix.install([ - {:kino_bumblebee, "~> 0.2.1"} + {:kino_bumblebee, "~> 0.3.0"} ]) ``` diff --git a/mix.exs b/mix.exs index ea61aa4..ab918b4 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule KinoBumblebee.MixProject do use Mix.Project - @version "0.2.1" + @version "0.3.0" @description "Bumblebee integration with Livebook" def project do @@ -26,7 +26,7 @@ defmodule KinoBumblebee.MixProject do defp deps do [ - {:bumblebee, github: "elixir-nx/bumblebee"}, + {:bumblebee, "~> 0.3.0"}, {:kino, "~> 0.9"}, {:nx, "~> 0.5.0"}, {:exla, "~> 0.5.0", only: [:dev, :test]}, diff --git a/mix.lock b/mix.lock index c2f59d9..9b5f259 100644 --- a/mix.lock +++ b/mix.lock @@ -1,6 +1,6 @@ %{ "axon": {:hex, :axon, "0.5.1", "1ae3a2193df45e51fca912158320b2ca87cb7fba4df242bd3ebe245504d0ea1a", [:mix], [{:kino, "~> 0.7", [hex: :kino, repo: "hexpm", optional: true]}, {:kino_vega_lite, "~> 0.1.7", [hex: :kino_vega_lite, repo: "hexpm", optional: true]}, {:nx, "~> 0.5.0", [hex: :nx, repo: "hexpm", optional: false]}, {:table_rex, "~> 3.1.1", [hex: :table_rex, repo: "hexpm", optional: true]}], "hexpm", "d36f2a11c34c6c2b458f54df5c71ffdb7ed91c6a9ccd908faba909c84cc6a38e"}, - "bumblebee": {:git, "https://github.com/elixir-nx/bumblebee.git", "17c6d60eea2730d5f207e427be7be3bdfd7022d2", []}, + "bumblebee": {:hex, :bumblebee, "0.3.0", "ad6294b39b8fb2212620e9ed9fbebc936c574ae146d3f49b3e855e1254f7c981", [:mix], [{:axon, "~> 0.5.0", [hex: :axon, repo: "hexpm", optional: false]}, {:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: false]}, {:jason, "~> 1.4.0", [hex: :jason, repo: "hexpm", optional: false]}, {:nx, "~> 0.5.0", [hex: :nx, repo: "hexpm", optional: false]}, {:nx_image, "~> 0.1.0", [hex: :nx_image, repo: "hexpm", optional: false]}, {:nx_signal, "~> 0.1.0", [hex: :nx_signal, repo: "hexpm", optional: false]}, {:progress_bar, "~> 2.0", [hex: :progress_bar, repo: "hexpm", optional: false]}, {:tokenizers, "~> 0.3.1", [hex: :tokenizers, repo: "hexpm", optional: false]}, {:unpickler, "~> 0.1.0", [hex: :unpickler, repo: "hexpm", optional: false]}, {:unzip, "0.8.0", [hex: :unzip, repo: "hexpm", optional: false]}], "hexpm", "477ed5e15d4a5b18343086bed83e2990ca2ba67e0dc9e2d57518bda4cca4c95e"}, "castore": {:hex, :castore, "0.1.22", "4127549e411bedd012ca3a308dede574f43819fe9394254ca55ab4895abfa1a2", [:mix], [], "hexpm", "c17576df47eb5aa1ee40cc4134316a99f5cad3e215d5c77b8dd3cfef12a22cac"}, "complex": {:hex, :complex, "0.5.0", "af2d2331ff6170b61bb738695e481b27a66780e18763e066ee2cd863d0b1dd92", [:mix], [], "hexpm", "2683bd3c184466cfb94fad74cbfddfaa94b860e27ad4ca1bffe3bff169d91ef1"}, "decimal": {:hex, :decimal, "2.0.0", "a78296e617b0f5dd4c6caf57c714431347912ffb1d0842e998e9792b5642d697", [:mix], [], "hexpm", "34666e9c55dea81013e77d9d87370fe6cb6291d1ef32f46a1600230b1d44f577"}, @@ -21,7 +21,7 @@ "rustler_precompiled": {:hex, :rustler_precompiled, "0.6.1", "160b545bce8bf9a3f1b436b2c10f53574036a0db628e40f393328cbbe593602f", [:mix], [{:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: false]}, {:rustler, "~> 0.23", [hex: :rustler, repo: "hexpm", optional: true]}], "hexpm", "0dd269fa261c4e3df290b12031c575fff07a542749f7b0e8b744d72d66c43600"}, "table": {:hex, :table, "0.1.2", "87ad1125f5b70c5dea0307aa633194083eb5182ec537efc94e96af08937e14a8", [:mix], [], "hexpm", "7e99bc7efef806315c7e65640724bf165c3061cdc5d854060f74468367065029"}, "telemetry": {:hex, :telemetry, "1.2.1", "68fdfe8d8f05a8428483a97d7aab2f268aaff24b49e0f599faa091f1d4e7f61c", [:rebar3], [], "hexpm", "dad9ce9d8effc621708f99eac538ef1cbe05d6a874dd741de2e689c47feafed5"}, - "tokenizers": {:hex, :tokenizers, "0.3.0", "1aebe61c68cf36e3ea4423a357b196e226c18a8b3206afe59d257f038833deb4", [:mix], [{:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: false]}, {:rustler, ">= 0.0.0", [hex: :rustler, repo: "hexpm", optional: true]}, {:rustler_precompiled, "~> 0.6", [hex: :rustler_precompiled, repo: "hexpm", optional: false]}], "hexpm", "6c6de26911fd875fc1aead92ee40efb3e4271f54a312cc52f073012f2a134201"}, + "tokenizers": {:hex, :tokenizers, "0.3.1", "31b445abf498d0edfd594651a1abe359f10ceeb841b2ba964d51473dcc1f1100", [:mix], [{:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: false]}, {:rustler, ">= 0.0.0", [hex: :rustler, repo: "hexpm", optional: true]}, {:rustler_precompiled, "~> 0.6", [hex: :rustler_precompiled, repo: "hexpm", optional: false]}], "hexpm", "7f25d28291a05ea71797750000a92ba913f7f65cc7a80fdb08a1c2a2b2b90def"}, "unpickler": {:hex, :unpickler, "0.1.0", "c2262c0819e6985b761e7107546cef96a485f401816be5304a65fdd200d5bd6a", [:mix], [], "hexpm", "e2b3f61e62406187ac52afead8a63bfb4e49394028993f3c4c42712743cab79e"}, "unzip": {:hex, :unzip, "0.8.0", "ee21d87c21b01567317387dab4228ac570ca15b41cfc221a067354cbf8e68c4d", [:mix], [], "hexpm", "ffa67a483efcedcb5876971a50947222e104d5f8fea2c4a0441e6f7967854827"}, "xla": {:hex, :xla, "0.4.4", "c3a8ed1f579bda949df505e49ff65415c8281d991fbd6ae1d8f3c5d0fd155f54", [:make, :mix], [{:elixir_make, "~> 0.4", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "484f3f9011db3c9f1ff1e98eecefd382f3882a07ada540fd58803db1d2dab671"},