deepseek-7b / README.md
arya-ai-model's picture
First commit
102a3b0
|
raw
history blame
390 Bytes

DeepSeek API Server

This is a FastAPI-based text generation API using the DeepSeek-R1 7B model.

Installation

  1. Clone this repository.
  2. Install dependencies: pip install -r requirements.txt
  3. Run the server: uvicorn app:app --host 0.0.0.0 --port 7860

Usage

Send a POST request to /generate with a JSON payload:

{
  "prompt": "What is AI?",
  "max_tokens": 100
}