Xylaria-chat / pipeline.json
Reality123b's picture
Update pipeline.json
b5e8bdc verified
{
"api": {
"models": {
"Xylaria 1.6": {
"type": "Text Generation",
"api_url": "https://api-inference.huggingface.co/models/Qwen/Qwen2.5-Coder-32B-Instruct/v1/chat/completions",
"headers": {
"Content-Type": "application/json",
"x-use-cache": "false",
"config": {
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
"Authorization": "Bearer os.environ.get('auth')"
}
}
},
"Xylaria 1.6 Senoa": {
"type": "Text Generation",
"api_url": "https://api-inference.huggingface.co/models/Qwen/QwQ-32B-Preview/v1/chat/completions",
"headers": {
"Content-Type": "application/json",
"x-use-cache": "false",
"config": {
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
"Authorization": "Bearer os.environ.get('auth')"
}
}
},
"Xylaria 1.7": {
"type": "Text Generation",
"api_url": "https://api-inference.huggingface.co/models/PowerInfer/SmallThinker-3B-Preview/v1/chat/completions",
"headers": {
"Content-Type": "application/json",
"x-use-cache": "false",
"config": {
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
"Authorization": "Bearer os.environ.get('auth')"
}
}
},
"Xylaria 1.7 Senoa": {
"type": "Text Generation",
"api_url": "https://huggingface.co/api/inference-proxy/together/v1/chat/completions",
"headers": {
"Content-Type": "application/json",
"x-use-cache": "false",
"config": {
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
"Authorization": "Bearer os.environ.get('auth')"
}
},
"model_params": {
"model": "deepseek-ai/DeepSeek-R1",
"max_tokens": 10200,
"streaming": true
}
},
"Xylaria 1.7 Senoa Experemental": {
"type": "Text Generation",
"api_url": "https://api-inference.huggingface.co/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B/v1/chat/completions",
"headers": {
"Content-Type": "application/json",
"x-use-cache": "false",
"config": {
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
"Authorization": "Bearer os.environ.get('auth')"
}
}
},
"Xylaria 1.4 Senoa": {
"type": "Text Generation",
"api_url": "https://api-inference.huggingface.co/models/mistralai/Mistral-Nemo-Instruct-2407/v1/chat/completions",
"headers": {
"Content-Type": "application/json",
"x-use-cache": "false",
"config": {
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
"Authorization": "Bearer os.environ.get('auth')"
}
}
},
"Phi 3.5 Mini": {
"type": "Text Generation",
"api_url": "https://api-inference.huggingface.co/models/microsoft/Phi-3.5-mini-instruct/v1/chat/completions",
"headers": {
"Content-Type": "application/json",
"x-use-cache": "false",
"config": {
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
"Authorization": "Bearer os.environ.get('auth')"
}
}
}
}
},
"handle_stream": true
}