IA-Programming / Probando-Mistral-7B-8bit

Tratando de correr en un google colab gpu gratuito
MIT License
1 stars 0 forks source link

Error en todas from llama_index.core.llama_utils import messages_to_prompt, completion_to_prompt from llama_index.core.LlamaCPP import LlamaCPP #1

Open ainteligencia opened 7 months ago

ainteligencia commented 7 months ago

Buenas. estoy ejecutando tu ejemplo Mistral7llamaindexDemo y esta arrojando error :

por favor me podria indicar como cambiaron las librerias? gracias

ModuleNotFoundError Traceback (most recent call last) in <cell line: 5>() 3 #from llama_index.llms import LlamaCPP 4 #from llama_index.llms.llama_cpp import LlamaCPP ----> 5 from llama_index.core.llama_utils import messages_to_prompt, completion_to_prompt 6 from llama_index.core.LlamaCPP import LlamaCPP 7 llm = LlamaCPP(

ModuleNotFoundError: No module named 'llama_index.core.llama_utils'


NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the "Open Examples" button below.

IA-Programming commented 7 months ago

quiza aqui este la solucion a tu problema: LlamaCPP