Instructions to use heommi/fintech_2026 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use heommi/fintech_2026 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="heommi/fintech_2026") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("heommi/fintech_2026") model = AutoModelForCausalLM.from_pretrained("heommi/fintech_2026") 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 heommi/fintech_2026 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="heommi/fintech_2026", filename="kopo_2026_gemma4b_heomingi.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use heommi/fintech_2026 with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf heommi/fintech_2026 # Run inference directly in the terminal: llama-cli -hf heommi/fintech_2026
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf heommi/fintech_2026 # Run inference directly in the terminal: llama-cli -hf heommi/fintech_2026
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 heommi/fintech_2026 # Run inference directly in the terminal: ./llama-cli -hf heommi/fintech_2026
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 heommi/fintech_2026 # Run inference directly in the terminal: ./build/bin/llama-cli -hf heommi/fintech_2026
Use Docker
docker model run hf.co/heommi/fintech_2026
- LM Studio
- Jan
- vLLM
How to use heommi/fintech_2026 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "heommi/fintech_2026" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "heommi/fintech_2026", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/heommi/fintech_2026
- SGLang
How to use heommi/fintech_2026 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 "heommi/fintech_2026" \ --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": "heommi/fintech_2026", "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 "heommi/fintech_2026" \ --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": "heommi/fintech_2026", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use heommi/fintech_2026 with Ollama:
ollama run hf.co/heommi/fintech_2026
- Unsloth Studio
How to use heommi/fintech_2026 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 heommi/fintech_2026 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 heommi/fintech_2026 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for heommi/fintech_2026 to start chatting
- Docker Model Runner
How to use heommi/fintech_2026 with Docker Model Runner:
docker model run hf.co/heommi/fintech_2026
- Lemonade
How to use heommi/fintech_2026 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull heommi/fintech_2026
Run and chat with the model
lemonade run user.fintech_2026-{{QUANT_TAG}}List all available models
lemonade list
Upload Gemma3ForConditionalGeneration
Browse files- config.json +54 -29
- generation_config.json +0 -2
- model-00001-of-00002.safetensors +2 -2
- model-00002-of-00002.safetensors +2 -2
- model.safetensors.index.json +0 -0
config.json
CHANGED
|
@@ -1,37 +1,62 @@
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
-
"
|
| 4 |
],
|
| 5 |
-
"
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
"
|
| 12 |
-
"head_dim": 256,
|
| 13 |
-
"hidden_activation": "gelu_pytorch_tanh",
|
| 14 |
-
"hidden_size": 2560,
|
| 15 |
"initializer_range": 0.02,
|
| 16 |
-
"
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
"
|
| 28 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
},
|
| 30 |
-
"rope_theta": 1000000.0,
|
| 31 |
-
"sliding_window": 1024,
|
| 32 |
-
"sliding_window_pattern": 6,
|
| 33 |
"torch_dtype": "bfloat16",
|
| 34 |
"transformers_version": "4.51.3",
|
| 35 |
-
"
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
+
"Gemma3ForConditionalGeneration"
|
| 4 |
],
|
| 5 |
+
"boi_token_index": 255999,
|
| 6 |
+
"eoi_token_index": 256000,
|
| 7 |
+
"eos_token_id": [
|
| 8 |
+
1,
|
| 9 |
+
106
|
| 10 |
+
],
|
| 11 |
+
"image_token_index": 262144,
|
|
|
|
|
|
|
|
|
|
| 12 |
"initializer_range": 0.02,
|
| 13 |
+
"mm_tokens_per_image": 256,
|
| 14 |
+
"model_type": "gemma3",
|
| 15 |
+
"text_config": {
|
| 16 |
+
"attention_bias": false,
|
| 17 |
+
"attention_dropout": 0.0,
|
| 18 |
+
"attn_logit_softcapping": null,
|
| 19 |
+
"cache_implementation": "hybrid",
|
| 20 |
+
"final_logit_softcapping": null,
|
| 21 |
+
"head_dim": 256,
|
| 22 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 23 |
+
"hidden_size": 2560,
|
| 24 |
+
"initializer_range": 0.02,
|
| 25 |
+
"intermediate_size": 10240,
|
| 26 |
+
"max_position_embeddings": 131072,
|
| 27 |
+
"model_type": "gemma3_text",
|
| 28 |
+
"num_attention_heads": 8,
|
| 29 |
+
"num_hidden_layers": 34,
|
| 30 |
+
"num_key_value_heads": 4,
|
| 31 |
+
"query_pre_attn_scalar": 256,
|
| 32 |
+
"rms_norm_eps": 1e-06,
|
| 33 |
+
"rope_local_base_freq": 10000.0,
|
| 34 |
+
"rope_scaling": {
|
| 35 |
+
"factor": 8.0,
|
| 36 |
+
"rope_type": "linear"
|
| 37 |
+
},
|
| 38 |
+
"rope_theta": 1000000.0,
|
| 39 |
+
"sliding_window": 1024,
|
| 40 |
+
"sliding_window_pattern": 6,
|
| 41 |
+
"torch_dtype": "bfloat16",
|
| 42 |
+
"use_cache": true,
|
| 43 |
+
"vocab_size": 262208
|
| 44 |
},
|
|
|
|
|
|
|
|
|
|
| 45 |
"torch_dtype": "bfloat16",
|
| 46 |
"transformers_version": "4.51.3",
|
| 47 |
+
"vision_config": {
|
| 48 |
+
"attention_dropout": 0.0,
|
| 49 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 50 |
+
"hidden_size": 1152,
|
| 51 |
+
"image_size": 896,
|
| 52 |
+
"intermediate_size": 4304,
|
| 53 |
+
"layer_norm_eps": 1e-06,
|
| 54 |
+
"model_type": "siglip_vision_model",
|
| 55 |
+
"num_attention_heads": 16,
|
| 56 |
+
"num_channels": 3,
|
| 57 |
+
"num_hidden_layers": 27,
|
| 58 |
+
"patch_size": 14,
|
| 59 |
+
"torch_dtype": "bfloat16",
|
| 60 |
+
"vision_use_head": false
|
| 61 |
+
}
|
| 62 |
}
|
generation_config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"attn_implementation": "eager",
|
| 3 |
"bos_token_id": 2,
|
| 4 |
"cache_implementation": "hybrid",
|
| 5 |
"do_sample": true,
|
|
@@ -8,7 +7,6 @@
|
|
| 8 |
106
|
| 9 |
],
|
| 10 |
"pad_token_id": 0,
|
| 11 |
-
"return_dict": true,
|
| 12 |
"top_k": 64,
|
| 13 |
"top_p": 0.95,
|
| 14 |
"transformers_version": "4.51.3"
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"bos_token_id": 2,
|
| 3 |
"cache_implementation": "hybrid",
|
| 4 |
"do_sample": true,
|
|
|
|
| 7 |
106
|
| 8 |
],
|
| 9 |
"pad_token_id": 0,
|
|
|
|
| 10 |
"top_k": 64,
|
| 11 |
"top_p": 0.95,
|
| 12 |
"transformers_version": "4.51.3"
|
model-00001-of-00002.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:80f9e79cdaec8b6d16dc07cc29d1651eb9f18d4a229e456febe1d746c58214ea
|
| 3 |
+
size 4961251752
|
model-00002-of-00002.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:458dcaaca899cd554034f9986c8c7b3d7a6e1dee60dee4daa655e9fd7be5ef8b
|
| 3 |
+
size 3639026128
|
model.safetensors.index.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|