Added Qwen2.5 open-source series models (#1798)
## Change Added Qwen2.5 open-source series models, which show amazing results. See: https://qwenlm.github.io/blog/qwen2.5/ ## General checklist <!-- Please double-check the following points and mark them like this: [X] --> - [X] There are no breaking changes - [X] I have added unit and integration tests for my change - [X] I have manually run all the unit and integration tests in the module I have added/changed, and they are all green - [ ] I have manually run all the unit and integration tests in the [core](https://github.com/langchain4j/langchain4j/tree/main/langchain4j-core) and [main](https://github.com/langchain4j/langchain4j/tree/main/langchain4j) modules, and they are all green
This commit is contained in:
parent
cb5bdd92e7
commit
92e0b97040
|
@ -24,7 +24,7 @@
|
|||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>dashscope-sdk-java</artifactId>
|
||||
<version>2.16.3</version>
|
||||
<version>2.16.4</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
@ -21,6 +21,13 @@ public class QwenModelName {
|
|||
public static final String QWEN2_7B_INSTRUCT = "qwen2-7b-instruct"; // Qwen open sourced 7-billion-parameters model (v2)
|
||||
public static final String QWEN2_72B_INSTRUCT = "qwen2-72b-instruct"; // Qwen open sourced 72-billion-parameters model (v2)
|
||||
public static final String QWEN2_57B_A14B_INSTRUCT = "qwen2-57b-a14b-instruct"; // Qwen open sourced 57-billion-parameters and 14-billion-activation-parameters MOE model (v2)
|
||||
public static final String QWEN2_5_0_5B_INSTRUCT = "qwen2.5-0.5b-instruct"; // Qwen open sourced 0.5-billion-parameters model (v2.5)
|
||||
public static final String QWEN2_5_1_5B_INSTRUCT = "qwen2.5-1.5b-instruct"; // Qwen open sourced 1.5-billion-parameters model (v2.5)
|
||||
public static final String QWEN2_5_3B_INSTRUCT = "qwen2.5-3b-instruct"; // Qwen open sourced 3-billion-parameters model (v2.5)
|
||||
public static final String QWEN2_5_7B_INSTRUCT = "qwen2.5-7b-instruct"; // Qwen open sourced 7-billion-parameters model (v2.5)
|
||||
public static final String QWEN2_5_14B_INSTRUCT = "qwen2.5-14b-instruct"; // Qwen open sourced 14-billion-parameters model (v2.5)
|
||||
public static final String QWEN2_5_32B_INSTRUCT = "qwen2.5-32b-instruct"; // Qwen open sourced 32-billion-parameters model (v2.5)
|
||||
public static final String QWEN2_5_72B_INSTRUCT = "qwen2.5-72b-instruct"; // Qwen open sourced 72-billion-parameters model (v2.5)
|
||||
public static final String QWEN_VL_PLUS = "qwen-vl-plus"; // Qwen multi-modal model, supports image and text information.
|
||||
public static final String QWEN_VL_MAX = "qwen-vl-max"; // Qwen multi-modal model, offers optimal performance on a wider range of complex tasks.
|
||||
public static final String QWEN_AUDIO_CHAT = "qwen-audio-chat"; // Qwen open sourced speech model, sft for chatting.
|
||||
|
|
|
@ -35,7 +35,14 @@ public class QwenTestHelper {
|
|||
Arguments.of(QwenModelName.QWEN2_1_5B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_7B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_72B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_57B_A14B_INSTRUCT)
|
||||
Arguments.of(QwenModelName.QWEN2_57B_A14B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_0_5B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_1_5B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_3B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_7B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_14B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_32B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_72B_INSTRUCT)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -56,7 +63,14 @@ public class QwenTestHelper {
|
|||
Arguments.of(QwenModelName.QWEN2_1_5B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_7B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_72B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_57B_A14B_INSTRUCT)
|
||||
Arguments.of(QwenModelName.QWEN2_57B_A14B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_0_5B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_1_5B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_3B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_7B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_14B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_32B_INSTRUCT),
|
||||
Arguments.of(QwenModelName.QWEN2_5_72B_INSTRUCT)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue