i
Tech
Mahindra
Filter interviews by
Context window in LLMs refers to the number of surrounding words considered when predicting the next word in a sequence.
Context window helps LLMs capture dependencies between words in a sentence.
A larger context window allows the model to consider more context but may lead to increased computational complexity.
For example, in a context window of 2, the model considers 2 words before and 2 words after the target wo...
Regex patterns in Python are sequences of characters that define a search pattern.
Regex patterns are used for pattern matching and searching in strings.
They are created using the 're' module in Python.
Examples of regex patterns include searching for email addresses, phone numbers, or specific words in a text.
top_k parameter is used to specify the number of top elements to be returned in a result set.
top_k parameter is commonly used in machine learning algorithms to limit the number of predictions or recommendations.
For example, in recommendation systems, setting top_k=5 will return the top 5 recommended items for a user.
In natural language processing tasks, top_k can be used to limit the number of possible next words ...
Supervised learning uses labeled data to train a model, while unsupervised learning uses unlabeled data.
Supervised learning requires a target variable for training the model.
Examples of supervised learning include classification and regression.
Unsupervised learning finds patterns and relationships in data without a target variable.
Examples of unsupervised learning include clustering and dimensionality reduction.
What people are saying about Tech Mahindra
Sigmoid function is a mathematical function that maps any real value to a value between 0 and 1.
Used in machine learning for binary classification problems to produce probabilities
Commonly used in logistic regression
Has an S-shaped curve
Equation: f(x) = 1 / (1 + e^(-x))
Iterators are objects that allow iteration over a sequence of elements. Tuples are immutable sequences of elements.
Iterators are used to loop through elements in a collection, like lists or dictionaries
Tuples are similar to lists but are immutable, meaning their elements cannot be changed
Example of iterator: for item in list: print(item)
Example of tuple: my_tuple = (1, 2, 3)
Linear regression is a statistical method used to model the relationship between a dependent variable and one or more independent variables.
Linear regression is used to predict the value of a dependent variable based on the value of one or more independent variables.
It assumes a linear relationship between the independent and dependent variables.
The goal of linear regression is to find the best-fitting line that m...
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
Context window in LLMs refers to the number of surrounding words considered when predicting the next word in a sequence.
Context window helps LLMs capture dependencies between words in a sentence.
A larger context window allows the model to consider more context but may lead to increased computational complexity.
For example, in a context window of 2, the model considers 2 words before and 2 words after the target word fo...
top_k parameter is used to specify the number of top elements to be returned in a result set.
top_k parameter is commonly used in machine learning algorithms to limit the number of predictions or recommendations.
For example, in recommendation systems, setting top_k=5 will return the top 5 recommended items for a user.
In natural language processing tasks, top_k can be used to limit the number of possible next words in a ...
Regex patterns in Python are sequences of characters that define a search pattern.
Regex patterns are used for pattern matching and searching in strings.
They are created using the 're' module in Python.
Examples of regex patterns include searching for email addresses, phone numbers, or specific words in a text.
Iterators are objects that allow iteration over a sequence of elements. Tuples are immutable sequences of elements.
Iterators are used to loop through elements in a collection, like lists or dictionaries
Tuples are similar to lists but are immutable, meaning their elements cannot be changed
Example of iterator: for item in list: print(item)
Example of tuple: my_tuple = (1, 2, 3)
Yes, I have experience working with REST APIs in various projects.
Developed RESTful APIs using Python Flask framework
Consumed REST APIs in data analysis projects using requests library
Used Postman for testing and debugging REST APIs
Supervised learning uses labeled data to train a model, while unsupervised learning uses unlabeled data.
Supervised learning requires a target variable for training the model.
Examples of supervised learning include classification and regression.
Unsupervised learning finds patterns and relationships in data without a target variable.
Examples of unsupervised learning include clustering and dimensionality reduction.
Sigmoid function is a mathematical function that maps any real value to a value between 0 and 1.
Used in machine learning for binary classification problems to produce probabilities
Commonly used in logistic regression
Has an S-shaped curve
Equation: f(x) = 1 / (1 + e^(-x))
I applied via Company Website and was interviewed in Apr 2024. There was 1 interview round.
Linear regression is a statistical method used to model the relationship between a dependent variable and one or more independent variables.
Linear regression is used to predict the value of a dependent variable based on the value of one or more independent variables.
It assumes a linear relationship between the independent and dependent variables.
The goal of linear regression is to find the best-fitting line that minimi...
I applied via Recruitment Consulltant and was interviewed in Aug 2023. There were 3 interview rounds.
Core Python questions were asked
I applied via Naukri.com and was interviewed before Oct 2022. There were 4 interview rounds.
I applied via Company Website and was interviewed before Jan 2020. There was 1 interview round.
I applied via Recruitment Consultant and was interviewed in Sep 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Sep 2020. There were 3 interview rounds.
Code for parsing a triangle
Use a loop to iterate through each line of the triangle
Split each line into an array of numbers
Store the parsed numbers in a 2D array or a list of lists
The ASCII value is a numerical representation of a character. It includes both capital and small alphabets.
ASCII values range from 65 to 90 for capital letters A to Z.
ASCII values range from 97 to 122 for small letters a to z.
For example, the ASCII value of 'A' is 65 and the ASCII value of 'a' is 97.
I am open to further education to enhance my skills and stay updated with industry trends in data science.
Pursuing a master's degree in data science could deepen my knowledge in advanced analytics.
Online courses in machine learning and AI can help me stay current with emerging technologies.
Attending workshops and conferences can provide networking opportunities and insights from industry leaders.
Certifications in speci...
based on 9 interview experiences
Difficulty level
Duration
based on 26 reviews
Rating in categories
Software Engineer
26.6k
salaries
| ₹3.7 L/yr - ₹9.2 L/yr |
Senior Software Engineer
22.2k
salaries
| ₹9.1 L/yr - ₹18.5 L/yr |
Technical Lead
12.5k
salaries
| ₹16.9 L/yr - ₹30 L/yr |
Associate Software Engineer
6.1k
salaries
| ₹1.9 L/yr - ₹5.7 L/yr |
Team Lead
5.4k
salaries
| ₹5.7 L/yr - ₹17.7 L/yr |
Infosys
Cognizant
Accenture
Wipro