llmreference
Cloudflare Workers AI

Using DeepSeek Math 7B on Cloudflare Workers AI

Implementation guide · DeepSeek Math · DeepSeek

ServerlessOpen Source

Quick Start

  1. 1
    Create an account at Cloudflare Workers AI and generate an API key.
  2. 2
    Use the Cloudflare Workers AI SDK or REST API to call deepseek-math-7b — see the documentation for request format.

Code Examples

See Cloudflare Workers AI documentation for integration details.

About Cloudflare Workers AI

Cloudflare Workers AI is a serverless GPU inference platform enabling developers to run machine learning models on Cloudflare's global edge network. It supports diverse AI tasks including text generation, image classification, automatic speech recognition, and real-time language translation. The platform provides pay-per-use pricing and access to a curated library of open-source models from Hugging Face, enabling rapid deployment without complex infrastructure management. Key features include low-latency edge computing, streaming responses for large language models, context length customization, and the AI Gateway for monitoring, caching, and cost optimization.

Cloudflare is a leading connectivity cloud company that provides a comprehensive suite of cloud-native products and developer tools to enhance web performance, security, and reliability. Their services include content delivery network (CDN), DDoS mitigation, DNS services, and zero trust security solutions. While Cloudflare doesn't primarily market itself as an AI platform, they have incorporated AI and machine learning technologies into various aspects of their services to improve performance and security, including threat detection capabilities, content delivery optimization, and intelligent routing decisions across their global network.

Pricing on Cloudflare Workers AI

Capabilities

No model capability flags are currently sourced.

About DeepSeek Math 7B

DeepSeek Math 7B is a powerful family of large language models by DeepSeek AI, crafted for advanced mathematical reasoning. The base model begins as DeepSeek-Coder-v1.5 7B, further pre-trained with 500 billion tokens, encompassing math-focused and general data sources. This model attains a 51.7% score on the MATH benchmark, demonstrating competitive prowess without external aids. Enhanced by instruction tuning, DeepSeekMath-Instruct 7B boosts its mathematical expertise. The DeepSeekMath-RL 7B model, further refined by a novel Group Relative Policy Optimization algorithm, capitalizes on reinforcement learning for superior performance. Available on platforms like Hugging Face, these models cater to applications in education, research, and productivity, offering various quantized formats suitable for diverse hardware 110.

Model Specs

Released2024-02-05
Parameters7B
ArchitectureDecoder Only

Provider

Cloudflare Workers AI
Cloudflare Workers AI

Cloudflare

San Francisco, California, United States