/ Модель

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

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

Theia-Llama-3.1-8B-v1

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

Дообученная на материалах о криптовалютах модель Llama 3.1 8B для ответов на вопросы о блокчейн-проектах и их документации.

34скачиваний за 30 дней15лайковвеса обновлены10 окт 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Theia-Llama-3.1-8B-v1 — языковая модель Chainbase Labs для вопросов о криптовалютах и блокчейн-проектах. Она дообучена методом LoRA на базе Llama 3.1 8B Instruct; архитектура — плотная авторегрессионная LlamaForCausalLM, размер — 7,5 млрд параметров. Модель работает в формате чата Llama 3.1, принимает текст и генерирует текст. Заявленная длина контекста — 131 072 токена.

Модель предназначена для ответов на вопросы о криптопроектах, их документации, фундаментальных характеристиках, ходе разработки и влиянии на рынок. Обучающий набор собран из материалов CoinMarketCap о 2 000 ведущих по капитализации проектах, включая white paper, официальные блоги и новости, а также исследовательских отчётов. README также описывает отдельную Q8 GGUF-квантизацию, но текущая карточка содержит файлы safetensors.

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

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

  • ответы на вопросы о криптовалютных проектах
  • краткое изложение white paper и официальных публикаций блокчейн-проектов
  • сравнение фундаментальных характеристик криптопроектов
  • обобщение исследовательских отчётов о крипторынке
  • чат-консультант по тематике криптовалют

Ограничения

Специализация модели ограничена криптовалютной тематикой; точность и актуальность рыночных сведений в README не гарантируются. Результаты бенчмарка приведены без полной таблицы и подробного описания методики.

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

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

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

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

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

Открыть на Hugging Face

Theia-Llama-3.1-8B-v1

Theia-Llama-3.1-8B-v1 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-v1 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 Q8 GGUF format Theia-Llama-3.1-8B-v1-Q8_0.gguf. 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, in this case, 8-bit integers (Q8). 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
Ревизия весов
2c7a95b

0 моделей