Instructions to use openbmb/MiniCPM3-RAG-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use openbmb/MiniCPM3-RAG-LoRA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("openbmb/MiniCPM3-4B") model = PeftModel.from_pretrained(base_model, "openbmb/MiniCPM3-RAG-LoRA") - Notebooks
- Google Colab
- Kaggle
RAG用法介绍有问题
#4
by Wei-yifan - opened
MiniCPM3-RAG-LoRA does not appear to have a file named modeling_minicpm.py. Checkout 'https://huggingface.co/MiniCPM3-RAG-LoRA/tree/None' for available files.