Machine Learning with Python
68.3K subscribers
1.29K photos
95 videos
169 files
952 links
Learn Machine Learning with hands-on Python tutorials, real-world code examples, and clear explanations for researchers and developers.

Admin: @HusseinSheikho || @Hussein_Sheikho
Download Telegram
Forwarded from Machine Learning
100+ LLM Interview Questions and Answers (GitHub Repo)

Anyone preparing for #AI/#ML Interviews, it is mandatory to have good knowledge related to #LLM topics.

This# repo includes 100+ LLM interview questions (with answers) spanning over LLM topics like
LLM Inference
LLM Fine-Tuning
LLM Architectures
LLM Pretraining
Prompt Engineering
etc.

🖕 Github Repo - https://github.com/KalyanKS-NLP/LLM-Interview-Questions-and-Answers-Hub

https://t.iss.one/DataScienceM
Please open Telegram to view this post
VIEW IN TELEGRAM
6👍3
I'm happy to announce that freeCodeCamp has launched a new certification in #Python 🐍

» Learning the basics of programming
» Project development
» Final exam
» Obtaining a certificate

Everything takes place directly in the browser, without installation. This is one of the six certificates in version 10 of the Full Stack Developer training program.

Full announcement with a detailed FAQ about the certificate, the course, and the exams
Link: https://www.freecodecamp.org/news/freecodecamps-new-python-certification-is-now-live/

👉 @codeprogrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
6
1. What will be the output of the following code?

def add_item(item, lst=None):
if lst is None:
lst = []
lst.append(item)
return lst

print(add_item(1))
print(add_item(2))


A. [1] then [2]
B. [1] then [1, 2]
C. [] then []
D. Raises TypeError
Correct answer: A.

2. What is printed by this code?

x = 10
def func():
print(x)
x = 5

func()


A. 10
B. 5
C. None
D. UnboundLocalError
Correct answer: D.

3. What is the result of executing this code?

a = [1, 2, 3]
b = a[:]
a.append(4)
print(b)


A. [1, 2, 3, 4]
B. [4]
C. [1, 2, 3]
D. []
Correct answer: C.

4. What does the following expression evaluate to?

bool("False")


A. False
B. True
C. Raises ValueError
D. None
Correct answer: B.

5. What will be the output?

print(type({}))


A. <class 'list'>
B. <class 'set'>
C. <class 'dict'>
D. <class 'tuple'>
Correct answer: C.

6. What is printed by this code?

x = (1, 2, [3])
x[2] += [4]
print(x)


A. (1, 2, [3])
B. (1, 2, [3, 4])
C. TypeError
D. AttributeError
Correct answer: C.

7. What does this code output?

print([i for i in range(3) if i])


A. [0, 1, 2]
B. [1, 2]
C. [0]
D. []
Correct answer: B.

8. What will be printed?

d = {"a": 1}
print(d.get("b", 2))


A. None
B. KeyError
C. 2
D. "b"
Correct answer: C.

9. What is the output?

print(1 in [1, 2], 1 is 1)


A. True True
B. True False
C. False True
D. False False
Correct answer: A.

10. What does this code produce?

def gen():
for i in range(2):
yield i

g = gen()
print(next(g), next(g))


A. 0 1
B. 1 2
C. 0 0
D. StopIteration
Correct answer: A.

11. What is printed?

print({x: x*x for x in range(2)})


A. {0, 1}
B. {0: 0, 1: 1}
C. [(0,0),(1,1)]
D. Error
Correct answer: B.

12. What is the result of this comparison?

print([] == [], [] is [])


A. True True
B. False False
C. True False
D. False True
Correct answer: C.

13. What will be printed?

def f():
try:
return "A"
finally:
print("B")

print(f())


A. A
B. B
C. B then A
D. A then B
Correct answer: C.

14. What does this code output?

x = [1, 2]
y = x
x = x + [3]
print(y)


A. [1, 2, 3]
B. [3]
C. [1, 2]
D. Error
Correct answer: C.

15. What is printed?

print(type(i for i in range(3)))


A. <class 'list'>
B. <class 'tuple'>
C. <class 'generator'>
D. <class 'range'>
Correct answer: C.
3👍1
Forwarded from ADMINOTEKA
Админотека — это лучший сервис для монетизации твоего канала!

Привет, давай знакомиться. Не самое скромное приветствие получилось, но мы можем подтвердить свои слова.

🌑 Ведь у нас зарабатывают даже самые маленькие каналы с 20 охватами
🌑 Стабильные офферы каждую неделю
🌑 Алгоритмы, рейтинг, защита сделок — и всё это автоматизировано
🌑 Удобные выплаты на привязанный кошелек
🌑 Здесь же можно и купить размещения по самому низкому прайсу на рынке

💸 Подключай свой канал и проверяй на практике. Преврати свой канал в реальный доход вместе с нами!
Please open Telegram to view this post
VIEW IN TELEGRAM
1