CoolFace
Modelpublic

WiroAI/WiroAI-Finance-Llama-8B

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
7likes26downloads
Model Card

WiroAI-Finance-Llama-8B

<!-- markdownlint-disable first-line-h1 --> <!-- markdownlint-disable html --> <!-- markdownlint-disable no-duplicate-header -->

<div align="center"> <img src="https://huggingface.co/WiroAI/wiroai-turkish-llm-9b/resolve/main/wirologo.png" width="15%" alt="Wiro AI" /> </div> <hr> <div align="center" style="line-height: 1;"> <a href="https://www.wiro.ai/" target="blank" style="margin: 2px;"> <img alt="Homepage" src="https://huggingface.co/WiroAI/wiroai-turkish-llm-9b/resolve/main/homepage.svg" style="display: inline-block; vertical-align: middle;"/> </a> <a href="https://wiro.ai/tools?search=&categories=chat&tags=&page=0" target="blank" style="margin: 2px;"> <img alt="Chat" src="https://huggingface.co/WiroAI/wiroai-turkish-llm-9b/resolve/main/chat.svg" style="display: inline-block; vertical-align: middle;"/> </a> <a href="https://huggingface.co/WiroAI" target="blank" style="margin: 2px;"> <img alt="Hugging Face" src="https://huggingface.co/WiroAI/wiroai-turkish-llm-9b/resolve/main/huggingface.svg" style="display: inline-block; vertical-align: middle;"/> </a> </div> <div align="center" style="line-height: 1;"> <a href="https://instagram.com/wiroai" target="blank" style="margin: 2px;"> <img alt="Instagram Follow" src="https://img.shields.io/badge/Instagram-wiroai-555555?logo=instagram&logoColor=white&labelColor=E4405F" style="display: inline-block; vertical-align: middle;"/> </a> <a href="https://x.com/wiroai" target="blank" style="margin: 2px;"> <img alt="X Follow" src="https://img.shields.io/badge/X-wiroai-555555?logo=x&logoColor=white&labelColor=000000" style="display: inline-block; vertical-align: middle;"/> </a> </div> <div align="center" style="line-height: 1;"> <a href="https://wiro.ai/agreement/terms-of-service" style="margin: 2px;"> <img alt="License" src="https://img.shields.io/badge/License-apache 2.0-f5de53?&color=f5de53" style="display: inline-block; vertical-align: middle;"/> </a> </div>

๐Ÿš€ Meet with WiroAI/WiroAI-Finance-Llama-8B! A robust language model with more finance knowledge support! ๐Ÿš€

๐ŸŒŸ Key Features

  • โ€”Fine-tuned with 500,000+ high-quality finance instructions. (Josephgflowers/Finance-Instruct-500k)
  • โ€”LoRA method was used for fine-tuning without quantization.
  • โ€”Adapted to finance expertise.
  • โ€”Built on Meta's cutting-edge LLaMA architecture

๐Ÿ“ Model Details The model is the finance data fine-tuned version of Meta's innovative LLaMA model family. This model has been trained using Supervised Fine-Tuning (SFT) on carefully curated high-quality finance instructions.

Usage

Transformers Pipeline

python
import transformers
import torch


model_id = "WiroAI/WiroAI-Finance-Llama-8B"

pipeline = transformers.pipeline(
    "text-generation",
    model=model_id,
    model_kwargs={"torch_dtype": torch.bfloat16},
    device_map="auto",
)

pipeline.model.eval()

messages = [
    {"role": "system", "content": "You are a finance chatbot developed by Wiro AI"},
    {"role": "user", "content": "How can central banks balance the trade-off between controlling inflation and maintaining economic growth, especially in an environment of high public debt and geopolitical uncertainty?"
  },
]

terminators = [
    pipeline.tokenizer.eos_token_id,
    pipeline.tokenizer.convert_tokens_to_ids("<|eot_id|>")
]

outputs = pipeline(
    messages,
    max_new_tokens=512,
    eos_token_id=terminators,
    do_sample=True,
    temperature=0.9,
)

print(outputs[0]["generated_text"][-1]['content'])
markdown
Central banks face a challenging trade-off between controlling inflation and maintaining economic growth, particularly in the face of high public debt and geopolitical uncertainty. To balance these concerns, central banks can consider implementing a combination of monetary and fiscal policies, as well as adjusting the policy mix to address these challenges. For example, central banks can consider:

1. Implementing a gradual tightening of monetary policy to help control inflation without stifling economic growth.
2. Encouraging fiscal authorities to implement fiscal consolidation measures to reduce public debt and improve public finances.
3. Implementing targeted support measures for specific sectors or industries that are most affected by geopolitical uncertainty or other external shocks.
4. Developing and implementing a forward guidance policy to provide clarity and stability to financial markets and economic actors.
5. Collaborating with other central banks and international organizations to address the global nature of these challenges and develop coordinated policy responses.

It is important to note that the appropriate policy response will depend on a variety of factors, including the specific country's economic conditions, monetary and fiscal policy frameworks, and the extent of geopolitical uncertainty. Central banks will need to weigh the benefits and risks of different policy options carefully and adapt their policies accordingly.

๐Ÿค License and Usage

This model is provided under apache 2.0 license. Please review the license terms before use.

๐Ÿ“ซ Contact and Support

For questions, suggestions, and feedback, please open an issue on HuggingFace or contact us directly from our website.

Citation

none
@article{WiroAI,
  title={WiroAI/WiroAI-Finance-Llama-8B},
  author={Abdullah Bezir, Furkan Burhan Tรผrkay, Cengiz AsmazoฤŸlu},
  year={2025},
  url={https://huggingface.co/WiroAI/WiroAI-Finance-Llama-8B}
}