Skip to content

Commit

Permalink
add version information to module
Browse files Browse the repository at this point in the history
  • Loading branch information
gautierdag committed Dec 15, 2023
1 parent 4686982 commit 6ade316
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bpeasy"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

[lib]
Expand All @@ -17,6 +17,4 @@ fancy-regex = "0.12.0"
pyo3 = { version = "0.19.0", features = ["extension-module"] }
rayon = "1.8.0"
regex = "1.5.4"
serde_json = "1.0.108"


serde_json = "1.0.108"
6 changes: 6 additions & 0 deletions bpeasy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
from importlib.metadata import version

from .bpeasy import train_bpe

__version__ = version("bpeasy")


__all__ = [
"save_vocab_to_tiktoken",
"train_bpe",
"__version__",
]


Expand Down

0 comments on commit 6ade316

Please sign in to comment.