/ Модель

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

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

finma-7b-nlp

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

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

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

Бенчмарки

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

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

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

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

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

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

FinMA-7B-NLP — языковая модель для финансовой сферы, разработанная в рамках проекта PIXIU. Это модель семейства LLaMA с 7 млрд параметров, дообученная на инструкционных NLP-данных PIXIU; репозиторий содержит веса PyTorch и SafeTensors и рассчитан на работу через Transformers. Модель предназначена для анализа финансовых текстов и выполнения инструкций на английском языке.

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

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

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

Ограничения

Модель обучена только на NLP-задачах PIXIU, поэтому её возможности не охватывают весь набор финансовых задач проекта. Ответы в финансовых сценариях следует проверять.

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

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

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

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

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

Открыть на Hugging Face

FinMA-7B-NLP

📄 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-NLP is a 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-NLP 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.

Other Models in the PIXIU Project

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

  • FinMA-7B-full: This model 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.

  • 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-NLP 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-nlp')
model = LlamaForCausalLM.from_pretrained('ChanceFocus/finma-7b-nlp', 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

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

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

Ревизия весов
273b85a

0 моделей