/ Модель

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

Лицензия
MIT
Библиотека
transformers
Опубликована
16 мар 2024

finma-7b-full

Генерация текстаТекст → текст

FinMA-7B-full — дообученная на финансовых инструкциях PIXIU модель LLaMA для анализа финансовых текстов и выполнения профильных запросов.

3скачиваний за 30 дней17лайковвеса обновлены8 окт 2026

Бенчмарки

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

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

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

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

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

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

FinMA-7B-full — языковая модель для финансовых задач, созданная в рамках проекта PIXIU. Она основана на архитектуре LLaMA и дообучена следовать инструкциям на полном наборе инструкционных данных PIXIU, включающем задачи обработки естественного языка и прогнозирования. Модель предназначена для анализа финансовых текстов и выполнения широкого круга запросов в финансовой сфере.

Модель принимает текст и генерирует текст. В карточке указана поддержка английского языка; модель распространяется в форматах PyTorch и Safetensors и может использоваться через библиотеку Transformers. Лицензия — MIT. Карточка не приводит размер контекстного окна и подробную оценку качества по отдельным задачам.

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

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

Ограничения

Карточка не приводит количественных оценок качества по отдельным задачам. Модель обучалась на данных PIXIU, поэтому её ответы могут ошибаться и требуют проверки перед использованием для финансовых решений.

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

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

Открыть на Hugging Face

FinMA-7B-full

📄 Paper · 💻 Code · 🌐 The Fin AI

Part of PIXIU — PIXIU: A Large Language Model, Instruction Data and Evaluation Benchmark for Finance (arXiv:2306.05443).

FinMA-7B-full is a comprehensive financial large language model (LLM) developed as part of the PIXIU project. It is designed to understand complex financial language and concepts, and is fine-tuned to follow natural language instructions, enhancing its performance in downstream financial tasks. Specifically, FinMA-7B-full is trained with the full instruction data from the PIXIU dataset, covering both NLP and prediction tasks. This makes it a more comprehensive model capable of handling a wider range of financial tasks.

Other Models in the PIXIU Project

In addition to FinMA-7B-full, the PIXIU project includes two other models: FinMA-7B-NLP and FinMA-30B.

  • FinMA-7B-NLP: This model is trained only on the NLP tasks of the PIXIU dataset, making it specialized for tasks such as sentiment analysis, news headline classification, named entity recognition, and question answering.

  • FinMA-30B: This model is a larger version of FinMA, fine-tuned on the LLaMA-30B model. Like FinMA-7B-NLP, it is trained with the NLP instruction data.

Usage

You can use the FinMA-7B-full model in your Python project with the Hugging Face Transformers library. Here is a simple example of how to load the model:

from transformers import LlamaTokenizer, LlamaForCausalLM

tokenizer = LlamaTokenizer.from_pretrained('ChanceFocus/finma-7b-full')
model = LlamaForCausalLM.from_pretrained('ChanceFocus/finma-7b-full', device_map='auto')

In this example, LlamaTokenizer is used to load the tokenizer, and LlamaForCausalLM is used to load the model. The device_map='auto' argument is used to automatically use the GPU if it's available.

Hosted Inference API

You can also use the model through the Hugging Face Inference API. This allows you to generate text without having to set up your own inference environment. The model can be loaded on the Inference API on-demand.

License

FinMA-7B-NLP is licensed under MIT. For more details, please see the MIT file.

About

This model is part of the PIXIU project, an open-source resource featuring the first financial large language models (LLMs), instruction tuning data, and evaluation benchmarks to holistically assess financial LLMs. The goal is to continually push forward the open-source development of financial artificial intelligence (AI).

For more information, you can visit the PIXIU project on GitHub.

Citation

If you use FinMA-7B-NLP in your work, please cite the PIXIU paper:

@misc{xie2023pixiu,
 title={PIXIU: A Large Language Model, Instruction Data and Evaluation Benchmark for Finance}, 
 author={Qianqian Xie and Weiguang Han and Xiao Zhang and Yanzhao Lai and Min Peng and Alejandro Lopez-Lira and Jimin Huang},
 year={2023},
 eprint={2306.05443},
 archivePrefix={arXiv},
 primaryClass={cs.CL}
}

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

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

GPU в ailist

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

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

Доступ к модели ограничен автором; у платформы нет доступа к весам.

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

0 моделей