@@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
8
+ ## [ Unreleased]
9
+
10
+ ## [ v0.3.0] - 2023-03-04
11
+
12
+ ### Added
13
+
14
+ - Add option to use cache when downloading pretrained files. We check the ETAG of
15
+ the file before trying to download it. This introduces the ` :use_cache ` and ` :cache_dir `
16
+ options to the ` Tokenizers.from_pretrained/2 ` function.
17
+
18
+ - Support adding special tokens when creating a tokenizer. This allows a pretrained
19
+ tokenizer to be loaded with additional special tokens.
20
+
21
+ This change adds the ` :additional_special_tokens ` option to the ` Tokenizers.from_pretrained/2 `
22
+ function.
23
+
24
+ - Add support for the ` riscv64gc-unknown-linux-gnu ` target, which is useful for Nerves
25
+ projects running on 64 bits RISC-V computers.
26
+ This means that we are precompiling the project to run on those machines.
27
+
28
+ ### Changed
29
+
30
+ - Change minimum required version of Rustler Precompiled to ` ~> 0.6 ` . With this, we have
31
+ the ` aarch64-unknown-linux-musl ` and ` riscv64gc-unknown-linux-gnu ` as default targets.
32
+ But we also drop support for the NIF version 2.14.
33
+
8
34
## [ v0.2.0] - 2022-12-07
9
35
10
36
### Added
@@ -15,3 +41,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
41
## [ v0.1.0] - 2022-08-25
16
42
17
43
First release.
44
+
45
+ [ Unreleased ] : https://github.com/elixir-nx/tokenizers/compare/v0.3.0...HEAD
46
+ [ v0.3.0 ] : https://github.com/elixir-nx/tokenizers/compare/v0.2.0...v0.3.0
47
+ [ v0.2.0 ] : https://github.com/elixir-nx/tokenizers/compare/v0.1.0...v0.2.0
48
+ [ v0.1.0 ] : https://github.com/elixir-nx/tokenizers/releases/tag/v0.1.0
0 commit comments