andrewzamai commited on
Commit
51fc4df
1 Parent(s): e860886

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +40 -0
README.md CHANGED
@@ -344,6 +344,46 @@ An inverse trend can be observed, with SLIMER emerging as the most effective in
344
  </body>
345
  </html>
346
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
347
 
348
  ```python
349
  from vllm import LLM, SamplingParams
 
344
  </body>
345
  </html>
346
 
347
+ <!DOCTYPE html>
348
+ <html lang="en">
349
+ <head>
350
+ <meta charset="UTF-8">
351
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
352
+ <title>JSON Template</title>
353
+ <style>
354
+ body {
355
+ font-family: Arial, sans-serif;
356
+ line-height: 1.6;
357
+ padding: 20px;
358
+ }
359
+ .description {
360
+ font-weight: bold;
361
+ color: #333;
362
+ margin-bottom: 10px;
363
+ }
364
+ .template {
365
+ background-color: #f0f0f0;
366
+ padding: 10px;
367
+ border-radius: 5px;
368
+ margin-bottom: 20px;
369
+ }
370
+ .highlight-orange {
371
+ color: orange;
372
+ font-weight: bold;
373
+ }
374
+ </style>
375
+ </head>
376
+ <body>
377
+ <div class="description">JSON SLIMER prompt</div>
378
+ <div class="template">
379
+ <pre>{
380
+ "description": "SLIMER prompt",
381
+ "prompt_input": "[INST] You are given a text chunk (delimited by triple quotes) and an instruction.\nRead the text and answer to the instruction in the end.\n\"\"\"\n{<span class="highlight-orange">input</span>}\n\"\"\"\nInstruction: Extract the Named Entities of type {<span class="highlight-orange">NE_name</span>} from the text chunk you have read. You are given a DEFINITION and some GUIDELINES.\nDEFINITION: {<span class="highlight-orange">definition</span>}\nGUIDELINES: {<span class="highlight-orange">guidelines</span>}\nReturn a JSON list of instances of this Named Entity type. Return an empty list if no instances are present.\n[/INST]\n"
382
+ }</pre>
383
+ </div>
384
+ </body>
385
+ </html>
386
+
387
 
388
  ```python
389
  from vllm import LLM, SamplingParams