Question Answering
Transformers
Safetensors
Arabic
lfm2
text-generation
arabic
rag
fine-tuned
Lora
liquid
extractive-qa
Instructions to use azeddinShr/LFM2-1.2B-RAG-ARABIC-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use azeddinShr/LFM2-1.2B-RAG-ARABIC-LoRA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="azeddinShr/LFM2-1.2B-RAG-ARABIC-LoRA")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("azeddinShr/LFM2-1.2B-RAG-ARABIC-LoRA") model = AutoModelForCausalLM.from_pretrained("azeddinShr/LFM2-1.2B-RAG-ARABIC-LoRA", device_map="auto") - Notebooks
- Google Colab
- Kaggle