本地启动ollama大语言模型

官网

Ollama

安装

复制代码
root@master-node:~# snap install ollama

启动

复制代码
root@master-node:~# ollama run gemma:2b

输出

复制代码
verifying sha256 digest 
writing manifest 
removing any unused layers 
success 
>>> who are you?
I am a large language model, trained by Google. I am a conversational AI that can assist with a wide range of tasks, including language generation,
translation, question answering, and more.

Here are some key facts about me:

* I am a massive model, trained on a massive dataset of text and code.
* I am able to understand and generate human-like text in multiple languages.
* I am trained by Google, and I am not a human being.
* I am a conversational AI, which means I can have natural conversations with people.
* I am a powerful tool that can be used for a variety of purposes, such as education, entertainment, and business.

I am still under development, but I am constantly learning and growing. I am here to help you with your tasks and answer your questions to the best
of my ability.
相关推荐
阿里云大数据AI技术7 小时前
光轮智能 × 阿里云:共建 Physical AI 云上数据、评测与持续学习基础设施
人工智能·机器学习
机器之心7 小时前
实锤了:Claude Code偷查用户,时区、中国AI实验室全是关键词
人工智能·openai
网易云信7 小时前
Cursor点燃个人开发者,企业级AI为何频频受挫?Agent工厂从提效工具到AI员工的跃迁
人工智能·开源
网易云信7 小时前
解锁触手可及的温暖:网易智企 x Wander Puffs AI 云游泡芙
人工智能
转转技术团队7 小时前
从 PRD 到可验证代码:AI 需求开发闭环实践
人工智能
机器之心7 小时前
飞书让表格变成「AI同事」加入群聊,不打开表就能用表
人工智能·openai
Bigfish_coding8 小时前
前端转agent-【python】-15 AI Agent 可观测性入门:LangFuse 链路追踪、Token 监控与 LLM 质量评估
人工智能
我唔知啊8 小时前
我把 Claude Code 拆成了一间餐厅:从一句话到一次回复,中间到底发生了什么
人工智能
Harry技术8 小时前
02 · Codex 核心概念:代理、沙箱、审批和项目说明书
人工智能