DeciLM 6B-Instruct is a model for short-form instruction following. It is built by LoRA fine-tuning
DeciLM 6B
on a subset of the
OpenOrca dataset
.
Developed by:
Deci
Model type:
DeciLM is an auto-regressive language model using an optimized transformer decoder architecture that includes variable Grouped-Query Attention.
The model is intended for commercial and research use in English and can be fine-tuned for use in other languages.
How to Get Started with the Model
Use the code below to get started with the model.
# pip install -q transformers
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
checkpoint = "Deci/DeciLM-6b-instruct"
device = "cuda" # for GPU usage or "cpu" for CPU usage
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
model = AutoModelForCausalLM.from_pretrained(checkpoint, torch_dtype=torch.bfloat16, trust_remote_code=True).to(device)
inputs = tokenizer.encode("How do I make french toast? Think through it step by step", return_tensors="pt").to(device)
outputs = model.generate(inputs, max_new_tokens=100, do_sample=True, top_p=0.95)
print(tokenizer.decode(outputs[0]))
Training Details
DeciLM 6B underwent training utilizing the SlimPijamas dataset, leveraging advanced proprietary methodologies allowing for fast training. DeciLM 6B was further finetuned on a subset of the OpenOrca dataset, giving rise to DeciLM-6B-Instruct.
Evaluation
Below are DeciLM's 6B-instruct evaluation results.
DeciLM-6b-instruct huggingface.co is an AI model on huggingface.co that provides DeciLM-6b-instruct's model effect (), which can be used instantly with this Deci DeciLM-6b-instruct model. huggingface.co supports a free trial of the DeciLM-6b-instruct model, and also provides paid use of the DeciLM-6b-instruct. Support call DeciLM-6b-instruct model through api, including Node.js, Python, http.
DeciLM-6b-instruct huggingface.co is an online trial and call api platform, which integrates DeciLM-6b-instruct's modeling effects, including api services, and provides a free online trial of DeciLM-6b-instruct, you can try DeciLM-6b-instruct online for free by clicking the link below.
Deci DeciLM-6b-instruct online free url in huggingface.co:
DeciLM-6b-instruct is an open source model from GitHub that offers a free installation service, and any user can find DeciLM-6b-instruct on GitHub to install. At the same time, huggingface.co provides the effect of DeciLM-6b-instruct install, users can directly use DeciLM-6b-instruct installed effect in huggingface.co for debugging and trial. It also supports api for free installation.