Instructions to use ConnorLin/tmp_trainer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ConnorLin/tmp_trainer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ConnorLin/tmp_trainer") model = AutoModelForSeq2SeqLM.from_pretrained("ConnorLin/tmp_trainer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
ConnorLin/summarization
Browse files- config.json +1 -1
- generation_config.json +1 -1
- model.safetensors +2 -2
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "../flan-t5-base-samsum/checkpoint-11049",
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
"classifier_dropout": 0.0,
|
| 7 |
"d_ff": 2048,
|
|
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "../flan-t5-base-samsum/checkpoint-11049",
|
| 3 |
"architectures": [
|
| 4 |
+
"T5ForConditionalGeneration"
|
| 5 |
],
|
| 6 |
"classifier_dropout": 0.0,
|
| 7 |
"d_ff": 2048,
|
generation_config.json
CHANGED
|
@@ -3,4 +3,4 @@
|
|
| 3 |
"eos_token_id": 1,
|
| 4 |
"pad_token_id": 0,
|
| 5 |
"transformers_version": "4.35.2"
|
| 6 |
-
}
|
|
|
|
| 3 |
"eos_token_id": 1,
|
| 4 |
"pad_token_id": 0,
|
| 5 |
"transformers_version": "4.35.2"
|
| 6 |
+
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec7648d626024084bc154e64cb13607f53811ce63470530a4d80cad3fba12b06
|
| 3 |
+
size 990345064
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4091
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11c3dbe5d3f74b25517911087af0f2931ac7f6294f1b47c116f0463a4398f217
|
| 3 |
size 4091
|