Text Generation
Transformers
Safetensors
Arabic
English
qwen2
sumerian
conversational
text-generation-inference
Run this model with HF Jobs
Run DesignXHub/Sumerian-v2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/DesignXHub/Sumerian-v2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/DesignXHub/Sumerian-v2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/DesignXHub/Sumerian-v2. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/DesignXHub/Sumerian-v2. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use DesignXHub/Sumerian-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DesignXHub/Sumerian-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DesignXHub/Sumerian-v2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DesignXHub/Sumerian-v2") model = AutoModelForCausalLM.from_pretrained("DesignXHub/Sumerian-v2", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DesignXHub/Sumerian-v2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DesignXHub/Sumerian-v2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DesignXHub/Sumerian-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DesignXHub/Sumerian-v2
- SGLang
How to use DesignXHub/Sumerian-v2 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "DesignXHub/Sumerian-v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DesignXHub/Sumerian-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "DesignXHub/Sumerian-v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DesignXHub/Sumerian-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DesignXHub/Sumerian-v2 with Docker Model Runner:
docker model run hf.co/DesignXHub/Sumerian-v2
|
Download README.md from DesignXHub/Sumerian-v2: direct link, hf CLI and curl.
- Browser
- Download file 2.66 kB
-
https://huggingface.co/DesignXHub/Sumerian-v2/resolve/main/README.md
- Command line
-
hf download hf://DesignXHub/Sumerian-v2/README.md
-
curl -L -o README.md https://huggingface.co/DesignXHub/Sumerian-v2/resolve/main/README.md
2.66 kB
| license: other | |
| license_name: qwen-research | |
| license_link: https://huggingface.co/Qwen/Qwen2.5-3B-Instruct/blob/main/LICENSE | |
| base_model: Qwen/Qwen2.5-3B-Instruct | |
| library_name: transformers | |
| pipeline_tag: text-generation | |
| language: | |
| - ar | |
| - en | |
| tags: | |
| - sumerian | |
| - qwen2 | |
| # Sumerian-v2 ๐ ๐ ๐ ด๐ | |
| <img src="https://huggingface.co/DesignXHub/Sumerian-v2/resolve/main/author.jpg" width="100%" alt="Ammar AlRubayie" /> | |
| <sub><i>Ammar AlRubayie โ above the clouds, Dhofar, Oman</i></sub> | |
| **Creator / Developer:** Ammar AlRubayie โ ุนู ุงุฑ ุงูุฑุจูุนู | |
| **Organization:** DesignXHub | |
| **Background:** Marine Engineer & Naval Architect โ independent AI research | |
| ## Model Description | |
| Sumerian-v2 is a 3.09B-parameter bilingual (Arabic / English) causal language | |
| model for instruction following and conversation. It loads as a standard | |
| `Qwen2ForCausalLM` and requires no custom code. | |
| | Property | Value | | |
| |---|---| | |
| | Parameters | 3,085,938,688 | | |
| | Hidden size | 2048 | | |
| | Layers | 36 | | |
| | Attention heads | 16 (2 KV) | | |
| | Vocabulary | 151,936 | | |
| | Precision | BF16 | | |
| | Context length | 32,768 | | |
| ## How to Use | |
| ```python | |
| from transformers import AutoModelForCausalLM, AutoTokenizer | |
| model_id = "DesignXHub/Sumerian-v2" | |
| tok = AutoTokenizer.from_pretrained(model_id) | |
| model = AutoModelForCausalLM.from_pretrained( | |
| model_id, dtype="bfloat16", device_map="auto" | |
| ) | |
| messages = [{"role": "user", "content": "ู ู ุตูุนูุ"}] | |
| text = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True) | |
| inputs = tok(text, return_tensors="pt").to(model.device) | |
| out = model.generate(**inputs, max_new_tokens=256, temperature=0.7, top_p=0.8) | |
| print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True)) | |
| ``` | |
| ### Recommended generation settings | |
| | Parameter | Value | | |
| |---|---| | |
| | temperature | 0.7 | | |
| | top_p | 0.8 | | |
| | top_k | 20 | | |
| | repetition_penalty | 1.05 | | |
| The chat template follows the ChatML format (`<|im_start|>` / `<|im_end|>`) | |
| and is applied automatically by `apply_chat_template`. | |
| ## Limitations | |
| - Mathematical and multi-step reasoning are weaker than general conversation. | |
| - Not evaluated on standard public benchmarks. | |
| - Research use only โ see the license below. | |
| ## Citation | |
| ```bibtex | |
| @misc{alrubayie2026sumerian, | |
| title = {Sumerian-v2}, | |
| author = {Ammar AlRubayie}, | |
| year = {2026}, | |
| publisher = {Hugging Face}, | |
| howpublished = {\url{https://huggingface.co/DesignXHub/Sumerian-v2}} | |
| } | |
| ``` | |
| ## License | |
| Derived from **Qwen2.5-3B-Instruct**, released under the Qwen Research License. | |
| Those terms apply to this model, including its restriction to non-commercial | |
| research use. | |