How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "Bin12345/Fortran2Cpp"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Bin12345/Fortran2Cpp",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/Bin12345/Fortran2Cpp
Quick Links

Introduction

The model is primarily designed for translating Fortran code into C++ code. It is based on the deepseek-ai/deepseek-coder-33b-instruct model. Fine-tuned on a customized Fortran to C++ translation dataset.

Model Inference

The code for inference and Web demo is shown in the github: Fortran2Cpp

Downloads last month
9
Safetensors
Model size
33B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support