Instructions to use Kamrani/t5-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kamrani/t5-large with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="Kamrani/t5-large")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Kamrani/t5-large") model = AutoModelForSeq2SeqLM.from_pretrained("Kamrani/t5-large") - Notebooks
- Google Colab
- Kaggle
Add multilingual to the language tag
Browse filesHi! A PR to add multilingual to the language tag to improve the referencing.
README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
---
|
| 2 |
-
language:
|
| 3 |
- en
|
| 4 |
- fa
|
|
|
|
|
|
|
| 5 |
tags:
|
| 6 |
- translation
|
| 7 |
-
|
| 8 |
-
license: apache-2.0
|
| 9 |
---
|
| 10 |
|
| 11 |
# Model Card for T5 Large
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
- en
|
| 4 |
- fa
|
| 5 |
+
- multilingual
|
| 6 |
+
license: apache-2.0
|
| 7 |
tags:
|
| 8 |
- translation
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# Model Card for T5 Large
|