Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.
Avoid being a link dump. Try to provide only valuable well tuned information.
Neural network links before starting with transformers.
| ## Create the virtual environment | |
| conda create -n 'environment_name' | |
| ## Activate the virtual environment | |
| conda activate 'environment_name' | |
| ## Make sure that ipykernel is installed | |
| pip install --user ipykernel | |
| ## Add the new virtual environment to Jupyter |
| /* | |
| ********************************************************************* | |
| http://www.mysqltutorial.org | |
| ********************************************************************* | |
| Name: MySQL Sample Database classicmodels | |
| Link: http://www.mysqltutorial.org/mysql-sample-database.aspx | |
| Version 3.2 | |
| + changed the order of the CREATE TABLE and ALTER TABLE commands to work with MySQL 5.7 | |
| and issues with FOREIGN KEY CONSTRAINTS | |
| Version 3.1 |
Your current workflow probably chains several functions together like in the example below. While quick, it likely has many problems:
| from shapely.geometry import Point | |
| from functools import partial | |
| from shapely.ops import transform | |
| import pyproj | |
| def buffer_in_meters(lng, lat, radius): | |
| proj_meters = pyproj.Proj(init='epsg:3857') | |
| proj_latlng = pyproj.Proj(init='epsg:4326') | |
| project_to_meters = partial(pyproj.transform, proj_latlng, proj_meters) |
UPDATE: I have baked the ideas in this file inside a Python CLI tool called pyds-cli. Please find it here: https://github.com/ericmjl/pyds-cli
Having done a number of data projects over the years, and having seen a number of them up on GitHub, I've come to see that there's a wide range in terms of how "readable" a project is. I'd like to share some practices that I have come to adopt in my projects, which I hope will bring some organization to your projects.
Disclaimer: I'm hoping nobody takes this to be "the definitive guide" to organizing a data project; rather, I hope you, the reader, find useful tips that you can adapt to your own projects.
Disclaimer 2: What I’m writing below is primarily geared towards Python language users. Some ideas may be transferable to other languages; others may not be so. Please feel free to remix whatever you see here!
| from gensim.models import KeyedVectors | |
| # Load gensim word2vec | |
| w2v_path = '<Gensim File Path>' | |
| w2v = KeyedVectors.load_word2vec_format(w2v_path) | |
| import io | |
| # Vector file, `\t` seperated the vectors and `\n` seperate the words | |
| """ |