- ZI-main.md
- The main Zotero Integration template
- runImport.md
- Template that enables updating literature notes at the click of a button, and much more.
- Meta bind button template
- Template for in-note button that executes runImport.md
""" | |
crawl images: | |
pip install img2dataset==1.11.0 | |
img2dataset --url_list cc3m.tsv\ | |
--output_folder cc3m-img --input_format "tsv"\ | |
--url_col "url" --caption_col "caption"\ | |
--output_format files --resize_mode=no\ | |
--processes_count 10 --thread_count 64 --number_sample_per_shard 2000\ | |
--enable_wandb True --save_metadata False |
# [email protected] | |
# `jax.distributed.initialize` is available in jax-0.2.25. | |
# $ pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_releases.html # Note: wheels only available on linux. | |
# Run this script on 2 GPU nodes, assuming 10.128.0.6 is the master node | |
# python nvidia_gpu_pjit.py --server_addr="10.128.0.6:1456" --num_hosts=2 --host_idx=0 | |
# python nvidia_gpu_pjit.py --server_addr="10.128.0.6:1456" --num_hosts=2 --host_idx=1 | |
from absl import app | |
from absl import flags |
μλ λ©μΌμ 2017-02-12 21:43(μ΄ν νκ΅ νμ€μ)μ ν겨λ κΈ°μ¬μ λν μ견μΌλ‘μ κΈ°μ¬μ μ μλ κΉμ¬μ κΈ°μμ λ©μΌλ‘ λ³΄λΈ λ΄μ©μ΄λ€. λ©μΌμμ μ¬μ€ κ΄κ³ λ±μ μ€λ₯κ° μλ€λ©΄ λͺ¨λ λμ μ€μμ΄λ€.
2017-02-13 14:53μ λ§λΆμ: λ μ΄μ gistλ₯Ό λΉκ³΅κ°λ‘ ν μ΄μ κ° μμ΄μ‘μΌλ―λ‘ κ³΅κ°λ‘ μ ν. μ΄ λ©μΌμ λν λ΅λ³μ λ°μμΌλ 곡κ°ν λ§νΌ μ€μν λ°λ‘ μ΄ λ€μ΄ μμ§ μμΌλ©° κ³΅κ° μ¬λΆλ λ¬»μ§ μμμΌλ―λ‘ κ³΅κ°νμ§ μλλ€. μλ κΈ μ체μλ λ€μν λΉλ¬Έκ³Ό μ€μκ° μμΌλ λ³Έλ λ³΄λΈ λ΄μ©μ μ΄λ¦¬κΈ° μν΄ μ ν μμ μ νμ§ μκΈ°λ‘ νμμ μν΄ λ°λ.
2017-02-13 19:00μ λ§λΆμ: μ΄ κΈ°μ¬μ νμμΌλ‘ ꡬκΈμ½λ¦¬μ μΈ‘μ κΈ°μκ°λ΄νκ° μ¬λΌκ°λ€. μ κΈ°μ¬μ λν΄μλ νΉμ΄ν κ² μμΌλ―λ‘ λ Έμ½λ©νΈ. λν μμ κΈ°μ¬ λ§ν¬λ₯Ό λ―Έλμ΄λ€μμμ ν겨λ μΉμ¬μ΄νΈλ‘ κ°λλ‘ μμ .
μλ νμλκΉ, κ·νκ»μ μμ±νμ (λ¬Όλ‘ μ λ κ·Έ μ§μλ₯Ό μ μ μμ΅λλ€λ§, μ μ΄λ κ·Έλ κ² λμ μλ) κΈ°μ¬μ λν μ견μ μ κΈ°νκ³ μ λ©μΌμ μλλ€. μ΄ λ©μΌμ μ μ κ°μΈ μ견μ΄λ©° μ λ₯Ό κ³ μ©νκ³ μλ νμ¬λ λ¨μ²΄ λ±μ μ견μ μ ν λλ³νμ§ μμμ νΉμλ μΆμ§λ§ 미리 λ°ν λ‘λλ€.
κΈμ΄μ΄: κΉμ μ£Ό([email protected])
μ΄ λ¬Έμλ ν μνλ‘μ° κ³΅μ νμ΄μ§ λ΄μ©μ λ°νμΌλ‘ λ§λ€μ΄μ‘μ΅λλ€.
ν μνλ‘μ°(TensorFlow)λ κΈ°κ³ νμ΅κ³Ό λ₯λ¬λμ μν΄ κ΅¬κΈμμ λ§λ μ€νμμ€ λΌμ΄λΈλ¬λ¦¬μ λλ€. λ°μ΄ν° νλ‘μ° κ·Έλν(Data Flow Graph) λ°©μμ μ¬μ©νμμ΅λλ€.
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |