Excerpt from site here: Use Large Language Models (LLM) to run Natural Language Processing (NLP) operations against your data. It takes advantage of the LLMs general language training in order to get the predictions, thus removing the need to train a new NLP model. mall
is available for R and Python.
It works by running multiple LLM predictions against your data. The predictions are processed row-wise over a specified column. It relies on the “one-shot” prompt technique to instruct the LLM on a particular NLP operation to perform. The package includes prompts to perform the following specific NLP operations:
Extract one, or several, specific pieces information from the text
Verify that something is true about the text (binary)
- Link to package here: https://mlverse.github.io/mall/
- Link to repo here: https://github.com/mlverse/mall