Inference with AX650 Host, such as M4N-Dock(爱芯派Pro) or AX650N DEMO Board
Text Generation
input text:
Please calculate the derivative of the function [y=2x^ 2-2] and provide the reasoning process in markdown format.
log information:
root@ax650 ~/yongqiang/push_hugging_face/InternVL3-2B # python3 infer.py --hf_model internvl3_2b_tokenizer/ --axmodel_path internvl3_2b_axmodel/ --question "Please calculate the derivative of the function [y=2x^ 2-2] and provide the reasoning process in markdown format"
Init InferenceSession: 100%|██████████████████████████████████████████████████████████| 28/28 [00:16<00:00, 1.74it/s]
model load done!
prefill token_len: 85
slice_indexs is [0]
slice prefill done 0
Decode: 9%|██████▎ | 232/2559 [00:19<05:14, 7.39it/s]Decode: 17%|████████████ | 440/2559 [00:48<04:51, 7.26it/s]hit eos!
Decode: 17%|████████████ | 440/2559 [00:48<03:53, 9.06it/s]
Certainly! Let's calculate the derivative of the function \( y = 2x^2 - 2 \ \ using the rules of differentiation.### Step-by-Step Reasoning:1. **Identify the Function:** The given function is \( y = 2x^2 - 2 \\).2. **Differentiate Term by Term:** We will differentiate each term of the function separately. - **First Term: \( 2x^2 \ \** - The derivative of \( x^n \ \ (where n is a constant) is \( nx^{n-1} \ \). - Here, \( n = 2 \ \. - Therefore, the derivative of \( 2x^2 \ \ is \( 2 \ \ times \( 2x^{2-1} \ \ which simplifies to \( 4x \ \. - **Second Term: \( -2 \ \** - The derivative of a constant (a term without \( x \\ is 0 \. - Therefore, the derivative of \( -2 \ \ is \( 0 \.3. **Combine the Derivatives:** - The derivative of the entire function is the sum of the derivatives of each term. - So, the derivative of \( y = 2x^2 - 2 \\ is \( 4x + 0 \\ which simplifies to \( 4x \.### Final Answer:The derivative of the function \( y = 2x^2 - 2 \ is \( 4x \.### Summary:The derivative of \( y = 2x^2 - 2 \ is \( 4x \.
Multimodal Understanding
input image
input text:
"Please describe this picture in detail."
log information:
root@ax650 ~/yongqiang/push_hugging_face/InternVL3-2B # python3 infer.py --hf_model internvl3_2b_tokenizer/ --axmodel_path internvl3_2b_axmodel/ --question "Please describe this picture in detail" -i examples/image_1.jpg --vit_model vit_axmodel/internvl3_2b_vit_slim.axmodel
[INFO] Available providers: ['AxEngineExecutionProvider']
Init InferenceSession: 0%| | 0/24 [00:00<?, ?it/s][INFO] Chip type: ChipType.MC50
[INFO] VNPU type: VNPUType.DISABLED
[INFO] Engine version: 2.11.0a
Init InferenceSession: 100%|██████████████████████████████████████████████████████████| 28/28 [00:14<00:00, 1.92it/s]
model load done!
prefill token_len: 325
slice_indexs is [0, 1, 2]
slice prefill done 0
slice prefill done 1
slice prefill done 2
Decode: 13%|████████▋ | 326/2559 [00:00<00:01, 1829.15it/s]Decode: 19%|█████████████▍ | 489/2559 [00:22<02:26, 14.17it/s]hit eos!
Decode: 20%|██████████████▏ | 517/2559 [00:26<01:43, 19.71it/s]
**Image Description:**
The image depicts a giant panda in a naturalistic enclosure, likely within a zoo or wildlife sanctuary. The panda is prominently positioned in the foreground, surrounded by lush green bamboo plants. Its distinctive black and white fur is clearly visible, with the panda's face, ears, and limbs being black, while its body and the rest of its face are white. The panda appears to be eating bamboo, with its front paws holding a piece of bamboo close to its mouth. The panda's expression is calm and curious, with its eyes looking directly at the camera.
In the background, there is another panda partially obscured by the foliage and a wooden structure, possibly part of the enclosure's design. The ground is covered with a layer of mulch or wood chips, providing a naturalistic habitat for the pandas. The overall setting is serene and well-maintained, designed to mimic the panda's natural habitat while ensuring the animals' well-being.
Runs of AXERA-TECH InternVL3-2B on huggingface.co
37
Total runs
-3
24-hour runs
-5
3-day runs
-9
7-day runs
8
30-day runs
More Information About InternVL3-2B huggingface.co Model
InternVL3-2B huggingface.co is an AI model on huggingface.co that provides InternVL3-2B's model effect (), which can be used instantly with this AXERA-TECH InternVL3-2B model. huggingface.co supports a free trial of the InternVL3-2B model, and also provides paid use of the InternVL3-2B. Support call InternVL3-2B model through api, including Node.js, Python, http.
InternVL3-2B huggingface.co is an online trial and call api platform, which integrates InternVL3-2B's modeling effects, including api services, and provides a free online trial of InternVL3-2B, you can try InternVL3-2B online for free by clicking the link below.
AXERA-TECH InternVL3-2B online free url in huggingface.co:
InternVL3-2B is an open source model from GitHub that offers a free installation service, and any user can find InternVL3-2B on GitHub to install. At the same time, huggingface.co provides the effect of InternVL3-2B install, users can directly use InternVL3-2B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.