- Ragheb, M. (2012, March 28). Fukushima Earthquake and Tsunami Station Blackout Accident
- Nuclear Chemistry: Lessons From The Fukushima Daiichi Disaster
- Fukushima nuclear disaster — Wikipedia
- The Signal and the Noise. Nate Silver
- Gutenberg-Richter law — Wikipedia
- List of earthquakes in Japan — Wikipedia
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
# !pip install llama-index monsterapi sentence_transformers --quiet | |
import os | |
from llama_index.llms import MonsterLLM | |
from llama_index import VectorStoreIndex, SimpleDirectoryReader, ServiceContext | |
from llama_index.embeddings import LangchainEmbedding | |
from langchain.embeddings import HuggingFaceEmbeddings | |
from sentence_transformers import SentenceTransformer |
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
import torch | |
import peft | |
import transformers | |
from transformers import AutoTokenizer, AutoModelForCausalLM | |
from huggingface_hub.hf_api import HfFolder | |
ACCESS_TOKEN = "ENTER YOUR HUGGINGFACE ACCESS TOKEN HERE" | |
HfFolder.save_token(ACCESS_TOKEN) |
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
import comet_ml | |
from pycaret.datasets import get_data | |
from pycaret.classification import * | |
comet_ml.init(project_name="pycaret") | |
dataset = get_data("titanic") | |
clf1 = setup( | |
data=dataset, |
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
import os | |
import assemblyai as aai | |
from pytube import YouTube | |
aai.settings.api_key = "INSERT YOUR API KEY HERE" | |
youtube_url = "https://www.youtube.com/watch?v=f94wKh70cOY" | |
# Let's download the YouTube video | |
youtube = YouTube(youtube_url) | |
audio = youtube.streams.filter(only_audio=True).first() |
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
import requests | |
import json | |
from time import sleep | |
API_KEY = "INSERT YOUR API KEY HERE" | |
AUTHORIZATION = "INSERT YOUR AUTHORIZATION TOKEN HERE" | |
url = "https://api.monsterapi.ai/apis/add-task" | |
fetch_url = "https://api.monsterapi.ai/apis/task-status" |
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
import openai | |
openai.api_key = "YOUR KEY GOES HERE" | |
def get_completion(messages): | |
response = openai.ChatCompletion.create( | |
model="gpt-3.5-turbo-0613", | |
messages=messages, | |
functions=[{ | |
"name": "fake", |
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
import re | |
import asyncio | |
import os | |
from bs4 import BeautifulSoup | |
from bs4.element import NavigableString | |
from playwright.async_api import async_playwright | |
USERNAME = "USERNAME HERE" | |
PASSWORD = "PASSWORD HERE" |
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
import re | |
import asyncio | |
from playwright.async_api import async_playwright | |
USERNAME = "TYPE YOUR USERNAME HERE" | |
PASSWORD = "TYPE YOUR PASSWORD HERE" | |
HOST = "zproxy.lum-superproxy.io:9222" | |
URL = "https://www.svpino.com/" # USE YOUR URL HERE |
- The first mention I found to ReLU is in Fukushima's paper from 1975: Cognitron: A self-organizing multilayered neural network | SpringerLink
- Nair and Hinton paper from 2010 make the case that ReLU preserves information during backpropagation Rectified Linear Units Improve Restricted Boltzmann Machines
- Why is the ReLU function not differentiable at x=0?
- Deep Learning with Python - François Chollet
NewerOlder