|
|
|
|
|
by skinner_
538 days ago
|
|
I work on very complex problems. Some of my solutions have small, standard substeps that now I can reliably outsource to ChatGPT. Here are a few just from last week: - write cvxpy code to find the chromatic number of a graph, and an optimal coloring, given its adjecency matrix. - given an adjecency matrix write numpy code that enumerates all triangle-free vertex subsets. - please port this old code from tensorflow to pytorch: ... - in pytorch, i'd like to code a tensor network defining a 3-tensor of shape (d, d, d). my tensor consists of first projecting all three of its d-dimensional inputs to a k-dimensional vector, typically k=d/10, and then applying a (k, k, k) 3-tensor to contract these to a single number. All were solved by ChatGPT on the first try. |
|
In comparison asking an LLM a more project specific question “this code has a race condition where is it” while including some code usually is a crapshoot and really depends if you were lucky enough to give it the right context anyway.