Yingxu He
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -67,7 +67,7 @@ model = AutoModelForSpeechSeq2Seq.from_pretrained(
|
|
67 |
)
|
68 |
|
69 |
prompt = "Given the following audio context: <SpeechHere>\n\nText instruction: {query}"
|
70 |
-
query = "
|
71 |
conversation = [
|
72 |
{"role": "user", "content": prompt.format(query=query)}
|
73 |
]
|
@@ -108,7 +108,7 @@ model = AutoModelForSpeechSeq2Seq.from_pretrained(
|
|
108 |
)
|
109 |
|
110 |
prompt = "Given the following audio context: <SpeechHere>\n\nText instruction: {query}"
|
111 |
-
transcribe_query = "
|
112 |
translate_query = "Can you please translate this speech into written Chinese?"
|
113 |
|
114 |
conversation = [
|
|
|
67 |
)
|
68 |
|
69 |
prompt = "Given the following audio context: <SpeechHere>\n\nText instruction: {query}"
|
70 |
+
query = "Please transcribe this speech."
|
71 |
conversation = [
|
72 |
{"role": "user", "content": prompt.format(query=query)}
|
73 |
]
|
|
|
108 |
)
|
109 |
|
110 |
prompt = "Given the following audio context: <SpeechHere>\n\nText instruction: {query}"
|
111 |
+
transcribe_query = "Please transcribe this speech."
|
112 |
translate_query = "Can you please translate this speech into written Chinese?"
|
113 |
|
114 |
conversation = [
|