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

Create deepseek-test.py #1210

Closed
wants to merge 1 commit into from
Closed

Create deepseek-test.py #1210

wants to merge 1 commit into from

Conversation

MaanavD
Copy link

@MaanavD MaanavD commented Jan 31, 2025

For Demo.

text = input("Input: ")
if not text:
print("Error, input cannot be empty")
exit

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.
search_options['max_length'] = 2048
search_options['batch_size'] = 1

chat_template = '<|user|>\n{input} <|end|>\n<|assistant|>'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be updated to the deepseek prompt template. @baijumeswani has a script. We could use the same script that we use for NPU

@MaanavD MaanavD closed this Feb 1, 2025
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

Successfully merging this pull request may close these issues.

2 participants