Update README.md
Browse files
README.md
CHANGED
|
@@ -81,7 +81,7 @@ fashion and appearance, demonstrating how even the most unexpected materials fou
|
|
| 81 |
|
| 82 |
# Retrieve relevant instruction templates to different chunks / sections of a document
|
| 83 |
retriever = InstructionTemplateRetriever(
|
| 84 |
-
coverage_chunks=4, sigma=0.05, alpha=1.0 # 4 chunks/sections
|
| 85 |
)
|
| 86 |
print(json.dumps(retriever.search(document=EXAMPLE_DOC), indent=4))
|
| 87 |
|
|
|
|
| 81 |
|
| 82 |
# Retrieve relevant instruction templates to different chunks / sections of a document
|
| 83 |
retriever = InstructionTemplateRetriever(
|
| 84 |
+
coverage_chunks=4, sigma=0.05, alpha=1.0 # Ensure instruction templates cover information in the document with 4 chunks/sections
|
| 85 |
)
|
| 86 |
print(json.dumps(retriever.search(document=EXAMPLE_DOC), indent=4))
|
| 87 |
|