Instructions to use Laurie/HC3-Chinese-AlpacaFormat-Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Laurie/HC3-Chinese-AlpacaFormat-Lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("baichuan-inc/Baichuan-7B") model = PeftModel.from_pretrained(base_model, "Laurie/HC3-Chinese-AlpacaFormat-Lora") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 2.99, | |
| "train_loss": 2.964561536835461, | |
| "train_runtime": 1710.3688, | |
| "train_samples_per_second": 5.771, | |
| "train_steps_per_second": 0.36 | |
| } |