Spaces:
Sleeping
Sleeping
update
Browse files- mindsearch/__pycache__/app.cpython-310.pyc +0 -0
- mindsearch/agent/__pycache__/__init__.cpython-310.pyc +0 -0
- mindsearch/agent/__pycache__/mindsearch_agent.cpython-310.pyc +0 -0
- mindsearch/agent/__pycache__/mindsearch_prompt.cpython-310.pyc +0 -0
- mindsearch/agent/__pycache__/models.cpython-310.pyc +0 -0
- mindsearch/agent/models.py +2 -2
- mindsearch/app.py +0 -1
mindsearch/__pycache__/app.cpython-310.pyc
CHANGED
Binary files a/mindsearch/__pycache__/app.cpython-310.pyc and b/mindsearch/__pycache__/app.cpython-310.pyc differ
|
|
mindsearch/agent/__pycache__/__init__.cpython-310.pyc
CHANGED
Binary files a/mindsearch/agent/__pycache__/__init__.cpython-310.pyc and b/mindsearch/agent/__pycache__/__init__.cpython-310.pyc differ
|
|
mindsearch/agent/__pycache__/mindsearch_agent.cpython-310.pyc
CHANGED
Binary files a/mindsearch/agent/__pycache__/mindsearch_agent.cpython-310.pyc and b/mindsearch/agent/__pycache__/mindsearch_agent.cpython-310.pyc differ
|
|
mindsearch/agent/__pycache__/mindsearch_prompt.cpython-310.pyc
CHANGED
Binary files a/mindsearch/agent/__pycache__/mindsearch_prompt.cpython-310.pyc and b/mindsearch/agent/__pycache__/mindsearch_prompt.cpython-310.pyc differ
|
|
mindsearch/agent/__pycache__/models.cpython-310.pyc
CHANGED
Binary files a/mindsearch/agent/__pycache__/models.cpython-310.pyc and b/mindsearch/agent/__pycache__/models.cpython-310.pyc differ
|
|
mindsearch/agent/models.py
CHANGED
@@ -4,7 +4,7 @@ from lagent.llms import (GPTAPI, INTERNLM2_META, HFTransformerCasualLM,
|
|
4 |
LMDeployClient, LMDeployServer)
|
5 |
|
6 |
internlm_server = dict(type=LMDeployServer,
|
7 |
-
path='/
|
8 |
model_name='internlm2',
|
9 |
meta_template=INTERNLM2_META,
|
10 |
top_p=0.8,
|
@@ -60,7 +60,7 @@ qwen = dict(type=GPTAPI,
|
|
60 |
stop_words=['<|im_end|>'])
|
61 |
|
62 |
internlm_silicon = dict(type=GPTAPI,
|
63 |
-
model_type='/
|
64 |
key=os.environ.get('SILICON_API_KEY', 'YOUR SILICON API KEY'),
|
65 |
openai_api_base='https://api.siliconflow.cn/v1/chat/completions',
|
66 |
meta_template=[
|
|
|
4 |
LMDeployClient, LMDeployServer)
|
5 |
|
6 |
internlm_server = dict(type=LMDeployServer,
|
7 |
+
path='internlm/internlm2_5-7b-chat',
|
8 |
model_name='internlm2',
|
9 |
meta_template=INTERNLM2_META,
|
10 |
top_p=0.8,
|
|
|
60 |
stop_words=['<|im_end|>'])
|
61 |
|
62 |
internlm_silicon = dict(type=GPTAPI,
|
63 |
+
model_type='internlm/internlm2_5-7b-chat',
|
64 |
key=os.environ.get('SILICON_API_KEY', 'YOUR SILICON API KEY'),
|
65 |
openai_api_base='https://api.siliconflow.cn/v1/chat/completions',
|
66 |
meta_template=[
|
mindsearch/app.py
CHANGED
@@ -5,7 +5,6 @@ from copy import deepcopy
|
|
5 |
from dataclasses import asdict
|
6 |
from typing import Dict, List, Union
|
7 |
|
8 |
-
|
9 |
import janus
|
10 |
from fastapi import FastAPI
|
11 |
from fastapi.middleware.cors import CORSMiddleware
|
|
|
5 |
from dataclasses import asdict
|
6 |
from typing import Dict, List, Union
|
7 |
|
|
|
8 |
import janus
|
9 |
from fastapi import FastAPI
|
10 |
from fastapi.middleware.cors import CORSMiddleware
|