Update README.md
Browse files
README.md
CHANGED
@@ -90,7 +90,7 @@ from transformers import AutoModel
|
|
90 |
model = AutoModel.from_pretrained("skit-ai/speechllm-1.5B", trust_remote_code=True)
|
91 |
|
92 |
model.generate_meta(
|
93 |
-
audio_path="path-to-audio.wav",
|
94 |
instruction="Give me the following information about the audio [SpeechActivity, Transcript, Gender, Emotion, Age, Accent]",
|
95 |
max_new_tokens=500,
|
96 |
return_special_tokens=False
|
|
|
90 |
model = AutoModel.from_pretrained("skit-ai/speechllm-1.5B", trust_remote_code=True)
|
91 |
|
92 |
model.generate_meta(
|
93 |
+
audio_path="path-to-audio.wav", #16k Hz, mono
|
94 |
instruction="Give me the following information about the audio [SpeechActivity, Transcript, Gender, Emotion, Age, Accent]",
|
95 |
max_new_tokens=500,
|
96 |
return_special_tokens=False
|