Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does it support chinese prompt as input? #21

Open
dongdk opened this issue Feb 7, 2025 · 1 comment
Open

does it support chinese prompt as input? #21

dongdk opened this issue Feb 7, 2025 · 1 comment

Comments

@dongdk
Copy link

dongdk commented Feb 7, 2025

i try to input chinese prompt, but the model returns english response. is it normal?

=> conversation: [{'role': 'system', 'content': 'You are a helpful assistant.'}, {'role': 'user', 'content': [{'type': 'video', 'video': {'video_path': 'long.mp4', 'fps': 1, 'max_frames': 64}}, {'type': 'text', 'text': '详细描述视频'}]}]
=> response: The video starts with a person standing on a mountain, overlooking a valley. Then it transitions to an aerial view of a city at sunset. Next, there is a scene of a lake surrounded by mountains. After that, the video shows a view of a road next to the ocean. The following scene features a person walking in a forest. Then, there is a view of a beach and a mountain. The video continues with an aerial view of a river and mountains. Finally, it shows a mountain covered in snow.

and use empty prompt, response looks abnormal

=> conversation: [{'role': 'system', 'content': 'You are a helpful assistant.'}, {'role': 'user', 'content': [{'type': 'video', 'video': {'video_path': 'long.mp4', 'fps': 1, 'max_frames': 64}}, {'type': 'text', 'text': ''}]}]
=> response: A person is walking on a mountain.
@dongdk
Copy link
Author

dongdk commented Feb 7, 2025

by the way. does it return history and use history as input for next round?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant