Skip to content

Instantly share code, notes, and snippets.

View viraj-lakshitha's full-sized avatar
🏠
Working from home

Viraj Lakshitha Bandara viraj-lakshitha

🏠
Working from home
View GitHub Profile
@viraj-lakshitha
viraj-lakshitha / chatgpt.md
Created March 3, 2023 06:14 — forked from veekaybee/chatgpt.md
Everything I understand about chatgpt

ChatGPT Resources

Context

ChatGPT appeared like an explosion on all my social media timelines in early December 2022. While I keep up with machine learning as an industry, I wasn't focused so much on this particular corner, and all the screenshots seemed like they came out of nowhere. What was this model? How did the chat prompting work? What was the context of OpenAI doing this work and collecting my prompts for training data?

I decided to do a quick investigation. Here's all the information I've found so far. I'm aggregating and synthesizing it as I go, so it's currently changing pretty frequently.

Model Architecture

@viraj-lakshitha
viraj-lakshitha / home_screen.dart
Last active June 6, 2021 07:10
How add rounded border and gradient color to the flutter button
import 'package:flutter/material.dart';
class WelcomeScreen extends StatefulWidget {
@override
_WelcomeScreenState createState() => _WelcomeScreenState();
}
class _WelcomeScreenState extends State<WelcomeScreen> {
@override
@viraj-lakshitha
viraj-lakshitha / LSTM-Implementation.py
Created May 29, 2021 16:06
LSTM (Long Short-Term Memory) Implementation
import os
import math
import numpy as np
import datetime as dt
from numpy import newaxis
from core.utils import Timer
from keras.layers import Dense, Activation, Dropout, LSTM
from keras.models import Sequential, load_model
from keras.callbacks import EarlyStopping, ModelCheckpoint
@viraj-lakshitha
viraj-lakshitha / handwritten-numbers-identification.ipynb
Created January 31, 2021 16:27
handwritten-numbers-identification.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@viraj-lakshitha
viraj-lakshitha / decision-tree-algorithm.ipynb
Created January 21, 2021 09:17
decision-tree-algorithm.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.