LLM EXPLORER 63,407 MODELS INDEXED

Llama 2 7B Chat Text2code by SwastikM

By SwastikM · 12 downloads

Llama 2 7B Chat Text2code is an open-source language model by SwastikM. Features: 7b LLM, License: openrail, Quantized, LLM Explorer Score: 0.12.

  Arxiv:2208.07339   Arxiv:2210.17323   Adapter Base model:adapter:thebloke/ll... Base model:thebloke/llama-2-7b...   Co2 eq emissions Dataset:flytech/python-codes-2...   En   Finetuned   Gptq   Instruction2code   Llama-2-7b-chat   Lora   Nl2code   Peft   Python   Quantized   Region:us   Safetensors   Text2code   Text2python

Llama 2 7B Chat Text2code Parameters and Internals

Model Type 
text-generation
Use Cases 
Areas:
research, personal projects
Applications:
text-to-code, nl2code, instruction2code
Primary Use Cases:
Generate Python code based on instructions
Additional Notes 
Model trained using parameter efficient fine-tuning (PEFT) with LoRA on a 4bit quantized setup.
Supported Languages 
en (English)
Training Details 
Data Sources:
flytech/python-codes-25k
Data Volume:
20,000 samples
Methodology:
Finetuning with LoRA on a 4bit quantized model
Hardware Used:
1 P100 16GB GPU
LLM NameLlama 2 7B Chat Text2code
Repository πŸ€—https://huggingface.co/SwastikM/Llama-2-7B-Chat-text2code 
Base Model(s)  TheBloke/Llama-2-7b-Chat-GPTQ   TheBloke/Llama-2-7b-Chat-GPTQ
Model Size7b
Required VRAM0 GB
Updated2026-07-14
MaintainerSwastikM
Model Files  0.0 GB   0.1 GB   0.0 GB   0.0 GB
Supported Languagesen
GPTQ QuantizationYes
Quantization Typegptq
Model ArchitectureAdapter
Licenseopenrail
Is Biasednone
Tokenizer ClassLlamaTokenizer
Padding Token</s>
PEFT TypeLORA
LoRA ModelYes
PEFT Target Modulesv_proj|q_proj|k_proj|o_proj
LoRA Alpha32
LoRA Dropout0.05
R Param8

Best Alternatives to Llama 2 7B Chat Text2code

Best Alternatives
Context / RAM
Downloads
Likes
Mistral Finetuned Bookcorpus0K / 0 GB50
Term Qwen2 7 Json Lora0K / 0.1 GB60
LMS Chatbot0K / 0 GB50
Zephyr 7B Alpha GPTQ0K / 0 GB21
Selfbot 256 Mistral0K / 0.4 GB60
Thesa0K / 0 GB41
Futadom Mistral0K / 0.2 GB71
Humiliation Mistral0K / 0.2 GB41
Gnosis Reformatted Mistral0K / 0.2 GB70
Zephyr Finetuned Legal0K / 0 GB21
Note: green Score (e.g. "73.2") means that the model is better than SwastikM/Llama-2-7B-Chat-text2code.