Intel / neural-chat-7b-v1-1

huggingface.co
Total runs: 20
24-hour runs: 0
7-day runs: 2
30-day runs: -95
Model's Last Updated: January 15 2024
text-generation

Introduction of neural-chat-7b-v1-1

Model Details of neural-chat-7b-v1-1

Model Details: Neural-Chat-v1-1

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.
Date July, 2023
Version v1-1
Type 7B Large Language Model
Paper or Other Resources Base model: mosaicml/mpt-7b ; Dataset: Intel/neural-chat-dataset-v1-1
License Apache 2.0
Questions or Comments Community Tab and Intel DevHub Discord
Intended Use Description
Primary intended uses 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.

python run_generation.py \
    --model Intel/neural-chat-7b-v1-1 \
    --quantize \
    --sq \
    --alpha 0.95 \
    --ipex
Factors Description
Groups More details about the dataset can be found at Intel/neural-chat-dataset-v1-1 .
Instrumentation 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:

Type Language Dataset Number
HC3 en HC3 24K
dolly en databricks-dolly-15k 15K
alpaca-zh zh tigerbot-alpaca-zh-0.5m 500K
alpaca-en en TigerResearch/tigerbot-alpaca-en-50k 50K
math en tigerbot-gsm-8k-en 8K
general en tigerbot-stackexchange-qa-en-0.5m 500K

Note: There is no contamination from the GSM8k test set, as this is not a part of this dataset.

Quantitative Analyses
LLM metrics

We used the same evaluation metrics as HuggingFaceH4/open_llm_leaderboard , which uses Eleuther AI Language Model Evaluation Harness , a unified framework to test generative language models on a large number of different evaluation tasks.

Model Average ⬆️ ARC (25-s) ⬆️ HellaSwag (10-s) ⬆️ MMLU (5-s) ⬆️ TruthfulQA (MC) (0-s) ⬆️
mosaicml/mpt-7b 47.4 47.61 77.56 31 33.43
mosaicml/mpt-7b-chat 49.95 46.5 75.55 37.60 40.17
Intel/neural-chat-dataset-v1-1 51.41 50.09 76.69 38.79 40.07
Bias evaluation

Following the blog evaluating-llm-bias , we selected 10000 samples randomly from allenai/real-toxicity-prompts to evaluate toxicity bias.

Model Toxicity Rito ↓
mosaicml/mpt-7b 0.027
Intel/neural-chat-dataset-v1-1 0.0264
Examples
  • code generation code-generation

  • summarization summarization

  • trip trip

Ethical Considerations and Limitations

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:

  • Intel Neural Compressor link
  • Intel Extension for Transformers link
  • Intel Extension for PyTorch link
Disclaimer

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

More neural-chat-7b-v1-1 license Visit here:

https://choosealicense.com/licenses/apache-2.0

neural-chat-7b-v1-1 huggingface.co

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 Url

https://huggingface.co/Intel/neural-chat-7b-v1-1

Intel neural-chat-7b-v1-1 online free

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:

https://huggingface.co/Intel/neural-chat-7b-v1-1

neural-chat-7b-v1-1 install

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:

https://huggingface.co/Intel/neural-chat-7b-v1-1

Url of neural-chat-7b-v1-1

neural-chat-7b-v1-1 huggingface.co Url

Provider of neural-chat-7b-v1-1 huggingface.co

Intel
ORGANIZATIONS

Other API from Intel

huggingface.co

Total runs: 783.8K
Run Growth: 348.1K
Growth Rate: 44.58%
Updated:February 09 2024
huggingface.co

Total runs: 41.3K
Run Growth: -7.2K
Growth Rate: -17.45%
Updated:February 24 2024
huggingface.co

Total runs: 27.4K
Run Growth: 2.8K
Growth Rate: 10.39%
Updated:March 29 2024
huggingface.co

Total runs: 15.8K
Run Growth: 5.6K
Growth Rate: 35.72%
Updated:February 24 2025
huggingface.co

Total runs: 1.8K
Run Growth: -2.0K
Growth Rate: -110.29%
Updated:March 26 2024
huggingface.co

Total runs: 1.5K
Run Growth: 284
Growth Rate: 18.92%
Updated:May 20 2024
huggingface.co

Total runs: 871
Run Growth: 184
Growth Rate: 21.75%
Updated:June 12 2024