Asankhla01 commited on
Commit
6328c4d
·
verified ·
1 Parent(s): b19b439

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +44 -0
README.md CHANGED
@@ -1,3 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  library_name: transformers
3
  tags: []
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - hindi
5
+ - chatbot
6
+ - question-answering
7
+ - prakriti
8
+ - flan-t5
9
+ ---
10
+
11
+ # Prakriti AI — A Hindi Question-Answering Model
12
+
13
+ **Prakriti-AI** is a custom-trained language model based on `flan-t5-small`, fine-tuned on over 10,000 Hindi question-answer pairs.
14
+ It is designed to understand and respond to Hindi queries in a natural, human-like way.
15
+
16
+ ---
17
+
18
+ ## ✨ Features
19
+
20
+ - Base Model: `google/flan-t5-small`
21
+ - Language: Hindi (and Hinglish supported)
22
+ - Purpose: Q&A chatbot assistant
23
+ - Trained by: **Asankhla01**
24
+ - Use-case: Chatbots, education, AI assistants
25
+
26
+ ---
27
+
28
+ ## 🔧 Example Usage
29
+
30
+ ```python
31
+ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
32
+
33
+ model = AutoModelForSeq2SeqLM.from_pretrained("Asankhla01/prakriti-ai-model")
34
+ tokenizer = AutoTokenizer.from_pretrained("Asankhla01/prakriti-ai-model")
35
+
36
+ def ask_prakriti(question):
37
+ input_text = "Q: " + question
38
+ inputs = tokenizer(input_text, return_tensors="pt")
39
+ outputs = model.generate(**inputs)
40
+ answer = tokenizer.decode(outputs[0], skip_special_tokens=True)
41
+ return answer
42
+
43
+ ask_prakriti("AI kya hota hai?")
44
+
45
  ---
46
  library_name: transformers
47
  tags: []