Instructions to use ksjpswaroop/energylm-sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ksjpswaroop/energylm-sft with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ksjpswaroop/energylm-sft # Run inference directly in the terminal: llama cli -hf ksjpswaroop/energylm-sft
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ksjpswaroop/energylm-sft # Run inference directly in the terminal: llama cli -hf ksjpswaroop/energylm-sft
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 ksjpswaroop/energylm-sft # Run inference directly in the terminal: ./llama-cli -hf ksjpswaroop/energylm-sft
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 ksjpswaroop/energylm-sft # Run inference directly in the terminal: ./build/bin/llama-cli -hf ksjpswaroop/energylm-sft
Use Docker
docker model run hf.co/ksjpswaroop/energylm-sft
- LM Studio
- Jan
- Ollama
How to use ksjpswaroop/energylm-sft with Ollama:
ollama run hf.co/ksjpswaroop/energylm-sft
- Unsloth Studio
How to use ksjpswaroop/energylm-sft 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 ksjpswaroop/energylm-sft 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 ksjpswaroop/energylm-sft to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ksjpswaroop/energylm-sft to start chatting
- Atomic Chat new
- Docker Model Runner
How to use ksjpswaroop/energylm-sft with Docker Model Runner:
docker model run hf.co/ksjpswaroop/energylm-sft
- Lemonade
How to use ksjpswaroop/energylm-sft with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ksjpswaroop/energylm-sft
Run and chat with the model
lemonade run user.energylm-sft-{{QUANT_TAG}}List all available models
lemonade list
EnergyLM-SFT
EnergyLM 3B fine-tuned with supervised fine-tuning (SFT) on identity and energy-domain data.
Model
- Architecture: EnergyLM (3B params, 36 layers, 2048 hidden, GQA)
- Base: EOS-Base pretrained on FineWeb-edu
- Fine-tuning: SFT on Safire/EnergyLM identity and conversational data
Usage
HuggingFace (Transformers)
Install the EnergyLM package and load:
# Requires: pip install transformers
# Clone this repo for model registration
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("ksjpswaroop/energylm-sft")
tokenizer = AutoTokenizer.from_pretrained("ksjpswaroop/energylm-sft")
llama.cpp / GGUF
Download the GGUF file (if available) and run with llama.cpp or llama-cpp-python:
pip install llama-cpp-python
python -c "
from llama_cpp import Llama
llm = Llama(model_path='energylm-sft.gguf', n_ctx=4096)
prompt = '<|user|>\nWho are you?\n<|assistant|>\n'
out = llm(prompt, max_tokens=256, stop=['<|end_of_text|>', '<|user|>'])
print(out['choices'][0]['text'])
"
Identity
This model identifies as EOS-chat / EnergyLM, developed by Safire's AI team, with a focus on energy sector applications.
License
Apache 2.0
- Downloads last month
- 12
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support