Coinbase209 open jobs

Machine Learning Engineer Intern

ML and AIPosted over 2 months agofrom Coinbase's own hiring page

Work type
RemoteIn the US
Experience
Internship
Pay
$60 an hour
Posted
Over 2 months agoOpen 2 months
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Machine learning, Deep learning, PyTorch and 3 more

About the job

Ready to do the most impactful work of your career? Coinbase is building the future of finance for people, institutions and their agents, with one place to trade crypto, equities, derivatives and prediction markets, use stablecoins, and connect AI agents with clear controls. The bar is high and the pace is intense, and we like it that way. This isn’t a place for complacency. It’s a place to be pushed past your perceived limits and do the best work of your career. If you’re ready to build the future of finance with a championship team who refuse to settle for “good enough,” you belong here. Coinbase is a remote-first, but not remote-only company. Expect to get together quarterly for in-person working sessions.

This is a 12-week internship during summer 2027. 

You'll join Coinbase's Machine Learning team and work alongside senior engineers building ML models and pipelines that make our platform more secure, personalize user experiences, and unlock new use cases for crypto. As an MLE intern, you'll take ownership of a research-to-production project, applying cutting-edge ML techniques to real-world problems at blockchain scale.

What you'll do:

  • Develop, deploy, and operate machine learning models and pipelines at production scale
  • Drive an end-to-end research project applying modern ML techniques to solve a defined business problem
  • Partner with senior engineers and product teams to identify new ML applications for blockchain and crypto use cases
  • Present findings and recommendations to cross-functional stakeholders at the conclusion of your internship

Required Skills and Experience:

  • Currently pursuing a Ph.D. with published or in-progress research in machine learning, deep learning, or a closely related field
  • Demonstrated proficiency building and training models using ML frameworks such as PyTorch or TensorFlow
  • Experience applying ML techniques including supervised learning, unsupervised learning, or reinforcement learning to structured or unstructured datasets
  • Familiarity with software engineering fundamentals including version control, testing, and writing production-quality Python code
  • Utilizes generative AI responsibly, maintaining human oversight to deliver business-ready outputs and drive measurable improvements in workflow efficiency, cost, and quality.

Req ID: P78143

#LI-Hybrid

Pay Transparency Notice: Depending on your work location, the target hourly rate for this position can range as detailed below.   Hourly Rate:$60—$60 USD
  • Application Limit: Candidates may submit a maximum of 3 applications within a 6-month period.
  • Equal Opportunity Employer: Coinbase is an Equal Opportunity Employer. All qualified applicants will receive consideration for employment without regard to race, color, religion, sex, sexual orientation, gender identity, national origin, disability, protected veteran status, or genetic information. Applicants with criminal histories will be considered consistent with applicable federal, state, and local laws.
  • US Applicants: View Employee Rights, Know Your Rights, and E-Verify Notice of Participation.
  • Accommodations: If you are an individual with a disability who needs a reasonable accommodation, email us your request and contact info at accommodations[at]coinbase.com. Need screen reading technology? Click here to download a free compatible screen reader and view the tutorial.
  • Data Privacy & Arbitration: By submitting your application, you agree to our Candidate Privacy Notice. US applicants: By submitting your application, you agree to Arbitration of Disputes.

Interested?Machine Learning Engineer Intern at Coinbase

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Machine learning, Deep learning, PyTorch and 3 more

Interview questions for this job

For the skills the ad mentions: Machine learning, Deep learning, PyTorch, TensorFlow, Python and LLMs and GenAI.

636 questions
  • What does `view()` do in PyTorch?Machine learning

    view() reshapes the tensor without copying memory, similar to numpy's reshape().

    Given a tensor a with 16 elements:

    import torch
    a = torch.range(1, 16)
    

    To reshape this tensor to make it a 4 x 4 tensor, use:

    a = a.view(4, 4)
    

    Now a will be a 4 x 4 tensor. Note that after the reshape the total number of elements need to remain the same. Reshaping the tensor a to a 3 x 5 tensor would not be appropriate.

    What is the meaning of parameter -1?

    If there is any situation that you don't know how many rows you want but are sure of the number of columns, then you can specify this with a -1. (Note that you can extend this to tensors with more dimensions. Only one of the axis value can be -1). This is a way of telling the library: "give me a tensor that has these many columns and you compute the appropriate number of rows that is necessary to make this happen".

    This can be seen in this model definition code. After the line x = self.pool(F.relu(self.conv2(x))) in the forward function, you will have a 16 depth feature map. You have to flatten this to give it to the fully connected layer. So you tell PyTorch to reshape the tensor you obtained to have specific number of columns and tell it to decide the number of rows by itself.

    From Stack Overflow: asked by Wasi Ahmad, answered by Kashyap (CC BY-SA 4.0)

  • Choosing a learning rateDeep learning
    • Is the learning rate related to the shape of the error gradient, as it dictates the rate of descent?

      • In plain SGD, the answer is no. A global learning rate is used which is indifferent to the error gradient. However, the intuition you are getting at has inspired various modifications of the SGD update rule.
    • If so, how do you use this information to inform your decision about a value?

      • Adagrad is the most widely known of these and scales a global learning rate η on each dimension based on l2 norm of the history of the error gradient gt on each dimension:

      • Adadelta is another such training algorithm which uses both the error gradient history like adagrad and the weight update history and has the advantage of not having to set a learning rate at all.

    • If it's not what sort of values should I choose, and how should I choose them?

      • Setting learning rates for plain SGD in neural nets is usually a process of starting with a sane value such as 0.01 and then doing cross-validation to find an optimal value. Typical values range over a few orders of magnitude from 0.0001 up to 1.
    • It seems like you would want small values to avoid overshooting, but how do you choose one such that you don't get stuck in local minima or take too long to descend? Does it make sense to have a constant learning rate, or should I use some metric to alter its value as I get nearer a minimum in the gradient?

      • Usually, the value that's best is near the highest stable learning rate and learning rate decay/annealing (either linear or exponentially) is used over the course of training. The reason behind this is that early on there is a clear learning signal so aggressive updates encourage exploration while later on the smaller learning rates allow for more delicate exploitation of local error surface.

    From Data Science Stack Exchange: asked by ragingSloth, answered by indico (CC BY-SA 3.0)

  • What's the difference between `reshape()` and `view()` in PyTorch?PyTorch

    torch.view has existed for a long time. It will return a tensor with the new shape. The returned tensor will share the underling data with the original tensor. See the documentation here.

    On the other hand, it seems that torch.reshape has been introduced recently in version 0.4. According to the document, this method will

    Returns a tensor with the same data and number of elements as input, but with the specified shape. When possible, the returned tensor will be a view of input. Otherwise, it will be a copy. Contiguous inputs and inputs with compatible strides can be reshaped without copying, but you should not depend on the copying vs. viewing behavior.

    It means that torch.reshape may return a copy or a view of the original tensor. You can not count on that to return a view or a copy. According to the developer:

    if you need a copy use clone() if you need the same storage use view(). The semantics of reshape() are that it may or may not share the storage and you don't know beforehand.

    Another difference is that reshape() can operate on both contiguous and non-contiguous tensor while view() can only operate on contiguous tensor. Also see here about the meaning of contiguous.

    From Stack Overflow: asked by Lifu Huang, answered by jdhao (CC BY-SA 4.0)

  • Why is TensorFlow 2 much slower than TensorFlow 1?TensorFlow

    UPDATE 8/1730/2020: TF 2.3 has finally done it: all cases run as fast, or notably faster, than any previous version.

    Further, my previous update was unfair to TF; my GPU was to blame, has been overheating lately. If you see a rising stem plot of iteration times, it's a reliable symptom. Lastly, see a dev's note on Eager vs Graph.

    This might be my last update on this answer. The true stats on your model's speed can only be found by you, on your device.

    UPDATE 5/19/2020: TF 2.2, using same tests: only a minor improvement in Eager speed. Plots for Large-Large Numpy train_on_batch case below, x-axis is successive fit iterations; my GPU isn't near its full capacity, so doubt it's throttling, but iterations do get slower over time.

    Per above, Graph and Eager are 1.56x and 1.97x slower than their TF1 counterparts, respectively. Unsure I'll debug this further, as I'm considering switching to Pytorch per TensorFlow's poor support for custom / low-level functionality. I did, however, open an Issue to get devs' feedback.

    UPDATE 2/18/2020: I've benched 2.1 and 2.1-nightly; the results are mixed. All but one configs (model & data size) are as fast as or much faster than the best of TF2 & TF1. The one that's slower, and slower dramatically, is Large-Large - esp. in Graph execution (1.6x to 2.5x slower).

    Furthermore, there are extreme reproducibility differences between Graph and Eager for a large model I tested - one not explainable via randomness/compute-parallelism. I can't currently present reproducible code for these claims per time constraints, so instead I strongly recommend testing this for your own models.

    Haven't opened a Git issue on these yet, but I did comment on the original - no response yet. I'll update the answer(s) once progress is made.

    VERDICT: it isn't, IF you know what you're doing. But if you don't, it could cost you, lots - by a few GPU upgrades on average, and by multiple GPUs worst-case.

    THIS ANSWER: aims to provide a high-level description of the issue, as well as guidelines for how to decide on the training configuration specific to your needs. For a detailed, low-level description, which includes all benchmarking results + code used, see my other answer.

    I'll be updating my answer(s) w/ more info if I learn any - can bookmark / "star" this question for reference.

    ISSUE SUMMARY: as confirmed by a TensorFlow developer, Q. Scott Zhu, TF2 focused development on Eager execution & tight integration w/ Keras, which involved sweeping changes in TF source - including at graph-level. Benefits: greatly expanded processing, distribution, debug, and deployment capabilities. The cost of some of these, however, is speed.

    The matter, however, is fairly more complex. It isn't just TF1 vs. TF2 - factors yielding significant differences in train speed include:

    1. TF2 vs. TF1
    2. Eager vs. Graph mode
    3. keras vs. tf.keras
    4. numpy vs. tf.data.Dataset vs. ...
    5. train_on_batch() vs. fit()
    6. GPU vs. CPU
    7. model(x) vs. model.predict(x) vs. ...

    Unfortunately, almost none of the above are independent of the other, and each can at least double execution time relative to another. Fortunately, you can determine what'll work best systematically, and with a few shortcuts - as I'll be showing.

    WHAT SHOULD I DO? Currently, the only way is - experiment for your specific model, data, and hardware. No single configuration will always work best - but there are do's and don't's to simplify your search:

    Read the rest at the sourceFrom Stack Overflow: asked by OverLordGoldDragon, answered by OverLordGoldDragon (CC BY-SA 4.0)

  • How do you remove duplicates from a list?Python

    See the Python Cookbook for a long discussion of many ways to do this:

    https://code.activestate.com/recipes/52560/

    If you don’t mind reordering the list, sort it and then scan from the end of the list, deleting duplicates as you go:

    if mylist:
        mylist.sort()
        last = mylist[-1]
        for i in range(len(mylist)-2, -1, -1):
            if last == mylist[i]:
                del mylist[i]
            else:
                last = mylist[i]
    

    If all elements of the list may be used as set keys (that is, they are all hashable) this is often faster:

    mylist = list(set(mylist))
    

    This converts the list into a set, thereby removing duplicates, and then back into a list.

    From Python Frequently Asked Questions (PSF License Version 2)

  • Why should we hire you?Behavioural

    The strengths employers look for will depend on the job role. They may ask you questions like:

    • what are your main strengths?
    • why should we hire you?

    You can use specific examples to highlight your strengths, such as:

    • communication - to show you get on with others
    • problem solving - to show that you can find solutions
    • enthusiasm - to show that you have a positive attitude to work
    • flexibility - to show that you can adapt to different ways of working

    Plan your answers around 2 or 3 examples that are relevant to the job. You can back these up with qualifications or training you've done.

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Machine learning and AI jobs in San Francisco Bay Area (812), Jobs in San Francisco Bay Area (9,193), Machine learning and AI jobs in the USA (2,015) and Remote Machine learning and AI jobs in the USA (1,177)