Instructions to use SoumilB7/Moonfinance_Fundamental with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SoumilB7/Moonfinance_Fundamental with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SoumilB7/Moonfinance_Fundamental")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SoumilB7/Moonfinance_Fundamental", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use SoumilB7/Moonfinance_Fundamental with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SoumilB7/Moonfinance_Fundamental" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SoumilB7/Moonfinance_Fundamental", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/SoumilB7/Moonfinance_Fundamental
- SGLang
How to use SoumilB7/Moonfinance_Fundamental with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "SoumilB7/Moonfinance_Fundamental" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SoumilB7/Moonfinance_Fundamental", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "SoumilB7/Moonfinance_Fundamental" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SoumilB7/Moonfinance_Fundamental", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Studio new
How to use SoumilB7/Moonfinance_Fundamental with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for SoumilB7/Moonfinance_Fundamental to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for SoumilB7/Moonfinance_Fundamental to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for SoumilB7/Moonfinance_Fundamental to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="SoumilB7/Moonfinance_Fundamental", max_seq_length=2048, ) - Docker Model Runner
How to use SoumilB7/Moonfinance_Fundamental with Docker Model Runner:
docker model run hf.co/SoumilB7/Moonfinance_Fundamental
MoonFinance โ Version 3 (March 2026)
MoonFinance is a specialized financial reasoning model suite developed as part of an independent startup research initiative. This release represents Version 3 (March 2026) of the MoonFinance model line, incorporating improved domain adaptation, reasoning stability, and updated financial datasets.
Model Overview
- Model Name: MoonFinance
- Version: v3.1
- Developed by: SoumilB7
- Base Model:
unsloth/llama-3-8b-bnb-4bit - Architecture: Quantized LLaMA-3 with Low-Rank Adapter (LoRA) finetuning
- Primary Domain: Financial analysis, trading signals, macro reasoning, retrieval-augmented financial QA
- License: CC-BY-4.0
This model is designed to assist in:
- Fundamental equity analysis
- Technical indicator interpretation
- Financial news reasoning
- Strategy hypothesis generation
- Structured financial Q&A pipelines
- Retrieval-augmented generation (RAG) workflows
Version 3 Improvements (March 2026)
This release introduces:
- Expanded financial training corpus updated to March 2026 market context
- Improved multi-step reasoning consistency
- Better handling of noisy market narratives and speculative signals
- Stability improvements in long-context inference
- Enhanced alignment for structured financial outputs
- Optimized LoRA adaptation layers for reduced hallucination in domain queries
Weights are optimized for efficient inference on consumer GPUs via 4-bit quantization.
Model tree for SoumilB7/Moonfinance_Fundamental
Base model
meta-llama/Meta-Llama-3-8B