Skip to content

Commit

Permalink
Release v0.1.1 (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko authored Dec 14, 2022
1 parent 46f32fc commit 26a9694
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ 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.1.1](https://github.com/livebook-dev/kino_bumblebee/tree/v0.1.1) (2022-12-14)

### Added

* Fill-mask to the Neural Network task cell ([#9](https://github.com/livebook-dev/kino_bumblebee/pull/9))
* Token classification to the Neural Network task cell ([#10](https://github.com/livebook-dev/kino_bumblebee/pull/10))

## [v0.1.0](https://github.com/livebook-dev/kino_bumblebee/tree/v0.1.0) (2022-12-08)

Initial release.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To bring KinoBumblebee to Livebook all you need to do is `Mix.install/2`:

```elixir
Mix.install([
{:kino_bumblebee, "~> 0.1.0"}
{:kino_bumblebee, "~> 0.1.1"}
])
```

Expand Down
19 changes: 18 additions & 1 deletion guides/components.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```elixir
Mix.install([
{:kino_bumblebee, "~> 0.1.0"}
{:kino_bumblebee, "~> 0.1.1"}
])
```

Expand All @@ -24,6 +24,23 @@ predictions = [
Kino.Bumblebee.ScoredList.new(predictions)
```

### Kino.Bumblebee.HighlightedText

This kino visualizes predictions from a classification model.

```elixir
text = "Rachel Green works at Ralph Lauren in New York City in the sitcom Friends."

highlights = [
%{label: "PER", phrase: "Rachel Green", start: 0, end: 12},
%{label: "ORG", phrase: "Ralph Lauren", start: 22, end: 34},
%{label: "LOC", phrase: "New York City", start: 38, end: 51},
%{label: "MISC", phrase: "Friends", start: 66, end: 73}
]

Kino.Bumblebee.HighlightedText.new(text, highlights)
```

## Smart cells

The following Smart cells are available:
Expand Down
2 changes: 2 additions & 0 deletions lib/kino_bumblebee/application.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
defmodule KinoBumblebee.Application do
@moduledoc false

use Application

@impl true
Expand Down
7 changes: 4 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule KinoBumblebee.MixProject do
use Mix.Project

@version "0.1.0"
@version "0.1.1"
@description "Bumblebee integration with Livebook"

def project do
Expand All @@ -26,7 +26,7 @@ defmodule KinoBumblebee.MixProject do

defp deps do
[
{:bumblebee, "~> 0.1.0"},
{:bumblebee, "~> 0.1.1"},
{:kino, "~> 0.8"},
{:nx, "~> 0.4.1"},
{:ex_doc, "~> 0.29", only: :dev, runtime: false}
Expand All @@ -41,7 +41,8 @@ defmodule KinoBumblebee.MixProject do
extras: ["guides/components.livemd"],
groups_for_modules: [
Kinos: [
Kino.VegaLite
Kino.Bumblebee.HighlightedText,
Kino.Bumblebee.ScoredList
]
]
]
Expand Down
6 changes: 3 additions & 3 deletions mix.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%{
"axon": {:hex, :axon, "0.3.1", "d2f678871d439ff623c50eecb255e2e89de9e2cd5d4bb7a40d9a80f3a46b86d1", [:mix], [{:kino, "~> 0.7", [hex: :kino, repo: "hexpm", optional: true]}, {:nx, "~> 0.4.0", [hex: :nx, repo: "hexpm", optional: false]}, {:table_rex, "~> 3.1.1", [hex: :table_rex, repo: "hexpm", optional: true]}], "hexpm", "01e0c085a3f26d0cccd44e29a2f308c537ad71d573bb853130f1fd484caccd55"},
"bumblebee": {:hex, :bumblebee, "0.1.0", "285cfa58dd82d8361165fdf6217565bb79aa0218937094eb007195190d717c7b", [:mix], [{:axon, "~> 0.3.1", [hex: :axon, repo: "hexpm", optional: false]}, {:castore, "~> 0.1.0", [hex: :castore, repo: "hexpm", optional: false]}, {:jason, "~> 1.4.0", [hex: :jason, repo: "hexpm", optional: false]}, {:nx, "~> 0.4.1", [hex: :nx, repo: "hexpm", optional: false]}, {:nx_image, "~> 0.1.0", [hex: :nx_image, repo: "hexpm", optional: false]}, {:progress_bar, "~> 2.0", [hex: :progress_bar, repo: "hexpm", optional: false]}, {:tokenizers, "~> 0.2.0", [hex: :tokenizers, repo: "hexpm", optional: false]}, {:unpickler, "~> 0.1.0", [hex: :unpickler, repo: "hexpm", optional: false]}], "hexpm", "9e5de46e5dd53ac7b9c2e5a0bd305f314b2a31f4035935ef1071530e29044c7c"},
"castore": {:hex, :castore, "0.1.19", "a2c3e46d62b7f3aa2e6f88541c21d7400381e53704394462b9fd4f06f6d42bb6", [:mix], [], "hexpm", "e96e0161a5dc82ef441da24d5fa74aefc40d920f3a6645d15e1f9f3e66bb2109"},
"bumblebee": {:hex, :bumblebee, "0.1.1", "f969a05266048428464d10a435e3bef8fb2324886d59ae15002ad93292393c97", [:mix], [{:axon, "~> 0.3.1", [hex: :axon, repo: "hexpm", optional: false]}, {:castore, "~> 0.1.0", [hex: :castore, repo: "hexpm", optional: false]}, {:jason, "~> 1.4.0", [hex: :jason, repo: "hexpm", optional: false]}, {:nx, "~> 0.4.1", [hex: :nx, repo: "hexpm", optional: false]}, {:nx_image, "~> 0.1.0", [hex: :nx_image, repo: "hexpm", optional: false]}, {:progress_bar, "~> 2.0", [hex: :progress_bar, repo: "hexpm", optional: false]}, {:tokenizers, "~> 0.2.0", [hex: :tokenizers, repo: "hexpm", optional: false]}, {:unpickler, "~> 0.1.0", [hex: :unpickler, repo: "hexpm", optional: false]}], "hexpm", "0f7519a1f1537f5c40fba88a383d86603ef978a001c9980af0c75efe76ccf63c"},
"castore": {:hex, :castore, "0.1.20", "62a0126cbb7cb3e259257827b9190f88316eb7aa3fdac01fd6f2dfd64e7f46e9", [:mix], [], "hexpm", "a020b7650529c986c454a4035b6b13a328e288466986307bea3aadb4c95ac98a"},
"complex": {:hex, :complex, "0.4.2", "923e5db0be13dbb3ea00cf8459d9f75f3afdd9ff5a82742ded21064330d28273", [:mix], [], "hexpm", "069a085ef820ce675a2619fd125b963ff4514af2102c7f7d7965128e5ec0a429"},
"decimal": {:hex, :decimal, "2.0.0", "a78296e617b0f5dd4c6caf57c714431347912ffb1d0842e998e9792b5642d697", [:mix], [], "hexpm", "34666e9c55dea81013e77d9d87370fe6cb6291d1ef32f46a1600230b1d44f577"},
"earmark_parser": {:hex, :earmark_parser, "1.4.29", "149d50dcb3a93d9f3d6f3ecf18c918fb5a2d3c001b5d3305c926cddfbd33355b", [:mix], [], "hexpm", "4902af1b3eb139016aed210888748db8070b8125c2342ce3dcae4f38dcc63503"},
Expand All @@ -15,7 +15,7 @@
"nx": {:hex, :nx, "0.4.1", "3cc8e420d0835ab7cac94f253950dee3ff927c68798ae88a3e4ff184a825b042", [:mix], [{:complex, "~> 0.4.2", [hex: :complex, repo: "hexpm", optional: false]}], "hexpm", "0b33fccaf76ebc6e79d53fe1149a70f99838e6505e9e7092e5a0a57b131b27c6"},
"nx_image": {:hex, :nx_image, "0.1.0", "ae10fa41fa95126f934d6160ef4320f7db583535fb868415f2562fe19969d245", [:mix], [{:nx, "~> 0.4", [hex: :nx, repo: "hexpm", optional: false]}], "hexpm", "60a2928164cdca540b4c180ff25579b97a5f2a650fc890d40db3e1a7798c93ad"},
"progress_bar": {:hex, :progress_bar, "2.0.1", "7b40200112ae533d5adceb80ff75fbe66dc753bca5f6c55c073bfc122d71896d", [:mix], [{:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}], "hexpm", "2519eb58a2f149a3a094e729378256d8cb6d96a259ec94841bd69fdc71f18f87"},
"rustler_precompiled": {:hex, :rustler_precompiled, "0.5.4", "34f79a8bdeeb094590b6d88a03469c90d2192c45ac10afcae2acf4f1b925b2dc", [:mix], [{:castore, "~> 0.1", [hex: :castore, repo: "hexpm", optional: false]}, {:rustler, "~> 0.23", [hex: :rustler, repo: "hexpm", optional: true]}], "hexpm", "c5a078315c5f450281f75c0953b14535fbaaad737b85a97a2b72983f45cc30d2"},
"rustler_precompiled": {:hex, :rustler_precompiled, "0.5.5", "a075a92c8e748ce5c4f7b2cf573a072d206a6d8d99c53f627e81d3f2b10616a3", [:mix], [{:castore, "~> 0.1", [hex: :castore, repo: "hexpm", optional: false]}, {:rustler, "~> 0.23", [hex: :rustler, repo: "hexpm", optional: true]}], "hexpm", "e8a7f1abfec8d68683bb25d14efc88496f091ef113f7f4c45d39f3606f7223f6"},
"table": {:hex, :table, "0.1.2", "87ad1125f5b70c5dea0307aa633194083eb5182ec537efc94e96af08937e14a8", [:mix], [], "hexpm", "7e99bc7efef806315c7e65640724bf165c3061cdc5d854060f74468367065029"},
"tokenizers": {:hex, :tokenizers, "0.2.0", "3aa9811396680f849803f6a3978a310a653059613592710ce5f883d67ff17a33", [:mix], [{:castore, "~> 0.1", [hex: :castore, repo: "hexpm", optional: false]}, {:rustler, ">= 0.0.0", [hex: :rustler, repo: "hexpm", optional: true]}, {:rustler_precompiled, "~> 0.5", [hex: :rustler_precompiled, repo: "hexpm", optional: false]}], "hexpm", "2496fd44cf96bcefc70e75cf7e34126de8b63ccb9ad35967d6d5d8661cbdb6b7"},
"unpickler": {:hex, :unpickler, "0.1.0", "c2262c0819e6985b761e7107546cef96a485f401816be5304a65fdd200d5bd6a", [:mix], [], "hexpm", "e2b3f61e62406187ac52afead8a63bfb4e49394028993f3c4c42712743cab79e"},
Expand Down

0 comments on commit 26a9694

Please sign in to comment.