Text Generation
Transformers
Safetensors
Arabic
English
qwen2
text-generation-inference
unsloth
trl
conversational
Eval Results (legacy)
Instructions to use MawaredHR/Mawared_T1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MawaredHR/Mawared_T1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MawaredHR/Mawared_T1") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("MawaredHR/Mawared_T1") model = AutoModelForCausalLM.from_pretrained("MawaredHR/Mawared_T1") 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use MawaredHR/Mawared_T1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MawaredHR/Mawared_T1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MawaredHR/Mawared_T1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MawaredHR/Mawared_T1
- SGLang
How to use MawaredHR/Mawared_T1 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 "MawaredHR/Mawared_T1" \ --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": "MawaredHR/Mawared_T1", "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 "MawaredHR/Mawared_T1" \ --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": "MawaredHR/Mawared_T1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Studio new
How to use MawaredHR/Mawared_T1 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for MawaredHR/Mawared_T1 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for MawaredHR/Mawared_T1 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for MawaredHR/Mawared_T1 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="MawaredHR/Mawared_T1", max_seq_length=2048, ) - Docker Model Runner
How to use MawaredHR/Mawared_T1 with Docker Model Runner:
docker model run hf.co/MawaredHR/Mawared_T1
Adding Evaluation Results
#2
by Daemontatox - opened
README.md
CHANGED
|
@@ -10,6 +10,105 @@ license: apache-2.0
|
|
| 10 |
language:
|
| 11 |
- ar
|
| 12 |
- en
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |

|
| 15 |
# Bilingual Assistant Model Card
|
|
@@ -58,3 +157,18 @@ Plans for extending the model's capabilities include:
|
|
| 58 |
- **Domain-Specific Training:** Specializing the model for industries such as healthcare, legal, and technical writing.
|
| 59 |
- **Optimization for Edge Devices:** Investigating quantization techniques to deploy the model on resource-constrained hardware like mobile devices and IoT platforms.
|
| 60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
language:
|
| 11 |
- ar
|
| 12 |
- en
|
| 13 |
+
model-index:
|
| 14 |
+
- name: MawaredT1
|
| 15 |
+
results:
|
| 16 |
+
- task:
|
| 17 |
+
type: text-generation
|
| 18 |
+
name: Text Generation
|
| 19 |
+
dataset:
|
| 20 |
+
name: IFEval (0-Shot)
|
| 21 |
+
type: wis-k/instruction-following-eval
|
| 22 |
+
split: train
|
| 23 |
+
args:
|
| 24 |
+
num_few_shot: 0
|
| 25 |
+
metrics:
|
| 26 |
+
- type: inst_level_strict_acc and prompt_level_strict_acc
|
| 27 |
+
value: 41.99
|
| 28 |
+
name: averaged accuracy
|
| 29 |
+
source:
|
| 30 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=Daemontatox%2FMawaredT1
|
| 31 |
+
name: Open LLM Leaderboard
|
| 32 |
+
- task:
|
| 33 |
+
type: text-generation
|
| 34 |
+
name: Text Generation
|
| 35 |
+
dataset:
|
| 36 |
+
name: BBH (3-Shot)
|
| 37 |
+
type: SaylorTwift/bbh
|
| 38 |
+
split: test
|
| 39 |
+
args:
|
| 40 |
+
num_few_shot: 3
|
| 41 |
+
metrics:
|
| 42 |
+
- type: acc_norm
|
| 43 |
+
value: 31.9
|
| 44 |
+
name: normalized accuracy
|
| 45 |
+
source:
|
| 46 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=Daemontatox%2FMawaredT1
|
| 47 |
+
name: Open LLM Leaderboard
|
| 48 |
+
- task:
|
| 49 |
+
type: text-generation
|
| 50 |
+
name: Text Generation
|
| 51 |
+
dataset:
|
| 52 |
+
name: MATH Lvl 5 (4-Shot)
|
| 53 |
+
type: lighteval/MATH-Hard
|
| 54 |
+
split: test
|
| 55 |
+
args:
|
| 56 |
+
num_few_shot: 4
|
| 57 |
+
metrics:
|
| 58 |
+
- type: exact_match
|
| 59 |
+
value: 14.58
|
| 60 |
+
name: exact match
|
| 61 |
+
source:
|
| 62 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=Daemontatox%2FMawaredT1
|
| 63 |
+
name: Open LLM Leaderboard
|
| 64 |
+
- task:
|
| 65 |
+
type: text-generation
|
| 66 |
+
name: Text Generation
|
| 67 |
+
dataset:
|
| 68 |
+
name: GPQA (0-shot)
|
| 69 |
+
type: Idavidrein/gpqa
|
| 70 |
+
split: train
|
| 71 |
+
args:
|
| 72 |
+
num_few_shot: 0
|
| 73 |
+
metrics:
|
| 74 |
+
- type: acc_norm
|
| 75 |
+
value: 11.3
|
| 76 |
+
name: acc_norm
|
| 77 |
+
source:
|
| 78 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=Daemontatox%2FMawaredT1
|
| 79 |
+
name: Open LLM Leaderboard
|
| 80 |
+
- task:
|
| 81 |
+
type: text-generation
|
| 82 |
+
name: Text Generation
|
| 83 |
+
dataset:
|
| 84 |
+
name: MuSR (0-shot)
|
| 85 |
+
type: TAUR-Lab/MuSR
|
| 86 |
+
args:
|
| 87 |
+
num_few_shot: 0
|
| 88 |
+
metrics:
|
| 89 |
+
- type: acc_norm
|
| 90 |
+
value: 18.68
|
| 91 |
+
name: acc_norm
|
| 92 |
+
source:
|
| 93 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=Daemontatox%2FMawaredT1
|
| 94 |
+
name: Open LLM Leaderboard
|
| 95 |
+
- task:
|
| 96 |
+
type: text-generation
|
| 97 |
+
name: Text Generation
|
| 98 |
+
dataset:
|
| 99 |
+
name: MMLU-PRO (5-shot)
|
| 100 |
+
type: TIGER-Lab/MMLU-Pro
|
| 101 |
+
config: main
|
| 102 |
+
split: test
|
| 103 |
+
args:
|
| 104 |
+
num_few_shot: 5
|
| 105 |
+
metrics:
|
| 106 |
+
- type: acc
|
| 107 |
+
value: 41.31
|
| 108 |
+
name: accuracy
|
| 109 |
+
source:
|
| 110 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=Daemontatox%2FMawaredT1
|
| 111 |
+
name: Open LLM Leaderboard
|
| 112 |
---
|
| 113 |

|
| 114 |
# Bilingual Assistant Model Card
|
|
|
|
| 157 |
- **Domain-Specific Training:** Specializing the model for industries such as healthcare, legal, and technical writing.
|
| 158 |
- **Optimization for Edge Devices:** Investigating quantization techniques to deploy the model on resource-constrained hardware like mobile devices and IoT platforms.
|
| 159 |
|
| 160 |
+
|
| 161 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)
|
| 162 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/Daemontatox__MawaredT1-details)!
|
| 163 |
+
Summarized results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/contents/viewer/default/train?q=Daemontatox%2FMawaredT1&sort[column]=Average%20%E2%AC%86%EF%B8%8F&sort[direction]=desc)!
|
| 164 |
+
|
| 165 |
+
| Metric |Value (%)|
|
| 166 |
+
|-------------------|--------:|
|
| 167 |
+
|**Average** | 26.63|
|
| 168 |
+
|IFEval (0-Shot) | 41.99|
|
| 169 |
+
|BBH (3-Shot) | 31.90|
|
| 170 |
+
|MATH Lvl 5 (4-Shot)| 14.58|
|
| 171 |
+
|GPQA (0-shot) | 11.30|
|
| 172 |
+
|MuSR (0-shot) | 18.68|
|
| 173 |
+
|MMLU-PRO (5-shot) | 41.31|
|
| 174 |
+
|