🙂
- https://www.linkedin.com › cloud-cho-81670813
- https://stackoverflow.com/users/5595995/cloud-cho
- https://ai.stackexchange.com/users/27229/cloud-cho
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Title: Text generation with a miniature GPT | |
Author: [Apoorv Nandan](https://twitter.com/NandanApoorv) | |
Date created: 2020/05/29 | |
Last modified: 2020/05/29 | |
Description: Implement a miniature version of GPT and train it to generate text. | |
Accelerator: GPU | |
""" | |
# Reference: | |
# code: https://github.com/keras-team/keras-io/blob/master/examples/generative/text_generation_with_miniature_gpt.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# test_kafka_consumer.py - Receiving data and save in database | |
# Steven Van Dorpe | |
# | |
# How to run this code: | |
# (1) Run Zookeeper | |
# $ cd /usr/local/bin/kafka_2.13-3.4.0/ | |
# $ bin/zookeeper-server-start.sh config/zookeeper.properties | |
# (2) Run Kafka server | |
# $ bin/kafka-server-start.sh config/server.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Steven Van Dorpe, Aug 13, 2018 | |
# | |
# Reference: | |
# https://towardsdatascience.com/kafka-python-explained-in-10-lines-of-code-800e3e07dad1 | |
from time import sleep | |
from json import dumps | |
from kafka import KafkaProducer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
# SPDX-License-Identifier: GPL-3.0 | |
# | |
# Rx_Warmup_Automated.py - To warm up USRP | |
# | |
# GNU Radio Python Flow Graph | |
# Title: Warmup Receiver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image | |
import sys | |
import os | |
import pdb | |
import urllib | |
from posix_ipc import * | |
from mmap import * | |
import subprocess | |
# Python modules |