Update README.md
Browse files
README.md
CHANGED
@@ -1,12 +1,24 @@
|
|
1 |
-
---
|
2 |
-
library_name: transformers
|
3 |
-
tags:
|
4 |
-
- trl
|
5 |
-
- sft
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
## Download the model
|
9 |
|
|
|
|
|
|
|
|
|
|
|
10 |
```python
|
11 |
import torch
|
12 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- trl
|
5 |
+
- sft
|
6 |
+
license: apache-2.0
|
7 |
+
datasets:
|
8 |
+
- Mike0307/alpaca-en-zhtw
|
9 |
+
language:
|
10 |
+
- zh
|
11 |
+
pipeline_tag: text-generation
|
12 |
+
---
|
13 |
+
|
14 |
|
15 |
## Download the model
|
16 |
|
17 |
+
The base-model *microsoft/Phi-3-mini-4k-instruct* relies on development-version transformers:
|
18 |
+
```bash
|
19 |
+
pip uninstall -y transformers && pip install git+https://github.com/huggingface/transformers
|
20 |
+
```
|
21 |
+
|
22 |
```python
|
23 |
import torch
|
24 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|