|
--- |
|
license: apache-2.0 |
|
datasets: |
|
- briefai/LongShort-Dataset |
|
language: |
|
- en |
|
pipeline_tag: text-generation |
|
tags: |
|
- pytorch |
|
- llama-2 |
|
- Gen-AI |
|
- Finance |
|
- KPI Extraction |
|
--- |
|
# LongShort-Llama-2-7B |
|
- Model creator: [Brief AI](https://huggingface.co/briefai) |
|
- Original model: [Llama 2 7B Chat](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf) |
|
|
|
### Model Description |
|
|
|
This model leverages Llama-2-7B architecture to extract financial KPIs from the earnings call documents. The model is fine-tuned on 5K data samples. |
|
|
|
### Dataset Description |
|
Data Source: Factiva |
|
Data Description: 28K+ Earnings Call Documents |
|
Data Scope: 1K+ public companies, |
|
Fine Tuning Data: Collection of 60K+ samples. |
|
|
|
 |
|
|
|
## Prompt template: LongShort-Llama-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 and Metric Extraction |
|
|
|
|
|
## Evaluation |
|
|
|
 |
|
|
|
LongShort-Llama-2-7B is giving 44.4% accuracy on a validation set of 10% of the original training dataset. |
|
|
|
## Thanks |
|
|