Update README.md
Browse files
README.md
CHANGED
|
@@ -215,4 +215,21 @@ sampling_params = SamplingParams(temperature=0, max_tokens=128, stop=['</s>'])
|
|
| 215 |
|
| 216 |
prompts = [prompter.generate_prompt(instruction, input) for instruction, input in instruction_input_pairs]
|
| 217 |
responses = vllm_model.generate(prompts, sampling_params)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 218 |
```
|
|
|
|
| 215 |
|
| 216 |
prompts = [prompter.generate_prompt(instruction, input) for instruction, input in instruction_input_pairs]
|
| 217 |
responses = vllm_model.generate(prompts, sampling_params)
|
| 218 |
+
```
|
| 219 |
+
|
| 220 |
+
|
| 221 |
+
## Citation
|
| 222 |
+
|
| 223 |
+
If you find SLIMER useful in your research or work, please cite the following paper:
|
| 224 |
+
|
| 225 |
+
``` latex
|
| 226 |
+
@misc{zamai2024lessinstructmoreenriching,
|
| 227 |
+
title={Show Less, Instruct More: Enriching Prompts with Definitions and Guidelines for Zero-Shot NER},
|
| 228 |
+
author={Andrew Zamai and Andrea Zugarini and Leonardo Rigutini and Marco Ernandes and Marco Maggini},
|
| 229 |
+
year={2024},
|
| 230 |
+
eprint={2407.01272},
|
| 231 |
+
archivePrefix={arXiv},
|
| 232 |
+
primaryClass={cs.CL},
|
| 233 |
+
url={https://arxiv.org/abs/2407.01272},
|
| 234 |
+
}
|
| 235 |
```
|