ayan-sh003 commited on
Commit
7c1bdda
·
verified ·
1 Parent(s): 2fe5525

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -0
README.md CHANGED
@@ -6,4 +6,22 @@ datasets:
6
 
7
  Meta llama3 8B trained on marathi alpaca cleaned for 1.5 epochs, On A100 40GB
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  GGUF available at [GGUF](https://huggingface.co/ayan-sh003/marathi-llama3-GGUF)
 
6
 
7
  Meta llama3 8B trained on marathi alpaca cleaned for 1.5 epochs, On A100 40GB
8
 
9
+ ## Model Overview
10
+ **Marathi-Llama3** is a fine-tuned version of the Llama3 model, tailored specifically for the Marathi language. This model leverages the power of the Llama3 architecture to provide accurate and nuanced responses in Marathi, opening up advanced AI capabilities to Marathi-speaking communities.
11
+
12
+ ```python
13
+ from transformers import AutoModelForCausalLM, AutoTokenizer
14
+
15
+ # Load the model and tokenizer
16
+ model_name = "Echelon-AI/marathi-llama3"
17
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
18
+ model = AutoModelForCausalLM.from_pretrained(model_name)
19
+
20
+ # Generate text
21
+ input_text = "कृपया मला मराठी भाषेत एक गोष्ट सांगा."
22
+ inputs = tokenizer(input_text, return_tensors="pt")
23
+ outputs = model.generate(**inputs, max_length=100)
24
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
25
+ ```
26
+
27
  GGUF available at [GGUF](https://huggingface.co/ayan-sh003/marathi-llama3-GGUF)