budecosystem / genz-13b-v2-4bit

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: July 27 2023
text-generation

Introduction of genz-13b-v2-4bit

Model Details of genz-13b-v2-4bit

GenZ 13B v2 4bit

The instruction finetuned model with 4K input length. The model is finetuned on top of pretrained LLaMa2

Inference
from transformers import LlamaForCausalLM, LlamaTokenizer
from auto_gptq import AutoGPTQForCausalLM, BaseQuantizeConfig

base_model = 'budecosystem/genz-13b-v2-4bit'

tokenizer = LlamaTokenizer.from_pretrained(base_model)

model = AutoGPTQForCausalLM.from_quantized(model_name_or_path=base_model,
        model_basename="gptq_model-4bit-128g",
        use_safetensors=True,
        trust_remote_code=True)

prompt = """A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.
USER: who are you? ASSISTANT: """
inputs = tokenizer(prompt, return_tensors="pt")
sample = model.generate(**inputs, max_length=128)
print(tokenizer.decode(sample[0]))

Use following prompt template

A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: Hi, how are you? ASSISTANT: 
Finetuning
python finetune.py
   --model_name meta-llama/Llama-2-13b
   --data_path dataset.json
   --output_dir output
   --trust_remote_code
   --prompt_column instruction
   --response_column output

Check the GitHub for the code -> GenZ

Runs of budecosystem genz-13b-v2-4bit on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About genz-13b-v2-4bit huggingface.co Model

genz-13b-v2-4bit huggingface.co

genz-13b-v2-4bit huggingface.co is an AI model on huggingface.co that provides genz-13b-v2-4bit's model effect (), which can be used instantly with this budecosystem genz-13b-v2-4bit model. huggingface.co supports a free trial of the genz-13b-v2-4bit model, and also provides paid use of the genz-13b-v2-4bit. Support call genz-13b-v2-4bit model through api, including Node.js, Python, http.

budecosystem genz-13b-v2-4bit online free

genz-13b-v2-4bit huggingface.co is an online trial and call api platform, which integrates genz-13b-v2-4bit's modeling effects, including api services, and provides a free online trial of genz-13b-v2-4bit, you can try genz-13b-v2-4bit online for free by clicking the link below.

budecosystem genz-13b-v2-4bit online free url in huggingface.co:

https://huggingface.co/budecosystem/genz-13b-v2-4bit

genz-13b-v2-4bit install

genz-13b-v2-4bit is an open source model from GitHub that offers a free installation service, and any user can find genz-13b-v2-4bit on GitHub to install. At the same time, huggingface.co provides the effect of genz-13b-v2-4bit install, users can directly use genz-13b-v2-4bit installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

genz-13b-v2-4bit install url in huggingface.co:

https://huggingface.co/budecosystem/genz-13b-v2-4bit

Url of genz-13b-v2-4bit

genz-13b-v2-4bit huggingface.co Url

Provider of genz-13b-v2-4bit huggingface.co

budecosystem
ORGANIZATIONS

Other API from budecosystem

huggingface.co

Total runs: 98
Run Growth: -24
Growth Rate: -24.49%
Updated:September 02 2023
huggingface.co

Total runs: 20
Run Growth: -10
Growth Rate: -50.00%
Updated:May 07 2025
huggingface.co

Total runs: 6
Run Growth: -2
Growth Rate: -33.33%
Updated:September 05 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 07 2023