Skip to content

Releases: Goekdeniz-Guelmez/KANama

v2.5.6

04 Oct 22:18
Compare
Choose a tag to compare

v2.5.6 includes quick Fixes

v2.5.5

04 Oct 22:16
Compare
Choose a tag to compare

v2.5.5

KANama is now a PyPi Package!

you can install it via pip install kanama

Changes and Updates:

  • The KANamav5 MoE model is now renamed to KANaMoEv1.
  • You can now save and load a model based on the config.json file via calling if from model.handler import save_pretrained, from_pretrained. The save_pretrained has the path and the model as the input, the from_pretrained function only takes in the math of the model and config.json file.
  • quick_inference has also been moved to model.handler.

Example:

from model.handler import save_pretrained, from_pretrained, quick_inference

# load the model from a path
model = from_pretrained('path/to/model/')

# get a tokenizer and tokenize your prompt

# save the same model to a path
save_pretrained('path/to/new/model/', model)

v2.5.0

02 Sep 19:55
Compare
Choose a tag to compare

v2.5.0

  • Adding a MOE model (KANamav5)
  • Adding a better trainer and fixing batching function
  • Adding more examples, with tiny-shakespear.txt and fineweb.jsonl datasets
  • Adding loading bars to the SFTTrainer
  • General fixes

v1.9.5

31 Jul 22:46
Compare
Choose a tag to compare

v1.9.5 with PyPi support

install it via pip install KANama==1.9.5

To use it with python

from KANama.model.args import ModelArgs
from KANama.model.KANamav4 import KANamav4

# vocab_size, pad_id must be set
ModelArgs.vocab_size = 30
ModelArgs.pad_id = 0

model = KANamav4(ModelArgs)
print(model)

v1.9.4

31 Jul 22:42
Compare
Choose a tag to compare

v1.9.4

v1.9.3

31 Jul 22:33
Compare
Choose a tag to compare

v1.9.3

v1.9.2

31 Jul 22:30
Compare
Choose a tag to compare

v1.9.2

Full Changelog: v1.9.1...v1.9.2

v1.9.1

31 Jul 22:06
Compare
Choose a tag to compare

v1.9.1

v1.8.3

31 Jul 21:36
Compare
Choose a tag to compare

v1.8.3