Text Generation
PEFT
Safetensors
English
PEFT
LoRA
Behavior
BehavioralScience
FoundationModel
conversational
Instructions to use befm/BeFM1.5-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use befm/BeFM1.5-4B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/nfs/turbo/si-qmei/huangjin/.cache/huggingface/hub/models--Qwen--Qwen3-4B-Instruct-2507/snapshots/cdbee75f17c01a7cc42f958dc650907174af0554") model = PeftModel.from_pretrained(base_model, "befm/BeFM1.5-4B") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!