Downloads · 30 days
0
ahmedtamseer3/alif-islamic-v4-base
alif-islamic-v4-base is a text generation model from ahmedtamseer3. Use it when you need the model to write or continue text. It is set up for mediapipe. The card lists the license as apache-2.0.
On-device LLM for the Alif Islamic app. This is a Qwen2.5-1.5B-Instruct model packaged as a MediaPipe / LiteRT .task bundle for fully offline inference on mobile devices via fluttergemma.
Downloads · 30 days
0
Access
Public
Updated Jun 26, 2026
Repo size
947 MB
Likes
0
Public
Click a slice to open those files.
.task947 MB · 100%
From the Hugging Face model README
.task)On-device LLM for the Alif Islamic app. This is a Qwen2.5-1.5B-Instruct
model packaged as a MediaPipe / LiteRT .task bundle for fully offline inference on mobile devices via
flutter_gemma.
| File | Size | Description |
|---|---|---|
alif-islamic-v4-base.task | ~903 MB | MediaPipe LLM Inference task bundle (weights + tokenizer + metadata) |
Answering Islamic questions (Quran, Hadith, fiqh) inside the Alif app. The model is scoped to only respond to Islamic topics and to refuse unrelated questions. It runs on-device for the offline path; an online path uses a larger hosted model for higher-quality answers.
⚠️ This model can be wrong on fiqh rulings. Answers are not a substitute for a qualified scholar.
flutter_gemmaimport 'package:flutter_gemma/flutter_gemma.dart';
final modelManager = FlutterGemmaPlugin.instance.modelManager;
// Download the .task bundle (public repo — no token required)
await modelManager.downloadModelFromNetwork(
'https://huggingface.co/ahmedtamseer3/alif-islamic-v4-base/resolve/main/alif-islamic-v4-base.task',
);
final model = await FlutterGemmaPlugin.instance.createModel(
modelType: ModelType.gemmaIt, // generic IT chat template
maxTokens: 1024,
);
final chat = await model.createChat();
await chat.addQueryChunk(Message.text(text: 'What is the meaning of Surah Al-Fatihah?', isUser: true));
final response = await chat.generateChatResponse();
https://huggingface.co/ahmedtamseer3/alif-islamic-v4-base/resolve/main/alif-islamic-v4-base.task
Qwen/Qwen2.5-1.5B-Instruct.task (LiteRT)