Using Scikit-LLM with Open-Source LLMs
中文摘要
本文介绍如何利用 Scikit-LLM 和 Ollama 免费调用本地开源大模型(如 Mistral、Llama 3)来执行文本分类等语言任务。
English Summary
Learn how to use Scikit-LLM and Ollama to perform language tasks like text classification using free, locally hosted open-source LLMs such as Mistral and Llama 3.
Original Excerpt
This article will teach you how to perform a language task like text classification by integrating locally hosted large language models (LLMs) of manageable size, like Mistral, Gemma, and Llama 3: all for free thanks to Ollama — a free repository for local LLMs — and the Scikit-LLM Python library.