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
|
@@ -8,6 +8,13 @@ language:
|
|
| 8 |
- en
|
| 9 |
datasets:
|
| 10 |
- flytech/python-codes-25k
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# BART-LARGE-CNN fine-tuned on SYNTHETIC_TEXT_TO_SQL
|
|
|
|
| 8 |
- en
|
| 9 |
datasets:
|
| 10 |
- flytech/python-codes-25k
|
| 11 |
+
tags:
|
| 12 |
+
- text2code
|
| 13 |
+
- LoRA
|
| 14 |
+
- GPTQ
|
| 15 |
+
- Llama-2-7B-Chat
|
| 16 |
+
- text2python
|
| 17 |
+
- instruction2code
|
| 18 |
---
|
| 19 |
|
| 20 |
# BART-LARGE-CNN fine-tuned on SYNTHETIC_TEXT_TO_SQL
|