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

ANWGPT-4

How do use the model

# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="anwgpt/anwgpt4-base")

# Example of text generation (you can modify the input text)
print(pipe("The sky is blue because"))

Benchmark(s):

image

Downloads last month
11
Safetensors
Model size
27.2M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for anwgpt/anwgpt4-base

Finetunes
1 model
Quantizations
1 model

Dataset used to train anwgpt/anwgpt4-base

Collection including anwgpt/anwgpt4-base