Misal-7B-base-v0.1 / README.md
sagarshf's picture
Update README.md
e13de53 verified
|
raw
history blame
No virus
1.69 kB
metadata
datasets:
  - uonlp/CulturaX
  - l3cube-pune/MarathiNLP
  - ai4bharat/samanantar
language:
  - mr
tags:
  - marathi
library_name: transformers
pipeline_tag: text-generation
license: llama2

Misal-7B-base-v0.1

Built by - smallstep.ai

Making of Misal?

Detailed blog here.

Pretraining :

During the pretraining phase of our large language model, the model was exposed to a vast corpus of text data comprising approximately 2 billion Marathi tokens. This corpus primarily consisted of newspaper data spanning the years 2016 to 2022, sourced primarily from the CulturaX dataset. In addition to this, we supplemented our training data with additional sources such as l3cube, ai4bharat, and other internet-based datasets.

image/png

Our model was pretrained using a single A100 80GB GPU on the QBlocks platform. We chose bfloat16 as training precision due to stability issues with float16 precision.

We used Parameter efficient finetuning for pretraining, using Low Rank Adaptation (LoRA), to achieve a training loss of approximately 2.8 after training for almost 2 days.

# LoRA config

peft:
  r: 64
  lora_alpha: 128
  target_modules:
      [
        "q_proj", "v_proj",
        "k_proj", "o_proj",
        "gate_proj", "up_proj",
        "down_proj",
      ]
  lora_dropout: 0.05
  bias: "none"
  task_type: "CAUSAL_LM"
  modules_to_save: ["embed_tokens", "lm_head"]

License

The model inherits the license from meta-llama/Llama-2-7b.

Team

Sagar Sarkale, Abhijeet Katte, Prasad Mane, Shravani Chavan