logo

[nlg] KoGPT2 파일 다운로드

from google.colab import drive
drive.mount('/gdrive')
Mounted at /gdrive

!wget -c https://kobert.blob.core.windows.net/models/kogpt2/pytorch/pytorch_kogpt2_676e9bcfa7.params
--2020-10-15 09:30:15--  https://kobert.blob.core.windows.net/models/kogpt2/pytorch/pytorch_kogpt2_676e9bcfa7.params
Resolving kobert.blob.core.windows.net (kobert.blob.core.windows.net)... 52.239.190.132
Connecting to kobert.blob.core.windows.net (kobert.blob.core.windows.net)|52.239.190.132|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 547333739 (522M) [application/octet-stream]
Saving to: ‘pytorch_kogpt2_676e9bcfa7.params’

pytorch_kogpt2_676e 100%[===================>] 521.98M  10.5MB/s    in 62s

2020-10-15 09:31:18 (8.38 MB/s) - ‘pytorch_kogpt2_676e9bcfa7.params’ saved [547333739/547333739]


!wget -c https://kobert.blob.core.windows.net/models/kogpt2/tokenizer/kogpt2_news_wiki_ko_cased_818bfa919d.spiece
--2020-10-15 09:31:58--  https://kobert.blob.core.windows.net/models/kogpt2/tokenizer/kogpt2_news_wiki_ko_cased_818bfa919d.spiece
Resolving kobert.blob.core.windows.net (kobert.blob.core.windows.net)... 52.239.190.132
Connecting to kobert.blob.core.windows.net (kobert.blob.core.windows.net)|52.239.190.132|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1170261 (1.1M) [application/octet-stream]
Saving to: ‘kogpt2_news_wiki_ko_cased_818bfa919d.spiece’

kogpt2_news_wiki_ko 100%[===================>]   1.12M   547KB/s    in 2.1s

2020-10-15 09:32:01 (547 KB/s) - ‘kogpt2_news_wiki_ko_cased_818bfa919d.spiece’ saved [1170261/1170261]


!mkdir "/gdrive/My Drive/kogpt2"
!cp pytorch_kogpt2_676e9bcfa7.params "/gdrive/My Drive/kogpt2"
!cp kogpt2_news_wiki_ko_cased_818bfa919d.spiece "/gdrive/My Drive/kogpt2"
Previous
KoGPT2 소스 코드 분석