zhangbofei
commited on
Commit
•
8644fd6
1
Parent(s):
59a40c7
fix: rm unused code
Browse files- .gitignore +2 -1
- app.py +0 -1
- gradio_web_server.log +0 -0
- gradio_web_server_multi.log +0 -0
- serve_images/2a9266044ab15516e8c0ba1a75f2b1e5.jpg +0 -0
- vision-tmp-2024-07-10-conv.json +0 -9
.gitignore
CHANGED
@@ -3,4 +3,5 @@ dependency
|
|
3 |
*.log
|
4 |
*.pyc
|
5 |
*__pycache__*
|
6 |
-
*.json
|
|
|
|
3 |
*.log
|
4 |
*.pyc
|
5 |
*__pycache__*
|
6 |
+
*.json
|
7 |
+
serve_images
|
app.py
CHANGED
@@ -3,7 +3,6 @@ from loguru import logger
|
|
3 |
logger.info("app start")
|
4 |
import gradio as gr
|
5 |
|
6 |
-
from src.model.model_llava import inference
|
7 |
from src.serve.gradio_block_arena_vision_named import build_side_by_side_vision_ui_named
|
8 |
|
9 |
def main():
|
|
|
3 |
logger.info("app start")
|
4 |
import gradio as gr
|
5 |
|
|
|
6 |
from src.serve.gradio_block_arena_vision_named import build_side_by_side_vision_ui_named
|
7 |
|
8 |
def main():
|
gradio_web_server.log
DELETED
The diff for this file is too large to render.
See raw diff
|
|
gradio_web_server_multi.log
DELETED
The diff for this file is too large to render.
See raw diff
|
|
serve_images/2a9266044ab15516e8c0ba1a75f2b1e5.jpg
DELETED
Binary file (6.87 kB)
|
|
vision-tmp-2024-07-10-conv.json
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
{"tstamp": 1720583926.6994, "type": "chat", "model": "llava-fire", "gen_params": {"temperature": 0.7, "top_p": 1.0, "max_new_tokens": 1024}, "start": 1720583926.678, "finish": 1720583926.6994, "state": {"template_name": "vicuna_v1.1", "system_message": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.", "roles": ["USER", "ASSISTANT"], "messages": [["USER", "Hello"], ["ASSISTANT", "hello"]], "offset": 0, "conv_id": "a48164214dce453a9ad276401b7d095c", "model_name": "llava-fire", "has_csam_image": false}, "ip": "127.0.0.1"}
|
2 |
-
{"tstamp": 1720583926.6998, "type": "chat", "model": "llava-original", "gen_params": {"temperature": 0.7, "top_p": 1.0, "max_new_tokens": 1024}, "start": 1720583926.6815, "finish": 1720583926.6998, "state": {"template_name": "vicuna_v1.1", "system_message": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.", "roles": ["USER", "ASSISTANT"], "messages": [["USER", "Hello"], ["ASSISTANT", "hello"]], "offset": 0, "conv_id": "8bed262a5728409284a7a56a0fe66a75", "model_name": "llava-original", "has_csam_image": false}, "ip": "127.0.0.1"}
|
3 |
-
{"tstamp": 1720588858.8939, "type": "chat", "model": "llava-fire", "gen_params": {"temperature": 0.7, "top_p": 1.0, "max_new_tokens": 1024}, "start": 1720588858.8843, "finish": 1720588858.8939, "state": {"template_name": "vicuna_v1.1", "system_message": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.", "roles": ["USER", "ASSISTANT"], "messages": [["USER", "Hello"], ["ASSISTANT", "hello"]], "offset": 0, "conv_id": "d994e3d859c94bddbf0dfcaed6c63079", "model_name": "llava-fire", "has_csam_image": false}, "ip": "46.3.240.105"}
|
4 |
-
{"tstamp": 1720588858.8951, "type": "chat", "model": "llava-original", "gen_params": {"temperature": 0.7, "top_p": 1.0, "max_new_tokens": 1024}, "start": 1720588858.8863, "finish": 1720588858.8951, "state": {"template_name": "vicuna_v1.1", "system_message": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.", "roles": ["USER", "ASSISTANT"], "messages": [["USER", "Hello"], ["ASSISTANT", "hello"]], "offset": 0, "conv_id": "e41b47f05f8b44ff9d520c8e94c6e8de", "model_name": "llava-original", "has_csam_image": false}, "ip": "46.3.240.105"}
|
5 |
-
{"tstamp": 1720589062.1758, "type": "chat", "model": "llava-fire", "gen_params": {"temperature": 0.7, "top_p": 1.0, "max_new_tokens": 1024}, "start": 1720589047.9171, "finish": 1720589062.1758, "state": {"template_name": "vicuna_v1.1", "system_message": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.", "roles": ["USER", "ASSISTANT"], "messages": [["USER", "Hello"], ["ASSISTANT", "hello"]], "offset": 0, "conv_id": "963f15cd5e224eb8ae02c67ed37b93c4", "model_name": "llava-fire", "has_csam_image": false}, "ip": "46.3.240.105"}
|
6 |
-
{"tstamp": 1720589240.391, "type": "chat", "model": "llava-fire", "gen_params": {"temperature": 0.7, "top_p": 1.0, "max_new_tokens": 1024}, "start": 1720589221.915, "finish": 1720589240.391, "state": {"template_name": "vicuna_v1.1", "system_message": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.", "roles": ["USER", "ASSISTANT"], "messages": [["USER", "Hello"], ["ASSISTANT", "hello"]], "offset": 0, "conv_id": "062c8dbcf02d4779ad5cb89f836a7480", "model_name": "llava-fire", "has_csam_image": false}, "ip": "46.3.240.106"}
|
7 |
-
{"tstamp": 1720589240.3917, "type": "chat", "model": "llava-original", "gen_params": {"temperature": 0.7, "top_p": 1.0, "max_new_tokens": 1024}, "start": 1720589221.917, "finish": 1720589240.3917, "state": {"template_name": "vicuna_v1.1", "system_message": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.", "roles": ["USER", "ASSISTANT"], "messages": [["USER", "Hello"], ["ASSISTANT", "The figure in the image is a can of S\u00f6dra Almighy, which is a beer. S\u00f6dra is a Swedish brewery known for its lager beers. The can's design is modern and minimalist, with a color scheme that includes black and white, and the text is in English. The label indicates that it is a dry-hopped beer, which means it has been flavored with hops that have not been steeped in the brewing process, giving it a unique taste profile. The can's design suggests a contemporary and possibly craft beer, which is often associated with a more complex flavor profile than traditional lagers."]], "offset": 0, "conv_id": "3255dc27032345ba845813c17981f372", "model_name": "llava-original", "has_csam_image": false}, "ip": "46.3.240.106"}
|
8 |
-
{"tstamp": 1720593211.0342, "type": "chat", "model": "llava-fire", "gen_params": {"temperature": 0.7, "top_p": 1.0, "max_new_tokens": 1024}, "start": 1720593197.2799, "finish": 1720593211.0342, "state": {"template_name": "llava-fire", "system_message": "You are a helpful language and vision assistant. You are able to understand the visual content that the user provides, and assist the user with a variety of tasks using natural language.", "roles": ["user", "assistant"], "messages": [["user", ["Describe the image", ["2a9266044ab15516e8c0ba1a75f2b1e5"]]], ["assistant", "hello"]], "offset": 0, "conv_id": "f97c281c9d114ae7800b56eb204726fc", "model_name": "llava-fire", "has_csam_image": false}, "ip": "46.3.240.104"}
|
9 |
-
{"tstamp": 1720593211.0433, "type": "chat", "model": "llava-original", "gen_params": {"temperature": 0.7, "top_p": 1.0, "max_new_tokens": 1024}, "start": 1720593197.2821, "finish": 1720593211.0433, "state": {"template_name": "llava-original", "system_message": "You are a helpful language and vision assistant. You are able to understand the visual content that the user provides, and assist the user with a variety of tasks using natural language.", "roles": ["user\n\n", "assistant\n\n"], "messages": [["user\n\n", ["Describe the image", ["2a9266044ab15516e8c0ba1a75f2b1e5"]]], ["assistant\n\n", "The image captures a moment of proposal between two individuals. The man, dressed in a classic gray suit, is standing upright with his arms outstretched, holding a ring in his left hand. His posture and facial expression suggest he is in the act of proposing. The woman, wearing a vibrant red dress, is kneeling on the ground with her hands clasped together, indicating her readiness to accept the proposal. The simplicity of the background focuses the viewer's attention on the interaction between the two characters. The image is devoid of any text or additional context, allowing the viewer to focus solely on the emotional exchange between the man and the woman."]], "offset": 0, "conv_id": "4731a06b55954bd8bfa659f1c3f9cc91", "model_name": "llava-original", "has_csam_image": false}, "ip": "46.3.240.104"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|