Text Generation
PEFT
Safetensors
English
text2code
LoRA
GPTQ
Llama-2-7B-Chat
text2python
instruction2code
nl2code
python
Instructions to use SwastikM/Llama-2-7B-Chat-text2code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SwastikM/Llama-2-7B-Chat-text2code with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TheBloke/Llama-2-7b-Chat-GPTQ") model = PeftModel.from_pretrained(base_model, "SwastikM/Llama-2-7B-Chat-text2code") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -16,7 +16,7 @@ co2_eq_emissions:
|
|
| 16 |
training_type: finetuning
|
| 17 |
hardware_used: 1 P100 16GB GPU
|
| 18 |
widget:
|
| 19 |
-
- text:
|
| 20 |
tags:
|
| 21 |
- text2code
|
| 22 |
- LoRA
|
|
@@ -24,6 +24,8 @@ tags:
|
|
| 24 |
- Llama-2-7B-Chat
|
| 25 |
- text2python
|
| 26 |
- instruction2code
|
|
|
|
|
|
|
| 27 |
---
|
| 28 |
|
| 29 |
# Llama-2-7b-Chat-GPTQ fine-tuned on PYTHON-CODES-25K
|
|
|
|
| 16 |
training_type: finetuning
|
| 17 |
hardware_used: 1 P100 16GB GPU
|
| 18 |
widget:
|
| 19 |
+
- text: hello this is an example
|
| 20 |
tags:
|
| 21 |
- text2code
|
| 22 |
- LoRA
|
|
|
|
| 24 |
- Llama-2-7B-Chat
|
| 25 |
- text2python
|
| 26 |
- instruction2code
|
| 27 |
+
- nl2code
|
| 28 |
+
- python
|
| 29 |
---
|
| 30 |
|
| 31 |
# Llama-2-7b-Chat-GPTQ fine-tuned on PYTHON-CODES-25K
|