Skip to content

Commit

Permalink
Release v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko committed Aug 17, 2023
1 parent 79828d8 commit df83704
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ 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.1](https://github.com/elixir-nx/bumblebee/tree/v0.3.1) (2023-08-17)

### Added

* LLaMA model ([#199](https://github.com/elixir-nx/bumblebee/pull/199))
* GPT-NeoX model ([#204](https://github.com/elixir-nx/bumblebee/pull/204))
* Option to customize scores function in classification tasks ([#211](https://github.com/elixir-nx/bumblebee/pull/211))
* Text embedding serving ([#214](https://github.com/elixir-nx/bumblebee/pull/214))
* `Bumblebee.cache_dir/0` for discovering cache location ([#220](https://github.com/elixir-nx/bumblebee/pull/220))
* Image embedding serving ([#229](https://github.com/elixir-nx/bumblebee/pull/229))
* Support for compiling text servings for multiple sequence lengths ([#228](https://github.com/elixir-nx/bumblebee/pull/228))
* Support for streaming chunks during text generation ([#232](https://github.com/elixir-nx/bumblebee/pull/232))
* Added `:preallocate_params` option to all servings, useful with multiple GPUs ([#233](https://github.com/elixir-nx/bumblebee/pull/233))
* Support for loading params in the .safetensors format ([#231](https://github.com/elixir-nx/bumblebee/pull/231))

## [v0.3.0](https://github.com/elixir-nx/bumblebee/tree/v0.3.0) (2023-04-14)

In this release we moved all generation options to a new `%Bumblebee.Text.GenerationConfig{}` struct, which needs to be explicitly loaded and configured. A number of generation options is model-specific and they used to be a part of model specification, but encapsulating everything in a single struct improves the transparency of options origin and reconfiguration. The text generation servings (generation, speech-to-text and conversation) need to be adjusted as follows:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ First add Bumblebee and EXLA as dependencies in your `mix.exs`. EXLA is an optio
```elixir
def deps do
[
{:bumblebee, "~> 0.3.0"},
{:bumblebee, "~> 0.3.1"},
{:exla, ">= 0.0.0"}
]
end
Expand All @@ -37,7 +37,7 @@ In notebooks and scripts, use the following `Mix.install/2` call to both install
```elixir
Mix.install(
[
{:bumblebee, "~> 0.3.0"},
{:bumblebee, "~> 0.3.1"},
{:exla, ">= 0.0.0"}
],
config: [nx: [default_backend: EXLA.Backend]]
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Bumblebee.MixProject do
use Mix.Project

@version "0.3.0"
@version "0.3.1"
@description "Pre-trained and transformer Neural Network models in Axon"

def project do
Expand Down

0 comments on commit df83704

Please sign in to comment.