Instructions to use liushiliushi/ConfTuner-LLaMA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use liushiliushi/ConfTuner-LLaMA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("../../meta-llama/Llama-3.1-8B-Instruct") model = PeftModel.from_pretrained(base_model, "liushiliushi/ConfTuner-LLaMA") - Notebooks
- Google Colab
- Kaggle
Improve model card: Add pipeline tag, library, license & GitHub link
#1
by nielsr HF Staff - opened
This PR enhances the model card by:
- Adding
pipeline_tag: text-generationto improve model discoverability. - Updating
library_nametotransformersas the primary library for model inference, enabling the "how to use" widget. - Adding
license: otherto the metadata, aligning with the "Same as base model (Llama 3.1)" described in the content. - Including a direct link to the GitHub repository.
Please review and merge this PR.