Instructions to use sudhanvasp/ELINA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sudhanvasp/ELINA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="sudhanvasp/ELINA")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("sudhanvasp/ELINA") model = AutoModelForCausalLM.from_pretrained("sudhanvasp/ELINA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use sudhanvasp/ELINA with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sudhanvasp/ELINA" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sudhanvasp/ELINA", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/sudhanvasp/ELINA
- SGLang
How to use sudhanvasp/ELINA 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 "sudhanvasp/ELINA" \ --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": "sudhanvasp/ELINA", "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 "sudhanvasp/ELINA" \ --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": "sudhanvasp/ELINA", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use sudhanvasp/ELINA with Docker Model Runner:
docker model run hf.co/sudhanvasp/ELINA
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("sudhanvasp/ELINA")
model = AutoModelForCausalLM.from_pretrained("sudhanvasp/ELINA", device_map="auto")YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Elina_GreenFin - AI-driven Predictive Analytics for Green Finance
Introduction
Elina_GreenFin is a cutting-edge tool utilizing artificial intelligence to forecast trends and risks in green finance. It provides financial institutions with critical insights, enabling them to make well-informed and sustainable investment decisions.The model is stored on hugging facea https://huggingface.co/sudhanvasp/ELINA
Installation
Before installing Elina_GreenFin, make sure Python is installed on your system.
pip install -r requirements.txt
This command installs all necessary Python packages for Elina_GreenFin.
Usage
Follow these steps to start using Elina_GreenFin:
Clone the Elina_GreenFin repository:
git clone https://github.com/sudhanvasp/Elina_GreenFin.git
cd Elina_GreenFin
Optionally, create a virtual environment:
python -m venv venv
Activate the virtual environment: On Windows:
venv\Scripts\activate
On macOS and Linux:
source venv/bin/activate
Run app.py
python app.py
Access the dashboard at http://localhost:5000 .
Elina_GreenFin offers:
AI-powered analytics for green finance.
Trend and risk prediction.
A user-friendly web dashboard.
Contributing
To contribute:
- Fork the GitHub repository.
- Create a new branch for your feature or fix.
- Make changes and pass all tests.
- Submit a pull request with a detailed description.
License
Elina_GreenFin is under the MIT License. See the LICENSE file for details.
Credits
IITM for hosting Encryption
temenos for sponsoring the event anf giving us this opportunity
Contact
Email: sudhanvasp@gmail.com Elina_GreenFin: Empowering sustainable investment decisions in green finance.
license: mit
- Downloads last month
- 3
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="sudhanvasp/ELINA")