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
File size: 221 Bytes
47a9922 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"finetuning_type": "lora",
"lora_alpha": 32.0,
"lora_dropout": 0.1,
"lora_rank": 8,
"lora_target": [
"W_pack"
],
"name_module_trainable": "mlp",
"num_hidden_layers": 32,
"num_layer_trainable": 3
}
|