Instructions to use Hansollll/summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hansollll/summarization with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Hansollll/summarization") model = AutoModelForSeq2SeqLM.from_pretrained("Hansollll/summarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 500
Browse files- config.json +1 -1
- pytorch_model.bin +2 -2
- runs/May16_15-59-22_songhansol-ui-MacBookPro.local/1684220375.4829519/events.out.tfevents.1684220375.songhansol-ui-MacBookPro.local.56052.1 +3 -0
- runs/May16_15-59-22_songhansol-ui-MacBookPro.local/events.out.tfevents.1684220375.songhansol-ui-MacBookPro.local.56052.0 +3 -0
- tokenizer.json +2 -2
- tokenizer_config.json +8 -2
- training_args.bin +2 -2
config.json
CHANGED
|
@@ -50,7 +50,7 @@
|
|
| 50 |
"static_position_embeddings": false,
|
| 51 |
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 52 |
"torch_dtype": "float32",
|
| 53 |
-
"transformers_version": "4.
|
| 54 |
"use_cache": true,
|
| 55 |
"vocab_size": 30000
|
| 56 |
}
|
|
|
|
| 50 |
"static_position_embeddings": false,
|
| 51 |
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 52 |
"torch_dtype": "float32",
|
| 53 |
+
"transformers_version": "4.26.1",
|
| 54 |
"use_cache": true,
|
| 55 |
"vocab_size": 30000
|
| 56 |
}
|
pytorch_model.bin
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:0d50643a8bdc46e2009baa092850e6e8dc9456c0872316e9bd03a268067dfda8
|
| 3 |
+
size 495644701
|
runs/May16_15-59-22_songhansol-ui-MacBookPro.local/1684220375.4829519/events.out.tfevents.1684220375.songhansol-ui-MacBookPro.local.56052.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec16ffb035b25787ce5866d8b47dddf012ec79a019f7e9134db6a3963d521140
|
| 3 |
+
size 5953
|
runs/May16_15-59-22_songhansol-ui-MacBookPro.local/events.out.tfevents.1684220375.songhansol-ui-MacBookPro.local.56052.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aae55ade1a6e93d8d6c31f5fac6ec57021f57b713c95e0c33737ee23e8056734
|
| 3 |
+
size 4908
|
tokenizer.json
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:d3bc9f61f664c813966468bbae2727ab217a30c71a303b2901c409f8daf632b4
|
| 3 |
+
size 1049435
|
tokenizer_config.json
CHANGED
|
@@ -1,5 +1,11 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
|
|
|
|
|
|
| 3 |
"model_max_length": 1000000000000000019884624838656,
|
| 4 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"bos_token": "</s>",
|
| 3 |
+
"eos_token": "</s>",
|
| 4 |
+
"mask_token": "<mask>",
|
| 5 |
"model_max_length": 1000000000000000019884624838656,
|
| 6 |
+
"name_or_path": "gogamza/kobart-base-v2",
|
| 7 |
+
"pad_token": "<pad>",
|
| 8 |
+
"special_tokens_map_file": "/Users/hansol/.cache/huggingface/hub/models--gogamza--kobart-base-v2/snapshots/f9f2ec35d3c32a1ecc7a3281f9626b7ec1913fed/special_tokens_map.json",
|
| 9 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 10 |
+
"unk_token": "<unk>"
|
| 11 |
}
|
training_args.bin
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:623cf99248e1e34e287dc9f271bd088c587da0f4fc3fe636dc368370aac1b10e
|
| 3 |
+
size 3643
|