Update README.md
Browse files
README.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
|
|
| 1 |
library_name: transformers
|
| 2 |
tags:
|
| 3 |
- AI
|
| 4 |
- NLP
|
| 5 |
- LLM
|
| 6 |
- ML
|
|
|
|
| 7 |
language:
|
| 8 |
- en
|
| 9 |
metrics:
|
|
@@ -16,7 +18,7 @@ pipeline_tag: text2text-generation
|
|
| 16 |
|
| 17 |
# Model Card for TinyLlama-1.1B Fine-tuned on NLP, ML, Generative AI, and Computer Vision Q&A
|
| 18 |
|
| 19 |
-
This model is fine-tuned
|
| 20 |
|
| 21 |
---
|
| 22 |
|
|
@@ -24,7 +26,7 @@ This model is fine-tuned on the **TinyLlama-1.1B** base model to answer domain-s
|
|
| 24 |
|
| 25 |
### Model Description
|
| 26 |
|
| 27 |
-
This model
|
| 28 |
|
| 29 |
- **Developed by:** Harikrishnan46624
|
| 30 |
- **Funded by:** Self-funded
|
|
@@ -32,58 +34,61 @@ This model is designed to excel in providing concise, domain-specific answers to
|
|
| 32 |
- **Model Type:** Text-to-Text Generation
|
| 33 |
- **Language(s):** English
|
| 34 |
- **License:** Apache 2.0
|
| 35 |
-
- **
|
| 36 |
|
| 37 |
---
|
| 38 |
|
| 39 |
### Model Sources
|
| 40 |
|
| 41 |
-
- **Repository:** [Fine-Tuning Notebook on GitHub](https://github.com/Harikrishnan46624/EduBotIQ/blob/main/Fine_tune/TinyLlama_fine_tuning.ipynb)
|
| 42 |
-
- **Demo:** [
|
| 43 |
|
| 44 |
---
|
| 45 |
|
| 46 |
-
##
|
| 47 |
|
| 48 |
### Direct Use
|
| 49 |
|
| 50 |
- Answering technical questions in **AI**, **ML**, **DL**, **LLMs**, **Generative AI**, and **Computer Vision**.
|
| 51 |
-
- Supporting educational content creation and
|
| 52 |
|
| 53 |
### Downstream Use
|
| 54 |
|
| 55 |
-
- Fine-tuning for specific
|
| 56 |
-
- Integrating into
|
| 57 |
|
| 58 |
### Out-of-Scope Use
|
| 59 |
|
| 60 |
- Generating non-English responses (English-only capability).
|
| 61 |
-
- Handling
|
| 62 |
|
| 63 |
---
|
| 64 |
|
| 65 |
## Bias, Risks, and Limitations
|
| 66 |
|
| 67 |
-
- **Bias:** Trained on domain-specific datasets, the model may exhibit biases
|
| 68 |
-
- **Risks:** May generate
|
| 69 |
-
- **Limitations:**
|
| 70 |
|
| 71 |
---
|
| 72 |
|
| 73 |
### Recommendations
|
| 74 |
|
| 75 |
-
-
|
| 76 |
-
- Regularly
|
| 77 |
|
| 78 |
---
|
| 79 |
|
| 80 |
## How to Get Started
|
| 81 |
|
| 82 |
-
To
|
| 83 |
|
| 84 |
```python
|
| 85 |
from transformers import pipeline
|
| 86 |
|
|
|
|
| 87 |
model = pipeline("text2text-generation", model="TinyLlama/TinyLlama-1.1B-Chat-v1.0")
|
|
|
|
|
|
|
| 88 |
output = model("What is the difference between supervised and unsupervised learning?")
|
| 89 |
print(output)
|
|
|
|
| 1 |
+
---
|
| 2 |
library_name: transformers
|
| 3 |
tags:
|
| 4 |
- AI
|
| 5 |
- NLP
|
| 6 |
- LLM
|
| 7 |
- ML
|
| 8 |
+
- Generative AI
|
| 9 |
language:
|
| 10 |
- en
|
| 11 |
metrics:
|
|
|
|
| 18 |
|
| 19 |
# Model Card for TinyLlama-1.1B Fine-tuned on NLP, ML, Generative AI, and Computer Vision Q&A
|
| 20 |
|
| 21 |
+
This model is fine-tuned from the **TinyLlama-1.1B** base model to provide answers to domain-specific questions in **Natural Language Processing (NLP)**, **Machine Learning (ML)**, **Deep Learning (DL)**, **Generative AI**, and **Computer Vision (CV)**. It generates accurate and context-aware responses, making it suitable for educational, research, and professional applications.
|
| 22 |
|
| 23 |
---
|
| 24 |
|
|
|
|
| 26 |
|
| 27 |
### Model Description
|
| 28 |
|
| 29 |
+
This model excels in providing concise, domain-specific answers to questions in AI-related fields. Leveraging the powerful TinyLlama architecture and fine-tuning on a curated dataset of Q&A pairs, it ensures relevance and coherence in responses.
|
| 30 |
|
| 31 |
- **Developed by:** Harikrishnan46624
|
| 32 |
- **Funded by:** Self-funded
|
|
|
|
| 34 |
- **Model Type:** Text-to-Text Generation
|
| 35 |
- **Language(s):** English
|
| 36 |
- **License:** Apache 2.0
|
| 37 |
+
- **Fine-tuned from:** TinyLlama-1.1B
|
| 38 |
|
| 39 |
---
|
| 40 |
|
| 41 |
### Model Sources
|
| 42 |
|
| 43 |
+
- **Repository:** [Fine-Tuning Notebook on GitHub](https://github.com/Harikrishnan46624/EduBotIQ/blob/main/Fine_tune/TinyLlama_fine_tuning.ipynb)
|
| 44 |
+
- **Demo:** [Demo Link to be Added]
|
| 45 |
|
| 46 |
---
|
| 47 |
|
| 48 |
+
## Use Cases
|
| 49 |
|
| 50 |
### Direct Use
|
| 51 |
|
| 52 |
- Answering technical questions in **AI**, **ML**, **DL**, **LLMs**, **Generative AI**, and **Computer Vision**.
|
| 53 |
+
- Supporting educational content creation, research discussions, and technical documentation.
|
| 54 |
|
| 55 |
### Downstream Use
|
| 56 |
|
| 57 |
+
- Fine-tuning for industry-specific applications like healthcare, finance, or legal tech.
|
| 58 |
+
- Integrating into specialized chatbots, virtual assistants, or automated knowledge bases.
|
| 59 |
|
| 60 |
### Out-of-Scope Use
|
| 61 |
|
| 62 |
- Generating non-English responses (English-only capability).
|
| 63 |
+
- Handling non-technical, unrelated queries outside the AI domain.
|
| 64 |
|
| 65 |
---
|
| 66 |
|
| 67 |
## Bias, Risks, and Limitations
|
| 68 |
|
| 69 |
+
- **Bias:** Trained on domain-specific datasets, the model may exhibit biases toward AI-related terminologies or fail to generalize well in other domains.
|
| 70 |
+
- **Risks:** May generate incorrect or misleading information if the query is ambiguous or goes beyond the model’s scope.
|
| 71 |
+
- **Limitations:** May struggle with highly complex or nuanced queries not covered in its fine-tuning data.
|
| 72 |
|
| 73 |
---
|
| 74 |
|
| 75 |
### Recommendations
|
| 76 |
|
| 77 |
+
- For critical or high-stakes applications, it’s recommended to use the model with human oversight.
|
| 78 |
+
- Regularly update the fine-tuning datasets to ensure alignment with the latest research and advancements in AI.
|
| 79 |
|
| 80 |
---
|
| 81 |
|
| 82 |
## How to Get Started
|
| 83 |
|
| 84 |
+
To use the model, install the `transformers` library and use the following code snippet:
|
| 85 |
|
| 86 |
```python
|
| 87 |
from transformers import pipeline
|
| 88 |
|
| 89 |
+
# Load the model
|
| 90 |
model = pipeline("text2text-generation", model="TinyLlama/TinyLlama-1.1B-Chat-v1.0")
|
| 91 |
+
|
| 92 |
+
# Generate a response
|
| 93 |
output = model("What is the difference between supervised and unsupervised learning?")
|
| 94 |
print(output)
|