Skip to content

Instantly share code, notes, and snippets.

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
View deploy_gpt_neo_on_sagemaker.ipynb
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
View gpt_neo_generation.py
"""
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
View Training_GPT_Neo.ipynb
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
View GPT_Neo_playground_public.ipynb
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
View run_generation.py
#!/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
View run_clm.py
#!/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
#
View html5-signup-form.markdown
@JaeDukSeo
JaeDukSeo / book-email-opt-in-react-js.markdown
Created August 5, 2020 07:04
Book Email Opt-in | React JS
View book-email-opt-in-react-js.markdown
@JaeDukSeo
JaeDukSeo / index.html
Created June 26, 2020 10:58
Playing card CSS Grid eCommerce layout
View index.html
<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
View fortnite-daily-item-shop.markdown