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
- Xet hash:
- 42dddf9a62361a7b03ebe669744a8415aa511734101b0263a57554b201ce783a
- Size of remote file:
- 67.3 MB
- SHA256:
- 12938a6d6a601b2d4bd071b2e44f4e594905d3db58d3a3a873fe13c71214ac27
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.