Vocabulary extension of the Mistral-7B tokenizer with Greek tokens
8192 context length
We extend the pretraining of Mistral-7B with added proficiency for the Greek language, by utilizing a large corpus consisting of approximately
40 billion tokens
.
This corpus includes 28.5 billion monolingual Greek tokens, constructed from publicly available resources. Additionaly, to mitigate catastrophic forgetting and ensure that the model has bilingual capabilities, we use additional sub-corpora with monolingual English texts (10.5 billion tokens) and Greek-English parallel data (600 million tokens).
This corpus has been processed, filtered, and deduplicated to ensure data quality (a detailed description of our data processing pipeline will be published in our upcoming paper) and is outlined below:
Sub-corpus
# Tokens
Percentage
Greek
28,555,902,360
72.0%
English
10,478,414,033
26.4%
Parallel
633,816,023
1.6%
Total
39,668,132,416
100%
Usage
Please make sure that the BOS token is always included in the tokenized prompts. This might not be the default setting in all evaluation or fine-tuning frameworks.
Evaluation
The evaluation suite we created includes 6 test sets. The suite is integrated with
lm-eval-harness
.
An existing benchmark for question answering in Greek (
Belebele
)
A novel benchmark created by the ILSP team for medical question answering based on the medical exams of
DOATAP
(
Medical MCQA
).
Our evaluation for Meltemi-7B is performed in a few-shot setting, consistent with the settings in the
Open LLM leaderboard
. We can see that our training enhances performance across all Greek test sets by a
+14.9%
average improvement. The results for the Greek test sets are shown in the following table:
Medical MCQA EL (15-shot)
Belebele EL (5-shot)
HellaSwag EL (10-shot)
ARC-Challenge EL (25-shot)
TruthfulQA MC2 EL (0-shot)
MMLU EL (5-shot)
Average
Mistral 7B
29.8%
45.0%
36.5%
27.1%
45.8%
35%
36.5%
Meltemi 7B
41.0%
63.6%
61.6%
43.2%
52.1%
47%
51.4%
Ethical Considerations
This model has not been aligned with human preferences, and therefore might generate misleading, harmful, and toxic content.
Acknowledgements
The ILSP team utilized Amazon's cloud computing services, which were made available via GRNET under the
OCRE Cloud framework
, providing Amazon Web Services for the Greek Academic and Research Community.
Runs of ilsp Meltemi-7B-v1 on huggingface.co
157
Total runs
0
24-hour runs
3
3-day runs
-14
7-day runs
-78
30-day runs
More Information About Meltemi-7B-v1 huggingface.co Model
Meltemi-7B-v1 huggingface.co is an AI model on huggingface.co that provides Meltemi-7B-v1's model effect (), which can be used instantly with this ilsp Meltemi-7B-v1 model. huggingface.co supports a free trial of the Meltemi-7B-v1 model, and also provides paid use of the Meltemi-7B-v1. Support call Meltemi-7B-v1 model through api, including Node.js, Python, http.
Meltemi-7B-v1 huggingface.co is an online trial and call api platform, which integrates Meltemi-7B-v1's modeling effects, including api services, and provides a free online trial of Meltemi-7B-v1, you can try Meltemi-7B-v1 online for free by clicking the link below.
ilsp Meltemi-7B-v1 online free url in huggingface.co:
Meltemi-7B-v1 is an open source model from GitHub that offers a free installation service, and any user can find Meltemi-7B-v1 on GitHub to install. At the same time, huggingface.co provides the effect of Meltemi-7B-v1 install, users can directly use Meltemi-7B-v1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.