Instructions to use andersonbcdefg/my-silly-t5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use andersonbcdefg/my-silly-t5 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("andersonbcdefg/my-silly-t5") model = AutoModelForSeq2SeqLM.from_pretrained("andersonbcdefg/my-silly-t5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f97db32
1
Parent(s): f29c863
Upload T5ForConditionalGeneration
Browse files- config.json +1 -1
- generation_config.json +7 -0
- pytorch_model.bin +3 -0
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"T5ForConditionalGeneration"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "andersonbcdefg/my-silly-t5",
|
| 3 |
"architectures": [
|
| 4 |
"T5ForConditionalGeneration"
|
| 5 |
],
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"decoder_start_token_id": 0,
|
| 4 |
+
"eos_token_id": 1,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.30.2"
|
| 7 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc67c6d459c8e00b96dc5931b67641feb7fe67a703301ab8dbfeb92437c01c94
|
| 3 |
+
size 160014725
|