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

Github LINK

Citation

If you use the ConspEmoLLM or ConspLLM in your work, please cite our paper:

@article{liu2024conspemollm,
  title={ConspEmoLLM: Conspiracy Theory Detection Using an Emotion-Based Large Language Model},
  author={Liu, Zhiwei and Liu, Boyang and Thompson, Paul and Yang, Kailai and Jain, Raghav and Ananiadou, Sophia},
  journal={arXiv preprint arXiv:2403.06765},
  year={2024}
}
Downloads last month
32
Safetensors
Model size
7B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for lzw1008/ConspEmoLLM-7b

Quantizations
2 models

Space using lzw1008/ConspEmoLLM-7b 1

Paper for lzw1008/ConspEmoLLM-7b