/ Модель

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

Лицензия
Llama 3.1
Базовая модель
Llama-3.1-8B-Instruct
Библиотека
transformers
Опубликована
11 окт 2024

Theia-Llama-3.1-8B-v1-GGUF

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

Theia-Llama-3.1-8B-v1-GGUF — открытая языковая модель для задач, связанных с криптовалютами и блокчейн-проектами, разработанная Chainbase Labs.

7 044скачиваний за 30 дней0лайковвеса обновлены14 окт 2024

Бенчмарки

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

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

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

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

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

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

Она дообучена на базе Llama-3.1-8B-Instruct с использованием LoRA и предназначена для ответов на вопросы о криптоиндустрии, анализа и генерации тематического текста, а также работы в приложениях Crypto AI.

Модель обучалась на материалах о 2000 крупнейших проектах по капитализации из CoinMarketCap, включая whitepaper, официальные публикации и новости, а также на исследовательских отчётах из различных источников. Доступная версия распространяется в формате GGUF с 8-битной квантизацией Q8_0, что уменьшает потребление памяти и может ускорять инференс на устройствах с ограниченными ресурсами. Используется стандартный чат-формат Llama 3.1; рекомендованное контекстное окно составляет 39680 токенов, а в README указаны sequence length 256, temperature 0, top-k -1 и top-p 1.

Сильной стороной модели является специализация на криптовалютной тематике; в приведённом бенчмарке она показала perplexity 1,184 и BERT 0,861, превысив сравниваемые модели по этим показателям. Ограничения включают узкую предметную специализацию, возможную зависимость качества от обучающих данных и отсутствие сведений о поддерживаемых языках, мультимодальности и поведении за пределами криптосценариев. Модель распространяется по лицензии llama3.1.

Для каких профессий подходит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

llama.cpp

Нельзя запустить

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
1c10a5e

0 моделей