Upload 3 files
Browse files- Model_improv.py +2 -2
Model_improv.py
CHANGED
|
@@ -136,8 +136,8 @@ def reconstruct_words(sequence: str) -> str:
|
|
| 136 |
# --------------------
|
| 137 |
# 9. Example Usage
|
| 138 |
# --------------------
|
| 139 |
-
seed = "
|
| 140 |
-
raw_output = generate_sequence(seed, next_tokens=
|
| 141 |
print("Generated phoneme sequence:", raw_output)
|
| 142 |
|
| 143 |
roman_urdu = reconstruct_words(raw_output)
|
|
|
|
| 136 |
# --------------------
|
| 137 |
# 9. Example Usage
|
| 138 |
# --------------------
|
| 139 |
+
seed = "zindagi ek"
|
| 140 |
+
raw_output = generate_sequence(seed, next_tokens=7, temperature=0.7)
|
| 141 |
print("Generated phoneme sequence:", raw_output)
|
| 142 |
|
| 143 |
roman_urdu = reconstruct_words(raw_output)
|