Instructions to use juzhengz/LoRI-S_code_llama3_rank_64 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use juzhengz/LoRI-S_code_llama3_rank_64 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B") model = PeftModel.from_pretrained(base_model, "juzhengz/LoRI-S_code_llama3_rank_64") - Notebooks
- Google Colab
- Kaggle
Improve model card for LoRI-S_code_llama3_rank_64
#1
by nielsr HF Staff - opened
This PR significantly enhances the model card for tomg-group-umd/LoRI-S_code_llama3_rank_64 by adding comprehensive information and improving its discoverability and usability.
Key updates include:
- Metadata Enrichment: Adding
license: apache-2.0, and relevanttagssuch aspeft,lora,code-generation, andllama, along with the specificdatasetsused for training this model. - Detailed Model Description: Populating the "Model Details" section with information about the developers, model type, language, and the base model, based on the paper abstract and GitHub repository.
- Complete Model Sources: Adding direct links to the official GitHub repository, the Hugging Face paper page, the project page, and the Hugging Face collection.
- Elaborated Usage Instructions: Filling in "Uses" sections (Direct Use, Downstream Use, Out-of-Scope) to clarify the model's intended applications and limitations.
- Executable Code Snippet: Providing a runnable Python code example in "How to Get Started" for quick inference using
transformersandpeft. - Training Information: Detailing the "Training Data" and "Training Procedure" (LoRI-D and LoRI-S stages, FSDP) and "Training Hyperparameters" (rank, sparsity, etc.).
- Evaluation Summary: Summarizing key evaluation aspects and directing users to the paper for detailed results.
- Citation: Including the BibTeX entry from the paper.
- Visual Aid: Embedding the LoRI architecture diagram from the GitHub repository.
This update makes the model card much more informative and user-friendly for researchers and practitioners.
juzhengz changed pull request status to merged