Structure Extraction with NuExtract and OpenVINO
NuExtract model is a text-to-JSON Large Language Model (LLM) that allows to extract arbitrarily complex information from text and turns it into structured data.
Content
Structure Extraction with NuExtract and OpenVINO
NuExtract model is a text-to-JSON Large Language Model (LLM) that allows to extract arbitrarily complex information from text and turns it into structured data.
Notebook Contents
The tutorial consists of the following steps:
- Install prerequisites
- Download and convert the model from a public source using the OpenVINO integration with Hugging Face Optimum
- Compress model weights to INT8 and INT4 with OpenVINO NNCF
- Create a structure extraction inference pipeline with Generate API
- Launch interactive Gradio demo with structure extraction pipeline
Installation Instructions
This is a self-contained example that relies solely on its own code.</br> We recommend running the notebook in a virtual environment. You only need a Jupyter server to start. For details, please refer to [Installation Guide](../../README.md).
Source and license
- Source
- Intel OpenVINO Notebooks
- Original
- openvinotoolkit/openvino_notebooks/notebooks/nuextract-structure-extraction
- License
- Apache-2.0