[Python] Selenium Little Known Tips 你可能不知道的 Selenium 技巧

There are some Selenium functions or techniques that I haven’t used before and I don’t know how to write them like this, or they are less intuitive; because they are all fragmented, I will organize them into this article. 有些 Selenium 功能或技巧,沒用過不知道應該要這樣寫,或是比較不直覺的做法;因為都比較零碎,我將它整理到這篇。

[PyTorch] 使用 torch.distributed 在單機多 GPU 上進行分散式訓練

Finetune 語言模型所需要的 GPU memory 比較多,往往會需要我們能夠利用到多顆 GPU 的資源。今天這篇文章會說明 DataParallel 和 DistributedDataParallel + DistributedSampler 兩種進行模型分散式訓練的方式。

經典 NLP 任務標籤生成:串接非官方 ChatGPT API

這篇文章紀錄我串接非官方 ChatGPT API 「試圖」取得 NLP 資訊抽取任務標籤的過程。結論是…

【Python 網路爬蟲】克服網站反爬蟲機制的 8 種做法

隨著公開資料使用的普及化,網站對自家資料的保護也越來越嚴謹。…

【Python】複製一份 conda 環境的各種方式

使用 .yml 檔案 將當前環境設置輸出為 environm…

【除錯紀錄】MAC 更新後 git 指令出現 xcrun: error

更新 Mac 到 12.3.1 後,日常使用 git 進行版…