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:
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.
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:
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.