/ Модель

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

Размер весов
15 ГБ
Лицензия
CC BY-NC-SA 4.0
Архитектура
mpt · dense
Базовая модель
sea-lion-7b
Опубликована
6 ноя 2023

SEA-LION-v1-7B-IT-Research

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

Инструктивно дообученная модель AI Singapore на архитектуре MPT для генерации текста и выполнения инструкций, особенно на индонезийском языке и в контексте Юго-Восточной Азии.

109скачиваний за 30 дней14лайковвеса обновлены25 авг 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

SEA-LION-7B-IT-Research — инструктивно дообученная большая языковая модель, разработанная командой Products Pillar организации AI Singapore при финансировании NRF Singapore. Это декодер на архитектуре MPT с 7 млрд параметров, словарём размером 256 тыс. токенов и токенизатором SEABPETokenizer на основе BPE. Базовая модель предварительно обучалась на 980 млрд токенов, а эта версия дополнительно дообучена на инструкциях на индонезийском языке.

Модель предназначена для генерации ответов и выполнения инструкций с учётом языкового и регионального контекста Юго-Восточной Азии. В карточке заявлена поддержка английского, китайского, индонезийского, малайского, тайского, вьетнамского, филиппинского, тамильского, бирманского, кхмерского и лаосского языков. В оценке на индонезийских задачах модель показала результаты в классификации тональности, ответах на вопросы, переводе, суммаризации и рассуждениях; это экспериментальная исследовательская версия, и качество зависит от задачи и языка.

Модель распространяется по лицензии CC BY-NC-SA 4.0, которая не разрешает коммерческое использование. В карточке указано, что модель не была настроена на безопасность, поэтому при практическом использовании необходимы собственная проверка и меры безопасности.

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

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

Ограничения

Инструкционное дообучение выполнено только на индонезийских данных, а результаты на других языках и задачах могут отличаться. Модель не настроена на безопасность; коммерческое использование запрещено лицензией CC BY-NC-SA 4.0.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

SEA-LION-7B-IT-Research

SEA-LION is a collection of Large Language Models (LLMs) which has been pretrained and instruct-tuned for the Southeast Asia (SEA) region. The size of the models range from 3 billion to 7 billion parameters. This is the card for the SEA-LION 7B Instruct (Non-Commercial) model.

For more details on the base model, please refer to the base model's model card.

For the commercially permissive model, please refer to the SEA-LION-7B-IT.

SEA-LION stands for Southeast Asian Languages In One Network.

Model Details

Model Description

The SEA-LION model is a significant leap forward in the field of Natural Language Processing, specifically trained to understand the SEA regional context.

SEA-LION is built on the robust MPT architecture and has a vocabulary size of 256K.

For tokenization, the model employs our custom SEABPETokenizer, which is specially tailored for SEA languages, ensuring optimal model performance.

The pre-training data for the base SEA-LION model encompasses 980B tokens. The model was then further instruction-tuned on Indonesian data only.

  • Developed by: Products Pillar, AI Singapore
  • Funded by: Singapore NRF
  • Model type: Decoder
  • Languages: English, Chinese, Indonesian, Malay, Thai, Vietnamese, Filipino, Tamil, Burmese, Khmer, Lao
  • License: CC BY-NC-SA 4.0 License

Lineage & Versioning

The training counts and dataset mixture details reported in this model card reflect the exact constructed training pool consumed during this specific model run. Figures may differ slightly from public dataset releases, which represent downloadable open-source subsets of the broader corpus.

Benchmark Performance

SEA-LION-7B-IT-Research performs better than other models of comparable size when tested on tasks in the Indonesian language.

We evaluated SEA-LION-7B-IT-Research on the BHASA benchmark and compared it against Llama-2-7B, Mistral-7B and Falcon-7B.

We only evaluated it on the Indonesian tasks as the model was only instruction-tuned in Indonesian.

The evaluation was done zero-shot with Indonesian prompts and only a sample of 100 - 1000 instances per dataset was used as per the setting described in the BHASA paper.

The scores shown in the tables below have been adjusted to only consider answers provided in the appropriate language.

For Natural Language Understanding (NLU) tasks, we tested the model on Sentiment Analysis (Sent) using the NusaX dataset, Question Answering (QA) using the TyDiQA dataset, and Toxicity Detection (Tox) using the Indonesian Multi-Label Hate Speech Detection dataset. The metrics used are F1 score for all three tasks.

For Natural Language Generation (NLG) tasks, we tested the model on Machine Translation from English to Indonesian (MT-EN-ID) and from Indonesian to English (MT-ID-EN) using the FLORES-200 dataset, and Abstractive Summarization (AbsSum) using the XLSum dataset. The metrics used for Machine Translation are ChrF++ and COMET22, and ROUGE-L is used for Abstractive Summarization.

For Natural Language Reasoning (NLR) tasks, we tested the model on Natural Language Inference (NLI) using the IndoNLI lay dataset and on Causal Reasoning (Causal) using the XCOPA dataset. The metrics are accuracy for both tasks.

Model                         QA (F1)Sentiment (F1)Toxicity (F1)Eng>Indo (ChrF++)Indo>Eng (ChrF++)Summary (ROUGE-L)NLI (Acc)Causal (Acc)
SEA-LION-7B-IT-Research 24.86  76.13         24.45        52.50            46.82            15.44            33.20    23.80       
SEA-LION-7B-IT          68.4191.45     17.98        57.48            58.04            17.54        53.10    60.80       
SeaLLM 7B v1                  30.96  56.29         22.60        62.23            41.55            14.03            26.50    56.60       
SeaLLM 7B v2                  44.40  80.13         55.24    64.01          63.28        17.31            43.60    82.00  
Sailor-7B (Base)              65.43  59.48         20.48        64.27        60.68            8.69             15.10    38.40       
Sailor-7B-Chat38.0287.6452.0764.2561.8715.2868.3085.60
Llama 2 7B Chat               11.12  52.32         0.00         44.09            57.58            9.24             0.00     0.00        
Mistral 7B Instruct v0.1      38.85  74.38         20.83        30.60            51.43            15.63            28.60    50.80       
GPT-4 (gpt-4-0314)73.6074.1463.9669.3867.5318.7183.2096.00

Technical Specifications

Model Architecture and Objective

SEA-LION-7B-IT-Research is a decoder model using the MPT architecture.

ParameterSEA-LION-7B-IT-Research
Layers32
d_model4096
head_dim32
Vocabulary256000
Sequence Length2048

Tokenizer Details

We sample 20M lines from the training data to train the tokenizer. The framework for training is SentencePiece. The tokenizer type is Byte-Pair Encoding (BPE).

Example Usage

# Please use transformers==4.34.1

from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("aisingapore/SEA-LION-v1-7B-IT-Research", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("aisingapore/SEA-LION-v1-7B-IT-Research", trust_remote_code=True)

prompt_template = "### USER:\n{human_prompt}\n\n### RESPONSE:\n"
prompt = """Apa sentimen dari kalimat berikut ini?
Kalimat: Buku ini sangat membosankan.
Jawaban: """
full_prompt = prompt_template.format(human_prompt=prompt)

tokens = tokenizer(full_prompt, return_tensors="pt")
output = model.generate(tokens["input_ids"], max_new_tokens=20, eos_token_id=tokenizer.eos_token_id)
print(tokenizer.decode(output[0], skip_special_tokens=True))

The Team

Lam Wen Zhi Clarence Leong Wei Qi Li Yier Liu Bing Jie Darius Lovenia Holy Montalan Jann Railey Ng Boon Cheong Raymond Ngui Jian Gang Nguyen Thanh Ngan Ong Tat-Wee David Rengarajan Hamsawardhini Susanto Yosephine Tai Ngee Chia Tan Choon Meng Teo Jin Howe Teo Eng Sipp Leslie Teo Wei Yi Tjhi William Yeo Yeow Tong Yong Xianbin

Acknowledgements

AI Singapore is a national programme supported by the National Research Foundation, Singapore and hosted by the National University of Singapore. Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not reflect the views of National Research Foundation, Singapore.

Contact

For more info, please contact us using this SEA-LION Inquiry Form

Link to SEA-LION's GitHub repository

Disclaimer

This the repository for the non-commercial instruction-tuned model. The model has not been aligned for safety. Developers and users should perform their own safety fine-tuning and related security measures. In no event shall the authors be held liable for any claim, damages, or other liability arising from the use of the released weights and codes.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
MPTForCausalLM
Ревизия весов
fd22ea4

0 моделей