Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
datasets:
|
3 |
+
- erfanzar/UltraChat-Mixin
|
4 |
+
language:
|
5 |
+
- en
|
6 |
+
- fr
|
7 |
+
- es
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
pipeline_tag: text-generation
|
11 |
+
tags:
|
12 |
+
- code
|
13 |
+
---
|
14 |
+
|
15 |
+
# LinguaMatic
|
16 |
+
|
17 |
+
LinguaMatic is an advanced AI model designed to handle a wide range of Natural Language Processing (NLP) tasks. With its powerful capabilities, LinguaMatic can assist with tasks such as text classification, sentiment analysis, language translation, question answering, and much more.
|
18 |
+
|
19 |
+
## EasyDel
|
20 |
+
|
21 |
+
The model is finetuned Using a custom version of UltraChat on TPU-v4 POD using [EasyDel](https://github.com/erfanzar/EasyDeL)
|
22 |
+
|
23 |
+
## Prompting Method
|
24 |
+
|
25 |
+
LinguaMatic utilizes the OC prompting method to generate responses. This method, named after the friendly and intelligent llama, enhances the model's ability to engage in meaningful conversations. The `prompt_model` function provided below demonstrates how the llama2 prompting method is implemented:
|
26 |
+
|
27 |
+
```python
|
28 |
+
def prompt_model(
|
29 |
+
problem:str,
|
30 |
+
system = "You are an exceptionally intelligent coding assistant that consistently delivers accurate and reliable responses to user instructions."
|
31 |
+
):
|
32 |
+
prompt = f"<|system|>\n{system}</s>\n<|user|>\n{problem}</s>\n<|assistant|>\n"
|
33 |
+
return prompt
|
34 |
+
```
|
35 |
+
|
36 |
+
The `prompt_model` function takes a `problem` as input, along with the `system`. It generates a formatted text that includes the system prompt, user inputs, and the current message. This approach allows LinguaMatic to maintain context and provide more coherent and context-aware responses.
|
37 |
+
|
38 |
+
Remember this model is instruction-tuned with Coding Problems only and will take a static system input
|
39 |
+
|
40 |
+
use system as
|
41 |
+
|
42 |
+
`You are an exceptionally intelligent coding assistant that consistently delivers accurate and reliable responses to user instructions.`
|
43 |
+
## Contributing
|
44 |
+
|
45 |
+
We welcome contributions to enhance LinguaMatic's capabilities and improve its performance. If you encounter any issues or have suggestions for improvement, please feel free to submit a pull request or open an issue on [EasyDel](https://github.com/erfanzar/EasyDeL) GitHub repository.
|