robo-lib 0.0.5__tar.gz → 0.0.7__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: robo_lib
3
- Version: 0.0.5
3
+ Version: 0.0.7
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
@@ -148,7 +148,7 @@ robo.train(
148
148
  - In this example, a simple script is created to interact with the user on the command-line, where the user's English input will be translated by the transformer and printed out onto the console in French.
149
149
 
150
150
  ```python
151
- import robo-lib as rl
151
+ import robo_lib as rl
152
152
 
153
153
  robo = rc.load_component("models/eng_to_fr_robo.pkl")
154
154
  encoder_tok = rl.load_component("tokenizers/encoder_tok.pkl")
@@ -232,7 +232,7 @@ robo.train(
232
232
  - In this example, the user can specify the start of the generated Shakespeare play and the transformer will generate and print the rest, until `max_new_tokens` (1000) tokens are generated.
233
233
  - Temperature and top_k are set to 1.2 and 2 respectively to generate a more "creative" output.
234
234
  ```python
235
- import robo-lib as rl
235
+ import robo_lib as rl
236
236
 
237
237
  robo = rc.load_component("models/shakespeare_robo.pkl")
238
238
  tok = rl.load_component("tokenizers/shakespeare_tok.pkl")
@@ -131,7 +131,7 @@ robo.train(
131
131
  - In this example, a simple script is created to interact with the user on the command-line, where the user's English input will be translated by the transformer and printed out onto the console in French.
132
132
 
133
133
  ```python
134
- import robo-lib as rl
134
+ import robo_lib as rl
135
135
 
136
136
  robo = rc.load_component("models/eng_to_fr_robo.pkl")
137
137
  encoder_tok = rl.load_component("tokenizers/encoder_tok.pkl")
@@ -215,7 +215,7 @@ robo.train(
215
215
  - In this example, the user can specify the start of the generated Shakespeare play and the transformer will generate and print the rest, until `max_new_tokens` (1000) tokens are generated.
216
216
  - Temperature and top_k are set to 1.2 and 2 respectively to generate a more "creative" output.
217
217
  ```python
218
- import robo-lib as rl
218
+ import robo_lib as rl
219
219
 
220
220
  robo = rc.load_component("models/shakespeare_robo.pkl")
221
221
  tok = rl.load_component("tokenizers/shakespeare_tok.pkl")
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "robo_lib"
7
- version = "0.0.5"
7
+ version = "0.0.7"
8
8
  authors = [
9
9
  { name="Erik Papp", email="erik3papp@gmail.com" },
10
10
  ]
File without changes
File without changes
File without changes