Instructions to use vdpappu/lora_coding_assistant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use vdpappu/lora_coding_assistant with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2b") model = PeftModel.from_pretrained(base_model, "vdpappu/lora_coding_assistant") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -56,7 +56,7 @@ generation_config = GenerationConfig(
|
|
| 56 |
early_stopping=True
|
| 57 |
)
|
| 58 |
|
| 59 |
-
question = "
|
| 60 |
prompt = generate_prompt(input_text=question)
|
| 61 |
|
| 62 |
with torch.no_grad():
|
|
|
|
| 56 |
early_stopping=True
|
| 57 |
)
|
| 58 |
|
| 59 |
+
question = "Develop a Python program to clearly understand the concept of recursion."
|
| 60 |
prompt = generate_prompt(input_text=question)
|
| 61 |
|
| 62 |
with torch.no_grad():
|