Text Generation
Transformers
PyTorch
llama
text-generation-inference
How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "mtgv/MobileLLaMA-2.7B-Chat"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "mtgv/MobileLLaMA-2.7B-Chat",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/mtgv/MobileLLaMA-2.7B-Chat
Quick Links

Model Summery

MobileLLaMA-2.7B-Chat is fine-tuned from MobileLLaMA-2.7B-Base with supervised instruction fine-tuning on ShareGPT dataset.

Model Sources

How to Get Started with the Model

Model weights can be loaded with Hugging Face Transformers. Examples can be found at Github.

Training Details

please refer to our paper in section 4.1: MobileVLM: A Fast, Strong and Open Vision Language Assistant for Mobile Devices.

Downloads last month
493
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train mtgv/MobileLLaMA-2.7B-Chat

Paper for mtgv/MobileLLaMA-2.7B-Chat