/ Модель

Характеристики

Контекст
131 072 токена
Параметры
7,5 млрд
Размер весов
16,1 ГБ
Лицензия
Llama 3.1
Архитектура
llama · dense
Базовая модель
Llama-3.1-8B-Instruct
Библиотека
transformers
Опубликована
30 окт 2024

Theia-Llama-3.1-8B-v1.1

Генерация текстаТекст → текст3 профессии

Дообученная языковая модель Chainbase Labs для ответов на вопросы о криптовалютах и фундаментальных характеристиках блокчейн-проектов.

25скачиваний за 30 дней4лайкавеса обновлены30 окт 2024

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Theia-Llama-3.1-8B-v1.1 — языковая модель Chainbase Labs, дообученная на базе Llama 3.1 8B для ответов на вопросы о криптовалютах и блокчейн-проектах. Обучающие данные включают материалы о 2000 крупнейших проектах по капитализации, в том числе whitepaper, официальные публикации, новости и исследовательские отчёты; в README также описано применение LoRA и D-DoRA. Модель имеет плотную архитектуру LlamaForCausalLM, около 7,5 млрд параметров и контекст до 131 072 токенов. Она работает в формате чата Llama 3.1 и поддерживает интерфейс вызова инструментов.

Модель предназначена для объяснения фундаментальных характеристик криптопроектов, обобщения сведений об их развитии и ответов на профильные вопросы. В README приведено сравнение первой версии модели с другими системами на внутреннем бенчмарке понимания и генерации в криптодомене; эти результаты не подтверждают точность ответов на актуальные рыночные данные. В метаданных указана лицензия llama3.1. Модель может воспроизводить ошибки или устаревшие сведения и не заменяет проверку первоисточников.

Сценарии применения

  • получение справок о криптопроектах по их документации
  • обобщение whitepaper, новостей и исследовательских отчётов о блокчейне
  • ответы на вопросы о развитии и фундаментальных характеристиках криптопроектов
  • подготовка черновиков ответов криптоассистента с вызовом инструментов

Ограничения

Специализация модели — криптодомен; ответы о рынке и проектах могут быть неполными или устаревшими, поэтому факты следует проверять по первоисточникам. Приведённые в README результаты относятся к внутреннему бенчмарку и первой версии модели.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Changelog

Theia-Llama-3.1-8B

Theia-Llama-3.1-8B is an open-source crypto LLM, trained with carefully-designed dataset from the crypto field.

Technical Implementation

Crypto-Oriented Dataset

The training dataset is curated from two primary sources to create a comprehensive representation of blockchain projects. The first source is data collected from CoinMarketCap, focusing on the top 2000 projects ranked by market capitalization. This includes a wide range of project-specific documents such as whitepapers, official blog posts, and news articles. The second core component of the dataset comprises detailed research reports on these projects gathered from various credible sources on the internet, providing in-depth insights into project fundamentals, development progress, and market impact. After constructing the dataset, both manual and algorithmic filtering are applied to ensure data accuracy and eliminate redundancy.

Model Fine-tuning and Quantization

The Theia-Llama-3.1-8B is fine-tuned from the base model (Llama-3.1-8B), specifically tailored for the cryptocurrency domain. We employed LoRA (Low-Rank Adaptation) to fine-tune the model effectively, leveraging its ability to adapt large pre-trained models to specific tasks with a smaller computational footprint. Our training methodology is further enhanced through the use of LLaMA Factory, an open-source training framework. We integrate DeepSpeed, Microsoft's distributed training engine, to optimize resource utilization and training efficiency. Techniques such as ZeRO (Zero Redundancy Optimizer), offload, sparse attention, 1-bit Adam, and pipeline parallelism are employed to accelerate the training process and reduce memory consumption. A fine-tuned model is also built using the novel D-DoRA, a decentralized training scheme, by our Chainbase Labs. Since the LoRA version is much easier to deploy and play with for developers, we release the LoRA version first for the Crypto AI community.

In addition to fine-tuning, we have quantized the model to optimize it for efficient deployment, specifically into the GGUF format. Model quantization is a process that reduces the precision of the model's weights from floating-point (typically FP16 or FP32) to lower-bit representations. The primary benefit of quantization is that it significantly reduces the model's memory footprint and improves inference speed while maintaining an acceptable level of accuracy. This makes the model more accessible for use in resource-constrained environments, such as on edge devices or lower-tier GPUs.

Benchmark

To evaluate the current LLMs in the crypto domain, we have proposed a benchmark for evaluating Crypto AI Models, which is the first AI model benchmark tailored specifically for the crypto domain. The models are evaluated across seven dimensions, including crypto knowledge comprehension and generation, knowledge coverage, and reasoning capabilities, etc. A detailed paper will follow to elaborate on this benchmark. Here we initially release the results of benchmarking the understanding and generation capabilities in the crypto domain on 11 open-source and close-source LLMs from OpenAI, Google, Meta, Qwen, and DeepSeek. For the open-source LLMs, we choose the models with the similar parameter size as ours (~8b). For the close-source LLMs, we choose the popular models with most end-users.

ModelPerplexity ↓BERT ↑
Theia-Llama-3.1-8B-v11.1840.861
ChatGPT-4o1.2560.837
ChatGPT-4o-mini1.2570.794
ChatGPT-3.5-turbo1.2330.838
Claude-3-sonnet (~70b)N.A.0.848
Gemini-1.5-ProN.A.0.830
Gemini-1.5-FlashN.A.0.828
Llama-3.1-8B-Instruct1.2700.835
Mistral-7B-Instruct-v0.31.2580.844
Qwen2.5-7B-Instruct1.3920.832
Gemma-2-9b1.2480.832
Deepseek-llm-7b-chat1.3480.846

System Prompt

The system prompt used for training this model is:

You are a helpful assistant who will answer crypto related questions. 

Chat Format

As mentioned above, the model uses the standard Llama 3.1 chat format. Here’s an example:

<|begin_of_text|><|start_header_id|>system<|end_header_id|>

Cutting Knowledge Date: December 2023
Today Date: 29 September 2024

You are a helpful assistant<|eot_id|><|start_header_id|>user<|end_header_id|>

What is the capital of France?<|eot_id|><|start_header_id|>assistant<|end_header_id|>

Tips for Performance

We are initially recommending a set of parameters.

sequence length = 256
temperature = 0
top-k-sampling = -1
top-p = 1
context window = 39680

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
8ee628c

0 моделей