LLM Engineering course : Day 1

 Anaconda Power Shell

 

 this will open , way you know if it is a anaconda power shell by seeing "base"

Then you can install the full environment

  

then to activate use command "conda activate llms"  

 

Open Ques "what is environment.yml"

Then activate the conda environment and open jupyter lab

 

you can start with virtualenv as well (all details in readme)

Video 11 : Day 1

  • every AI has 2 types of plan 1) pro plan with UI monthly subscription 2) API pricing , pay per request, for OPEN API need to put in 5$ pre payment (can use gpt4-o-mini for less cost) 
  • (all details in readme)

 Video 11: 

  • store keys in .env files (all details in readme) 

Video 14

there are two types of prompt

 

Video 15

OpenAI came up with a standard way of interacting with LLMs which is now standard for many LLMs.

It is a list of dictionaries.

Use completions API

https://platform.openai.com/docs/guides/completions

 

For websites that use JavaScript we cannot use scraper / parser , so it is better to use selenium or playwright first to display the page then use scraper / parser to load.

https://github.com/ed-donner/llm_engineering/blob/main/week1/community-contributions/day1-selenium-for-javascript-sites.ipynb

 

 

Comments

Popular posts from this blog

Agentic AI Course : Week 1

LLM Engineering : Week 2