banner
andrewji8

Being towards death

Heed not to the tree-rustling and leaf-lashing rain, Why not stroll along, whistle and sing under its rein. Lighter and better suited than horses are straw sandals and a bamboo staff, Who's afraid? A palm-leaf plaited cape provides enough to misty weather in life sustain. A thorny spring breeze sobers up the spirit, I feel a slight chill, The setting sun over the mountain offers greetings still. Looking back over the bleak passage survived, The return in time Shall not be affected by windswept rain or shine.
telegram
twitter
github

快來安裝你的私人程式碼助手!北大最強程式碼AI大模型 CodeShell 開源!(內附vscode插件安裝方法)

CodeShell 是北京大學軟件工程國家工程研究中心知識計算實驗室聯合四川天府銀行 AI 實驗室開發的一個 70 億參數的代碼大模型,號稱「同等規模最強代碼基座」。

CodeShell 基於 5000 億 Tokens 進行了冷啟動訓練,上下文窗口長度為 8192,架構設計上融合了 StarCoder 和 Llama 兩者的核心特性。

CodeShell 的目標是提供全棧智能編程支持,包括代碼生成、代碼補全、代碼紀錯、代碼重構、代碼註釋、代碼文檔、代碼評測等功能。

image

CodeShell 支持多種編程語言,包括 Python, Java, C#, C++, JavaScript, HTML, CSS, SQL 等。CodeShell 還可以根據自然語言描述生成代碼,或者根據代碼生成自然語言描述。CodeShell 還可以進行跨語言轉換,將一種語言的代碼轉換成另一種語言的代碼。

image

CodeShell 如何使用?

CodeShell 的使用方式非常簡單,只需要在 VS Code 中安裝 CodeShell 的插件,就可以直接在編輯器中調用 CodeShell 的功能。

很多人可能直接取 vscode 搜索 codeShell 了!結果搜索到這個!

image

這是錯的!錯的!錯的!

正確的方式是先按照官網的介紹的步驟,下載並安裝!

Screenshot_4ww

執行完命令之後,你會在文件夾中看到這個文件:codeshell-vscode-0.0.1.vsix

image

拖拽這個文件到 vscode 插件區域就會自動安裝,安裝之後會打開一個說明頁面。這才是對的!

image

然後需要配置一下插件的自動補全代碼功能

image

完成這些,你才把插件安裝好,只是完成一半,你還需要部署大模型。

image

image

按照官方介紹,執行完這些就可以運行了。但是筆者在 clone 過程中一直超時,也不知道是不是大模型太火了,下載人數過多。
有興趣的朋友可以自行嘗試,看看能否部署成功!

codeshell 開源地址:
https://github.com/WisdomShell/codeshell

codeshell 的 VSCode 插件開源地址:
https://github.com/WisdomShell/codeshell-vscode

CodeShell 基座模型:
https://huggingface.co/WisdomShell/CodeShell-7B

測評開源地址:
https://github.com/WeOpenML/PandaLM

載入中......
此文章數據所有權由區塊鏈加密技術和智能合約保障僅歸創作者所有。