Text Generation
Transformers
Safetensors
Arabic
English
qwen3_moe
rawda-ai
islamic-ai
islam
sunnah
quran
arabic
conversational
Instructions to use abdallah3id/rawda-coder-30b-a3b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use abdallah3id/rawda-coder-30b-a3b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="abdallah3id/rawda-coder-30b-a3b") 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("abdallah3id/rawda-coder-30b-a3b") model = AutoModelForCausalLM.from_pretrained("abdallah3id/rawda-coder-30b-a3b", 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 abdallah3id/rawda-coder-30b-a3b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "abdallah3id/rawda-coder-30b-a3b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "abdallah3id/rawda-coder-30b-a3b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/abdallah3id/rawda-coder-30b-a3b
- SGLang
How to use abdallah3id/rawda-coder-30b-a3b 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 "abdallah3id/rawda-coder-30b-a3b" \ --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": "abdallah3id/rawda-coder-30b-a3b", "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 "abdallah3id/rawda-coder-30b-a3b" \ --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": "abdallah3id/rawda-coder-30b-a3b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use abdallah3id/rawda-coder-30b-a3b with Docker Model Runner:
docker model run hf.co/abdallah3id/rawda-coder-30b-a3b
Update LICENSE
Browse files
LICENSE
CHANGED
|
@@ -1,202 +1,103 @@
|
|
|
|
|
|
|
|
| 1 |
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
that You distribute, all copyright, patent, trademark, and
|
| 103 |
-
attribution notices from the Source form of the Work,
|
| 104 |
-
excluding those notices that do not pertain to any part of
|
| 105 |
-
the Derivative Works; and
|
| 106 |
-
|
| 107 |
-
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
-
distribution, then any Derivative Works that You distribute must
|
| 109 |
-
include a readable copy of the attribution notices contained
|
| 110 |
-
within such NOTICE file, excluding those notices that do not
|
| 111 |
-
pertain to any part of the Derivative Works, in at least one
|
| 112 |
-
of the following places: within a NOTICE text file distributed
|
| 113 |
-
as part of the Derivative Works; within the Source form or
|
| 114 |
-
documentation, if provided along with the Derivative Works; or,
|
| 115 |
-
within a display generated by the Derivative Works, if and
|
| 116 |
-
wherever such third-party notices normally appear. The contents
|
| 117 |
-
of the NOTICE file are for informational purposes only and
|
| 118 |
-
do not modify the License. You may add Your own attribution
|
| 119 |
-
notices within Derivative Works that You distribute, alongside
|
| 120 |
-
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
-
that such additional attribution notices cannot be construed
|
| 122 |
-
as modifying the License.
|
| 123 |
-
|
| 124 |
-
You may add Your own copyright statement to Your modifications and
|
| 125 |
-
may provide additional or different license terms and conditions
|
| 126 |
-
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
-
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
-
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
-
the conditions stated in this License.
|
| 130 |
-
|
| 131 |
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
-
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
-
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
-
this License, without any additional terms or conditions.
|
| 135 |
-
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
-
the terms of any separate license agreement you may have executed
|
| 137 |
-
with Licensor regarding such Contributions.
|
| 138 |
-
|
| 139 |
-
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
-
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
-
except as required for reasonable and customary use in describing the
|
| 142 |
-
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
-
|
| 144 |
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
-
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
-
implied, including, without limitation, any warranties or conditions
|
| 149 |
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
-
appropriateness of using or redistributing the Work and assume any
|
| 152 |
-
risks associated with Your exercise of permissions under this License.
|
| 153 |
-
|
| 154 |
-
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
-
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
-
unless required by applicable law (such as deliberate and grossly
|
| 157 |
-
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
-
liable to You for damages, including any direct, indirect, special,
|
| 159 |
-
incidental, or consequential damages of any character arising as a
|
| 160 |
-
result of this License or out of the use or inability to use the
|
| 161 |
-
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
-
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
-
other commercial damages or losses), even if such Contributor
|
| 164 |
-
has been advised of the possibility of such damages.
|
| 165 |
-
|
| 166 |
-
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
-
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
-
or other liability obligations and/or rights consistent with this
|
| 170 |
-
License. However, in accepting such obligations, You may act only
|
| 171 |
-
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
-
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
-
defend, and hold each Contributor harmless for any liability
|
| 174 |
-
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
-
of your accepting any such warranty or additional liability.
|
| 176 |
-
|
| 177 |
-
END OF TERMS AND CONDITIONS
|
| 178 |
-
|
| 179 |
-
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
-
|
| 181 |
-
To apply the Apache License to your work, attach the following
|
| 182 |
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
-
replaced with your own identifying information. (Don't include
|
| 184 |
-
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
-
comment syntax for the file format. We also recommend that a
|
| 186 |
-
file or class name and description of purpose be included on the
|
| 187 |
-
same "printed page" as the copyright notice for easier
|
| 188 |
-
identification within third-party archives.
|
| 189 |
-
|
| 190 |
-
Copyright 2024 Alibaba Cloud
|
| 191 |
-
|
| 192 |
-
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
-
you may not use this file except in compliance with the License.
|
| 194 |
-
You may obtain a copy of the License at
|
| 195 |
-
|
| 196 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
-
|
| 198 |
-
Unless required by applicable law or agreed to in writing, software
|
| 199 |
-
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
-
See the License for the specific language governing permissions and
|
| 202 |
-
limitations under the License.
|
|
|
|
| 1 |
+
RAWDA AI LICENSE
|
| 2 |
+
Version 1.0
|
| 3 |
|
| 4 |
+
Copyright (c) 2026 Abdalla Eid
|
| 5 |
+
RAWDA AI
|
| 6 |
+
All rights reserved.
|
| 7 |
+
|
| 8 |
+
1. OWNERSHIP
|
| 9 |
+
|
| 10 |
+
RAWDA AI, including its original branding, documentation,
|
| 11 |
+
configuration, prompts, datasets, fine-tuning work, adapters,
|
| 12 |
+
software, and other original modifications created specifically
|
| 13 |
+
for the RAWDA AI project, are owned by Abdalla Eid to the extent
|
| 14 |
+
that such materials are original works owned by him.
|
| 15 |
+
|
| 16 |
+
This license does not claim ownership of third-party components
|
| 17 |
+
or upstream works.
|
| 18 |
+
|
| 19 |
+
2. PERMITTED USE
|
| 20 |
+
|
| 21 |
+
Subject to this License, you may use RAWDA AI materials for:
|
| 22 |
+
|
| 23 |
+
- Personal use
|
| 24 |
+
- Educational use
|
| 25 |
+
- Academic research
|
| 26 |
+
- Islamic education and research
|
| 27 |
+
- Non-commercial applications
|
| 28 |
+
- Evaluation and experimentation
|
| 29 |
+
|
| 30 |
+
3. ATTRIBUTION
|
| 31 |
+
|
| 32 |
+
When redistributing RAWDA AI original materials or substantial
|
| 33 |
+
modifications of them, the following attribution must be retained:
|
| 34 |
+
|
| 35 |
+
"RAWDA AI — Created and maintained by Abdalla Eid."
|
| 36 |
+
|
| 37 |
+
4. MODIFICATIONS
|
| 38 |
+
|
| 39 |
+
You may modify RAWDA AI materials where permitted by applicable
|
| 40 |
+
third-party licenses.
|
| 41 |
+
|
| 42 |
+
Modified versions must not falsely claim to be an official
|
| 43 |
+
RAWDA AI release.
|
| 44 |
+
|
| 45 |
+
5. COMMERCIAL USE
|
| 46 |
+
|
| 47 |
+
Commercial use of original RAWDA AI materials is not granted
|
| 48 |
+
under this license unless separately authorized in writing
|
| 49 |
+
by Abdalla Eid.
|
| 50 |
+
|
| 51 |
+
This restriction applies only to material for which Abdalla Eid
|
| 52 |
+
has the legal right to impose such a restriction.
|
| 53 |
+
|
| 54 |
+
6. NAME AND BRAND
|
| 55 |
+
|
| 56 |
+
This license does not grant permission to represent a modified
|
| 57 |
+
project, product, service, or model as an official RAWDA AI
|
| 58 |
+
product.
|
| 59 |
+
|
| 60 |
+
The RAWDA AI name and visual identity may not be used to imply
|
| 61 |
+
endorsement by Abdalla Eid without permission.
|
| 62 |
+
|
| 63 |
+
7. ISLAMIC CONTENT
|
| 64 |
+
|
| 65 |
+
RAWDA AI is intended to support beneficial knowledge, Islamic
|
| 66 |
+
education, Qur'an and Sunnah research, and responsible AI use.
|
| 67 |
+
|
| 68 |
+
Generated religious information should be independently verified.
|
| 69 |
+
RAWDA AI is not a substitute for qualified Islamic scholarship
|
| 70 |
+
or a formal fatwa.
|
| 71 |
+
|
| 72 |
+
8. THIRD-PARTY COMPONENTS
|
| 73 |
+
|
| 74 |
+
RAWDA AI may incorporate or derive from third-party software,
|
| 75 |
+
models, datasets, or other materials.
|
| 76 |
+
|
| 77 |
+
Those components remain subject to their respective licenses,
|
| 78 |
+
copyright notices, and terms.
|
| 79 |
+
|
| 80 |
+
In particular, components derived from
|
| 81 |
+
Qwen3-Coder-30B-A3B-Instruct remain subject to the applicable
|
| 82 |
+
Apache License 2.0 and upstream notices.
|
| 83 |
+
|
| 84 |
+
Nothing in this RAWDA AI License removes, replaces, or restricts
|
| 85 |
+
rights granted under applicable third-party licenses.
|
| 86 |
+
|
| 87 |
+
9. DISCLAIMER
|
| 88 |
+
|
| 89 |
+
RAWDA AI materials are provided "AS IS", without warranties of
|
| 90 |
+
any kind, express or implied.
|
| 91 |
+
|
| 92 |
+
To the maximum extent permitted by applicable law, Abdalla Eid
|
| 93 |
+
shall not be liable for damages arising from the use or inability
|
| 94 |
+
to use RAWDA AI materials.
|
| 95 |
+
|
| 96 |
+
10. CONTACT AND ADDITIONAL PERMISSION
|
| 97 |
+
|
| 98 |
+
Additional permissions, including commercial licensing for
|
| 99 |
+
RAWDA AI-owned materials, may be granted separately in writing
|
| 100 |
+
by Abdalla Eid.
|
| 101 |
+
|
| 102 |
+
Copyright (c) 2026 Abdalla Eid
|
| 103 |
+
RAWDA AI
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|