Mudanças entre as edições de "Inteligência Artificial"
Ir para navegação
Ir para pesquisar
(→Ollama) |
(→Linux) |
||
| Linha 12: | Linha 12: | ||
curl -fsSL https://ollama.com/install.sh | sh | curl -fsSL https://ollama.com/install.sh | sh | ||
| − | Rodando o Llama3 | + | Rodando o Modelo Llama3 |
ollama run llama3 | ollama run llama3 | ||
| Linha 20: | Linha 20: | ||
"prompt":"Why is the sky blue?" | "prompt":"Why is the sky blue?" | ||
}' | }' | ||
| − | |||
=Python= | =Python= | ||
https://www.youtube.com/watch?v=4Y7v_FcXT7k | 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 Modelo 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