Skip to main content
ManualsDex
Lenovo Original PDF 9 Pages140 KB

Lenovo LLMs Large Language Models Instructions

Category:LLMs Large Language Models
Download PDF (140 KB)

Document viewer

9 Pages · 140 KB · Lenovo official PDF

Manual overview & contents

Lenovo · 9 Pages

Official 9-page Lenovo documentation (140 KB PDF). Key sections include Requirements, Process overview, 1. Define Scope, 2. Collect, Clean, and Chunk Text Documents, 3. Manually Create Examples.

Large language models (LLMs) can perform useful tasks such as question answering and following instructions to generate text. Context retrieval is a popular enhancement for LLM applications: a user gives an input, the application retrieves relevant context, and the user input, along with the context are passed to the LLM for informed output generation. Retrieval augmented generation (RAG) improves the accuracy, diversity, and specificity of LLM generated responses by retrieving relevant context and adding it to the prompt (Lewis et al., 2021). However, for enterprise applications, using RAG with an open source LLM may not suffice.

Sections inside this manual

Page numbers for quick lookup in the PDF
  1. Requirementsp. 1
  2. Process overviewp. 2
  3. 1. Define Scopep. 2
  4. 2. Collect, Clean, and Chunk Text Documentsp. 2
  5. 3. Manually Create Examplesp. 3
  6. 5. Create a Positive RAG Datasetp. 5
  7. 6. Create a Negative RAG Datasetp. 6
  8. 7. Combine Positive and Negative RAG Datasetsp. 7
  9. Conclusionp. 7
  10. Authorp. 7
  11. Related product familiesp. 7
  12. Noticesp. 8
  13. Trademarksp. 9

Extracted manual text

Making LLMs Work for Enterprise Part 2: RAG Fine-

In many cases, plenty of company-specific data–for example, existing documents or webpages–is available to serve as context in a RAG application. But the questions used for fine-tuning should be the types of questions expected from the end users of the application, and the answers should demonstrate the level of detail, tone, length, and diversity with which the application should respond.

In this article, we will discuss the steps for creating a dataset for fine-tuning a LLM to be used in a RAG application that answers questions about a company-specific knowledge base. It is unlikely that hundreds or thousands of context-question-answer examples that align with the needs of the LLM application are readily available. However, using a small set of high-quality human-created examples, we can use a highperforming LLM to generate questions and answers that relate to the available context documents. This process will augment the dataset while maintaining the question-and-answer patterns of the original human-created examples. The size of the dataset can quickly scale to thousands of examples.

The deliverables created by following the steps in this article are:

Collection of cleaned document chunks relevant to scope 50 randomly selected document chunks, each with a manually created question-and-answer pair Several thousand LLM-generated (plus 20 manually created) document chunk-question-answer sets Combined dataset of positive and negative RAG question and answer examples

The high-level requirements are as follows: Hardware: Server with at least 1x A100 80GB

Making LLMs Work for Enterprise Part 2: RAG Fine-Tuning Dataset Creation

Frequently asked questions

What topics are covered in the Lenovo LLMs Large Language Models Instructions?

This 9-page manual covers: Making LLMs Work for Enterprise Part 2: RAG Fine-Tuning Dataset Creation Planning / Implementation, Requirements, Process overview, 1. Define Scope, 2. Collect, Clean, and Chunk Text Documents, 3. Manually Create Examples, 4. Generate a Large Q&A Dataset with Few-Shot Prompting, 5. Create a Positive RAG Dataset.

More manuals from Lenovo

View all →
Lenovo
Troubleshooting 36p 4.9 MB

Lenovo 62F4 T75 Smart Large Format Display User Guide

View or download the Lenovo 62F4 T75 Smart Large Format Display User Guide (36-page PDF).

62F4 T75 K21750UT0
Lenovo
Troubleshooting 33p 2.9 MB

Lenovo 62F2-KATC-WW ThinkVision T65 Smart Large Format Display User Guide

View or download the Lenovo 62F2-KATC-WW ThinkVision T65 Smart Large Format Display User Guide (33-page PDF).

62F2-KATC-WW 62F3-KATC-WW T65
Lenovo
Troubleshooting 33p 3.0 MB

Lenovo 62F4-KATC-WW Think Vision Smart Large Format Display User Guide

View or download the Lenovo 62F4-KATC-WW Think Vision Smart Large Format Display User Guide (33-page PDF).

62F4-KATC-WW
Lenovo
Troubleshooting 418p 15.2 MB

Lenovo 4XC0G88840 ThinkServer RAID 520i Adapter Owner’s Manual

View or download the Lenovo 4XC0G88840 ThinkServer RAID 520i Adapter Owner’s Manual (418-page PDF). Covers Chapter 1: Overview.

4XC0G88840 ThinkServer RAID 520i Adapter RAID 520i Adapter +2 more
Lenovo
Troubleshooting 418p 15.2 MB

Lenovo ThinkServer RAID 720i Adapter Family User Guide

View or download the Lenovo ThinkServer RAID 720i Adapter Family User Guide (418-page PDF). Covers Chapter 1: Overview, Chapter 2: Introduction to RAID.

720i Adapter Family GS-35F-05925
Lenovo
Troubleshooting 258p 9.0 MB

Lenovo ThinkStation P720 User Manual

View or download the Lenovo ThinkStation P720 User Manual (258-page PDF). Covers About this manual, Chapter 1. Read this first: Important safety information.

ThinkStation P720 30BA 30BB +2 more
Download (140 KB)