This model is a fine-tuned model for chat based on
mosaicml/mpt-7b
with a max sequence length of 2048 on the dataset
Intel/neural-chat-dataset-v1-1
, which is a compilation of open-source datasets.
Prompt of "an image of a brain that has to do with LLMs" from https://clipdrop.co/stable-diffusion-turbo.
Model Detail
Description
Model Authors
Intel. The NeuralChat team with members from DCAI/AISE/AIPT. Core team members: Kaokao Lv, Liang Lv, Chang Wang, Wenxin Zhang, Xuhui Ren, and Haihao Shen.
You can use the fine-tuned model for several language-related tasks. Checkout the
LLM Leaderboard
to see this model's performance relative to other LLMs.
Primary intended users
Anyone doing inference on language-related tasks.
Out-of-scope uses
This model in most cases will need to be fine-tuned for your particular task. The model should not be used to intentionally create hostile or alienating environments for people.
How To Use
Training hyperparameters
The following hyperparameters were used during training:
learning_rate: 1e-05
train_batch_size: 2
eval_batch_size: 2
seed: 42
distributed_type: multi-GPU
num_devices: 4
gradient_accumulation_steps: 8
total_train_batch_size: 64
total_eval_batch_size: 8
optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
lr_scheduler_type: linear
lr_scheduler_warmup_ratio: 0.02
num_epochs: 3.0
Use The Model
Loading the model with Transformers
import transformers
model = transformers.AutoModelForCausalLM.from_pretrained(
'Intel/neural-chat-7b-v1-1',
trust_remote_code=True
)
Inference with INT8
Follow the instructions at the
GitHub repository
to install the necessary dependencies for quantization to INT8. Use the below command to quantize the model using
Intel Neural Compressor
to accelerate inference.
The performance of the model can vary depending on the inputs to the model. In this case, the prompts provided can drastically change the prediction of the language model.
Environment
-
Card Prompts
Model deployment on varying hardware and software will change model performance.
Metrics
Description
Model performance measures
The model metrics are: ARC, HellaSwag, MMLU, and TruthfulQA. Bias evaluation was also evaluated using using Toxicity Rito (see Quantitative Analyses below). The model performance was evaluated against other LLMs according to the standards at the time the model was published.
Decision thresholds
No decision thresholds were used.
Approaches to uncertainty and variability
-
Training Data
The training data are from
Intel/neural-chat-dataset-v1-1
. The total number of instruction samples is about 1.1M, and the number of tokens is 326M. This dataset is composed of several other datasets:
Neural-chat-7b-v1-1 can produce factually incorrect output, and should not be relied on to produce factually accurate information. neural-chat-7b-v1-1 was trained on various instruction/chat datasets based on
mosaicml/mpt-7b
. Because of the limitations of the pretrained model and the finetuning datasets, it is possible that this model could generate lewd, biased or otherwise offensive outputs.
Therefore, before deploying any applications of the model, developers should perform safety testing.
Caveats and Recommendations
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.
Here are some useful GitHub repository links to learn more about Intel's open-source AI software:
The license on this model does not constitute legal advice. We are not responsible for the actions of third parties who use this model. Please cosult an attorney before using this model for commercial purposes.
Runs of Intel neural-chat-7b-v1-1 on huggingface.co
20
Total runs
0
24-hour runs
1
3-day runs
2
7-day runs
-95
30-day runs
More Information About neural-chat-7b-v1-1 huggingface.co Model
neural-chat-7b-v1-1 huggingface.co is an AI model on huggingface.co that provides neural-chat-7b-v1-1's model effect (), which can be used instantly with this Intel neural-chat-7b-v1-1 model. huggingface.co supports a free trial of the neural-chat-7b-v1-1 model, and also provides paid use of the neural-chat-7b-v1-1. Support call neural-chat-7b-v1-1 model through api, including Node.js, Python, http.
neural-chat-7b-v1-1 huggingface.co is an online trial and call api platform, which integrates neural-chat-7b-v1-1's modeling effects, including api services, and provides a free online trial of neural-chat-7b-v1-1, you can try neural-chat-7b-v1-1 online for free by clicking the link below.
Intel neural-chat-7b-v1-1 online free url in huggingface.co:
neural-chat-7b-v1-1 is an open source model from GitHub that offers a free installation service, and any user can find neural-chat-7b-v1-1 on GitHub to install. At the same time, huggingface.co provides the effect of neural-chat-7b-v1-1 install, users can directly use neural-chat-7b-v1-1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
neural-chat-7b-v1-1 install url in huggingface.co: