M4-ai/Hercules-5.0-Qwen2-1.5B

Hugging Face
TEXT GENERATIONPricing:Input $0.04 / Cached $0.008 / Output $0.08Concurrent Unit Cost:1Model Size:1.5BQuant:BF16Context Size:32kTool Calling:SupportedPublished:Jun 7, 2024License:apache-2.0Architecture:Transformer0.0K Open Weights Featherless Exclusive Warm

M4-ai/Hercules-5.0-Qwen2-1.5B is a 1.5 billion parameter language model fine-tuned from Qwen2-1.5B by M4-ai. Optimized for general-purpose assistant tasks, it demonstrates capabilities in math, coding, and writing. This model is designed for applications requiring a versatile assistant, question answering, and chain-of-thought reasoning.

Loading preview...

Hercules-5.0-Qwen2-1.5B Overview

M4-ai/Hercules-5.0-Qwen2-1.5B is a 1.5 billion parameter language model developed by M4-ai, fine-tuned from the Qwen2-1.5B architecture. It is designed as a general-purpose assistant, leveraging a high-quality mixed dataset for its fine-tuning process. The model uses the ChatML prompt format.

Key Capabilities

  • General-purpose assistance: Excels in a broad range of tasks.
  • Mathematical reasoning: Demonstrates capabilities in math-related problems.
  • Code generation: Proficient in coding tasks.
  • Writing assistance: Capable of generating and assisting with written content.
  • Question Answering: Effective for direct question answering.
  • Chain-of-Thought: Supports complex reasoning processes.

Training Details

The model was fine-tuned using the Locutusque/hercules-v5.0 dataset. Training was conducted using bf16 non-mixed precision on 8 Kaggle TPUs, with a global batch size of 256 and a sequence length of 1536. The developers plan to release a DPO (Direct Preference Optimization) version in the future.

Licensing and Language

Hercules-5.0-Qwen2-1.5B is released under the Apache-2.0 license. Its primary language is English, with potential capabilities in Chinese.