run-llama / llama_index

LlamaIndex is a data framework for your LLM applications
https://docs.llamaindex.ai
MIT License
36.45k stars 5.21k forks source link

[Feature Request]: dashscope support qwen2 model #14237

Closed YeKelvin closed 4 months ago

YeKelvin commented 4 months ago

Feature Description

dashscope support qwen2 model, thanks

Reason

No response

Value of Feature

No response

YeKelvin commented 4 months ago
from llama_index.llms.dashscope.base import DASHSCOPE_MODEL_META

DASHSCOPE_MODEL_META.update(
    {
        'qwen2-72b-instruct': {
            'context_window': 1024 * 30,
            'num_output': 1024 * 30,
            'is_chat_model': True,
        }
    }
)