/ Модель

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

Контекст
32 768 токенов
Параметры
7,1 млрд
Размер весов
29 ГБ
Лицензия
Apache 2.0
Архитектура
mistral · dense
Опубликована
26 фев 2024

occiglot-7b-fr-en

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

Occiglot-7B-FR-EN — базовая модель Mistral на 7,1 млрд параметров для генерации текста на французском и английском языках.

98скачиваний за 30 дней3лайкавеса обновлены11 мар 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Occiglot-7B-FR-EN — базовая генеративная языковая модель с 7,1 млрд параметров, разработанная Occiglot Research Collective. Это плотный декодерный трансформер Mistral, дообученный продолжением предобучения модели Mistral-7B-v0.1 на 113 млрд дополнительных токенов французского, английского и кода. Модель рассчитана на генерацию текста и продолжение заданных фрагментов; она не проходила инструкционную настройку и не оптимизирована для диалогового режима или готовых прикладных сценариев.

Модель поддерживает французский и английский языки, а также данные кода. Контекст в метаданных указан как 32 768 токенов. Доступны веса в формате safetensors, лицензия — Apache 2.0. Авторы предупреждают, что предварительные оценки для неанглийских языков основаны частично на машинном переводе и англоязычных запросах, поэтому их следует трактовать осторожно.

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

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

Ограничения

Модель не настроена для следования инструкциям и не оптимизирована для чата или готовых приложений. Результаты предварительных оценок для неанглийских языков ограничены использованием частично машинно переведённых наборов и англоязычных запросов.

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

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

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

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

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

Открыть на Hugging Face

image/png

Occiglot-7B-FR-EN

A polyglot language model for the Occident.

Occiglot-7B-FR-EN is a generative language model with 7B parameters for French and English and trained by the Occiglot Research Collective. It is based on Mistral-7B-v0.1 and trained on 113B tokens of additional multilingual and code data with a block size of 8,192 tokens per sample. Note that the model is a general-purpose base model and was not instruction-fine-tuned nor optimized for chat or other applications. We make an instruction tuned variant available as occiglot-7b-fr-en-instruct

This is the first release of an ongoing open research project for multilingual language models. If you want to train a model for your own language or are working on evaluations, please contact us or join our Discord server. We are open for collaborations!

Model details

  • Continued-pretraining from: Mistral-7B-v0.1
  • Model type: Causal decoder-only transformer language model
  • Languages: English, French, and code.
  • License: Apache 2.0
  • Compute resources: HessianAI's 42
  • Contributors: Manuel Brack, Patrick Schramowski, Pedro Ortiz, Malte Ostendorff, Fabio Barth, Georg Rehm, Kristian Kersting
  • Research labs: Occiglot with support from SAINT and SLT
  • Contact: Discord

How to use

You can use this model directly with a pipeline for text generation. Since the generation relies on some randomness, we set a seed for reproducibility:

>>> from transformers import pipeline, set_seed
>>> generator = pipeline('text-generation', model='occiglot/occiglot-7b-fr-en')
>>> set_seed(42)
>>> generator("Bonjour, Je suis un modèle linguistique,", max_length=40, num_return_sequences=1)
[{'generated_text': 'Bonjour, Je suis un modèle linguistique qui peut t'aider à traduire des textes entre le français et l'anglais. Si tu me donnes un texte en français'}]

Dataset

The training data is the respective subset of the data used for occiglot-7b-eu5, i.e. French plus English and Code.

The data distribution by language (estimated) is as follows:

  • English: ~34%
  • Code: ~13%
  • French: ~52%

The training data was prepared using lm-datasets. The exact data configuration is here.

Training settings

  • Continual pre-training on 128 x A100-80GB on HessianAI's 42.
  • Framework: Determined
  • Precision: bf16
  • Optimizer: AdamW (lr: 0.00001, warmup_steps: 420)
  • Global batch size: 512 (with 8192 blocksize) split over 128 GPUs
  • Cosine Annealing with Warmup

Tokenizer

Tokenizer is unchanged from Mistral-7B-v0.1.

Evaluation

Preliminary evaluation results can be found below. Please note that the non-English results are based on partially machine-translated datasets and English prompts (Belebele and Okapi framework) and thus should be interpreted with caution, e.g., biased towards English model performance. Currently, we are working on more suitable benchmarks for Spanish, French, German, and Italian.

All 5 Languages

avgarc_challengebelebelehellaswagmmlutruthfulqa
Occiglot-7b-eu50.5168950.5081090.6755560.7189630.4020640.279782
Occiglot-7b-eu5-instruct0.5377990.536320.6911110.7319180.4051980.32445
Occiglot-7b-fr-en0.5092090.4968060.6913330.6674750.4091290.281303
Occiglot-7b-fr-en-instruct0.528840.5156130.7233330.673710.4130240.318521
Claire-mistral-7b-0.10.5142260.5027730.7051110.6668710.4121280.284245
Mistral-7b-v0.10.5471110.5289370.7684440.6825160.4482530.307403
Mistral-7b-instruct-v0.20.567130.5472280.7411110.694550.4225010.430262

English

avgarc_challengebelebelehellaswagmmlutruthfulqa
Occiglot-7b-eu50.596570.5307170.7266670.7898820.5319040.403678
Occiglot-7b-eu5-instruct0.6179050.5588740.7466670.7998410.5351090.449
Occiglot-7b-fr-en0.6219470.5682590.7711110.8049190.5707160.394726
Occiglot-7b-fr-en-instruct0.6465710.5861770.7944440.8083050.5698620.474064
Claire-mistral-7b-0.10.6517980.597270.8177780.8271260.6009120.415906
Mistral-7b-v0.10.6683850.6126280.8444440.8340970.6245550.426201
Mistral-7b-instruct-v0.20.7136570.6373720.8244440.8463450.592010.668116

French

avgarc_challenge_frbelebele_frhellaswag_frmmlu_frtruthfulqa_fr
Occiglot-7b-eu50.5250170.5064160.6755560.7123580.4956840.23507
Occiglot-7b-eu5-instruct0.5542160.5414880.70.7242450.4991220.306226
Occiglot-7b-fr-en0.5429030.5329340.7066670.7188910.513330.242694
Occiglot-7b-fr-en-instruct0.5670790.5423440.7522220.725530.520510.29479
Claire-mistral-7b-0.10.5151270.4867410.6944440.6429640.4795660.271919
Mistral-7b-v0.10.5581290.5252350.7766670.664810.5431210.280813
Mistral-7b-instruct-v0.20.5758210.5517540.7588890.679160.5068370.382465

Acknowledgements

The model training was supported by a compute grant at the 42 supercomputer which is a central component in the development of hessian AI, the AI Innovation Lab (funded by the Hessian Ministry of Higher Education, Research and the Art (HMWK) & the Hessian Ministry of the Interior, for Security and Homeland Security (HMinD)) and the AI Service Centers (funded by the German Federal Ministry for Economic Affairs and Climate Action (BMWK)). The curation of the training data is partially funded by the German Federal Ministry for Economic Affairs and Climate Action (BMWK) through the project OpenGPT-X (project no. 68GX21007D).

License

Apache 2.0

See also

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
MistralForCausalLM
Ревизия весов
48b4cd9

0 моделей