hfhfh
Browse files
orpheus-tts/__pycache__/kartoffel_decoder.cpython-310.pyc
CHANGED
|
Binary files a/orpheus-tts/__pycache__/kartoffel_decoder.cpython-310.pyc and b/orpheus-tts/__pycache__/kartoffel_decoder.cpython-310.pyc differ
|
|
|
orpheus-tts/engine_class.py
CHANGED
|
@@ -150,7 +150,7 @@ class OrpheusModel:
|
|
| 150 |
return prompt_string
|
| 151 |
|
| 152 |
|
| 153 |
-
def generate_tokens_sync(self, prompt, voice=None, request_id="req-001", temperature=0.6, top_p=0.95, max_tokens=
|
| 154 |
print(f"DEBUG: Original prompt: {prompt}")
|
| 155 |
print(f"DEBUG: Voice: {voice}")
|
| 156 |
print(f"DEBUG: Model name: {self.model_name}")
|
|
@@ -161,7 +161,7 @@ class OrpheusModel:
|
|
| 161 |
temperature=temperature,
|
| 162 |
top_p=top_p,
|
| 163 |
max_tokens=max_tokens, # Adjust max_tokens as needed.
|
| 164 |
-
stop_token_ids
|
| 165 |
repetition_penalty=repetition_penalty,
|
| 166 |
)
|
| 167 |
|
|
|
|
| 150 |
return prompt_string
|
| 151 |
|
| 152 |
|
| 153 |
+
def generate_tokens_sync(self, prompt, voice=None, request_id="req-001", temperature=0.6, top_p=0.95, max_tokens=1000, stop_token_ids=[128258], repetition_penalty=1.1):
|
| 154 |
print(f"DEBUG: Original prompt: {prompt}")
|
| 155 |
print(f"DEBUG: Voice: {voice}")
|
| 156 |
print(f"DEBUG: Model name: {self.model_name}")
|
|
|
|
| 161 |
temperature=temperature,
|
| 162 |
top_p=top_p,
|
| 163 |
max_tokens=max_tokens, # Adjust max_tokens as needed.
|
| 164 |
+
stop_token_ids=stop_token_ids,
|
| 165 |
repetition_penalty=repetition_penalty,
|
| 166 |
)
|
| 167 |
|