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

A GPT-2 model finetuned on Yelp reviews of Chinese cuisine restaraunts downloaded from the Yelp Open Dataset. The data from this and subsamples of cuisines are used in the paper Polling Latent Opinions: A Method for Computational Sociolinguistics Using Transformer Language Models

The model is trained to produce text in response to the following prompts:

  • "review:"
  • "stars:"
Downloads last month
20
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for pgfeldman/Yelp_Chinese