sainv/MLTE_llama2_multilingual_T2I_prompt_gen
Model Card for Model ID
<!-- Provide a quick summary of what the model is/does. -->
This is finetuned on LLaMA2 7B Chat model. Get details at this GitHub Repo. when input prompt is in non-english language many Text-to-Image generation models fail to generate relevent images. To solve this we finetuned Llama2 model in Indian languages (telugu and hindi). Our target was to achieve 4 things.To handle
- Multilingual prompts
- Mispelled prompts
- Enhancing insufficient prompt
- To summarize and keyword extraction for lengthy prompts
Model Details
Model Description
MLTE - Multilingual Text Enhancer, a text enhancement model developed primarily to enrich input text for text-to-image generation models. Existing text encoders in image generation models often have limited reach. The quality of image generation depends on the prompt. If the prompt includes misspelled words, the encoder will create an irrelevant image. Most encoders are primarily English-based. MLTE effectively addresses multilingual prompts, misspelled words, overly verbose prompts, and creatively enhances the prompt to get improved results. MLTE utilizes advanced natural language processing techniques to connect raw text input with the generation of highly accurate images. MLTE is based on LLaMA2 it has ability to handle numerous languages enables for simple incorporation of content from diverse linguistic origins. Additionally, its spell checking and correction functions ensure the quality and coherence of the prompt. Moreover, MLTE's scene and text augmentation features strengthen the visual richness and coherence of generated photos, enhancing their overall quality and realism. Its summarizing capability condenses large paragraphs into concise yet helpful summaries, assisting the image creation process by delivering more focused input. MLTE can be used with any text to image generating models.

Model Sources
<!-- Provide the basic links for the model. -->
- GitHub Repository:GitHub Repo
- Paper : Multilingual Text Enhancer (MLTE) – A LLaMA2 based Model for Prompt Generation
- Demo : Demo video
Direct Use
Do not give any descriptions like "Act as this .." Just give prompt.
<!--
How to Get Started with the Model
Use the code below to get started with the model.
[More Information Needed]
Training Details
Training Data
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
Evaluation


Results

