Skip to content

Instantly share code, notes, and snippets.

View JaeDukSeo's full-sized avatar
🙏
Praying

J JaeDukSeo

🙏
Praying
View GitHub Profile
@JaeDukSeo
JaeDukSeo / deploy_gpt_neo_on_sagemaker.ipynb
Created June 23, 2022 18:15 — forked from zilunpeng/deploy_gpt_neo_on_sagemaker.ipynb
example notebook for deploying GPT-Neo in AWS Sagemaker
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JaeDukSeo
JaeDukSeo / gpt_neo_generation.py
Created June 23, 2022 18:15 — forked from zilunpeng/gpt_neo_generation.py
example code for running GPT-Neo
"""
Invode the conda environment gpt_neo_generation before running this file.
Specify the prompt in prompt.txt
"""
from transformers import GPTNeoForCausalLM, GPT2Tokenizer
import time
def main():
start_time = time.time()
@JaeDukSeo
JaeDukSeo / Training_GPT_Neo.ipynb
Created June 23, 2022 18:15 — forked from zilunpeng/Training_GPT_Neo.ipynb
example notebook for training GPT-Neo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JaeDukSeo
JaeDukSeo / GPT_Neo_playground_public.ipynb
Created June 23, 2022 18:15 — forked from zilunpeng/GPT_Neo_playground_public.ipynb
example notebook for running GPT-Neo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JaeDukSeo
JaeDukSeo / run_generation.py
Created June 23, 2022 18:15 — forked from zilunpeng/run_generation.py
Generate using a GPT model
#!/usr/bin/env python
# coding=utf-8
# Copyright 2018 Google AI, Google Brain and Carnegie Mellon University Authors and the HuggingFace Inc. team.
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
@JaeDukSeo
JaeDukSeo / run_clm.py
Created June 23, 2022 18:15 — forked from zilunpeng/run_clm.py
Continue to pre-train GPT models
#!/usr/bin/env python
# coding=utf-8
# Copyright 2020 The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@JaeDukSeo
JaeDukSeo / book-email-opt-in-react-js.markdown
Created August 5, 2020 07:04
Book Email Opt-in | React JS
@JaeDukSeo
JaeDukSeo / index.html
Created June 26, 2020 10:58
Playing card CSS Grid eCommerce layout
<ul>
<li>
<div class="details">
<h2>Nike Odyssey React Shield</h2>
<p>$130</p>
<p>$130</p>
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/881020/nike01a.png">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/881020/nike01b.png">
</div>
</li>
@JaeDukSeo
JaeDukSeo / fortnite-daily-item-shop.markdown
Created April 13, 2020 16:24
Fortnite Daily Item Shop