Downloads · 30 days
26
17% of all-time downloads
Tushe/AMINI-ASSISTANT-GGUF-F16
AMINI-ASSISTANT-GGUF-F16 is a machine learning model from Tushe. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for gguf. The card lists the license as other.
Downloads · 30 days
26
17% of all-time downloads
All-time downloads
157
Public
Repo size
16.1 GB
Likes
0
Public
Click a slice to open those files.
.gguf16.1 GB · 100%
From the Hugging Face model README
Quantised & packaged by Tushe – The Foundry Research Team
We are Tushe – The Foundry Research Team, and we are building a bare-metal inference engine for African language AI on constrained hardware.
This repository is part of our open-source model-baked-on-metal-inference-engine package — a lightweight inference runtime we are releasing as:
| Format | Use case |
|---|---|
🐍 Python library (pip install tushe-bare-metal) | Server, Raspberry Pi, edge Linux |
📦 npm package (npm install tushe-bare-metal) | Node.js apps, Electron, React Native |
| ⚙️ Compiled C executable | Bare-metal embedded, IoT, MCUs |
Every developer can drop this into their app and run offline African language inference right away — no internet, no cloud, no GPU required.
Note: 💡 This is the F16 (full precision) version. It is best used for benchmarking, research, and producing further quantisations. For deployment on phones and edge devices, use the lighter Q4_K_M version (4.5 GB, runs on 8 GB RAM).💡 This is the F16 (full precision) version. It is best used for benchmarking, research, and producing further quantisations. For deployment on phones and edge devices, use the lighter Q4_K_M version (4.5 GB, runs on 8 GB RAM).
Africa has some of the most resource-constrained connectivity environments in the world. Millions of people — rural doctors, farmers, teachers, students, traders, and tourists — need intelligent language tools but have no reliable internet access.
We took N-ATLaS, the Llama 3 8B model fine-tuned on Nigerian and African languages by Awarri Technologies in collaboration with NCAIR, and quantised it with immense optimizations to run on low-resource hardware including:
| Domain | Description |
|---|---|
| 🏥 Rural & Edge Medical | Doctors and health workers in remote clinics — symptom triage, patient communication, drug info in local languages |
| 🌾 Farmers Support | Modern and rural farmers — crop advice, weather interpretation, market prices, pest identification in Hausa, Igbo, Yoruba |
| 🏫 Education | Teachers and students in areas without internet — explanations, tutoring, literacy support in local languages |
| 🛒 Traders & Markets | Cross-language communication for traders and informal markets across Africa |
| ✈️ Tourists | Real-time offline translation across African languages |
This GGUF is derived from NCAIR1/N-ATLaS — An open-source multilingual LLM, built on Llama 3 8B, fine-tuned by Awarri Technologies in collaboration with the National Centre for Artificial Intelligence & Robotics (NCAIR) and the Federal Ministry of Communications, Innovation and Digital Economy of Nigeria.
N-ATLaS was trained on approximately ~392 million multilingual tokens spanning English, Hausa, Igbo, and Yoruba.
We did not change the weights. We quantised the original model and build a highly optimized efficient inference engine to enable edge deployment.
| File | Quant | Size | Min RAM |
|---|---|---|---|
AMINI-F16.gguf | F16 | ~16 GB | 25-32 GB |
F16 is our recommended quant for edge deployment — best balance of accuracy, speed, and memory. Runs on a phone with 8GB RAM or a Raspberry Pi 5.
llama-cpp-pythonpip install llama-cpp-python
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id = "AlaminI/AMINI-ASSISTANT-GGUF-F16",
filename = "*.gguf",
n_ctx = 2048,
n_gpu_layers = 0, # 0 = CPU only (edge/offline), -1 = full GPU
verbose = False,
)
English — rural medical support:
output = llm(
"A patient presents with fever, headache, and joint pain for 3 days. What are the possible diagnoses and first-line management?",
max_tokens = 256,
temperature = 0.7,
echo = False,
)
print(output["choices"][0]["text"])
Hausa — farmer support:
output = llm(
"Gonar hatsi na da kwari da yawa. Menene zan iya yi don kare amfanin gona na?",
max_tokens = 256,
temperature = 0.7,
echo = False,
)
print(output["choices"][0]["text"])
Yoruba — student support:
output = llm(
"Ṣe alaye ohun ti photosynthesis jẹ ni ede Yoruba fun ọmọ ile-iwe.",
max_tokens = 256,
temperature = 0.7,
echo = False,
)
print(output["choices"][0]["text"])
Igbo — trader/market support:
output = llm(
"Gwa m ọnụ ahịa nke ọka ugbu a n'ahịa Onitsha.",
max_tokens = 256,
temperature = 0.7,
echo = False,
)
print(output["choices"][0]["text"])
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id = "AlaminI/AMINI-ASSISTANT-GGUF-F16",
filename = "*.gguf",
n_ctx = 2048,
n_gpu_layers = 0,
verbose = False,
)
response = llm.create_chat_completion(
messages = [
{
"role": "system",
"content": (
"You are an offline African language assistant running on a local device. "
"You support English, Hausa, Igbo, and Yoruba. "
"Respond in the same language the user writes in. "
"Be concise — this device has limited resources."
)
},
{
"role": "user",
"content": "Translate 'The child has a high fever and needs immediate care' into Hausa and Yoruba."
}
],
max_tokens = 256,
temperature = 0.7,
)
print(response["choices"][0]["message"]["content"])
stream = llm.create_chat_completion(
messages = [
{"role": "user", "content": "Explain crop rotation to a farmer in Hausa."}
],
max_tokens = 256,
temperature = 0.7,
stream = True,
)
for chunk in stream:
delta = chunk["choices"][0]["delta"].get("content", "")
print(delta, end="", flush=True)
node-llama-cppnpm install node-llama-cpp
import { getLlama, LlamaChatSession } from "node-llama-cpp";
import path from "path";
const llama = await getLlama();
const model = await llama.loadModel({ modelPath: path.join("models", "AMINI-F16.gguf") });
const context = await model.createContext({ contextSize: 2048 });
const session = new LlamaChatSession({ contextSequence: context.getSequence() });
const response = await session.prompt(
"A farmer asks: my tomatoes are wilting despite regular watering. What could be wrong?",
{ maxTokens: 256 }
);
console.log(response);
# Download
huggingface-cli download AlaminI/AMINI-ASSISTANT-GGUF-F16 \
AMINI-F16.gguf --local-dir ./models/
# Run on CPU only (edge device)
./llama-cli -m ./models/AMINI-F16.gguf \
--ctx-size 2048 \
--threads 4 \
--temp 0.7 \
-i -r "User:" \
-p "You are an offline assistant for African languages. Respond in the user's language.\nUser:"
ollama run hf.co/AlaminI/AMINI-ASSISTANT-GGUF-F16
| Parameter | Value | Notes |
|---|---|---|
n_ctx | 512–1024 | Reduce on very low RAM devices |
n_gpu_layers | 0 | CPU-only for phones/IoT |
n_threads | 4 | Match your device's core count |
temperature | 0.7 | Balanced responses |
max_tokens | 128–256 | Keep short for low-latency UX |
repeat_penalty | 1.1 | Reduces looping on edge |
| Repo | Description |
|---|---|
| NCAIR1/N-ATLaS | Original model by Awarri / NCAIR |
| AlaminI/AMINI-ASSISTANT-GGUF-F16 | F16 GGUF (full precision, for re-quantising) |
This GGUF quantisation is an independent contribution by Tushe – The Foundry Research Team, We enncorage developers to refer to the N-ATLaS licence. But our Inference engine ca be used for any mean, commercial and beyond any user Number. We will rellease models traind by us to give developers fullly open-source models and inference at edge