Mudanças entre as edições de "Inteligência Artificial"

De BrapciWiki
Ir para navegação Ir para pesquisar
Linha 11: Linha 11:
 
==Linux==
 
==Linux==
 
  curl -fsSL https://ollama.com/install.sh | sh
 
  curl -fsSL https://ollama.com/install.sh | sh
 +
 +
Rodando o Llama3
 +
ollama run llama3
  
 
===Consulta CURL===
 
===Consulta CURL===
Linha 17: Linha 20:
 
   "prompt":"Why is the sky blue?"
 
   "prompt":"Why is the sky blue?"
 
  }'
 
  }'
 +
 +
 +
=Python=
 +
https://www.youtube.com/watch?v=4Y7v_FcXT7k

Edição das 11h46min de 23 de junho de 2024

Ollama

Download https://www.ollama.com/

Treinamento

===Anything LLM===
https://useanything.com/

Windows

  • ollama run phi3
  • ollama run llama3

Linux

curl -fsSL https://ollama.com/install.sh | sh

Rodando o Llama3

ollama run llama3

Consulta CURL

curl -X POST http://localhost:11434/api/generate -d '{
 "model": "llama3",
 "prompt":"Why is the sky blue?"
}'


Python

https://www.youtube.com/watch?v=4Y7v_FcXT7k