- 文章信息
- 作者: kaiwu
- 点击数:179
- 文章信息
- 作者: kaiwu
- 点击数:415
可以通过anaconda安装python(http://kaiwu.city/index.php/python),操作极为简单;但是anaconda程序很大,而且其包含的python及python拓展模块library不是最新的版本。
直接安装python,并以微软的开源软件 Visual Studio Code(https://code.visualstudio.com/)作为IDE是不错的选择。
微软提供了详细的安装指南
https://docs.microsoft.com/en-us/learn/modules/python-install-vscode/
Get started with Python in Visual Studio
Get started with learning Python by installing and configuring the tools you'll need to build real applications.
Learning objectives
By the end of this module, you'll be able to:
- Install Python 3, if needed.
- Install and configure Visual Studio Code and extensions on your computer.
- Create a Python file.
- Write and run Python code in Visual Studio Code.
Prerequisites
- Ability to install programs locally.
- Basic familiarity with programming concepts.
This module is part of these learning paths
1.安装python
访问python官网,下载安装程序
https://www.python.org/downloads/
2.安装VScode
https://code.visualstudio.com/
3.安装VScode的拓展程序
(1)code runner
(2)python
(3)jupyter notebook
4.以vscode作为IDE,新建、编辑、运行python程序
- 文章信息
- 作者: kaiwu
- 点击数:455
1.ollama
https://github.com/ollama/ollama
https://ollama.com/blog/llama3
Get up and running with large language models locally.
1.1 下载并安装ollama
macOS
Windows preview
curl -fsSL https://ollama.com/install.sh | sh
https://hub.docker.com/r/ollama/ollama
1.2 Ollama可以载入的大语言模型
Model | Parameters | Size | Download |
---|---|---|---|
Llama 3 | 8B | 4.7GB | ollama run llama3 |
Llama 3 | 70B | 40GB | ollama run llama3:70b |
Phi-3 | 3.8B | 2.3GB | ollama run phi3 |
Mistral | 7B | 4.1GB | ollama run mistral |
Neural Chat | 7B | 4.1GB | ollama run neural-chat |
Starling | 7B | 4.1GB | ollama run starling-lm |
Code Llama | 7B | 3.8GB | ollama run codellama |
Llama 2 Uncensored | 7B | 3.8GB | ollama run llama2-uncensored |
LLaVA | 7B | 4.5GB | ollama run llava |
Gemma | 2B | 1.4GB | ollama run gemma:2b |
Gemma | 7B | 4.8GB | ollama run gemma:7b |
Solar | 10.7B | 6.1GB | ollama run solar |
用于ollama的模型:
2.中文相关的几个模型
2.1 llama2-chinese
https://ollama.com/library/llama2-chinese
Llama 2 based model fine tuned to improve Chinese dialogue ability.
ollama run llama2-chinese
2.2 qwen
https://ollama.com/library/qwen
Qwen 1.5 is a series of large language models by Alibaba Cloud spanning from 0.5B to 110B parameters
343.2K Pulls379 TagsUpdated 2 weeks ago
ollama run qwen
2.3 yi
Yi is a series of large language models trained on a high-quality corpus of 3 trillion tokens that support both the English and Chinese languages.
https://ollama.com/library/yi:34b
https://huggingface.co/01-ai/Yi-34B
ollama run yi
ollama run yi:9b
ollama run yi:34b
Yi-34B-Chat model landed in second place (following GPT-4 Turbo), outperforming other LLMs (such as GPT-4, Mixtral, Claude) on the AlpacaEval Leaderboard (based on data available up to January 2024
Yi-34B model ranked first among all existing open-source models (such as Falcon-180B, Llama-70B, Claude) in both English and Chinese on various benchmarks, including Hugging Face Open LLM Leaderboard (pre-trained) and C-Eval (based on data available up to November 2023).
3.图形界面
https://github.com/fmaclen/hollama
一个用于与 Ollama 服务器对话的简约网页界面。
功能特点:
- 大型提示字段
- 支持语法高亮的 Markdown 渲染
- 代码编辑器功能
- 可定制的系统提示
- 复制代码片段、消息或整个会话
- 编辑并重试消息
- 数据本地存储在您的浏览器上
- 响应式布局
- 浅色和深色主题
- 多语言界面
- 直接从界面下载 Ollama 模型
- 文章信息
- 作者: kaiwu
- 点击数:478
1.中科院中文新闻
https://www.cas.cn/syky/202404/t20240419_5012028.shtml
4月21日,全球首套高精度月球地质图集正式发布,图集包括《1:250万月球全月地质图集》和《1:250万月球分幅地质图集》(中英文版,含说明书),其中《1:250万月球全月地质图集》包含《1:250万月球全月地质图》、《1:250万月球岩石类型分布图》和《1:250万月球构造纲要图》,《1:250万分幅地质图集》包含30幅月球标准分幅地质图。
自上世纪60年代美国阿波罗计划实施以来,国际和国内的月球探测和月球科学研究都取得了长足进步,然而,月球地质研究至今仍沿用阿波罗时期研制的月球地质图,随着研究的深入,该月球地质图已不能满足未来的科研和月球探测需求。
https://gyig.cas.cn/gzdt_/kydt_/202206/t20220608_6458724.html
4月21日,全球首套高精度月球地质图集正式发布。图集包括《1:250万月球全月地质图集》和《1:250万月球分幅地质图集》(中英文版,含说明书)。
On April 21st, China released a geologic atlas set of the global moon with a scale of 1:2.5 million, which is the first complete high-definition lunar geologic atlas in the world. This geologic atlas set, available in both Chinese and English, includes the Geologic Atlas of the Lunar Globe and the Map Quadrangles of the Geologic Atlas of the Moon.
2.News from the Chinese Academy of Sciences
https://english.cas.cn/newsroom/cas_media/202404/t20240422_660730.shtml
China on Sunday released a geologic atlas set of the global moon with a scale of 1:2.5 million, which is the first complete high-definition lunar geologic atlas in the world, providing basic map data for future lunar research and exploration.
This geologic atlas set, available in both Chinese and English, includes the Geologic Atlas of the Lunar Globe and the Map Quadrangles of the Geologic Atlas of the Moon, according to the Institute of Geochemistry of the Chinese Academy of Sciences (CAS).
3.News from Chinadaily
https://cn.chinadaily.com.cn/a/202404/28/WS662dc06ca3109f7860ddb633.html
reference
- Xin, L. (2024). China’s Moon Atlas Is the Most Detailed Ever Made. Nature. https://doi.org/10.1038/d41586-024-01223-0
-
L. X., Nature. (2024, April 29). China’s Moon Atlas Is the Most Detailed Ever Made. Scientific American. https://www.scientificamerican.com/article/chinas-moon-atlas-is-the-most-detailed-ever-made/
-
Fortezzo, C.M., Spudis, P. D. and Harrel, S. L. (2020). Release of the Digital Unified Global Geologic Map of the Moon At 1:5,000,000- Scale. Paper presented at the 51st Lunar and Planetary Science Conference, Lunar and Planetary Institute, Houston, TX. https://www.hou.usra.edu/meetings/lpsc2020/pdf/2760.pdf