Clay
[Linux] podman 基礎指令筆記
Introduction
Podman 是一個專用來管理容器(container)和鏡像(image)的開源工具,全名為 Pod Manager tool (podman)。Podman 是一個與 docker 相似的工具,但是設計上有一些小區別。
Read More »[Linux] podman 基礎指令筆記[Python] 使用 FastAPI 框架進行後端開發筆記
Introduction
FastAPI 是一個現代、高效的 Python web 框架。基於 python 3.7+ 並且擁有 python type hints。
Read More »[Python] 使用 FastAPI 框架進行後端開發筆記[Linux] 使用 duf 指令查看硬碟使用狀況
Introduction
duf
是一款可以在 Linux 系統上較為有『圖形化表達』的硬碟空間使用狀況檢查工具,名字取自 Disk Usage/Free Utility。順帶一提,這項工具其實不僅在 Linux,在 MacOS 和 Windows 上也都可以安裝哦。
Consensus: 使用 AI 驅動的論文搜尋引擎
在研究一些 AI 模型的時候,或許是研究所時保留下來的習慣,我總是會去翻翻模型、系統、套件相關的論文,就算只是粗略掃過 Abstract、Introduction、Conclusion 以及圖表也好,至少我能對我正在使用什麼東西、這東西背後是怎麼驅動的有個底,不是只會直接把開發團隊附上的程式碼跑起來就好。
Read More »Consensus: 使用 AI 驅動的論文搜尋引擎[Python] 使用 format_map() 將變數值填充於字串中
前陣子閱讀了不少 LLaMA 的各種 LoRA 模型訓練(雖然已經大概是兩個月前...),在閱讀各家程式碼的時候,發現在程式碼中設定給予模型的 prompt 時,若需要根據不同的資料調整內容,使用 format_map()
的格式看起來最為乾淨。
Microsoft Azure Cosmos DB for MongoDB (vCore) 使用向量搜索 Comment
介紹
Microsoft Azure Cosmos DB for MongoDB 是 Azure Cosmos DB 的一種 API,它可以讓使用者在 Cosmos DB 中運行 MongoDB 應用程式,而無需修改代碼。這讓開發者可以利用 Cosmos DB 的全球分佈、多模型和極限擴展的特性,同時還可以使用熟悉的 MongoDB 工具和 SDK。
Read More »Microsoft Azure Cosmos DB for MongoDB (vCore) 使用向量搜索 Comment[已解決] Some weights of the model checkpoint at distilbert-base-multilingual-cased were not used when initializing DistilBertForSequenceClassification: ['vocab_projector.bias', 'vocab_layer_norm.bias', 'vocab_layer_norm.weight', 'vocab_transform.weight', 'vocab_transform.bias']
問題描述
在使用 transformers 套件時,如果當我們使用如 AutoModelForSequenceClassification、AutoModelForSeq2SeqLM… 這樣不同 head 的任務模型時,經常我們會得到以下錯誤訊息:
Read More »[已解決] Some weights of the model checkpoint at distilbert-base-multilingual-cased were not used when initializing DistilBertForSequenceClassification: ['vocab_projector.bias', 'vocab_layer_norm.bias', 'vocab_layer_norm.weight', 'vocab_transform.weight', 'vocab_transform.bias']使用 OpenAI Moderation Endpoint 偵測不適當內容
介紹
Moderation 模型是一個 OpenAI 所提供的免費工具,用來審查所謂的『不適當內容』。詳細的禁止條例可以參考 https://openai.com/policies/usage-policies。
Read More »使用 OpenAI Moderation Endpoint 偵測不適當內容Microsoft Azure Data Explorer (ADX) 支援向量查詢的方法 Comment
前言
最近在研究 Azure 上的各種服務,其中跟我正在做的任務較為相關的就是認知搜尋(cognitive search)這項服務。
Read More »Microsoft Azure Data Explorer (ADX) 支援向量查詢的方法 Comment