kenken999 commited on
Commit
c4f4e53
1 Parent(s): be995a1
=4.41.2 ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Requirement already satisfied: transformers in /usr/local/lib/python3.10/site-packages (4.35.2)
2
+ Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/site-packages (from transformers) (23.2)
3
+ Requirement already satisfied: huggingface-hub<1.0,>=0.16.4 in /usr/local/lib/python3.10/site-packages (from transformers) (0.23.3)
4
+ Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/site-packages (from transformers) (2024.5.15)
5
+ Requirement already satisfied: tqdm>=4.27 in /usr/local/lib/python3.10/site-packages (from transformers) (4.66.1)
6
+ Requirement already satisfied: tokenizers<0.19,>=0.14 in /usr/local/lib/python3.10/site-packages (from transformers) (0.15.2)
7
+ Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/site-packages (from transformers) (6.0.1)
8
+ Requirement already satisfied: filelock in /usr/local/lib/python3.10/site-packages (from transformers) (3.14.0)
9
+ Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/site-packages (from transformers) (1.23.5)
10
+ Requirement already satisfied: safetensors>=0.3.1 in /usr/local/lib/python3.10/site-packages (from transformers) (0.4.3)
11
+ Requirement already satisfied: requests in /usr/local/lib/python3.10/site-packages (from transformers) (2.32.3)
12
+ Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/site-packages (from huggingface-hub<1.0,>=0.16.4->transformers) (4.10.0)
13
+ Requirement already satisfied: fsspec>=2023.5.0 in /usr/local/lib/python3.10/site-packages (from huggingface-hub<1.0,>=0.16.4->transformers) (2024.3.1)
14
+ Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/site-packages (from requests->transformers) (2024.2.2)
15
+ Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/site-packages (from requests->transformers) (3.3.2)
16
+ Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/site-packages (from requests->transformers) (3.6)
17
+ Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/site-packages (from requests->transformers) (2.2.1)
babyagi/example.env ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # cp .env.example .env
2
+ # Edit your .env file with your own values
3
+ # Don't commit your .env file to git/push to GitHub!
4
+ # Don't modify/delete .env.example unless adding extensions to the project
5
+ # which require new variable to be added to the .env file
6
+
7
+ # API CONFIG
8
+ # OPENAI_API_MODEL can be used instead
9
+ # Special values:
10
+ # human - use human as intermediary with custom LLMs
11
+ # llama - use llama.cpp with Llama, Alpaca, Vicuna, GPT4All, etc
12
+ LLM_MODEL=gpt-3.5-turbo # alternatively, gpt-4, text-davinci-003, etc
13
+
14
+ LLAMA_MODEL_PATH= # ex. models/llama-13B/ggml-model.bin
15
+ #LLAMA_THREADS_NUM=8 # Set the number of threads for llama (optional)
16
+
17
+ OPENAI_API_KEY=
18
+ OPENAI_TEMPERATURE=0.0
19
+
20
+ # STORE CONFIG
21
+ # TABLE_NAME can be used instead
22
+ RESULTS_STORE_NAME=baby-agi-test-table
23
+
24
+ # Weaviate config
25
+ # Uncomment and fill these to switch from local ChromaDB to Weaviate
26
+ # WEAVIATE_USE_EMBEDDED=true
27
+ # WEAVIATE_URL=
28
+ # WEAVIATE_API_KEY=
29
+
30
+ # Pinecone config
31
+ # Uncomment and fill these to switch from local ChromaDB to Pinecone
32
+ # PINECONE_API_KEY=
33
+ # PINECONE_ENVIRONMENT=
34
+
35
+ # COOPERATIVE MODE CONFIG
36
+ # BABY_NAME can be used instead
37
+ INSTANCE_NAME=BabyAGI
38
+ COOPERATIVE_MODE=none # local
39
+
40
+ # RUN CONFIG
41
+ OBJECTIVE=Solve world hunger
42
+ # For backwards compatibility
43
+ # FIRST_TASK can be used instead of INITIAL_TASK
44
+ INITIAL_TASK=Develop a task list
45
+
46
+ # Extensions
47
+ # List additional extension .env files to load (except .env.example!)
48
+ DOTENV_EXTENSIONS=
49
+ # Set to true to enable command line args support
50
+ ENABLE_COMMAND_LINE_ARGS=false
51
+
chroma/6be188e8-482c-4e1e-8fbd-8157045b1e21/length.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7398e245c613b12ad2d8203f7e69b0e914f978018d23e3e990bd9ba382a6f9fd
3
  size 4000
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89e38b1b057f49bd257bae5f9b82a7e82cfde8ed46aed7ab02c36768a6e1c2a3
3
  size 4000
chroma/chroma.sqlite3 CHANGED
Binary files a/chroma/chroma.sqlite3 and b/chroma/chroma.sqlite3 differ
 
controllers/gra_07_html/__init__.py ADDED
File without changes
controllers/gra_07_html/gradio.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def display_html():
4
+ html_content = """
5
+ <h1>Hello, Gradio!</h1>
6
+ <p>This is an example of displaying HTML content using Gradio.</p>
7
+ <ul>
8
+ <li>Item 1</li>
9
+ <li>Item 2</li>
10
+ <li>Item 3</li>
11
+ </ul>
12
+ """
13
+ return html_content
14
+
15
+ # Gradioのインターフェースを作成
16
+ gradio_interface = gr.Interface(
17
+ fn=display_html, # HTMLコンテンツを返す関数
18
+ inputs=[], # 入力なし
19
+ outputs=gr.HTML() # HTMLコンテンツを表示
20
+ )
21
+
22
+ # インターフェースを起動
23
+ #iface.launch()
requirements.txt CHANGED
@@ -53,7 +53,7 @@ huggingface-hub
53
  imageio[ffmpeg]
54
  torch
55
  torchvision
56
- transformers
57
  langchain
58
  langchain_groq
59
  sqlalchemy
 
53
  imageio[ffmpeg]
54
  torch
55
  torchvision
56
+ transformers>=4.41.2
57
  langchain
58
  langchain_groq
59
  sqlalchemy
workspace/mydatabase.duckdb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a109507e43f2b73919a83af9b18d9829628ca7d24b0e3d41e3628f5189891dd5
3
+ size 274432