He Instalado una IA en Local en Mi Mac – Llama 2



He Instalado una IA en Local en Mi Mac – Llama 2

He Instalado una IA en Local en Mi Mac - Llama 2

Paso a paso:
1. Rellena el formulario: https://ai.meta.com/resources/models-and-libraries/llama-downloads/
2. cd Desktop
3. cd llama2
4. git clone https://github.com/facebookresearch/llama.git
5. git clone https://github.com/ggerganov/llama.cpp
6. Descargar download.sh
7. brew install wget
8. Si necesitas descargar conda: https://docs.conda.io/en/latest/miniconda.html
9. conda create –name llama2
10. conda activate llama2
11. python3 -m pip install -r requirements.txt
12. python3 convert.py –outfile models/7B-chat/ggml-model-f16.bin –outtype f16 ../../llama2/llama-2-7b-chat
13. Pero antes necesito que dentro de la carpeta llama.cpp→models→ añadas una nueva carpeta con el nombre 7B, sino te dará error.
14. ./quantize ./models/7B/ggml-model-f16.bin ./models/7B/ggml-model-q4_0.bin q4_0
15. ./main -m ./models/7B-chat/ggml-model-q4_0.bin -n 1024 –repeat_penalty 1.0 –color -i -r “User:” -f ./prompts/chat-with-bob.txt
16. Para volver a usarla: cd Desktop/llama2/llama.cpp y el código anterior

🖱️🖱️ Página web: https://atedian.com/ 🖱️🖱️

🤑 Lista de los mejores productos de tecnología de amazon 🤑

🛒 https://amzn.to/34GZmmt

🔥 SMARTPHONES RECOMENDADOS DEL MES 🔥

•GAMA PREMIUM: https://amzn.to/3oOksWW (iPhone 13 Pro)

•GAMA ALTA: https://amzn.to/3PkNdpE (Realme GT 2 Pro)

•GAMA MEDIA: https://amzn.to/3a27AYL (Realme 9 Pro+)

•GAMA BAJA: https://amzn.to/39m3n1r (Xiaomi Redmi Note 11)

🔥 PORTATILES RECOMENDADOS DEL MES 🔥

•GAMA ALTA: https://amzn.to/3HPcHr3 (MacBook Pro 14″)

•GAMA MEDIA: https://amzn.to/34yHMRH (Huawei Matebook D14)

•GAMA BAJA: https://amzn.to/3sHU55Y (Chuwi HeroBook Pro)

•GAMING: https://amzn.to/3JpMCiF (Asus TUF Gaming F15)

💥REDES SOCIALES💥

TikTok: https://www.tiktok.com/@atedianweb
Twitter: https://twitter.com/atedianweb
Instagram: https://www.instagram.com/atedianweb/
Facebook: https://www.facebook.com/atedianweb

💼 Contacto de trabajo: [email protected] 💼

Comments are closed.