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

feat: add MiniCPM 2B demo #132

Merged
merged 2 commits into from
Aug 29, 2024
Merged

Conversation

yirongjie
Copy link
Collaborator

@yirongjie yirongjie commented Aug 29, 2024

What's New

  1. Single inference support for the MiniCPM 2B model in file examples/demo_minicpm.
root@a78cffcf5fac:~/research/dev/mllm/bin# /root/research/dev/mllm/bin/demo_minicpm
[Q] <用户>Hello, who are you?<AI>
[A]  Hello! I'm an AI language model created by OpenAI, specifically designed to understand and respond to human language. My purpose is to assist you with any questions or tasks you may have, and to provide you with helpful and informative responses. I'm here to help you learn, explore, and have fun!
[Q] <用户>山东省最高的山是哪座山, 它比黄山高还是矮?差距多少?<AI>
[A]  山东省最高的山是泰山,海拔1545米。黄山位于中国安徽省,海拔1864米。因此,泰山比黄山矮,差距为319米。
[Q] <用户>Please introduce Beijing University of Posts and Telecommunications.<AI>
[A]  Beijing University of Posts and Telecommunications (BUPT) is a prestigious higher education institution in China, specializing in the fields of telecommunications, information technology, and related disciplines. Established in 1955, BUPT has a rich history and a strong reputation for academic excellence and innovation.

The university is located in Beijing, the capital city of China, and is known for its beautiful campus and modern facilities. BUPT offers a wide range of undergraduate, graduate, and postgraduate

@yirongjie yirongjie merged commit 42105df into UbiquitousLearning:main Aug 29, 2024
1 check passed
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.

3 participants