Text Generation
Transformers
ONNX
Safetensors
Arabic
English
qwen3
yemenjpt
osint
journalism
arabic
qwen
conversational
Instructions to use Yemen-JPT/WebProcessor-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Yemen-JPT/WebProcessor-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Yemen-JPT/WebProcessor-v1") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Yemen-JPT/WebProcessor-v1") model = AutoModelForCausalLM.from_pretrained("Yemen-JPT/WebProcessor-v1") 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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Yemen-JPT/WebProcessor-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Yemen-JPT/WebProcessor-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Yemen-JPT/WebProcessor-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Yemen-JPT/WebProcessor-v1
- SGLang
How to use Yemen-JPT/WebProcessor-v1 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 "Yemen-JPT/WebProcessor-v1" \ --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": "Yemen-JPT/WebProcessor-v1", "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 "Yemen-JPT/WebProcessor-v1" \ --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": "Yemen-JPT/WebProcessor-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Yemen-JPT/WebProcessor-v1 with Docker Model Runner:
docker model run hf.co/Yemen-JPT/WebProcessor-v1
Ameen commited on
Update README with bilingual YAML frontmatter and links
Browse files
README.md
CHANGED
|
@@ -27,6 +27,8 @@ base_model: tomvaillant/qwen-3.5-process-web
|
|
| 27 |
## الروابط
|
| 28 |
- [المستودع على HuggingFace](https://huggingface.co/Yemen-JPT/OSINT-Web)
|
| 29 |
- [منظومة YemenJPT](https://huggingface.co/Yemen-JPT)
|
|
|
|
|
|
|
| 30 |
- [RaidanPro](https://raidan.pro)
|
| 31 |
- [بيت الصحافة](https://ph-ye.org)
|
| 32 |
|
|
@@ -50,7 +52,13 @@ huggingface-cli download Yemen-JPT/OSINT-Web
|
|
| 50 |
<div align="center" dir="rtl">
|
| 51 |
<b>YemenJPT</b> — تمكين الصحافة اليمنية بالذكاء الاصطناعي<br>
|
| 52 |
طُوّر بواسطة <a href="https://raidan.pro">RaidanPro</a> بالتعاون مع <a href="https://ph-ye.org">بيت الصحافة - Press House</a><br>
|
| 53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
</div>
|
| 55 |
|
| 56 |
---
|
|
@@ -66,7 +74,8 @@ Web processor for extracting and analyzing website content. This model/dataset i
|
|
| 66 |
|
| 67 |
## Links
|
| 68 |
- [HuggingFace Repository](https://huggingface.co/Yemen-JPT/OSINT-Web)
|
| 69 |
-
- [YemenJPT
|
|
|
|
| 70 |
- [RaidanPro](https://raidan.pro)
|
| 71 |
- [Press House](https://ph-ye.org)
|
| 72 |
|
|
|
|
| 27 |
## الروابط
|
| 28 |
- [المستودع على HuggingFace](https://huggingface.co/Yemen-JPT/OSINT-Web)
|
| 29 |
- [منظومة YemenJPT](https://huggingface.co/Yemen-JPT)
|
| 30 |
+
- [الموقع الرسمي](http://yemenjpt.raidan.pro)
|
| 31 |
+
- [Ollama](https://ollama.com/YemenJPT)
|
| 32 |
- [RaidanPro](https://raidan.pro)
|
| 33 |
- [بيت الصحافة](https://ph-ye.org)
|
| 34 |
|
|
|
|
| 52 |
<div align="center" dir="rtl">
|
| 53 |
<b>YemenJPT</b> — تمكين الصحافة اليمنية بالذكاء الاصطناعي<br>
|
| 54 |
طُوّر بواسطة <a href="https://raidan.pro">RaidanPro</a> بالتعاون مع <a href="https://ph-ye.org">بيت الصحافة - Press House</a><br>
|
| 55 |
+
<a href="http://yemenjpt.raidan.pro">الموقع الرسمي</a> •
|
| 56 |
+
<a href="https://facebook.com/YemenJPT">فيسبوك</a> •
|
| 57 |
+
<a href="https://linkedin.com/YemenJPT">لينكدإن</a> •
|
| 58 |
+
<a href="https://youtube.com/YemenJPT">يوتيوب</a> •
|
| 59 |
+
<a href="https://huggingface.co/Yemen-JPT">HuggingFace</a> •
|
| 60 |
+
<a href="https://ollama.com/YemenJPT">Ollama</a><br>
|
| 61 |
+
<a href="mailto:yemenjpt@raidan.pro">yemenjpt@raidan.pro</a>
|
| 62 |
</div>
|
| 63 |
|
| 64 |
---
|
|
|
|
| 74 |
|
| 75 |
## Links
|
| 76 |
- [HuggingFace Repository](https://huggingface.co/Yemen-JPT/OSINT-Web)
|
| 77 |
+
- [YemenJPT Website](http://yemenjpt.raidan.pro)
|
| 78 |
+
- [Ollama](https://ollama.com/YemenJPT)
|
| 79 |
- [RaidanPro](https://raidan.pro)
|
| 80 |
- [Press House](https://ph-ye.org)
|
| 81 |
|