Instructions to use meridianal/FinAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use meridianal/FinAI with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="meridianal/FinAI")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("meridianal/FinAI", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use meridianal/FinAI with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "meridianal/FinAI" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "meridianal/FinAI", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/meridianal/FinAI
- SGLang
How to use meridianal/FinAI 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 "meridianal/FinAI" \ --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": "meridianal/FinAI", "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 "meridianal/FinAI" \ --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": "meridianal/FinAI", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use meridianal/FinAI with Docker Model Runner:
docker model run hf.co/meridianal/FinAI
Hourly training update [skip ci]
Browse filesFiles changed (4)
1{"processed_items": 208125}1{"processed_items": 208425}
123version https://git-lfs.github.com/spec/v1oid sha256:6b8a2e01eb1f5959b3c4cc39884888cda067fa0412f497fc3e3d9211176b5b84size 763836289123version https://git-lfs.github.com/spec/v1oid sha256:b919720217289cb32d45e47220e0fce82b802f84eda3c96e2ed2d51ad4fb08d9size 744109953
123version https://git-lfs.github.com/spec/v1oid sha256:2e6162f64172b91a11b9b1191f2433437c24e92744ecb05a6bba9abf1a224355size 988097824123version https://git-lfs.github.com/spec/v1oid sha256:6875cd8f75d3940b07876750c1f85a9f0bf7c51cb6b4eb917f0db2158cdb1119size 988097824
123version https://git-lfs.github.com/spec/v1oid sha256:cc211b3c070dae322d9c2808adbc6929f8ec0a111231591fbab5a7be3778e595size 1361123version https://git-lfs.github.com/spec/v1oid sha256:68c210798533aff88f6e8bac8a7da8fb0e5f9d64cfaa6e7f79be9ef3506cacf7size 1361
checkpoint/dataset_state.json+1-1
checkpoint/ewc_state.pt+2-2
checkpoint/model.safetensors+1-1
checkpoint/trainer_state.pt+1-1