书生·蒲语大模型学习 第2课

书生·蒲语大模型学习 第2课

InternLM-Chat-7B 智能对话 Demo

终端demo

  • 前面按照教程走到创建cli_demo.py那一步,就可以看到效果了
    在这里插入图片描述
    可以看一下此时的占用
    在这里插入图片描述
    输入exit即可退出刚刚的对话
    在这里插入图片描述

web demo

  • 要注意的点,运行web_demo.py的时候要用streamlit run,而不是python web_demo.py

  • 还有记得开端口,不然会显示 connection refused(设置密钥的步骤跟着教程走就行)

    • --server.address 127.0.0.1 --server.port 6006
      在这里插入图片描述
  • 然后就可以正常调用对话了
    在这里插入图片描述
    在这里插入图片描述

Lagent 智能体工具调用 Demo

  • demo跑起来之后,so cool
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述

浦语·灵笔图文理解创作 Demo

  • 这里要换一个环境,bash /root/share/install_conda_env_internlm_base.sh xcomposer-demo 克隆一下

  • 然后激活 conda activate xcomposer-demo

  • 后面突然发现这个实验需要两张卡…重开一个开发机(也可以升降配置)

  • 记得要在电脑本地终端运行这个指令 ssh -CNg -L 6006:127.0.0.1:6006 root@ssh.intern-ai.org.cn -p 端口号

  • 运行的时候遇到了端口占用的问题
    OSError: Cannot find empty port in range: 6006-6006. You can specify a different port by setting the GRADIO_SERVER_PORT environment variable or passing theserver_portparameter tolaunch().

  • 前人栽树后人乘凉
    书生・浦语大模型实战营第二课笔记 - seifer08ms的文章 - 知乎 https://zhuanlan.zhihu.com/p/676130541

在这里插入图片描述

  • 然后就可以用了
    在这里插入图片描述

  • 点击编辑之后会有这个效果
    在这里插入图片描述
    然后可以搜索替换
    在这里插入图片描述

  • 然后还可以下载
    在这里插入图片描述
    下面这个多模态对话的逻辑有点牵强
    在这里插入图片描述

  • 终端里面写的是

	Could not create share link. Missing file: /root/.conda/envs/xcomposer-demo/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.2. 

Please check your internet connection. This can happen if your antivirus software blocks the download of this file. You can install manually by following these steps: 

1. Download this file: https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64
2. Rename the downloaded file to: frpc_linux_amd64_v0.2
3. Move the file to this location: /root/.conda/envs/xcomposer-demo/lib/python3.10/site-packages/gradio
init
<object object at 0x7fac369b3b50>
Shanghai is the largest city in China and one of the most populous cities in the world, with a population of over 24 million people. The city is known for its modern skyscrapers, bustling financial district, and vibrant nightlife. Shanghai is also home to some of the country's top tourist attractions, including the Bund, Yuyuan Garden, and the Oriental Pearl Tower. In this guide, we'll provide you with all the information you need to plan your trip to Shanghai, including tips on where to stay, what to do, and how to get around.

Where to Stay in Shanghai

When it comes to finding a place to stay in Shanghai, there are plenty of options to choose from. If you're looking for a luxury experience, consider staying at one of the city's five-star hotels, such as the Fairmont Peace Hotel or the Waldorf Astoria Shanghai on the Bund. These hotels offer stunning views of the city skyline, luxurious amenities, and impeccable service.

If you're looking for something more budget-friendly, there are plenty of hostels and guesthouses throughout the city that offer affordable accommodations. Some popular areas to stay include the Xintiandi neighborhood, which is known for its trendy bars and restaurants, and the French Concession, which is filled with charming cafes and boutiques.

What to Do in Shanghai

One of the best ways to explore Shanghai is by taking a stroll along the Bund, a waterfront promenade that offers stunning views of the city skyline. You can also visit the Yu Garden, a traditional Chinese garden that dates back to the Ming Dynasty, and the Shanghai Museum, which houses an impressive collection of Chinese art and artifacts.

Another popular attraction in Shanghai is the Oriental Pearl Tower, a television tower that offers panoramic views of the city. You can also take a boat ride on the Huangpu River, which runs through the heart of the city, and visit the Jade Buddha Temple, a Buddhist temple that houses two jade Buddha statues.

How to Get Around in Shanghai

The best way to get around Shanghai is by using public transportation, which includes buses, subways, and taxis. The city's subway system is extensive and easy to use, with stations located throughout the city. Buses are also a convenient way to get around, although they can be crowded during rush hour.

Taxis are available throughout the city, but make sure to agree on a price before getting into the taxi so you don't get ripped off. Another option is to rent a bicycle or scooter, which will allow you to explore the city at your own pace.

Tips for Visiting Shanghai

1. Dress appropriately: Shanghai is a conservative city, so it's important to dress modestly when visiting temples and other religious sites. Cover your shoulders and knees, and avoid wearing revealing clothing.

2. Learn some basic Mandarin: While many people in Shanghai speak English, it's always helpful to know some basic Mandarin phrases, such as "hello," "thank you," and "excuse me."

3. Be aware of pickpockets: Like any major city, Shanghai has its fair share of pickpockets. Keep your valuables close to you and be vigilant about your surroundings.

4. Don't drink tap water: Tap water in Shanghai is not safe to drink, so stick to bottled water or filtered water.

5. Try the street food: Shanghai is famous for its delicious street food, such as dumplings, noodles, and baozi (steamed buns). Make sure to try some while you're in the city!

In conclusion, Shanghai is a vibrant and exciting city that offers something for everyone. Whether you're interested in history, culture, or just want to have a good time, Shanghai has it all. With its towering skyscrapers, bustling streets, and friendly locals, Shanghai is a must-visit destination for anyone traveling to China.<TOKENS_UNUSED_1>
Shanghai is the largest city in China and one of the most populous cities in the world, with a population of over 24 million people. The city is known for its modern skyscrapers, bustling financial district, and vibrant nightlife. Shanghai is also home to some of the country's top tourist attractions, including the Bund, Yuyuan Garden, and the Oriental Pearl Tower. In this guide, we'll provide you with all the information you need to plan your trip to Shanghai, including tips on where to stay, what to do, and how to get around.
Where to Stay in Shanghai
When it comes to finding a place to stay in Shanghai, there are plenty of options to choose from. If you're looking for a luxury experience, consider staying at one of the city's five-star hotels, such as the Fairmont Peace Hotel or the Waldorf Astoria Shanghai on the Bund. These hotels offer stunning views of the city skyline, luxurious amenities, and impeccable service.
If you're looking for something more budget-friendly, there are plenty of hostels and guesthouses throughout the city that offer affordable accommodations. Some popular areas to stay include the Xintiandi neighborhood, which is known for its trendy bars and restaurants, and the French Concession, which is filled with charming cafes and boutiques.
What to Do in Shanghai
One of the best ways to explore Shanghai is by taking a stroll along the Bund, a waterfront promenade that offers stunning views of the city skyline. You can also visit the Yu Garden, a traditional Chinese garden that dates back to the Ming Dynasty, and the Shanghai Museum, which houses an impressive collection of Chinese art and artifacts.
Another popular attraction in Shanghai is the Oriental Pearl Tower, a television tower that offers panoramic views of the city. You can also take a boat ride on the Huangpu River, which runs through the heart of the city, and visit the Jade Buddha Temple, a Buddhist temple that houses two jade Buddha statues.
How to Get Around in Shanghai
The best way to get around Shanghai is by using public transportation, which includes buses, subways, and taxis. The city's subway system is extensive and easy to use, with stations located throughout the city. Buses are also a convenient way to get around, although they can be crowded during rush hour.
Taxis are available throughout the city, but make sure to agree on a price before getting into the taxi so you don't get ripped off. Another option is to rent a bicycle or scooter, which will allow you to explore the city at your own pace.
Tips for Visiting Shanghai
1. Dress appropriately: Shanghai is a conservative city, so it's important to dress modestly when visiting temples and other religious sites. Cover your shoulders and knees, and avoid wearing revealing clothing.
2. Learn some basic Mandarin: While many people in Shanghai speak English, it's always helpful to know some basic Mandarin phrases, such as "hello," "thank you," and "excuse me."
3. Be aware of pickpockets: Like any major city, Shanghai has its fair share of pickpockets. Keep your valuables close to you and be vigilant about your surroundings.
4. Don't drink tap water: Tap water in Shanghai is not safe to drink, so stick to bottled water or filtered water.
5. Try the street food: Shanghai is famous for its delicious street food, such as dumplings, noodles, and baozi (steamed buns). Make sure to try some while you're in the city!
In conclusion, Shanghai is a vibrant and exciting city that offers something for everyone. Whether you're interested in history, culture, or just want to have a good time, Shanghai has it all. With its towering skyscrapers, bustling streets, and friendly locals, Shanghai is a must-visit destination for anyone traveling to China.<TOKENS_UNUSED_1>
适合插入图像的行是 <Seg0>, <Seg2>, <Seg4>, <Seg6>, <Seg8>, <Seg10>, <Seg12>, <Seg14>, <Seg16>.
[0, 2, 4, 6, 8, 10, 12, 14, 16]
上海的酒店和住宿选择,包括五星级酒店、经济型旅馆等。
上海的Xintiand和French Concession地区,展示其独特的文化和建筑风格。
上海的Bund水岸,展示其美丽的城市景观。
上海的东方明珠塔,展示其独特的建筑风格和城市景观。
上海的公共交通系统,包括地铁、公交车和出租车。
上海的寺庙和宗教场所,展示其庄严的建筑风格。
上海的街头,展示其繁华的城市景观。
上海的街边小吃,展示其丰富的美食文化。
上海的夜景,展示其繁华的城市景观。
{0: '上海的酒店和住宿选择,包括五星级酒店、经济型旅馆等。', 2: '上海的Xintiand和French Concession地区,展示其独特的文化和建筑风格。', 4: '上海的Bund水岸,展示其美丽的城市景观。', 6: '上海的东方明珠塔,展示其独特的建筑风格和城市景观。', 8: '上海的公共交通系统,包括地铁、公交车和出租车。', 10: '上海的寺庙和宗教场所,展示其庄严的建筑风格。', 12: '上海的街头,展示其繁华的城市景观。', 14: '上海的街边小吃,展示其丰富的美食文化。', 16: '上海的夜景,展示其繁华的城市景观。'}
{0: '上海的酒店和住宿选择,包括五星级酒店、经济型旅馆等。', 2: '上海的Xintiand和French Concession地区,展示其独特的文化和建筑风格。', 4: '上海的Bund水岸,展示其美丽的城市景观。', 6: '上海的东方明珠塔,展示其独特的建筑风格和城市景观。', 8: '上海的公共交通系统,包括地铁、公交车和出租车。', 10: '上海的寺庙和宗教场所,展示其庄严的建筑风格。', 12: '上海的街头,展示其繁华的城市景观。', 14: '上海的街边小吃,展示其丰富的美食文化。', 16: '上海的夜景,展示其繁华的城市景观。'}
https://static.openxlab.org.cn/lingbi/jpg-images/3f053d7f36ffa88446fa6b710ddb04b1c236be2c16958d5d5b12940f1bd5010b.jpg
download image with url
image downloaded
https://static.openxlab.org.cn/lingbi/jpg-images/81af7634597eba82a3d891958fd7ec243b8e32d737cf05fef182e81fd1db8f3e.jpg
download image with url
image downloaded
https://static.openxlab.org.cn/lingbi/jpg-images/1b73c7ffa60c40fa09ffd6170328643b3fb683c4034f0dd38471bb811b41438a.jpg
download image with url
image downloaded
https://static.openxlab.org.cn/lingbi/jpg-images/33ca204fdc55310974a8a952cd53263518a7ec0d86bfd9be1e11cc2e4e91ee75.jpg
download image with url
image downloaded
https://static.openxlab.org.cn/lingbi/jpg-images/64894d217167b36859cf10c0a3a19bfd8a8b46d63fd26e121b420212adc9c4ef.jpg
download image with url
image downloaded
https://static.openxlab.org.cn/lingbi/jpg-images/984c74a9018ab40ec3fa59fa9cc1452d9e2721e9fe9d7d4ad98511d7b35267f5.jpg
download image with url
image downloaded
https://static.openxlab.org.cn/lingbi/jpg-images/a4ed160d0b97e949e302e88ec42c8b9e97d54922b378c4128e4ae78054ff3de7.jpg
download image with url
image downloaded
https://static.openxlab.org.cn/lingbi/jpg-images/03ffe7bd52ac462e151f6888aafd6eaea9da1616a22e2b9a61d185ddd413b818.jpg
download image with url
image downloaded
https://static.openxlab.org.cn/lingbi/jpg-images/b6b5ab2d928d564128ed0d2d7a4cab47a1a3e83694d4a6b49338f981209aad92.jpg
download image with url
image downloaded
model_select_image
0 Shanghai is the largest city in China and one of the most populous cities in the world, with a population of over 24 million people. The city is known for its modern skyscrapers, bustling financial district, and vibrant nightlife. Shanghai is also home to some of the country's top tourist attractions, including the Bund, Yuyuan Garden, and the Oriental Pearl Tower. In this guide, we'll provide you with all the information you need to plan your trip to Shanghai, including tips on where to stay, what to do, and how to get around.
<div align="center"> <img src="file=articles/Shanghai Travel Guide in English/temp_1000_3.png" width = 500/> </div>
1 Where to Stay in Shanghai
2 When it comes to finding a place to stay in Shanghai, there are plenty of options to choose from. If you're looking for a luxury experience, consider staying at one of the city's five-star hotels, such as the Fairmont Peace Hotel or the Waldorf Astoria Shanghai on the Bund. These hotels offer stunning views of the city skyline, luxurious amenities, and impeccable service.
<div align="center"> <img src="file=articles/Shanghai Travel Guide in English/temp_1002_0.png" width = 500/> </div>
3 If you're looking for something more budget-friendly, there are plenty of hostels and guesthouses throughout the city that offer affordable accommodations. Some popular areas to stay include the Xintiandi neighborhood, which is known for its trendy bars and restaurants, and the French Concession, which is filled with charming cafes and boutiques.
4 What to Do in Shanghai
<div align="center"> <img src="file=articles/Shanghai Travel Guide in English/temp_1004_2.png" width = 500/> </div>
5 One of the best ways to explore Shanghai is by taking a stroll along the Bund, a waterfront promenade that offers stunning views of the city skyline. You can also visit the Yu Garden, a traditional Chinese garden that dates back to the Ming Dynasty, and the Shanghai Museum, which houses an impressive collection of Chinese art and artifacts.
6 Another popular attraction in Shanghai is the Oriental Pearl Tower, a television tower that offers panoramic views of the city. You can also take a boat ride on the Huangpu River, which runs through the heart of the city, and visit the Jade Buddha Temple, a Buddhist temple that houses two jade Buddha statues.
<div align="center"> <img src="file=articles/Shanghai Travel Guide in English/temp_1006_2.png" width = 500/> </div>
7 How to Get Around in Shanghai
8 The best way to get around Shanghai is by using public transportation, which includes buses, subways, and taxis. The city's subway system is extensive and easy to use, with stations located throughout the city. Buses are also a convenient way to get around, although they can be crowded during rush hour.
<div align="center"> <img src="file=articles/Shanghai Travel Guide in English/temp_1008_1.png" width = 500/> </div>
9 Taxis are available throughout the city, but make sure to agree on a price before getting into the taxi so you don't get ripped off. Another option is to rent a bicycle or scooter, which will allow you to explore the city at your own pace.
10 Tips for Visiting Shanghai
<div align="center"> <img src="file=articles/Shanghai Travel Guide in English/temp_1010_3.png" width = 500/> </div>
11 1. Dress appropriately: Shanghai is a conservative city, so it's important to dress modestly when visiting temples and other religious sites. Cover your shoulders and knees, and avoid wearing revealing clothing.
12 2. Learn some basic Mandarin: While many people in Shanghai speak English, it's always helpful to know some basic Mandarin phrases, such as "hello," "thank you," and "excuse me."
<div align="center"> <img src="file=articles/Shanghai Travel Guide in English/temp_1012_1.png" width = 500/> </div>
13 3. Be aware of pickpockets: Like any major city, Shanghai has its fair share of pickpockets. Keep your valuables close to you and be vigilant about your surroundings.
14 4. Don't drink tap water: Tap water in Shanghai is not safe to drink, so stick to bottled water or filtered water.
<div align="center"> <img src="file=articles/Shanghai Travel Guide in English/temp_1014_3.png" width = 500/> </div>
15 5. Try the street food: Shanghai is famous for its delicious street food, such as dumplings, noodles, and baozi (steamed buns). Make sure to try some while you're in the city!
16 In conclusion, Shanghai is a vibrant and exciting city that offers something for everyone. Whether you're interested in history, culture, or just want to have a good time, Shanghai has it all. With its towering skyscrapers, bustling streets, and friendly locals, Shanghai is a must-visit destination for anyone traveling to China.<TOKENS_UNUSED_1>
<div align="center"> <img src="file=articles/Shanghai Travel Guide in English/temp_1016_2.png" width = 500/> </div>
 <|User|>: 给定文章"<Seg0> Shanghai is the largest city in China and one of the most populous cities in the world, with a population of over 24 million people. The city is known for its modern skyscrapers, bustling financial district, and vibrant nightlife. Shanghai is also home to some of the country's top tourist attractions, including the Bund, Yuyuan Garden, and the Oriental Pearl Tower. In this guide, we'll provide you with all the information you need to plan your trip to Shanghai, including tips on where to stay, what to do, and how to get around.
<Seg1> Where to Stay in Shanghai
<Seg2> When it comes to finding a place to stay in Shanghai, there are plenty of options to choose from. If you're looking for a luxury experience, consider staying at one of the city's five-star hotels, such as the Fairmont Peace Hotel or the Waldorf Astoria Shanghai on the Bund. These hotels offer stunning views of the city skyline, luxurious amenities, and impeccable service.
<Seg3> If you're looking for something more budget-friendly, there are plenty of hostels and guesthouses throughout the city that offer affordable accommodations. Some popular areas to stay include the Xintiandi neighborhood, which is known for its trendy bars and restaurants, and the French Concession, which is filled with charming cafes and boutiques.
<Seg4> What to Do in Shanghai
<Seg5> One of the best ways to explore Shanghai is by taking a stroll along the Bund, a waterfront promenade that offers stunning views of the city skyline. You can also visit the Yu Garden, a traditional Chinese garden that dates back to the Ming Dynasty, and the Shanghai Museum, which houses an impressive collection of Chinese art and artifacts.
<Seg6> Another popular attraction in Shanghai is the Oriental Pearl Tower, a television tower that offers panoramic views of the city. You can also take a boat ride on the Huangpu River, which runs through the heart of the city, and visit the Jade Buddha Temple, a Buddhist temple that houses two jade Buddha statues.
<Seg7> How to Get Around in Shanghai
<Seg8> The best way to get around Shanghai is by using public transportation, which includes buses, subways, and taxis. The city's subway system is extensive and easy to use, with stations located throughout the city. Buses are also a convenient way to get around, although they can be crowded during rush hour.
<Seg9> Taxis are available throughout the city, but make sure to agree on a price before getting into the taxi so you don't get ripped off. Another option is to rent a bicycle or scooter, which will allow you to explore the city at your own pace.
<Seg10> Tips for Visiting Shanghai
<Seg11> 1. Dress appropriately: Shanghai is a conservative city, so it's important to dress modestly when visiting temples and other religious sites. Cover your shoulders and knees, and avoid wearing revealing clothing.
<Seg12> 2. Learn some basic Mandarin: While many people in Shanghai speak English, it's always helpful to know some basic Mandarin phrases, such as "hello," "thank you," and "excuse me."
<Seg13> 3. Be aware of pickpockets: Like any major city, Shanghai has its fair share of pickpockets. Keep your valuables close to you and be vigilant about your surroundings.
<Seg14> 4. Don't drink tap water: Tap water in Shanghai is not safe to drink, so stick to bottled water or filtered water.
<Seg15> 5. Try the street food: Shanghai is famous for its delicious street food, such as dumplings, noodles, and baozi (steamed buns). Make sure to try some while you're in the city!
<Seg16> In conclusion, Shanghai is a vibrant and exciting city that offers something for everyone. Whether you're interested in history, culture, or just want to have a good time, Shanghai has it all. With its towering skyscrapers, bustling streets, and friendly locals, Shanghai is a must-visit destination for anyone traveling to China.<TOKENS_UNUSED_1>
" 现在<Seg0>后插入图像对应的标题是"上海的酒店和住宿选择,包括五星级酒店、经济型旅馆等。", <Seg2>后插入图像对应的标题是"上海的Xintiand和French Concession地区,展示其独特的文化和建筑风格。", <Seg4>后插入图像对应的标题是"上海的Bund水岸,展示其美丽的城市景观。", <Seg6>后插入图像对应的标题是"上海的东方明珠塔,展示其独特的建筑风格和城市景观。", <Seg8>后插入图像对应的标题是"上海的公共交通系统,包括地铁、公交车和出租车。", <Seg10>后插入图像对应的标题是"上海的寺庙和宗教场所,展示其庄严的建筑风格。", <Seg12>后插入图像对应的标题是"上海的街头,展示其繁华的城市景观。", <Seg14>后插入图像对应的标题是"上海的街边小吃,展示其丰富的美食文化。", <Seg16>后插入图像对应的标题是"上海的夜景,展示其繁华的城市景观。"。给出适合在<Seg15>后插入的图像对应的标题。 
<TOKENS_UNUSED_0> <|Bot|>: 标题是"
  <|User|>: 给定文章"<Seg0> Shanghai is the largest city in China and one of the most populous cities in the world, with a population of over 24 million people. The city is known for its modern skyscrapers, bustling financial district, and vibrant nightlife. Shanghai is also home to some of the country's top tourist attractions, including the Bund, Yuyuan Garden, and the Oriental Pearl Tower. In this guide, we'll provide you with all the information you need to plan your trip to Shanghai, including tips on where to stay, what to do, and how to get around.
<Seg1> Where to Stay in Shanghai
<Seg2> When it comes to finding a place to stay in Shanghai, there are plenty of options to choose from. If you're looking for a luxury experience, consider staying at one of the city's five-star hotels, such as the Fairmont Peace Hotel or the Waldorf Astoria Shanghai on the Bund. These hotels offer stunning views of the city skyline, luxurious amenities, and impeccable service.
<Seg3> If you're looking for something more budget-friendly, there are plenty of hostels and guesthouses throughout the city that offer affordable accommodations. Some popular areas to stay include the Xintiandi neighborhood, which is known for its trendy bars and restaurants, and the French Concession, which is filled with charming cafes and boutiques.
<Seg4> What to Do in Shanghai
<Seg5> One of the best ways to explore Shanghai is by taking a stroll along the Bund, a waterfront promenade that offers stunning views of the city skyline. You can also visit the Yu Garden, a traditional Chinese garden that dates back to the Ming Dynasty, and the Shanghai Museum, which houses an impressive collection of Chinese art and artifacts.
<Seg6> Another popular attraction in Shanghai is the Oriental Pearl Tower, a television tower that offers panoramic views of the city. You can also take a boat ride on the Huangpu River, which runs through the heart of the city, and visit the Jade Buddha Temple, a Buddhist temple that houses two jade Buddha statues.
<Seg7> How to Get Around in Shanghai
<Seg8> The best way to get around Shanghai is by using public transportation, which includes buses, subways, and taxis. The city's subway system is extensive and easy to use, with stations located throughout the city. Buses are also a convenient way to get around, although they can be crowded during rush hour.
<Seg9> Taxis are available throughout the city, but make sure to agree on a price before getting into the taxi so you don't get ripped off. Another option is to rent a bicycle or scooter, which will allow you to explore the city at your own pace.
<Seg10> Tips for Visiting Shanghai
<Seg11> 1. Dress appropriately: Shanghai is a conservative city, so it's important to dress modestly when visiting temples and other religious sites. Cover your shoulders and knees, and avoid wearing revealing clothing.
<Seg12> 2. Learn some basic Mandarin: While many people in Shanghai speak English, it's always helpful to know some basic Mandarin phrases, such as "hello," "thank you," and "excuse me."
<Seg13> 3. Be aware of pickpockets: Like any major city, Shanghai has its fair share of pickpockets. Keep your valuables close to you and be vigilant about your surroundings.
<Seg14> 4. Don't drink tap water: Tap water in Shanghai is not safe to drink, so stick to bottled water or filtered water.
<Seg15> 5. Try the street food: Shanghai is famous for its delicious street food, such as dumplings, noodles, and baozi (steamed buns). Make sure to try some while you're in the city!
<Seg16> In conclusion, Shanghai is a vibrant and exciting city that offers something for everyone. Whether you're interested in history, culture, or just want to have a good time, Shanghai has it all. With its towering skyscrapers, bustling streets, and friendly locals, Shanghai is a must-visit destination for anyone traveling to China.
https://static.openxlab.org.cn/lingbi/jpg-images/de923b152cd4d24600f46d3f3c6e7cce478b0313189ae0bea55920a71d8b0228.jpg
download image with url
image downloaded
https://static.openxlab.org.cn/lingbi/jpg-images/de923b152cd4d24600f46d3f3c6e7cce478b0313189ae0bea55920a71d8b0228.jpg
download image with url
image downloaded
1111
[[' <|User|>', ['<Img><ImageHere></Img> 描述一下这幅图片', <PIL.Image.Image image mode=RGB size=1080x719 at 0x7FABE87B9DE0>]]]
meta instruction
You are an AI assistant whose name is 浦语.
- 浦语 is a conversational language model that is developed by Shanghai AI Laboratory (上海人工智能实验室). It is designed to be helpful, honest, and harmless.
- 浦语 can understand and communicate fluently in the language chosen by the user such as English and 中文.
conversation
 <|User|>: <Img><ImageHere></Img> 描述一下这幅图片<TOKENS_UNUSED_0> <|Bot|>:
init
<object object at 0x7fac043c6b50>
meta instruction
You are an AI assistant whose name is 浦语.
- 浦语 is a conversational language model that is developed by Shanghai AI Laboratory (上海人工智能实验室). It is designed to be helpful, honest, and harmless.
- 浦语 can understand and communicate fluently in the language chosen by the user such as English and 中文.
conversation
 <|User|>: <Img><ImageHere></Img> 描述一下这幅图片<TOKENS_UNUSED_0> <|Bot|>:
init
<object object at 0x7fac043c65e0>
1111
[[' <|User|>', ['<Img><ImageHere></Img> 描述一下这幅图片', <PIL.Image.Image image mode=RGB size=1080x719 at 0x7FABE87B9DE0>]], [' <|Bot|>', '这幅图片描绘了上海的一处古建筑群,这些建筑风格独特,周围环绕着绿树和池塘。其中,一座红房子特别引人注目,它坐落在池塘边,周围是绿色的树木和清澈的水面。\n<TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1>'], [' <|User|>', '发我一张图片']]
meta instruction
You are an AI assistant whose name is 浦语.
- 浦语 is a conversational language model that is developed by Shanghai AI Laboratory (上海人工智能实验室). It is designed to be helpful, honest, and harmless.
- 浦语 can understand and communicate fluently in the language chosen by the user such as English and 中文.
conversation
 <|User|>: <Img><ImageHere></Img> 描述一下这幅图片<TOKENS_UNUSED_0> <|Bot|>: 这幅图片描绘了上海的一处古建筑群,这些建筑风格独特,周围环绕着绿树和池塘。其中,一座红房子特别引人注目,它坐落在池塘边,周围是绿色的树木和清澈的水面。
<TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1> <|User|>: 发我一张图片<TOKENS_UNUSED_0> <|Bot|>:
init
1111
[[' <|User|>', ['<Img><ImageHere></Img> 描述一下这幅图片', <PIL.Image.Image image mode=RGB size=1080x719 at 0x7FABE87B9DE0>]], [' <|Bot|>', '这幅图片描绘了上海的一处古建筑群,这些建筑风格独特,周围环绕着绿树和池塘。其中,一座红房子特别引人注目,它坐落在池塘边,周围是绿色的树木和清澈的水面。\n<TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1>'], [' <|User|>', '发我一张图片'], [' <|Bot|>', ' 很抱歉,我是一个文本语言模型,无法提供图片。\n<TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1>'], [' <|User|>', '你怎么知道这张图片是上海的呢']]
meta instruction
You are an AI assistant whose name is 浦语.
- 浦语 is a conversational language model that is developed by Shanghai AI Laboratory (上海人工智能实验室). It is designed to be helpful, honest, and harmless.
- 浦语 can understand and communicate fluently in the language chosen by the user such as English and 中文.
conversation
 <|User|>: <Img><ImageHere></Img> 描述一下这幅图片<TOKENS_UNUSED_0> <|Bot|>: 这幅图片描绘了上海的一处古建筑群,这些建筑风格独特,周围环绕着绿树和池塘。其中,一座红房子特别引人注目,它坐落在池塘边,周围是绿色的树木和清澈的水面。
<TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1> <|User|>: 发我一张图片<TOKENS_UNUSED_0> <|Bot|>:  很抱歉,我是一个文本语言模型,无法提供图片。
<TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1><TOKENS_UNUSED_1> <|User|>: 你怎么知道这张图片是上海的呢<TOKENS_UNUSED_0> <|Bot|>:
init
<object object at 0x7fac043c6080>
  • 3
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值