Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLama error - Benjamin #388

Open
lipere123 opened this issue Sep 21, 2024 · 0 comments
Open

LLama error - Benjamin #388

lipere123 opened this issue Sep 21, 2024 · 0 comments

Comments

@lipere123
Copy link

Hello.

USING LLAMA.CPP. POTENTIALLY SLOW.

OBJECTIVE

Solve world hunger

Initial task: Develop a task list

Using results storage: Chroma (Default)

TASK LIST

• Develop a task list

NEXT TASK

Develop a task list

llama_print_timings: load time = 909.00 ms
llama_print_timings: sample time = 92.09 ms / 200 runs ( 0.46 ms per token, 2171.72 tokens per second)
llama_print_timings: prompt eval time = 908.96 ms / 25 tokens ( 36.36 ms per token, 27.50 tokens per second)
llama_print_timings: eval time = 23087.77 ms / 199 runs ( 116.02 ms per token, 8.62 tokens per second)
llama_print_timings: total time = 24237.75 ms / 224 tokens

TASK RESULT

Here is a task list to help solve world hunger:

  1. Conduct research: Study the current state of global food security, identifying areas with the highest rates of hunger and malnutrition.
  2. Develop sustainable agriculture practices: Collaborate with local farmers to implement sustainable farming methods, such as permaculture and regenerative agriculture, to increase crop yields and reduce environmental impact.
  3. Create a global food distribution network: Establish a network of food banks, community kitchens, and other organizations to distribute surplus food to areas in need.
  4. Promote food waste reduction: Work with restaurants, grocery stores, and households to reduce food waste through education and implementation of composting programs.
  5. Support small-scale farmers: Provide training, resources, and market access to small-scale farmers to help them increase their productivity and income.
  6. Develop nutrition education programs: Create educational programs to teach people about healthy eating habits, meal planning, and cooking skills to improve overall nutrition.
    7

llama_print_timings: load time = 7533.51 ms
llama_print_timings: sample time = 0.00 ms / 1 runs ( 0.00 ms per token, inf tokens per second)
llama_print_timings: prompt eval time = 7528.34 ms / 216 tokens ( 34.85 ms per token, 28.69 tokens per second)
llama_print_timings: eval time = 0.00 ms / 1 runs ( 0.00 ms per token, inf tokens per second)
llama_print_timings: total time = 7558.77 ms / 217 tokens
Traceback (most recent call last):
File "/usr/local/babyagi-backend/./babyagi.py", line 609, in
main()
File "/usr/local/babyagi-backend/./babyagi.py", line 579, in main
results_storage.add(task, result, result_id)
File "/usr/local/babyagi-backend/./babyagi.py", line 230, in add
self.collection.add(
File "/usr/local/babyagi/lib/python3.10/site-packages/chromadb/api/models/Collection.py", line 95, in add
ids, embeddings, metadatas, documents = self._validate_embedding_set(
File "/usr/local/babyagi/lib/python3.10/site-packages/chromadb/api/models/Collection.py", line 364, in _validate_embedding_set
raise ValueError(
ValueError: Number of embeddings 216 must match number of ids 1

This error is comming again.
How do I fix it ?
Thanks in advance.
best Regards.
Benjamin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant