Text Generation
Transformers
Safetensors
English
Chinese
llama
lora
llama-factory
text-generation-inference
Edit model card

A bilingual model with function calling abilities.

Usage:

Launch a RESTFul API by using the script in LLaMA-Factory

python src/api_demo.py --template default --model_name_or_path hiyouga/Yi-Agent-6B

Test with:

https://github.com/hiyouga/LLaMA-Factory/blob/main/tests/test_toolcall.py

You can reproduce our results with the step-by-step (Chinese) guide:

https://zhuanlan.zhihu.com/p/678989191

Downloads last month
12
Safetensors
Model size
6.06B params
Tensor type
BF16
·
Inference Examples
Inference API (serverless) has been turned off for this model.

Datasets used to train hiyouga/Yi-Agent-6B