Text Generation
Transformers
Safetensors
Greek
llama
finance
greek
thefinai
plutus
financial-reasoning
conversational
text-generation-inference
Instructions to use TheFinAI/plutus-8B-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheFinAI/plutus-8B-instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TheFinAI/plutus-8B-instruct") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("TheFinAI/plutus-8B-instruct") model = AutoModelForCausalLM.from_pretrained("TheFinAI/plutus-8B-instruct", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TheFinAI/plutus-8B-instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TheFinAI/plutus-8B-instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheFinAI/plutus-8B-instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/TheFinAI/plutus-8B-instruct
- SGLang
How to use TheFinAI/plutus-8B-instruct 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 "TheFinAI/plutus-8B-instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheFinAI/plutus-8B-instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "TheFinAI/plutus-8B-instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheFinAI/plutus-8B-instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use TheFinAI/plutus-8B-instruct with Docker Model Runner:
docker model run hf.co/TheFinAI/plutus-8B-instruct
Update model card: metadata, nav links, access form (author text unchanged)
Browse files
README.md
CHANGED
|
@@ -3,15 +3,41 @@ library_name: transformers
|
|
| 3 |
tags:
|
| 4 |
- finance
|
| 5 |
- greek
|
|
|
|
|
|
|
|
|
|
| 6 |
license: llama3.1
|
| 7 |
language:
|
| 8 |
- el
|
| 9 |
base_model:
|
| 10 |
- ilsp/Llama-Krikri-8B-Instruct
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
|
|
|
| 13 |
# Model Card for plutus-8B-instruct
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
This model is an instruction-tuned large language model specialized for Greek financial texts. It is based on the ilsp/Llama-Krikri-8B-Instruct model and has been fine-tuned using Low-Rank Adaptation (LoRA) on a mixed Greek financial dataset.
|
| 16 |
|
| 17 |
## Model Details
|
|
|
|
| 3 |
tags:
|
| 4 |
- finance
|
| 5 |
- greek
|
| 6 |
+
- thefinai
|
| 7 |
+
- plutus
|
| 8 |
+
- financial-reasoning
|
| 9 |
license: llama3.1
|
| 10 |
language:
|
| 11 |
- el
|
| 12 |
base_model:
|
| 13 |
- ilsp/Llama-Krikri-8B-Instruct
|
| 14 |
+
pipeline_tag: text-generation
|
| 15 |
+
base_model_relation: finetune
|
| 16 |
+
extra_gated_heading: Request access to Plutus-8B-instruct
|
| 17 |
+
extra_gated_description: Plutus-8B-instruct is released by The Fin AI for research. Access is granted automatically after you complete this short form.
|
| 18 |
+
extra_gated_button_content: Agree and access
|
| 19 |
+
extra_gated_prompt: By accessing this model you agree to its license and to cite the Plutus paper in any resulting publication. It must not be used to provide personalized investment advice. Use is also subject to the Llama 3.1 Community License.
|
| 20 |
+
extra_gated_fields:
|
| 21 |
+
Full name: text
|
| 22 |
+
Affiliation: text
|
| 23 |
+
Country: country
|
| 24 |
+
Intended use:
|
| 25 |
+
type: select
|
| 26 |
+
options:
|
| 27 |
+
- Research
|
| 28 |
+
- Education
|
| 29 |
+
- Commercial evaluation
|
| 30 |
+
- Other
|
| 31 |
+
I agree to the terms above and will cite the paper: checkbox
|
| 32 |
---
|
| 33 |
|
| 34 |
+
|
| 35 |
# Model Card for plutus-8B-instruct
|
| 36 |
|
| 37 |
+
📄 [Paper](https://arxiv.org/abs/2502.18772) · 🤗 [Collection](https://huggingface.co/collections/TheFinAI/plutus-benchmarking-greek-financial-llms-67bc718fb8d897c65f1e87db) · 🏆 [Leaderboard](https://huggingface.co/spaces/TheFinAI/Open-Greek-Financial-LLM-Leaderboard) · 💬 [Demo](https://huggingface.co/spaces/TheFinAI/plutus-8B-instruct) · 🌐 [The Fin AI](https://thefin.ai)
|
| 38 |
+
|
| 39 |
+
> Part of **Plutus** — *Plutus: Benchmarking Large Language Models in Low-Resource Greek Finance* ([arXiv:2502.18772](https://arxiv.org/abs/2502.18772)).
|
| 40 |
+
|
| 41 |
This model is an instruction-tuned large language model specialized for Greek financial texts. It is based on the ilsp/Llama-Krikri-8B-Instruct model and has been fine-tuned using Low-Rank Adaptation (LoRA) on a mixed Greek financial dataset.
|
| 42 |
|
| 43 |
## Model Details
|