|
--- |
|
license: apache-2.0 |
|
datasets: |
|
- briefai/LongShort-Dataset |
|
language: |
|
- en |
|
pipeline_tag: text-generation |
|
tags: |
|
- pytorch |
|
- dolly |
|
- Gen-AI |
|
- Finance |
|
- KPI Extraction |
|
--- |
|
# LongShort-Dolly-2-7B |
|
- Model creator: [Brief AI](https://huggingface.co/briefai) |
|
- Original model: [Llama 2 7B Chat](https://huggingface.co/databricks/dolly-v2-7b) |
|
|
|
### Model Description |
|
|
|
This model leverages Dolly-2-7B architecture to extract financial KPIs from the earnings call documents. |
|
|
|
## Prompt template: LongShort-Dolly-2-7B |
|
|
|
``` |
|
[INST]Given the context, answer the question. |
|
|
|
### Question: |
|
Extract all the finance-based performance indicators and evaluation metrics. |
|
|
|
### Context: |
|
{context} |
|
|
|
### Answer: |
|
[/INST] |
|
|
|
``` |
|
|
|
## Uses |
|
|
|
Financial KPI Extraction |
|
|
|
|
|
## Evaluation Results |
|
|
|
Accuracy of the model = KPIs Found / ((KPIs Found) + (KPIs Not Found)) |
|
|
|
LongShort-Dolly-2-7B gives 30.7% accuracy on a validation set of 10% of the original training dataset. |
|
|
|
## Thanks |
|
|