Glean91 open jobs

Software Engineer, Machine Learning

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

Work type
On-siteBengaluru
Experience
6+ years
Pay
Not listedUsually ₹21 LPAML and AI, median at 5–9 years, in India (Payscale)
Posted
Over 2 months agoOpen over 4 years
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, Embedded systems, LLMs and GenAI and 5 more

About the job

About Glean:   Glean is the Work AI platform that helps everyone work smarter with AI. What began as the industry’s most advanced enterprise search has evolved into a full-scale Work AI ecosystem, powering intelligent Search, an AI Assistant, and scalable AI agents on one secure, open platform. With over 100 enterprise SaaS connectors, flexible LLM choice, and robust APIs, Glean gives organizations the infrastructure to govern, scale, and customize AI across their entire business - without vendor lock-in or costly implementation cycles.   At its core, Glean is redefining how enterprises find, use, and act on knowledge. Its Enterprise Graph and Personal Knowledge Graph map the relationships between people, content, and activity, delivering deeply personalized, context-aware responses for every employee. This foundation powers Glean’s agentic capabilities - AI agents that automate real work across teams by accessing the industry’s broadest range of data: enterprise and world, structured and unstructured, historical and real-time. The result: measurable business impact through faster onboarding, hours of productivity gained each week, and smarter, safer decisions at every level.   Recognized by Fast Company as one of the World’s Most Innovative Companies (Top 10, 2025), by CNBC’s Disruptor 50, Bloomberg’s AI Startups to Watch (2026), Forbes AI 50, and Gartner’s Tech Innovators in Agentic AI, Glean continues to accelerate its global impact. With customers across 50+ industries and 1,000+ employees in more than 25 countries, we’re helping the world’s largest organizations make every employee AI-fluent, and turning the superintelligent enterprise from concept into reality.   If you’re excited to shape how the world works, you’ll help build systems used daily across Microsoft Teams, Zoom, ServiceNow, Zendesk, GitHub, and many more. You'll be deeply embedded where people get things done. You'll ship agentic capabilities on an open, extensible stack, with the craft and care required for enterprise trust, as we bring Work AI to every employee, in every company.  About the Role:

Glean is looking for engineers to help build the world’s best search and assistant product for work. Our engineers work on a range of systems across the stack, including query understanding, document understanding, domain-adapted language models, natural language question-answering, evaluation, and experimentation. We interact regularly with customers, deeply understand their pain points, and use whatever tool is necessary, simple or complex, to solve their problems.

You will:

  • Invent new signals to improve the personalization of our search engine
  • Train a model to capture interactions between signals in our ranking system
  • Design smarter ways to domain-adapt language models to each customer’s corpus
  • Discover new ways of combining LLMs with search engines to answer complex questions
  • Write robust code that’s easy to read, maintain, and test
  • Mentor more junior engineers, or learn from battle-tested ones

About you:

  • 6+ years of experience
  • BA/BS in computer science, math, sciences, or a related degree
  • Experience working with search, recommendation, natural language processing, or other large systems involving machine learning
  • Strong analytical skills and ability to work with data
  • Proven ability to design, build, and ship production-ready models
  • Proficiency in your ML framework of choice
  • Strong coding skills (Python, Go, Java, C++, ...)
  • Thrive in a customer-focused, tight-knit and cross-functional environment - being a team player and willing to take on whatever is most impactful for the company is a must
  • A proactive and positive attitude to lead, learn, troubleshoot and take ownership of both small tasks and large features

Location: 

  • This role is in person in Bangalore, India

Compensation & Benefits:

Compensation offered will be determined by factors such as location, level, job-related knowledge, skills, and experience. Certain roles may be eligible for variable compensation, equity, and benefits.

We are a diverse bunch of people and we want to continue to attract and retain a diverse range of people into our organization. We're committed to an inclusive and diverse company. We do not discriminate based on gender, ethnicity, sexual orientation, religion, civil or family status, age, disability, or race.

  AI-First Mindset at Glean:   At Glean, AI fluency is core to how we work and we're committed to ensuring every new hire feels confident integrating AI into their everyday work. As part of the interview process, you'll complete a brief AI-focused exercise or discussion so we can understand how you think about, design, and use AI to drive impact in your role. Feel free to reference any tools, platforms, or workflows you use today — prior Glean experience isn't required.   Global Data Privacy Notice for Job Candidates and Applicants:   Depending on your location, the General Data Protection Regulation (GDPR), California Consumer Privacy Act (CCPA), or other privacy laws may regulate the way we manage the data of job applicants. Our full notice outlining how data will be processed as part of the application procedure for applicable locations is available in our Privacy Policy. By submitting your application, you are agreeing to our use and processing of your data as required. US applicants and their applications are subject to arbitration of disputes as outlined in our Applicant Arbitration Agreement.
By clicking “Submit Application,” I confirm that I have read the Global Data Privacy Notice and the Applicant Arbitration Agreement, and I agree to the terms.  

Interested?Software Engineer, Machine Learning at Glean

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Machine learning, Embedded systems, LLMs and GenAI and 5 more

Interview questions for this job

For the skills the ad mentions: Machine learning, Embedded systems, LLMs and GenAI, NLP, Python, Go, Java and C++.

973 questions
  • What are logits? What is the difference between softmax and softmax_cross_entropy_with_logits?Machine learning

    The softmax+logits simply means that the function operates on the unscaled output of earlier layers and that the relative scale to understand the units is linear. It means, in particular, the sum of the inputs may not equal 1, that the values are not probabilities (you might have an input of 5). Internally, it first applies softmax to the unscaled output, and then computes the cross entropy of those values vs. what they "should" be as defined by the labels.

    tf.nn.softmax produces the result of applying the softmax function to an input tensor. The softmax "squishes" the inputs so that sum(input) = 1, and it does the mapping by interpreting the inputs as log-probabilities (logits) and then converting them back into raw probabilities between 0 and 1. The shape of output of a softmax is the same as the input:

    a = tf.constant(np.array([[.1, .3, .5, .9]]))
    print s.run(tf.nn.softmax(a))
    [[ 0.16838508  0.205666    0.25120102  0.37474789]]
    

    See this answer for more about why softmax is used extensively in DNNs.

    tf.nn.softmax_cross_entropy_with_logits combines the softmax step with the calculation of the cross-entropy loss after applying the softmax function, but it does it all together in a more mathematically careful way. It's similar to the result of:

    sm = tf.nn.softmax(x)
    ce = cross_entropy(sm)
    

    The cross entropy is a summary metric: it sums across the elements. The output of tf.nn.softmax_cross_entropy_with_logits on a shape [2,5] tensor is of shape [2,1] (the first dimension is treated as the batch).

    If you want to do optimization to minimize the cross entropy AND you're softmaxing after your last layer, you should use tf.nn.softmax_cross_entropy_with_logits instead of doing it yourself, because it covers numerically unstable corner cases in the mathematically right way. Otherwise, you'll end up hacking it by adding little epsilons here and there.

    Edited 2016-02-07: If you have single-class labels, where an object can only belong to one class, you might now consider using tf.nn.sparse_softmax_cross_entropy_with_logits so that you don't have to convert your labels to a dense one-hot array. This function was added after release 0.6.0.

    From Stack Overflow: asked by Shubhashis, answered by dga (CC BY-SA 4.0)

  • What's the difference between a microcontroller and a microprocessor?Embedded systems

    A microprocessor generally does not have RAM, ROM and IO pins. It usually uses its pins as a bus to interface to peripherals such as RAM, ROM, Serial ports, Digital and Analog IO. It is expandable at the board level due to this.

    A microcontroller is 'all in one', the processor, ram, IO all on the one chip, as such you cannot (say) increase the amount of RAM available or the number of IO ports. The controlling bus is internal and not available to the board designer.

    This means that a microprocessor is generally capable of being built into bigger general purpose applications than a microcontroller. The microcontroller is usually used for more dedicated applications.

    All of these are very general statements. There are chips available that blur the boundaries.

    From Electrical Engineering Stack Exchange: asked by endolith, answered by JohnC (CC BY-SA 3.0)

  • Tell me the basic steps involved in running an inference query on an LLM.LLMs and GenAI

    Running an inference query on an LLM involves the following steps:

    • Tokenization: The input text is first broken down into tokens, and then the tokens are mapped to their IDs in the model’s vocabulary.

    • Prefill Phase: The embedding layer converts these token IDs into embeddings, and then the decoder layers process these embeddings simultaneously to compute intermediate states (keys and values). This parallel processing establishes the context for generating new tokens.

    • Decoding Phase: The model generates output tokens one at a time autoregressively, each based on previously generated tokens and cached states, continuing until a stopping condition is met.

    • Detokenization: Finally, the generated tokens are converted back into human-readable text.

    From LLM Interview Questions and Answers Hub (Apache 2.0)

  • How to get sentence embedding using BERT?NLP

    Which vector represents the sentence embedding here? Is it hidden_reps or cls_head?

    If we look in the forward() method of the BERT model, we see the following lines explaining the return types:

    outputs = (sequence_output, pooled_output,) + encoder_outputs[1:]  # add hidden_states and attentions if they are here
    return outputs  # sequence_output, pooled_output, (hidden_states), (attentions)
    

    So the first element of the tuple is the "sentence output" - each token in the input is embedded in this tensor. In your example, you have 1 input sequence, which was 15 tokens long, and each token was embedding into a 768-dimensional space.

    The second element of the tuple is the "pooled output". You'll notice that the "sequence" dimension has been squashed, so this represents a pooled embedding of the input sequence.

    So they both represent the sentence embedding. You can think of hidden_reps as a "verbose" representation, where each token has been embedded. You can think of cls_head as a condensed representation, where the entire sequence has been pooled.

    Is there any other way to get sentence embedding from BERT in order to perform similarity check with other sentences?

    Using the transformers library is the easiest way I know of to get sentence embeddings from BERT.

    There are, however, many ways to measure similarity between embedded sentences. The simplest approach would be to measure the Euclidean distance between the pooled embeddings (cls_head) for each sentence.

    From Data Science Stack Exchange: asked by star, answered by zachdj (CC BY-SA 4.0)

  • How do I convert a string to a number?Python

    For integers, use the built-in int() type constructor, for example, int('144') == 144. Similarly, float() converts to a floating-point number, for example, float('144') == 144.0.

    By default, these interpret the number as decimal, so that int('0144') == 144 holds true, and int('0x144') raises ValueError. int(string, base) takes the base to convert from as a second optional argument, so int( '0x144', 16) == 324. If the base is specified as 0, the number is interpreted using Python’s rules: a leading ‘0o’ indicates octal, and ‘0x’ indicates a hex number.

    Do not use the built-in function eval() if all you need is to convert strings to numbers. eval() will be significantly slower and it presents a security risk: someone could pass you a Python expression that might have unwanted side effects. For example, someone could pass __import__('os').system("rm -rf $HOME") which would erase your home directory.

    eval() also has the effect of interpreting numbers as Python expressions, so that, for example, eval('09') gives a syntax error because Python does not allow leading ‘0’ in a decimal number (except ‘0’).

    From Python Frequently Asked Questions (PSF License Version 2)

  • When have you faced a challenging situation?Behavioural

    Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:

    • when have you faced a challenging situation?
    • can you tell us about a personal achievement at work?
    • have you ever taken the initiative?
    • have you ever failed at a task?

    Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.

    If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.

    Use the  STAR method  to help structure your answers.

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

Similar jobs

More like this: Machine learning and AI jobs in Bengaluru (743), Jobs in Bengaluru (10,723) and Machine learning and AI jobs in India (1,741)