andrewzamai commited on
Commit
3263898
1 Parent(s): c1d7e03

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -0
README.md CHANGED
@@ -84,6 +84,47 @@ Instructed on a reduced number of tags (PER, ORG, LOC), it is designed to tackle
84
  </html>
85
 
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  ```python
88
  from vllm import LLM, SamplingParams
89
 
 
84
  </html>
85
 
86
 
87
+ <!DOCTYPE html>
88
+ <html lang="en">
89
+ <head>
90
+ <meta charset="UTF-8">
91
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
92
+ <title>JSON Template</title>
93
+ <style>
94
+ body {
95
+ font-family: Arial, sans-serif;
96
+ line-height: 1.6;
97
+ padding: 20px;
98
+ }
99
+ .description {
100
+ font-weight: bold;
101
+ color: #333;
102
+ margin-bottom: 10px;
103
+ }
104
+ .template {
105
+ background-color: #f0f0f0;
106
+ padding: 10px;
107
+ border-radius: 5px;
108
+ margin-bottom: 20px;
109
+ }
110
+ .highlight-orange {
111
+ color: orange;
112
+ font-weight: bold;
113
+ }
114
+ </style>
115
+ </head>
116
+ <body>
117
+ <div class="description">JSON SLIMER-IT prompt</div>
118
+ <div class="template">
119
+ <pre>{
120
+ "description": "SLIMER prompt for Italian",
121
+ "prompt_input": "<|start_header_id|>system<|end_header_id|>\n\n Sei un utile assistente.<|eot_id|>\n<|start_header_id|>user<|end_header_id|>\n\nTi viene fornito un input di testo (delimitato da tre virgolette) e un'istruzione. \nLeggi il testo e rispondi all'istruzione alla fine.\n\"\"\"\n{<span class="highlight-orange">input</span>}\n\"\"\"\nIstruzione: Estrai tutte le entità di tipo {<span class="highlight-orange">NE_name</span>} dal testo che hai letto. Ti vengono fornite una DEFINIZIONE e alcune LINEE GUIDA.\DEFINIZIONE: {<span class="highlight-orange">definition</span>}\nLINEE GUIDA: {<span class="highlight-orange">guidelines</span>}\nRestituisci una lista JSON di istanze di questo tipo. Restituisci una lista vuota se non sono presenti istanze.<|eot_id|>\n<|start_header_id|>assistant<|end_header_id|>\n\n"
122
+ }</pre>
123
+ </div>
124
+ </body>
125
+ </html>
126
+
127
+
128
  ```python
129
  from vllm import LLM, SamplingParams
130