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
|
@@ -191,7 +191,7 @@ HuggingFace Accelerate with Training Loop.
|
|
| 191 |
## Acknowledgment
|
| 192 |
|
| 193 |
Thanks to [@AMerve Noyan](https://huggingface.co/blog/merve/quantization) for precise intro.
|
| 194 |
-
Thanks to [@HuggungFace Team](https://huggingface.co/blog/gptq-integration#fine-tune-quantized-models-with-peft) for the
|
| 195 |
|
| 196 |
|
| 197 |
## Model Card Authors
|
|
|
|
| 191 |
## Acknowledgment
|
| 192 |
|
| 193 |
Thanks to [@AMerve Noyan](https://huggingface.co/blog/merve/quantization) for precise intro.
|
| 194 |
+
Thanks to [@HuggungFace Team](https://huggingface.co/blog/gptq-integration#fine-tune-quantized-models-with-peft) for the [notebook](https://colab.research.google.com/drive/1_TIrmuKOFhuRRiTWN94iLKUFu6ZX4ceb?usp=sharing) on GPTQ.
|
| 195 |
|
| 196 |
|
| 197 |
## Model Card Authors
|