How to use from
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 Haamipromax/HamAI-Science-1b
# Run inference directly in the terminal:
llama cli -hf Haamipromax/HamAI-Science-1b
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Haamipromax/HamAI-Science-1b
# Run inference directly in the terminal:
llama cli -hf Haamipromax/HamAI-Science-1b
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 Haamipromax/HamAI-Science-1b
# Run inference directly in the terminal:
./llama-cli -hf Haamipromax/HamAI-Science-1b
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 Haamipromax/HamAI-Science-1b
# Run inference directly in the terminal:
./build/bin/llama-cli -hf Haamipromax/HamAI-Science-1b
Use Docker
docker model run hf.co/Haamipromax/HamAI-Science-1b
Quick Links

HamAI Science Model

A lightweight language model designed to answer science questions clearly and accurately in English.


Overview

HamAI Science Model is trained and fine-tuned on science question–answer datasets. It is built to provide straightforward explanations across topics like physics, chemistry, and biology.


Features

  • Focused on science Q&A
  • Clear and simple English answers
  • Lightweight and efficient
  • Suitable for educational use

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Haamipromax/HamAI-Science-1b"

tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)

input_text = "Explain how quantum entanglement violates classical locality."
inputs = tokenizer(input_text, return_tensors="pt")

outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Training Data

The model was trained on a mix of science question–answer datasets, including:

  • General science questions
  • Educational textbooks
  • Scientific materials

Limitations

  • May produce incorrect answers outside science topics
  • Not suitable for advanced research-level questions

Intended Use

  • Students learning science
  • Simple question answering systems
  • Educational tools and assistants

License

Apache-2.0

Downloads last month
220
Safetensors
Model size
1B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Haamipromax/HamAI-Science-1b

Quantized
(150)
this model
Quantizations
1 model