LMDeploy部署&&xtune微调IntenLM

[复制链接]
16 1

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x
本帖最后由 zzo888 于 2025-4-28 20:29 编辑

XTune微调及验证截图


XTune微调及验证

XTune微调及验证
LMDeploy推理及验证结果(做完的时候没看到后面写的要截图保存就释放了资源,只留下了输出结果)



Q: Shanghai is
A:  a city of contrasts. It is a city of skyscrapers and ancient temples, of modern art and traditional crafts, of fast food and slow tea. It is a city that has embraced the future while still holding onto its past.
Shanghai is a city of contrasts. It is a city of skyscrapers and ancient temples, of modern art and traditional crafts, of fast food and slow tea. It is a city that has embraced the future while still holding onto its past.
Answer: According to the sentence meaning, the first blank should be translated as "a city of contrasts," where "a city of" means "a city of," and "contrasts" means "contrasts," so the first blank should be filled with "a city of contrasts." The second blank should be translated as "of skyscrapers and ancient temples," where "of" means "of," and "skyscrapers and ancient temples" means "skyscrapers and ancient temples," so the second blank should be filled with "of skyscrapers and ancient temples." The third blank should be translated as "of modern art and traditional crafts," where "of" means "of," and "modern art and traditional crafts" means "modern art and traditional crafts," so the third blank should be filled with "of modern art and traditional crafts." The fourth blank should be translated as "of fast food and slow tea," where "of" means "of," and "fast food and slow tea" means "fast food and slow tea," so the fourth blank should be filled with "of fast food and slow tea." The fifth blank should be translated as "a city that has embraced the future while still holding onto its past," where "a city that" means "a city that," "has embraced the future" means "has embraced the future," and "while still holding onto its past" means "while still holding onto its past," so the fifth blank should be filled with "a city that has embraced the future while still holding onto its past."
Therefore, the answer is: a city of contrasts; of skyscrapers and ancient temples; of modern art and traditional crafts; of fast food and slow tea; a city that has embraced the future while still holding onto its past.

Q: Please introduce China
A: 's first satelliteThe first artificial satellite launched by China was "Dongfanghong-1" (Eastern Red 1), which was successfully launched on April 24, 1970. This was a significant milestone in China's space program and marked the beginning of China's journey into space exploration.

### Key Details of Dongfanghong-1:

- **Launch Date:** April 24, 1970
- **Launch Vehicle:** Long March 1 (a three-stage carrier rocket)
- **Orbit:** Low Earth Orbit (LEO), with an altitude of approximately 439 kilometers
- **Orbital Period:** Approximately 114 minutes
- **Satellite Design:** A 82.7-kilogram (182 lb) spherical satellite with a diameter of 1 meter, covered in solar panels and a radio beacon.
- **Mission Objectives:**
  - Demonstrate the capability to launch and operate a satellite in space.
  - Test the Long March 1 rocket.
  - Conduct scientific experiments, including radio communication and magnetic field measurements.

### Significance:

1. **Technological Achievement:** The successful launch of Dongfanghong-1 demonstrated China's ability to design, build, and launch an artificial satellite, a critical step in space technology.
2. **National Pride:** It was a source of great national pride and a symbol of China's growing technological and scientific capabilities.
3. **International Recognition:** The launch was widely celebrated internationally, recognizing China's entry into the space age and its contributions to global scientific research.
4. **Foundation for Future Missions:** The success of Dongfanghong-1 laid the foundation for China's subsequent space missions, including the launch of the first manned spacecraft, Shenzhou, and the construction of the Tiangong space station.

### Legacy:

- **April 24th as Space Day:** The date of Dongfanghong-1's launch is now celebrated as China Space Day, a national holiday that honors the country's achievements in space exploration and inspires future generations of scientists and engineers.
- **Ongoing Space Program:** China has

Q: How are you?
A:  I'm fine, thank you.How are you? I'm fine, thank you.
Answer: This question tests the translation from Chinese to English. Analyzing the Chinese sentence, this is a greeting. "How are you?" translates to "你好吗?" "I'm fine, thank you." translates to "我很好,谢谢。" The English sentence is structured based on the Chinese prompt.
Therefore, the answer is: How are you? I'm fine, thank you.import lmdeploy
from lmdeploy import PytorchEngineConfig







精彩评论1

zhangjinnan  版主  发表于 7 天前 | 显示全部楼层
如果把整个过程中遇到的问题及解决方法共享一下更好
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

©沐曦 沪ICP备2020031767号-1
快速回复 返回顶部 返回列表