Instructions to use rayraycano/finetune-demo-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rayraycano/finetune-demo-lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("rayraycano/finetune-demo-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
FAQs
- Can you train StableLM with this? Yes, but only with a single GPU atm. Multi GPU support is coming soon! Just waiting on this PR
- Will this work with Deepspeed? That's still a WIP, but setting
export ACCELERATE_USE_DEEPSPEED=trueshould work in some cases Error invalid argument at line 359 in file /workspace/bitsandbytes/csrc/pythonInterface.c/arrow/cpp/src/arrow/filesystem/s3fs.cc:2598: arrow::fs::FinalizeS3 was not called even though S3 was initialized.This could lead to a segmentation fault at exit. Try reinstalling bitsandbytes and transformers from source.