Downloads · 30 days
77
0% of all-time downloads
gradientai/v-alpha-tross
v-alpha-tross is a text generation model from gradientai. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama2.
Albatross is a collection of domain-specific language models for finance applications developed by Gradient.
Downloads · 30 days
77
0% of all-time downloads
All-time downloads
19.1K
Public
Parameters
69B
138 GB on disk
Likes
20
Public
Click a slice to open those files.
.safetensors138 GB · 100%
From the Hugging Face model README
Albatross is a collection of domain-specific language models for finance applications developed by Gradient.
This is the repository for an early, limited capability version, the v-alpha-tross, designed to showcase performance on
Release versions of Albatross models are additionally trained on proprietary implementations of the latest architecture augmentation, expanded training and alignment data, and target reduced hallucination at retrieval, improved auditability, and multi-hop reasoning. To inquire for access to release versions, please reach out to contact@gradient.ai
The v-alpha-tross model is based on meta-llama/Llama-2-70b-hf, with additional, finance specific, pre-training, fine-tuning and instruction tuning.
This model substantially outperforms Llama2-70B models on H6 Average score, and GSM8K, with similar performance to mistralai/Mixtral-8x7B-Instruct-v0.1. It also reaches gpt-3.5-turbo performance in extracting information from tabular data like those found in SEC filings.
The v-alpha-tross is intended as a demonstration of Gradient’s Albatross framework for developing large language models specific to the finance domain. We welcome additional research and development, but do not plan on continued internal development on this legacy model.
To get the expected performance, follow formatting requirements of Llama-2 chat, including INST and <<SYS>> tags, and <s> tokens.
The Albatross framework overcomes deficiencies in general-purpose language models that arise in the face of solving tasks in the finance domain.
Release versions of Albatross use an expanded data universe for extended capabilities.
A base Llama2-70B is further pre-trained on finance data since LLMs are poor at answering questions when their internal relevant document store is sparse [1].
To curate quality training data with low operational overhead we demo a novel data gathering approach:
v-alpha-tross, we limited to Red Pajamas and https://github.com/.[1] Kandpal, Nikhil, et al. "Large language models struggle to learn long-tail knowledge." International Conference on Machine Learning. PMLR, 2023.
[2] Carlini, Nicholas, et al. "Membership inference attacks from first principles." 2022 IEEE Symposium on Security and Privacy (SP). IEEE, 2022.
Supervised fine-tuning (SFT) and direct preference optimization (DPO)[3] further enhances performance and alignment on finance-related tasks.
v-alpha-tross includes a subset of Albatross tuning goals: financial anchoring, mathematical reasoning, tabular understanding, conversational communication, summarization.
| Category | # Tokens (1Ms) | % of Total |
|---|---|---|
| Chat (e.g. ultrachat_200k) | 640 | 45.2 |
| Alignment * (e.g. orca_dpo) | 331 | 23.4 |
| Math * (e.g. Goat[4]) | 300 | 21.2 |
| Tabular * | 68 | 4.8 |
| Summarization (e.g. legal_summarization) | 52 | 3.7 |
| Open-book (e.g. selfrag) | 25 | 1.8 |
(*) = Proprietary or includes proprietary data sets
[3] Rafailov, R., Sharma, A., Mitchell, E., Ermon, S., Manning, C.D. and Finn, C., 2023. Direct preference optimization: Your language model is secretly a reward model. NeurIPS.
[4] Liu, Tiedong, and Bryan Kian Hsiang Low. "Goat: Fine-tuned LLaMA Outperforms GPT-4 on Arithmetic Tasks." arXiv preprint arXiv:2305.14201 (2023).
From a Llama-2-70B base, v-alpha-tross improves H6 metrics, and in particular GSM8k (arithmetic reasoning), scoring similar to Mixtral-8x7B-Instruct-v0.1. Relative to a subset of Open LLM Leaderboard [4] models which also use Llama-2-70B as a base, the model achieves state of the art results for the Average H6 score.
On financial table understanding (our new metric) the model is on par with GPT-3.5.
| Model | H6 [4] | GSM8k | sec_tables_v1 |
|---|---|---|---|
| v-alpha-tross | 73.28 | 61.79 | 100.0 |
| meta-llama/Llama-2-70B-hf | 67.87 | 54.06 | 75.76 |
| meta-llama/Llama-2-70b-chat-hf | 62.40 | 26.69 | 87.88 |
| mistralai/Mixtral-8x7B-Instruct-v0.1 | 72.70 | 61.11 | 82.35 |
| GPT-3.5 | N/A | 57.1 [5] | 100.0 |
[4] https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard
[5] https://paperswithcode.com/sota/arithmetic-reasoning-on-gsm8k
We develop Albatross on Gradient’s distributed training platform, leveraging leading open source toolsets and optimizations like Axolotl, Accelerate, and Deepspeed for high throughput and memory efficiency.
The following hyperparameters were used during DPO training:
v-alpha-tross has not been specifically aligned for safety, so the model can produce problematic outputs (especially when prompted to do so). It is also subject to any risks of the corpus that was used to train the base Llama 2 models.
Whitepaper coming soon!
Gradient is accelerating AI transformation across industries. https://gradient.ai/
Drop an email to contact@gradient.ai