AI編程工具與演示[Tabbyml, TONGYI Lingma] [現(xiàn)在流行使用github copilot]

FROM: https://agiclass.feishu.cn/docx/ClrVddclboshICxgMmgcOggMnU3

2種編程的AI助手工具

tabbyml [本地版]

描述: Tabby是目前完全開源,從模型到插件都開源的一個(gè)AI編程助手。 Tabby分成模型插件兩部分

官方文檔參考地址: https://tabby.tabbyml.com/docs/getting-started

支持的編碼模型:

<style> td {white-space:nowrap;border:1px solid #dee0e3;font-size:10pt;font-style:normal;font-weight:normal;vertical-align:middle;word-break:normal;word-wrap:normal;}</style> <byte-sheet-html-origin data-id="" data-version="4" data-is-embed="true" data-grid-line-hidden="false" data-copy-type="col"><colgroup><col width="283"><col width="269"></colgroup>

Model ID License
TabbyML/StarCoder-1B BigCode-OpenRAIL-M
TabbyML/StarCoder-3B BigCode-OpenRAIL-M
TabbyML/StarCoder-7B BigCode-OpenRAIL-M
TabbyML/CodeLlama-7B Llama 2
TabbyML/CodeLlama-13B Llama 2
TabbyML/DeepseekCoder-1.3B Deepseek License
TabbyML/DeepseekCoder-6.7B Deepseek License

Mac電腦安裝

  1. 第一步:安裝本地模型

https://tabby.tabbyml.com/docs/installation/
通過Homebrew安裝管理命令: brew install tabbyml/tabby/tabby
tabby服務(wù)的啟動(dòng): tabby serve --device metal --model TabbyML/StarCoder-1B

vscode -》擴(kuò)展 -》 安裝 tabby


image.png
  • tabby的代理服務(wù)器配置


  • 指定代理服務(wù)器配置里的 server - endpoint 指向了本地運(yùn)行的 8080端口


[server]
endpoint = "http://localhost:8080" # http or https URL
  • 命令行輸入 vim ~/.tabby/config.toml
# Index three repositories' source code as additional context for code completion.

[[repositories]]
name = "tabby"
git_url = "https://github.com/TabbyML/tabby.git" # 遠(yuǎn)程的git項(xiàng)目,但是如果沒有代理很容易失敗

# git through ssh protocol.
[[repositories]]
name = "CTranslate2"
git_url = "git@github.com:OpenNMT/CTranslate2.git"

# local directory is also supported!
[[repositories]]
name = "dify"
# 你自己下載下來本地的項(xiàng)目, 如果你的項(xiàng)目目錄是 /home/xiaoming/Code/Dify
git_url = "file:///Users/taopeng/Desktop/AI/dify-main"
  • 向量化上面的dify模板
    tabby scheduler --now

TONGYI Lingma [云版本]

image.png
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容