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
| library_name: peft | |
| license: apache-2.0 | |
| datasets: | |
| - Laurie/HC3-Chinese-AlpacaFormat | |
| language: | |
| - zh | |
| - en | |
| metrics: | |
| - accuracy | |
| pipeline_tag: text2text-generation | |
| ## Training procedure | |
| ### Framework versions | |
| 'prompt=(<reserved_102>)'{query}'<reserved_103>' |