Downloads · 30 days
5
1% of all-time downloads
taddeusb90/finbro-v0.1.0-llama-3-8B-instruct-1m
finbro-v0.1.0-llama-3-8B-instruct-1m is a text generation model from taddeusb90. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.
Fibro v0.1.0 Llama 3 8B Model with 1Million token context window ======================
Downloads · 30 days
5
1% of all-time downloads
All-time downloads
548
Public
Repo size
48.3 GB
Likes
1
Public
Click a slice to open those files.
.bin16.1 GB · 100%
From the Hugging Face model README
The Fibro Llama 3 8B model is language model optimized for financial applications. This model aims to enhance financial analysis, automate data extraction, and improve financial literacy across various user expertise levels. It utilizes a massive 1 million token context window. This is just a sneak peek into what's coming, and future releases will be done periodically consistently improving it's performance.

The model is still training, I will be sharing new incremental releases while it's improving so you have time to play around with it.

Here is how to load and use the model in your Python projects:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "taddeusb90/finbro-v0.1.0-llama-3-8B-instruct-1m"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
text = "Your financial query here"
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(inputs['input_ids'])
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The Fibro Llama 3 8B model was trained on the Finbro Dataset, an extensive compilation of over 300,000 entries sourced from Investopedia and Sujet Finance. This dataset includes structured Q&A pairs, financial reports, and a variety of financial tasks pooled from multiple datasets.
The dataset can be found here
This dataset will be extended to contain real and synthetic data on a wide range of financial tasks such as:
You are advised to implement your own alignment layer and guard rails before exposing the model as a service or using it in production. Please exercise caution and use it at your own risk. I assume no responsibility for any losses incurred if used.
This model is released under the META LLAMA 3 COMMUNITY LICENSE AGREEMENT.
If you use this model in your research, please cite it as follows:
@misc{
finbro_v0.1.0-llama-3-8B-1m,
author = {Taddeus Buica},
title = {Fibro Llama 3 8B Model for Financial Analysis},
year = {2024},
journal = {Hugging Face repository},
howpublished = {\url{https://huggingface.co/taddeusb90/finbro-v0.1.0-llama-3-8B-instruct-1m}}
}
Special thanks to the folks from AI@Meta for powering this project with their awesome models.
If you would like to connect, share ideas, feedback, help support bigger models or even develop your own custom finance model on your private dataset let's talk on LinkedIn
[1] Llama 3 Model Card by AI@Meta, Year: 2024
[2] Sujet Finance Dataset
[3] Dataset Card for investopedia-instruction-tuning