mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 18:22:41 +00:00
refine
This commit is contained in:
parent
1e915d87fb
commit
a3b9bc29c8
3 changed files with 6 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
#
|
#
|
||||||
# This source code is licensed under the terms described in the LICENSE file in
|
# This source code is licensed under the terms described in the LICENSE file in
|
||||||
# the root directory of this source tree.
|
# the root directory of this source tree.
|
||||||
from llama_stack.apis.common.type_system import StringType
|
from llama_stack.apis.common.type_system import ChatCompletionInputType, StringType
|
||||||
from llama_stack.apis.datasets import Datasets
|
from llama_stack.apis.datasets import Datasets
|
||||||
from llama_stack.providers.utils.common.data_schema_validator import (
|
from llama_stack.providers.utils.common.data_schema_validator import (
|
||||||
ColumnName,
|
ColumnName,
|
||||||
|
@ -19,7 +19,7 @@ from llama_stack.providers.utils.common.data_schema_validator import (
|
||||||
EXPECTED_DATASET_SCHEMA = {
|
EXPECTED_DATASET_SCHEMA = {
|
||||||
"instruct": [
|
"instruct": [
|
||||||
{
|
{
|
||||||
ColumnName.chat_completion_input.value: StringType(),
|
ColumnName.chat_completion_input.value: ChatCompletionInputType(),
|
||||||
ColumnName.expected_answer.value: StringType(),
|
ColumnName.expected_answer.value: StringType(),
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
@ -13,6 +13,7 @@ distribution_spec:
|
||||||
post_training:
|
post_training:
|
||||||
- inline::torchtune
|
- inline::torchtune
|
||||||
datasetio:
|
datasetio:
|
||||||
|
- inline::localfs
|
||||||
- remote::huggingface
|
- remote::huggingface
|
||||||
telemetry:
|
telemetry:
|
||||||
- inline::meta-reference
|
- inline::meta-reference
|
||||||
|
|
|
@ -29,6 +29,9 @@ providers:
|
||||||
provider_type: inline::basic
|
provider_type: inline::basic
|
||||||
config: {}
|
config: {}
|
||||||
datasetio:
|
datasetio:
|
||||||
|
- provider_id: huggingface-0
|
||||||
|
provider_type: remote::huggingface
|
||||||
|
config: {}
|
||||||
- provider_id: localfs
|
- provider_id: localfs
|
||||||
provider_type: inline::localfs
|
provider_type: inline::localfs
|
||||||
config: {}
|
config: {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue