Update README.md
Browse files
README.md
CHANGED
|
@@ -8,12 +8,15 @@ Adaptation of the [flan-t5-xl](https://huggingface.co/google/flan-t5-xl) weights
|
|
| 8 |
This adaptation should enable the user to efficiently continue the pre-training of the flan-t5 to adapt it to more recent data, or to specialize it in a specific domain, for example.
|
| 9 |
|
| 10 |
### Usage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
```
|
| 12 |
from transformers import AutoModel, AutoTokenizer
|
| 13 |
model = AutoModel.from_pretrained("CATIE-AQ/FAT5-xl-flan-en", trust_remote_code=True)
|
| 14 |
tokenizer = AutoTokenizer.from_pretrained("google/flan-t5-xl")
|
| 15 |
```
|
| 16 |
|
| 17 |
-
> [!WARNING]
|
| 18 |
-
> For this FAT5-xl-flan-en, we forgot to add a file that is necessary for the model to run (and which we have since lost) 🙃
|
| 19 |
-
> Thanks to [Thalesian](https://huggingface.co/Thalesian) for proposing a solution to this problem. We invite you to read his message [here](https://huggingface.co/CATIE-AQ/FAT5-xl-flan-en/discussions/1#6920de5350957102d95b6c01) to run his fix.
|
|
|
|
| 8 |
This adaptation should enable the user to efficiently continue the pre-training of the flan-t5 to adapt it to more recent data, or to specialize it in a specific domain, for example.
|
| 9 |
|
| 10 |
### Usage
|
| 11 |
+
|
| 12 |
+
> [!WARNING]
|
| 13 |
+
> For this FAT5-xl-flan-en, we forgot to add a file that is necessary for the model to run (and which we have since lost) 🙃
|
| 14 |
+
> Thanks to [Thalesian](https://huggingface.co/Thalesian) for proposing a solution to this problem. We invite you to read his message [here](https://huggingface.co/CATIE-AQ/FAT5-xl-flan-en/discussions/1#6920de5350957102d95b6c01) to run his fix.
|
| 15 |
+
|
| 16 |
+
|
| 17 |
```
|
| 18 |
from transformers import AutoModel, AutoTokenizer
|
| 19 |
model = AutoModel.from_pretrained("CATIE-AQ/FAT5-xl-flan-en", trust_remote_code=True)
|
| 20 |
tokenizer = AutoTokenizer.from_pretrained("google/flan-t5-xl")
|
| 21 |
```
|
| 22 |
|
|
|
|
|
|
|
|
|