Instructions to use EREN121232/FINSTROM-AI-V1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EREN121232/FINSTROM-AI-V1.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="EREN121232/FINSTROM-AI-V1.5") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("EREN121232/FINSTROM-AI-V1.5") model = AutoModelForCausalLM.from_pretrained("EREN121232/FINSTROM-AI-V1.5") 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - llama-cpp-python
How to use EREN121232/FINSTROM-AI-V1.5 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="EREN121232/FINSTROM-AI-V1.5", filename="finstrom-ai-v1.f16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use EREN121232/FINSTROM-AI-V1.5 with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf EREN121232/FINSTROM-AI-V1.5:F16 # Run inference directly in the terminal: llama-cli -hf EREN121232/FINSTROM-AI-V1.5:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf EREN121232/FINSTROM-AI-V1.5:F16 # Run inference directly in the terminal: llama-cli -hf EREN121232/FINSTROM-AI-V1.5:F16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf EREN121232/FINSTROM-AI-V1.5:F16 # Run inference directly in the terminal: ./llama-cli -hf EREN121232/FINSTROM-AI-V1.5:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf EREN121232/FINSTROM-AI-V1.5:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf EREN121232/FINSTROM-AI-V1.5:F16
Use Docker
docker model run hf.co/EREN121232/FINSTROM-AI-V1.5:F16
- LM Studio
- Jan
- vLLM
How to use EREN121232/FINSTROM-AI-V1.5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "EREN121232/FINSTROM-AI-V1.5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EREN121232/FINSTROM-AI-V1.5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/EREN121232/FINSTROM-AI-V1.5:F16
- SGLang
How to use EREN121232/FINSTROM-AI-V1.5 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 "EREN121232/FINSTROM-AI-V1.5" \ --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": "EREN121232/FINSTROM-AI-V1.5", "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 "EREN121232/FINSTROM-AI-V1.5" \ --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": "EREN121232/FINSTROM-AI-V1.5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use EREN121232/FINSTROM-AI-V1.5 with Ollama:
ollama run hf.co/EREN121232/FINSTROM-AI-V1.5:F16
- Unsloth Studio new
How to use EREN121232/FINSTROM-AI-V1.5 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 EREN121232/FINSTROM-AI-V1.5 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 EREN121232/FINSTROM-AI-V1.5 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for EREN121232/FINSTROM-AI-V1.5 to start chatting
- Docker Model Runner
How to use EREN121232/FINSTROM-AI-V1.5 with Docker Model Runner:
docker model run hf.co/EREN121232/FINSTROM-AI-V1.5:F16
- Lemonade
How to use EREN121232/FINSTROM-AI-V1.5 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull EREN121232/FINSTROM-AI-V1.5:F16
Run and chat with the model
lemonade run user.FINSTROM-AI-V1.5-F16
List all available models
lemonade list
FINSTROM-AI-V1.5
FINSTROM-AI-V1.5 is a Qwen2-style causal language model with both Transformers weights and a GGUF build for local inference.
Files
model.safetensors- Transformers model weights.finstrom-ai-v1.f16.gguf- GGUF build for Ollama, llama.cpp, LM Studio, and similar runtimes.tokenizer.json,tokenizer_config.json,chat_template.jinja- tokenizer and chat formatting files.
Run With Ollama
If Ollama is installed and on your PATH:
ollama run hf.co/EREN121232/FINSTROM-AI-V1.5:finstrom-ai-v1.f16.gguf
On Windows, if ollama is installed but not on PATH:
& "$env:LOCALAPPDATA\Programs\Ollama\ollama.exe" run hf.co/EREN121232/FINSTROM-AI-V1.5:finstrom-ai-v1.f16.gguf
You can also pull it first:
ollama pull hf.co/EREN121232/FINSTROM-AI-V1.5:finstrom-ai-v1.f16.gguf
After pulling, you can create a shorter local alias:
hf download EREN121232/FINSTROM-AI-V1.5 Modelfile.hf --local-dir finstrom-ai-v1.5
ollama create finstrom-ai-v1.5 -f finstrom-ai-v1.5/Modelfile.hf
ollama run finstrom-ai-v1.5
Local Modelfile Import
Download the GGUF and Modelfile, then create a shorter local model name:
hf download EREN121232/FINSTROM-AI-V1.5 finstrom-ai-v1.f16.gguf Modelfile --local-dir finstrom-ai-v1.5
cd finstrom-ai-v1.5
ollama create finstrom-ai-v1.5 -f Modelfile
ollama run finstrom-ai-v1.5
The included Modelfile keeps the default context practical for local machines.
The model config advertises a larger maximum context, so increase num_ctx only
if your hardware has enough memory.
Use In Apps
Ollama serves a local API at http://localhost:11434 after the Ollama app or
daemon is running.
Python
import requests
response = requests.post(
"http://localhost:11434/api/generate",
json={
"model": "finstrom-ai-v1.5",
"prompt": "Hello FINSTROM, introduce yourself.",
"stream": False,
},
timeout=120,
)
print(response.json()["response"])
JavaScript
const response = await fetch("http://localhost:11434/api/generate", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
model: "finstrom-ai-v1.5",
prompt: "Hello FINSTROM, introduce yourself.",
stream: false
})
});
const data = await response.json();
console.log(data.response);
OpenAI-Compatible Local Client
from openai import OpenAI
client = OpenAI(
base_url="http://localhost:11434/v1",
api_key="ollama",
)
completion = client.chat.completions.create(
model="finstrom-ai-v1.5",
messages=[
{"role": "user", "content": "Write one short test response."}
],
)
print(completion.choices[0].message.content)
Notes
- The GGUF file is F16, so it is higher quality but larger than a Q4/Q5 quantized build.
- If local memory is tight, publish an additional quantized GGUF such as
Q4_K_M. - For production apps, use the Ollama API model string exactly as shown above or create a local alias with the included
Modelfile.
- Downloads last month
- 82