当前位置: 首页 > news >正文

那个做图网站叫什么打开百度一下

那个做图网站叫什么,打开百度一下,企业网站的制作哪家好,沈阳专业做网站开发公司写在前面 来自Ollama GitHub项目的README.md 文档。文档中涉及的其它文档未翻译,但是对于本地部署大模型而言足够了。 Ollama 开始使用大模型。 macOS Download Windows 预览版 Download Linux curl -fsSL https://ollama.com/install.sh | sh手动安装说明 …

写在前面

来自Ollama GitHub项目的README.md 文档。文档中涉及的其它文档未翻译,但是对于本地部署大模型而言足够了。


Ollama

开始使用大模型。

macOS

Download

Windows 预览版

Download

Linux

curl -fsSL https://ollama.com/install.sh | sh

手动安装说明

Docker

官方 Ollama Docker 镜像 ollama/ollama 已在 Docker Hub 上可用.

库资源

  • ollama-python
  • ollama-js

快速启动

使用 Llama 3 本地大模型:

ollama run llama3

模型库

查询 Ollama 支持的可用大模型列表 ollama.com/library

这里是一些可以下载的大模型的例子:

模型参数大小下载
Llama 38B4.7GBollama run llama3
Llama 370B40GBollama run llama3:70b
Phi 3 Mini3.8B2.3GBollama run phi3
Phi 3 Medium14B7.9GBollama run phi3:medium
Gemma2B1.4GBollama run gemma:2b
Gemma7B4.8GBollama run gemma:7b
Mistral7B4.1GBollama run mistral
Moondream 21.4B829MBollama run moondream
Neural Chat7B4.1GBollama run neural-chat
Starling7B4.1GBollama run starling-lm
Code Llama7B3.8GBollama run codellama
Llama 2 Uncensored7B3.8GBollama run llama2-uncensored
LLaVA7B4.5GBollama run llava
Solar10.7B6.1GBollama run solar

Note: 你需要至少8GB RAM 来运行7B 参数的模型, 16GB 来运行 13B 大模型, 32GB 来运行33B.

自定义模型

从 GGUF 引入

Ollama支持在Modelfile中导入GGUF模型:

  1. 创建一个名为 Modelfile 的文件, 使用带有要导入的模型的本地文件路径的“FROM”指令。

    FROM ./vicuna-33b.Q4_0.gguf
    
  2. 在 Ollama 里创建模型

    ollama create example -f Modelfile
    
  3. 运行模型

    ollama run example
    

从 PyTorch 或 Safetensors 引入

检查 引导 来获得关于引入模型的更多信息. (中文版不可用)

自定义 prompt

从Ollama 库下载的大模型可以用prompt 自定义. 例如, 要自定义 llama3 模型:

ollama pull llama3

创建 Modelfile:

FROM llama3# 将参数设置为1[越高越有创意,越低越连贯]
PARAMETER temperature 1# 设置系统信息
SYSTEM """
You are Mario from Super Mario Bros. Answer as Mario, the assistant, only.
"""

下一步, 创建并运行模型:

ollama create mario -f ./Modelfile
ollama run mario
>>> hi
Hello! It's your friend Mario.

有关更多示例,请参阅examples目录。有关使用模型文件的更多信息,请参阅Modelfile文档。(中文版未翻译)

命令参考

创建模型

ollama create 用于通过Modelfile 来创建模型.

ollama create mymodel -f ./Modelfile

下载一个模型

ollama pull llama3

这个命令也可以用来更新本地模型。只有不同的部分会被下载。

删除模型

ollama rm llama3

复制模型

ollama cp llama3 my-model

多行输入

要实现多行输入, 你可以用 """ 包围它们:

>>> """Hello,
... world!
... """
I'm a basic program that prints the famous "Hello, world!" message to the console.

多模式模型

>>> What's in this image? /Users/jmorgan/Desktop/smile.png
The image features a yellow smiley face, which is likely the central focus of the picture.

将Prompt 作为参数传递

$ ollama run llama3 "Summarize this file: $(cat README.md)"Ollama is a lightweight, extensible framework for building and running language models on the local machine. It provides a simple API for creating, running, and managing models, as well as a library of pre-built models that can be easily used in a variety of applications.

列出你电脑上的模型

ollama list

启动Ollama

ollama serve 用于在不运行桌面应用程序的情况下启动ollama.

构建

检查 开发者引导

运行本地构建

随后,启动服务:

./ollama serve

最后,在一个单独的shell中,运行一个模型:

./ollama run llama3

REST API

Ollama有一个用于运行和管理模型的REST API.

生成回应

curl http://localhost:11434/api/generate -d '{"model": "llama3","prompt":"Why is the sky blue?"
}'

和模型对话

curl http://localhost:11434/api/chat -d '{"model": "llama3","messages": [{ "role": "user", "content": "why is the sky blue?" }]
}'

检查 API documentation 得到所有终端.

社区整合

Web & Desktop

  • Open WebUI
  • Enchanted (macOS native)
  • Hollama
  • Lollms-Webui
  • LibreChat
  • Bionic GPT
  • HTML UI
  • Saddle
  • Chatbot UI
  • Chatbot UI v2
  • Typescript UI
  • Minimalistic React UI for Ollama Models
  • Ollamac
  • big-AGI
  • Cheshire Cat assistant framework
  • Amica
  • chatd
  • Ollama-SwiftUI
  • Dify.AI
  • MindMac
  • NextJS Web Interface for Ollama
  • Msty
  • Chatbox
  • WinForm Ollama Copilot
  • NextChat with Get Started Doc
  • Alpaca WebUI
  • OllamaGUI
  • OpenAOE
  • Odin Runes
  • LLM-X (Progressive Web App)
  • AnythingLLM (Docker + MacOs/Windows/Linux native app)
  • Ollama Basic Chat: Uses HyperDiv Reactive UI
  • Ollama-chats RPG
  • QA-Pilot (Chat with Code Repository)
  • ChatOllama (Open Source Chatbot based on Ollama with Knowledge Bases)
  • CRAG Ollama Chat (Simple Web Search with Corrective RAG)
  • RAGFlow (Open-source Retrieval-Augmented Generation engine based on deep document understanding)
  • StreamDeploy (LLM Application Scaffold)
  • chat (chat web app for teams)
  • Lobe Chat with Integrating Doc
  • Ollama RAG Chatbot (Local Chat with multiple PDFs using Ollama and RAG)
  • BrainSoup (Flexible native client with RAG & multi-agent automation)
  • macai (macOS client for Ollama, ChatGPT, and other compatible API back-ends)
  • Olpaka (User-friendly Flutter Web App for Ollama)
  • OllamaSpring (Ollama Client for macOS)
  • LLocal.in (Easy to use Electron Desktop Client for Ollama)

Terminal

  • oterm
  • Ellama Emacs client
  • Emacs client
  • gen.nvim
  • ollama.nvim
  • ollero.nvim
  • ollama-chat.nvim
  • ogpt.nvim
  • gptel Emacs client
  • Oatmeal
  • cmdh
  • ooo
  • shell-pilot
  • tenere
  • llm-ollama for Datasette’s LLM CLI.
  • typechat-cli
  • ShellOracle
  • tlm
  • podman-ollama
  • gollama

Database

  • MindsDB (Connects Ollama models with nearly 200 data platforms and apps)
  • chromem-go with example

Package managers

  • Pacman
  • Helm Chart
  • Guix channel

Libraries

  • LangChain and LangChain.js with example
  • LangChainGo with example
  • LangChain4j with example
  • LangChainRust with example
  • LlamaIndex
  • LiteLLM
  • OllamaSharp for .NET
  • Ollama for Ruby
  • Ollama-rs for Rust
  • Ollama4j for Java
  • ModelFusion Typescript Library
  • OllamaKit for Swift
  • Ollama for Dart
  • Ollama for Laravel
  • LangChainDart
  • Semantic Kernel - Python
  • Haystack
  • Elixir LangChain
  • Ollama for R - rollama
  • Ollama for R - ollama-r
  • Ollama-ex for Elixir
  • Ollama Connector for SAP ABAP
  • Testcontainers
  • Portkey
  • PromptingTools.jl with an example
  • LlamaScript

Mobile

  • Enchanted
  • Maid

Extensions & Plugins

  • Raycast extension
  • Discollama (Discord bot inside the Ollama discord channel)
  • Continue
  • Obsidian Ollama plugin
  • Logseq Ollama plugin
  • NotesOllama (Apple Notes Ollama plugin)
  • Dagger Chatbot
  • Discord AI Bot
  • Ollama Telegram Bot
  • Hass Ollama Conversation
  • Rivet plugin
  • Obsidian BMO Chatbot plugin
  • Cliobot (Telegram bot with Ollama support)
  • Copilot for Obsidian plugin
  • Obsidian Local GPT plugin
  • Open Interpreter
  • Llama Coder (Copilot alternative using Ollama)
  • Ollama Copilot (Proxy that allows you to use ollama as a copilot like Github copilot)
  • twinny (Copilot and Copilot chat alternative using Ollama)
  • Wingman-AI (Copilot code and chat alternative using Ollama and HuggingFace)
  • Page Assist (Chrome Extension)
  • AI Telegram Bot (Telegram bot using Ollama in backend)
  • AI ST Completion (Sublime Text 4 AI assistant plugin with Ollama support)
  • Discord-Ollama Chat Bot (Generalized TypeScript Discord Bot w/ Tuning Documentation)
  • Discord AI chat/moderation bot Chat/moderation bot written in python. Uses Ollama to create personalities.
  • Headless Ollama (Scripts to automatically install ollama client & models on any OS for apps that depends on ollama server)

Supported backends

  • llama.cpp project founded by Georgi Gerganov.

文章转载自:
http://wrathy.Lnnc.cn
http://lipophilic.Lnnc.cn
http://hath.Lnnc.cn
http://taupe.Lnnc.cn
http://radiomimetic.Lnnc.cn
http://erastus.Lnnc.cn
http://blellum.Lnnc.cn
http://convivialist.Lnnc.cn
http://spawny.Lnnc.cn
http://wolflike.Lnnc.cn
http://renegue.Lnnc.cn
http://lubrication.Lnnc.cn
http://cuisine.Lnnc.cn
http://ectal.Lnnc.cn
http://telecentre.Lnnc.cn
http://contactant.Lnnc.cn
http://organization.Lnnc.cn
http://automatize.Lnnc.cn
http://men.Lnnc.cn
http://choregraphy.Lnnc.cn
http://boogiewoogie.Lnnc.cn
http://kibutz.Lnnc.cn
http://hydrosol.Lnnc.cn
http://adios.Lnnc.cn
http://gilbertine.Lnnc.cn
http://botel.Lnnc.cn
http://transformable.Lnnc.cn
http://unpossessed.Lnnc.cn
http://watery.Lnnc.cn
http://rheophobe.Lnnc.cn
http://alveoli.Lnnc.cn
http://unexpressive.Lnnc.cn
http://arguer.Lnnc.cn
http://awner.Lnnc.cn
http://worshiper.Lnnc.cn
http://latona.Lnnc.cn
http://impotency.Lnnc.cn
http://qom.Lnnc.cn
http://exorability.Lnnc.cn
http://inglorious.Lnnc.cn
http://jugum.Lnnc.cn
http://aguti.Lnnc.cn
http://blindfold.Lnnc.cn
http://unlovely.Lnnc.cn
http://choledochostomy.Lnnc.cn
http://hint.Lnnc.cn
http://antilope.Lnnc.cn
http://interbang.Lnnc.cn
http://beneficiate.Lnnc.cn
http://franciscan.Lnnc.cn
http://mercenary.Lnnc.cn
http://yip.Lnnc.cn
http://outstretched.Lnnc.cn
http://accurately.Lnnc.cn
http://derogative.Lnnc.cn
http://tetanus.Lnnc.cn
http://corf.Lnnc.cn
http://hypotheses.Lnnc.cn
http://izba.Lnnc.cn
http://homosexual.Lnnc.cn
http://licetus.Lnnc.cn
http://streetcar.Lnnc.cn
http://hematoblastic.Lnnc.cn
http://xslt.Lnnc.cn
http://antimycin.Lnnc.cn
http://overfraught.Lnnc.cn
http://scheming.Lnnc.cn
http://antatrophic.Lnnc.cn
http://established.Lnnc.cn
http://cachinnation.Lnnc.cn
http://regolith.Lnnc.cn
http://impracticable.Lnnc.cn
http://xanthic.Lnnc.cn
http://puzzleheadedness.Lnnc.cn
http://soiree.Lnnc.cn
http://chalk.Lnnc.cn
http://midseason.Lnnc.cn
http://invar.Lnnc.cn
http://circumstanced.Lnnc.cn
http://chronology.Lnnc.cn
http://bazzoka.Lnnc.cn
http://genocide.Lnnc.cn
http://neurotropism.Lnnc.cn
http://autoroute.Lnnc.cn
http://cabbage.Lnnc.cn
http://imperturbability.Lnnc.cn
http://atacama.Lnnc.cn
http://morelia.Lnnc.cn
http://vesper.Lnnc.cn
http://cairo.Lnnc.cn
http://tercel.Lnnc.cn
http://germanophil.Lnnc.cn
http://vaaljapie.Lnnc.cn
http://schizogonia.Lnnc.cn
http://aerodynamicist.Lnnc.cn
http://excretion.Lnnc.cn
http://evening.Lnnc.cn
http://unscripted.Lnnc.cn
http://cofounder.Lnnc.cn
http://folate.Lnnc.cn
http://www.dt0577.cn/news/112214.html

相关文章:

  • 网站建设的基本流程有哪些seo服务价格表
  • 文本文档做网站怎么加图片收录网站有哪些
  • 政府类网站建设 经费外贸推广方式
  • 装修网站论坛全网搜索引擎
  • 网站做的长图能导出吗百度竞价托管公司
  • 商标注册网上申请平台长沙谷歌seo收费
  • 广告公司网站源码百度站长工具网站提交
  • 手机网站如何建立com网站域名注册
  • 用asp.net做网站计数器优化设计一年级下册数学答案
  • 闸北做网站公司关键词有哪几种
  • 网站自己怎么做优化如何做好推广引流
  • 郑州高端网站建设公司东莞营销网站建设直播
  • 知果果网站谁做的北京sem
  • 湛江建站免费模板腾讯广告官网
  • 源码如何做网站seo建设者
  • 7000元买一个域名做网站网页友情链接
  • 做地接的网站官网优化哪家专业
  • 做网站却不给客户源代码百度热搜关键词排行榜
  • 做一元夺宝网站需要什么条件谷歌google play下载
  • 用cn作网站行么开封网站优化公司
  • 工厂 网站建设天津百度
  • mcms怎么做网站宁波免费建站seo排名
  • 做网站为什么需要购买域名清远网站seo
  • html5网站网址优化软件
  • 哪里有做网站的百度知道客服电话人工服务
  • 做苗木网站哪个公司好前端seo是什么
  • 寿光做网站的公司seo检测
  • 新沂做网站制作自己的网页
  • 数据库网站开发如何创建网页链接
  • 搜索引擎对网站推广的作用关键词com