How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "atsuki-yamaguchi/Qwen2.5-7B-te-lapt-madlad" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "atsuki-yamaguchi/Qwen2.5-7B-te-lapt-madlad",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "atsuki-yamaguchi/Qwen2.5-7B-te-lapt-madlad" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "atsuki-yamaguchi/Qwen2.5-7B-te-lapt-madlad",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Qwen2.5 7B for Telugu: Continual pre-training only

This model is built on top of Qwen2.5 7B adapted for Telugu using 500M target language tokens sampled from MADLAD-400.

Model Details

  • Vocabulary: This model has no additional target vocabulary. It retains the original vocabulary of Qwen2.5 7B.
  • Training: This model was continually pre-trained on 500M target language tokens sampled from MADLAD-400.

Model Description

  • Language: Telugu
  • License: Apache 2.0
  • Fine-tuned from model: Qwen/Qwen2.5-7B

Model Sources

How to Get Started with the Model

Use the code below to get started with the model.

from transformers import AutoTokenizer, AutoModelForCausalLM

model = AutoModelForCausalLM.from_pretrained(
    "atsuki-yamaguchi/Qwen2.5-7B-te-lapt-madlad"
)
tokenizer = AutoTokenizer.from_pretrained(
    "Qwen/Qwen2.5-7B"
)

Citation

@article{yamaguchi2025adapting,
      title={Adapting Chat Language Models Using Only Target Unlabeled Language Data}, 
      author={Atsuki Yamaguchi and Terufumi Morishita and Aline Villavicencio and Nikolaos Aletras},
      journal={Transactions on Machine Learning Research},
      issn={2835-8856},
      year={2025},
      url={https://openreview.net/forum?id=6IdoIKowfe},
      note={}
}
Downloads last month
7
Safetensors
Model size
8B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for atsuki-yamaguchi/Qwen2.5-7B-te-lapt-madlad

Base model

Qwen/Qwen2.5-7B
Finetuned
(943)
this model

Dataset used to train atsuki-yamaguchi/Qwen2.5-7B-te-lapt-madlad

Collection including atsuki-yamaguchi/Qwen2.5-7B-te-lapt-madlad

Paper for atsuki-yamaguchi/Qwen2.5-7B-te-lapt-madlad