Upload folder using huggingface_hub
Browse files
.hfignore
CHANGED
|
@@ -1,11 +1,8 @@
|
|
| 1 |
-
.
|
| 2 |
-
|
| 3 |
frontend/node_modules/
|
|
|
|
| 4 |
.venv/
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
*.pyd
|
| 9 |
-
.db
|
| 10 |
-
.cache/
|
| 11 |
-
public/
|
|
|
|
| 1 |
+
frontend/.cache/
|
| 2 |
+
frontend/public/
|
| 3 |
frontend/node_modules/
|
| 4 |
+
node_modules/
|
| 5 |
.venv/
|
| 6 |
+
.pytest_cache/
|
| 7 |
+
tests/__pycache__/
|
| 8 |
+
src/__pycache__/
|
|
|
|
|
|
|
|
|
|
|
|
src/magentic_ui/eval/benchmarks/simpleqa/simpleqa.py
CHANGED
|
@@ -30,7 +30,9 @@ class SimpleQABenchmark(BaseQABenchmark):
|
|
| 30 |
EVALUATOR_KWARGS = {
|
| 31 |
"provider": "OpenAIChatCompletionClient",
|
| 32 |
"config": {
|
| 33 |
-
"model": "
|
|
|
|
|
|
|
| 34 |
},
|
| 35 |
"max_retries": 10,
|
| 36 |
}
|
|
|
|
| 30 |
EVALUATOR_KWARGS = {
|
| 31 |
"provider": "OpenAIChatCompletionClient",
|
| 32 |
"config": {
|
| 33 |
+
"model": "Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 34 |
+
"base_url": "https://api-inference.huggingface.co/models/Qwen/Qwen2.5-Coder-32B-Instruct/v1",
|
| 35 |
+
"api_key": "not-needed",
|
| 36 |
},
|
| 37 |
"max_retries": 10,
|
| 38 |
}
|
src/magentic_ui/magentic_ui_config.py
CHANGED
|
@@ -40,18 +40,18 @@ class ModelClientConfigs(BaseModel):
|
|
| 40 |
default_client_config: ClassVar[Dict[str, Any]] = {
|
| 41 |
"provider": "OpenAIChatCompletionClient",
|
| 42 |
"config": {
|
| 43 |
-
"model": "
|
| 44 |
-
"base_url": "https://api
|
| 45 |
-
"api_key":
|
| 46 |
},
|
| 47 |
"max_retries": 10,
|
| 48 |
}
|
| 49 |
default_action_guard_config: ClassVar[Dict[str, Any]] = {
|
| 50 |
"provider": "OpenAIChatCompletionClient",
|
| 51 |
"config": {
|
| 52 |
-
"model": "
|
| 53 |
-
"base_url": "https://api
|
| 54 |
-
"api_key":
|
| 55 |
},
|
| 56 |
"max_retries": 10,
|
| 57 |
}
|
|
|
|
| 40 |
default_client_config: ClassVar[Dict[str, Any]] = {
|
| 41 |
"provider": "OpenAIChatCompletionClient",
|
| 42 |
"config": {
|
| 43 |
+
"model": "Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 44 |
+
"base_url": "https://api-inference.huggingface.co/models/Qwen/Qwen2.5-Coder-32B-Instruct/v1",
|
| 45 |
+
"api_key": "not-needed",
|
| 46 |
},
|
| 47 |
"max_retries": 10,
|
| 48 |
}
|
| 49 |
default_action_guard_config: ClassVar[Dict[str, Any]] = {
|
| 50 |
"provider": "OpenAIChatCompletionClient",
|
| 51 |
"config": {
|
| 52 |
+
"model": "Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 53 |
+
"base_url": "https://api-inference.huggingface.co/models/Qwen/Qwen2.5-Coder-32B-Instruct/v1",
|
| 54 |
+
"api_key": "not-needed",
|
| 55 |
},
|
| 56 |
"max_retries": 10,
|
| 57 |
}
|