prince-canuma/Llama-3-6B-v0.1

TEXT GENERATIONPricing:Input $0.37 / Cached $0.074 / Output $0.38Concurrent Unit Cost:1Model Size:8BQuant:FP8Context Size:8kTool Calling:SupportedPublished:May 17, 2024License:llama3Architecture:Transformer0.0K Featherless Exclusive Cold

The prince-canuma/Llama-3-6B-v0.1 is an 8 billion parameter Llama-3 base model, developed by Prince Canuma, created using a 'downcycling' technique from Meta-Llama-3-8B. It was continually pretrained on 1 billion tokens of English-only text from FineWeb, achieving a loss of 2.4942. This model is designed for creating instruct and chat versions for various use cases like coding assistants, RAG, and function calling, offering competitive performance to larger models while being 1.3x smaller than its Llama-3-8B reference.

Loading preview...

Overview

prince-canuma/Llama-3-6B-v0.1 is an 8 billion parameter Llama-3 base model, developed by Prince Canuma. It was derived from the Meta-Llama-3-8B model using a novel technique called downcycling, which involves copying weights from a larger pretrained model to initialize a smaller target model. This model was then continually pretrained on 1 billion tokens of English-only text from Hugging Face's FineWeb dataset for two epochs, achieving a final loss of 2.4942.

Key Capabilities & Differentiators

  • Efficient Model Creation: Utilizes a "downcycling" technique to create a smaller, efficient Llama-3 variant (6B parameters) from a larger 8B parameter model.
  • Competitive Performance: Benchmarks show it performs competitively with its Llama-3-8B reference model and other models up to twice its size across various tasks like Hellaswag, ARC, MMLU, TruthfulQA, Winogrande, and GSM8k.
  • Optimized for Downstream Tasks: Intended as a base model for creating instruct and chat versions, suitable for applications such as coding assistants, Retrieval-Augmented Generation (RAG), and function calling.
  • English-Centric: Primarily trained on English data, making it well-suited for English language tasks.

Limitations

  • Limited Coding and Math Scope: Requires further pretraining or fine-tuning on code and math data to excel in reasoning tasks.
  • Language Specificity: Continual pretraining was exclusively on English data, limiting its out-of-the-box performance for multilingual use cases without additional fine-tuning.

When to Use This Model

This model is ideal for developers looking for a smaller, efficient Llama-3 base model for English-centric applications. It's particularly well-suited for fine-tuning into specialized instruct or chat models for tasks like:

  • Developing coding assistants.
  • Implementing RAG systems.
  • Building function-calling agents.

Its smaller size compared to the original Llama-3-8B makes it a good candidate for scenarios where computational resources are a consideration, while still offering strong performance after continued pretraining.