robo-lib 0.0.8__tar.gz → 0.0.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {robo_lib-0.0.8 → robo_lib-0.0.10}/PKG-INFO +3 -3
- {robo_lib-0.0.8 → robo_lib-0.0.10}/README.md +2 -2
- {robo_lib-0.0.8 → robo_lib-0.0.10}/pyproject.toml +1 -1
- {robo_lib-0.0.8 → robo_lib-0.0.10}/LICENSE +0 -0
- {robo_lib-0.0.8 → robo_lib-0.0.10}/robo_lib/__init__.py +0 -0
- {robo_lib-0.0.8 → robo_lib-0.0.10}/robo_lib/components.py +0 -0
- {robo_lib-0.0.8 → robo_lib-0.0.10}/tests/__init__.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: robo_lib
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.10
|
4
4
|
Summary: A package to create, configure, and train transformer models.
|
5
5
|
Project-URL: Homepage, https://github.com/hamburgerfish/robo_pack
|
6
6
|
Project-URL: Issues, https://github.com/hamburgerfish/robo_pack/issues
|
@@ -48,7 +48,7 @@ encoder_tok = rl.TokenizerConstructor(tokenizer_type="WordLevel")
|
|
48
48
|
encoder_tok.train("english_data.txt")
|
49
49
|
|
50
50
|
decoder_tok = rl.TokenizerConstructor(tokenizer_type="WordLevel")
|
51
|
-
|
51
|
+
decoder_tok.train("french_data.txt")
|
52
52
|
|
53
53
|
rl.save_component(encoder_tok, "tokenizers/encoder_tok.pkl")
|
54
54
|
rl.save_component(decoder_tok, "tokenizers/decoder_tok.pkl")
|
@@ -124,7 +124,7 @@ robo = rl.RoboConstructor(
|
|
124
124
|
enc_block_size=100
|
125
125
|
)
|
126
126
|
|
127
|
-
robo.
|
127
|
+
robo.train_robo(
|
128
128
|
max_iters=20000,
|
129
129
|
eval_interval=200,
|
130
130
|
batch_size=128,
|
@@ -31,7 +31,7 @@ encoder_tok = rl.TokenizerConstructor(tokenizer_type="WordLevel")
|
|
31
31
|
encoder_tok.train("english_data.txt")
|
32
32
|
|
33
33
|
decoder_tok = rl.TokenizerConstructor(tokenizer_type="WordLevel")
|
34
|
-
|
34
|
+
decoder_tok.train("french_data.txt")
|
35
35
|
|
36
36
|
rl.save_component(encoder_tok, "tokenizers/encoder_tok.pkl")
|
37
37
|
rl.save_component(decoder_tok, "tokenizers/decoder_tok.pkl")
|
@@ -107,7 +107,7 @@ robo = rl.RoboConstructor(
|
|
107
107
|
enc_block_size=100
|
108
108
|
)
|
109
109
|
|
110
|
-
robo.
|
110
|
+
robo.train_robo(
|
111
111
|
max_iters=20000,
|
112
112
|
eval_interval=200,
|
113
113
|
batch_size=128,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|