Ollama in R | Running LLMs on Local Machine, No API Needed

preview_player
Показать описание
Introduces working with ollama in R or RStudio. Running LLM models such as llama3 and several other models on local machine without the need for API.
#ollama #llama3
Рекомендации по теме
Комментарии
Автор

Awesome topic. And as always your videos are crisp, relevant and also the presentation is of top class.The best thing is that there is no need of API Key. Thanks once again. It took about 5 minutes to pull the model 

I've updated the code to use models$name instead of directly specifying the model name.

if(!require(ollamar)) {
# checks if the 'ollamar' package is not already loaded. If loaded it will ignore otherwise will install

library(ollamar)
test_connection()
models <- list_models()
print(models)
models$name ## instead of hardcoding the name of the model

pull(models$name)
# Generate text using the specified model

result <- generate(model = models$name, prompt = 'What is the function to calculate correlation in R and Python and give example..', output = 'text', stream = TRUE)

ChhotooGhadge
Автор

🎉🎉 Amazing Professor, Really love today's topic. I feel my big inspiration, my big professor is coming back. Thank youuuu so much... Keep on fire 🔥 teach R language & Rshiny and current technology related with R. May GOD bless you & your family... Professor...

islamahmadodeh
Автор

Professor, do you remember 2018 you teached us about INTERACTIVE DASHBOARD... please Add 1 tab for R that using OLLAMA/LLM model (without API)... 1 application ( dashboard+AI bot with LLM model)... 🎉... i am eagerly to watch your video.. More more more more... Thank you very much

islamahmadodeh
Автор

My greatest Professor...Please add the LLM code AI on the dashboard 2018...the data from there also + uploaded/browse. ...splendid of thankful Prof...

islamahmadodeh
Автор

Hi professor, could you please introduce how to using the latent class trajectory models in R?❤

mosesmorgan
Автор

Professor.. Please RAG (many type of documents) in R, without API.

Thank you...

Curious waiting your next tutorial.

islamahmadodeh