Update README.md
Browse files
README.md
CHANGED
|
@@ -22,11 +22,20 @@ pipeline_tag: text-generation
|
|
| 22 |
## Model Description
|
| 23 |
|
| 24 |
- **Model type**: The LLM is based on Typhoon2 LLM.
|
| 25 |
-
- **Requirement**: transformers
|
| 26 |
- **Primary Language(s)**: Thai 🇹🇠and English 🇬🇧
|
| 27 |
- **License-Speech-Input & LLM**: [Llama 3.1 Community License](https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE)
|
| 28 |
- **License-Speech-Output**: [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/)
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
## Usage
|
| 31 |
|
| 32 |
### Load Model
|
|
|
|
| 22 |
## Model Description
|
| 23 |
|
| 24 |
- **Model type**: The LLM is based on Typhoon2 LLM.
|
| 25 |
+
- **Requirement**: Python==3.10 & transformers==4.52.2 & fairseq==0.12.2 & flash-attn
|
| 26 |
- **Primary Language(s)**: Thai 🇹🇠and English 🇬🇧
|
| 27 |
- **License-Speech-Input & LLM**: [Llama 3.1 Community License](https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE)
|
| 28 |
- **License-Speech-Output**: [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/)
|
| 29 |
|
| 30 |
+
## Installation
|
| 31 |
+
|
| 32 |
+
```bash
|
| 33 |
+
pip install pip==24.0
|
| 34 |
+
pip install transformers==4.45.2
|
| 35 |
+
pip install fairseq==0.12.2 # fairseq required pip==24.0 to install & only worked only on python 3.10
|
| 36 |
+
pip install flash-attn
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
## Usage
|
| 40 |
|
| 41 |
### Load Model
|