dennispark commited on
Commit
2ca7636
ยท
1 Parent(s): f5b3b36

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -4
README.md CHANGED
@@ -6,12 +6,14 @@ pipeline_tag: text2text-generation
6
  ---
7
 
8
  # FLAN T5
 
 
9
  FLAN T5๋Š” [paust/pko-t5-large](https://huggingface.co/paust/pko-t5-large) ๋ชจ๋ธ์„ ๊ธฐ๋ฐ˜์œผ๋กœ ๋‹ค์–‘ํ•œ ํƒœ์Šคํฌ๋ฅผ instruction finetuning์„ ํ†ตํ•ด์„œ ๋งŒ๋“  ๋ชจ๋ธ์ž…๋‹ˆ๋‹ค.
10
 
11
  ํ˜„์žฌ ๊ณ„์† Instruction Finetuning ์„ ์ง„ํ–‰ํ•˜๋ฉด์„œ ์ค‘๊ฐ„๊ฒฐ๊ณผ๋ฅผ ๋ชจ๋ธ๋กœ ์—…๋ฐ์ดํŠธํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
12
 
13
 
14
- ### ํ•™์Šต๋œ ํƒœ์Šคํฌ
15
  | Task name | Task type |
16
  |----------------------------|----------------|
17
  | NSMC | Classification |
@@ -36,11 +38,11 @@ FLAN T5๋Š” [paust/pko-t5-large](https://huggingface.co/paust/pko-t5-large) ๋ชจ
36
  | AIHub mindslab's MRC | QA |
37
 
38
 
39
- ### ๋ชจ๋ธ
40
  - [Hugginface ๋งํฌ](https://huggingface.co/paust/pko-flan-t5-large)
41
 
42
 
43
- ### ์‚ฌ์šฉ ์˜ˆ์‹œ
44
  ```python
45
  from transformers import T5ForConditionalGeneration, T5TokenizerFast
46
 
@@ -53,4 +55,7 @@ input_ids = tokenizer(prompt, add_special_tokens=True, return_tensors='pt').inpu
53
  output_ids = model.generate(input_ids=input_ids.cuda(), max_new_tokens=32, num_beams=12)
54
  text = tokenizer.batch_decode(output_ids, skip_special_tokens=True)[0]
55
  print(text) # ์„œ์šธํŠน๋ณ„์‹œ
56
- ```
 
 
 
 
6
  ---
7
 
8
  # FLAN T5
9
+ [Source Code](https://github.com/paust/pko-t5/tree/main/pkot5/flan)
10
+
11
  FLAN T5๋Š” [paust/pko-t5-large](https://huggingface.co/paust/pko-t5-large) ๋ชจ๋ธ์„ ๊ธฐ๋ฐ˜์œผ๋กœ ๋‹ค์–‘ํ•œ ํƒœ์Šคํฌ๋ฅผ instruction finetuning์„ ํ†ตํ•ด์„œ ๋งŒ๋“  ๋ชจ๋ธ์ž…๋‹ˆ๋‹ค.
12
 
13
  ํ˜„์žฌ ๊ณ„์† Instruction Finetuning ์„ ์ง„ํ–‰ํ•˜๋ฉด์„œ ์ค‘๊ฐ„๊ฒฐ๊ณผ๋ฅผ ๋ชจ๋ธ๋กœ ์—…๋ฐ์ดํŠธํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
14
 
15
 
16
+ ## ํ•™์Šต๋œ ํƒœ์Šคํฌ
17
  | Task name | Task type |
18
  |----------------------------|----------------|
19
  | NSMC | Classification |
 
38
  | AIHub mindslab's MRC | QA |
39
 
40
 
41
+ ## ๋ชจ๋ธ
42
  - [Hugginface ๋งํฌ](https://huggingface.co/paust/pko-flan-t5-large)
43
 
44
 
45
+ ## ์‚ฌ์šฉ ์˜ˆ์‹œ
46
  ```python
47
  from transformers import T5ForConditionalGeneration, T5TokenizerFast
48
 
 
55
  output_ids = model.generate(input_ids=input_ids.cuda(), max_new_tokens=32, num_beams=12)
56
  text = tokenizer.batch_decode(output_ids, skip_special_tokens=True)[0]
57
  print(text) # ์„œ์šธํŠน๋ณ„์‹œ
58
+ ```
59
+
60
+ ## License
61
+ [PAUST](https://paust.io)์—์„œ ๋งŒ๋“  pko-t5๋Š” [MIT license](https://github.com/paust-team/pko-t5/blob/main/LICENSE) ํ•˜์— ๊ณต๊ฐœ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.