Instructions to use Yemen-JPT/OSINT-Editor-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Yemen-JPT/OSINT-Editor-LoRA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Yemen-JPT/OSINT-Editor-LoRA") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Yemen-JPT/OSINT-Editor-LoRA", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use Yemen-JPT/OSINT-Editor-LoRA with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Yemen-JPT/OSINT-Editor-LoRA" # 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/OSINT-Editor-LoRA", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Yemen-JPT/OSINT-Editor-LoRA
- SGLang
How to use Yemen-JPT/OSINT-Editor-LoRA 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/OSINT-Editor-LoRA" \ --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/OSINT-Editor-LoRA", "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/OSINT-Editor-LoRA" \ --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/OSINT-Editor-LoRA", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Yemen-JPT/OSINT-Editor-LoRA with Docker Model Runner:
docker model run hf.co/Yemen-JPT/OSINT-Editor-LoRA
YemenJPT-Editor-Adapter-v1
محول LoRA - إضافة قدرات التحرير الصحفي
الوصف
محول LoRA - إضافة قدرات التحرير الصحفي. هذا النموذج/القاعدة جزء من مجموعة YemenJPT المخصصة لدعم الصحافة الاستقصائية اليمنية.
الروابط
التحميل
# عبر HuggingFace Hub
git lfs clone https://huggingface.co/Yemen-JPT/OSINT-Editor-LoRA
# أو عبر pip (للنماذج)
pip install huggingface-hub
huggingface-cli download Yemen-JPT/OSINT-Editor-LoRA
الترخيص
هذا العمل متاح تحت رخصة Apache 2.0 (للنماذج) أو CC-BY-4.0 (لقواعد البيانات).
طُوّر بواسطة RaidanPro بالتعاون مع بيت الصحافة - Press House
الموقع الرسمي • فيسبوك • لينكدإن • يوتيوب • HuggingFace • Ollama
yemenjpt@raidan.pro
YemenJPT-Editor-Adapter-v1
LoRA adapter - add editing capabilities to existing models
Description
LoRA adapter - add editing capabilities to existing models. This model/dataset is part of the YemenJPT collection dedicated to supporting Yemeni investigative journalism.
Links
Download
# Via HuggingFace Hub
git lfs clone https://huggingface.co/Yemen-JPT/OSINT-Editor-LoRA
# Or via pip (for models)
pip install huggingface-hub
huggingface-cli download Yemen-JPT/OSINT-Editor-LoRA
License
This work is licensed under Apache 2.0 (for models) or CC-BY-4.0 (for datasets).