How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "M4-ai/neural-chat-mini-v2.2-1.8B"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "M4-ai/neural-chat-mini-v2.2-1.8B",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/M4-ai/neural-chat-mini-v2.2-1.8B
Quick Links

neural-chat-mini-v2.2-1.8B

We fine-tuned tau-1.8B using SFT and DPOP on a high quality mix for general-purpose assistants.

Model Details

Model Description

This model has capabilities in math, coding, writing, and more. We fine-tuned it using a high quality mix for general-purpose assistants.

  • Developed by: M4-ai
  • Language(s) (NLP): English and maybe Chinese
  • License: tongyi-qianwen license
  • Finetuned from model: tau-1.8B

Uses

General purpose assistant, question answering, chain-of-thought, etc..

Recommendations

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.

Training Details

Training Data

  • Open-Orca/SlimOrca
  • m-a-p/Code-Feedback
  • MaziyarPanahi/WizardLM_evol_instruct_V2_196k
  • camel-ai/math
  • camel-ai/physics
  • camel-ai/biology
  • camel-ai/chemistry
  • LDJnr/Capybara
  • jondurbin/airoboros-3.2
  • microsoft/orca-math-word-problems-200k
  • mlabonne/orpo-dpo-mix-40k

Evaluations

coming soon

Training Hyperparameters

  • Training regime: bf16 non-mixed precision

Technical Specifications

Hardware

We used 8 Kaggle TPUs, and we trained at a global batch size of 128 and sequence length of 2048.

Downloads last month
19
Safetensors
Model size
2B params
Tensor type
BF16
·
Inference Providers NEW
Input a message to start chatting with M4-ai/neural-chat-mini-v2.2-1.8B.

Model tree for M4-ai/neural-chat-mini-v2.2-1.8B

Quantizations
3 models

Datasets used to train M4-ai/neural-chat-mini-v2.2-1.8B