Emhotob
is a family of small Arabic language models pretrained
from scratch
on
Arabic web text. This is the
5M
rung of the ladder (~5.08M parameters),
part of a scaling series ranging from 500K to 25M parameters that all share the same
tokenizer, context length, and training recipe.
⚠️ These are tiny, research-scale models trained on a limited token budget. They are
intended for scaling-law experiments, education, and Arabic NLP research —
not
for
production use.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "oddadmix/Emhotob-5M"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16)
prompt = "الذكاء الاصطناعي هو"
inputs = tok(prompt, return_tensors="pt")
out = model.generate(**inputs, max_new_tokens=50, do_sample=True, top_p=0.9, temperature=0.8)
print(tok.decode(out[0], skip_special_tokens=True))
Limitations
Given its size and limited pretraining budget, Emhotob-5M has a narrow capability
range and will produce factually unreliable and sometimes incoherent text. It has not been
instruction-tuned or aligned, and no safety filtering has been applied. Use accordingly.
Emhotob-5M huggingface.co is an AI model on huggingface.co that provides Emhotob-5M's model effect (), which can be used instantly with this oddadmix Emhotob-5M model. huggingface.co supports a free trial of the Emhotob-5M model, and also provides paid use of the Emhotob-5M. Support call Emhotob-5M model through api, including Node.js, Python, http.
Emhotob-5M huggingface.co is an online trial and call api platform, which integrates Emhotob-5M's modeling effects, including api services, and provides a free online trial of Emhotob-5M, you can try Emhotob-5M online for free by clicking the link below.
oddadmix Emhotob-5M online free url in huggingface.co:
Emhotob-5M is an open source model from GitHub that offers a free installation service, and any user can find Emhotob-5M on GitHub to install. At the same time, huggingface.co provides the effect of Emhotob-5M install, users can directly use Emhotob-5M installed effect in huggingface.co for debugging and trial. It also supports api for free installation.