law.txt - النص الكامل للقانونchunks.json - النص مقسم إلى 12 جزءembeddings.pt - متجهات البحث الدلاليsentence-transformers/paraphrase-multilingual-MiniLM-L12-v2Qwen/Qwen2.5-3B-Instruct1import torch, json
2from huggingface_hub import hf_hub_download
3
4# تحميل البيانات
5chunks = json.load(open(hf_hub_download("st-i99/arabic-law-rag-nizaha", "chunks.json")))
6embeddings = torch.load(hf_hub_download("st-i99/arabic-law-rag-nizaha", "embeddings.pt"))