Select Page

The Rise of Large Language Models: A Journey into the Future of NLP

In recent years, the development of Large Language Models (LLMs) has been at the forefront of advancing Natural Language Processing (NLP) to new heights. LLMs such as OpenAI’s GPT-3 or its successor, GPT-4, have not only demonstrated the capability to understand and...

Git Tips: Search code with git grep

Introduction Use git grep to search code within the git repo. It makes it very convenient and efficient to do code searches without leaving your terminal (or editor). Setup Git Repo Setting up a sample git repo to play with git grep. git init someproject cd...

Python Tips: Simple HTTP and CGI Servers

Simple HTTP server This server can be used to serve HTML files. # Python2 python -m simplehttpserver # Python3 python3 -m http.server python3 -m http.server 8080 python3 -m http.server 8080 –bind 127.0.0.1 Simple CGI server # Python2 python -m CGIHTTPServer #...

Python Tips: JSON

Parsing JSON import json data = json.loads(json_string) Dumping complex structures import json print json.dumps(something) Convert YAML to JSON import yaml, json with open(‘./file.yaml’) as f:...